00:02
<
InPhase >
It should have proper error handling as well.
00:02
<
InPhase >
It accepts leading spaces, but is intolerant of trailing characters.
00:04
<
InPhase >
I will note that function is pretty much illegible... One has to be in the zone to figure out what it's even doing...
00:04
<
InPhase >
So, a built-in would be good still. :)
00:06
Jack21 has quit [Ping timeout: 256 seconds]
00:09
<
InPhase >
peepsalot: I'll stuff that in funcutils/string.scad
00:13
LordOfBikes has quit [Ping timeout: 245 seconds]
00:13
<
InPhase >
Oof. The test fails because of floating point error. :)
00:13
<
InPhase >
Naturally.
00:15
<
InPhase >
0.1*0.1 != 0.01, undermining equality.
00:15
<
InPhase >
Maybe if I do that backwards and divide.
00:17
<
InPhase >
Well... Still not.
00:19
snakedGT has quit [Ping timeout: 260 seconds]
00:26
LordOfBikes has joined #openscad
00:26
ur5us has quit [Ping timeout: 245 seconds]
00:30
<
InPhase >
Got it. :)
00:58
snakedGT has joined #openscad
01:04
ur5us has joined #openscad
01:51
<
peepsalot >
getting burnt out from trying to make sense of these kernels. it's like there's all these requirements for various kernel classes, but no formal interface, nothing is enforced, no static asserts ahhhhhhh
02:28
arebil has joined #openscad
02:41
* InPhase
munches on some Popsalot Kernel brand popcorn.
02:45
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
03:05
snakedLX has joined #openscad
03:07
snakedGT has quit [Ping timeout: 252 seconds]
03:32
ur5us has quit [Remote host closed the connection]
03:33
ur5us has joined #openscad
03:43
peepsalot has quit [Quit: Connection reset by peep]
04:01
peepsalot has joined #openscad
04:18
ur5us has quit [Ping timeout: 260 seconds]
04:32
<
InPhase >
peepsalot: Well that issue is certainly quite similar to the reports you made of this.
04:33
<
InPhase >
I guess that didn't change a whole lot.
04:34
arebil has joined #openscad
04:52
ferdna has quit [Quit: Leaving]
06:09
TheAssassin has quit [Remote host closed the connection]
06:10
TheAssassin has joined #openscad
06:19
standardrat has joined #openscad
06:34
peepsalot has quit [*.net *.split]
06:34
snakedLX has quit [*.net *.split]
06:34
Xeha has quit [*.net *.split]
06:34
Scopeuk has quit [*.net *.split]
06:34
Azelphur has quit [*.net *.split]
06:34
TheCoffeMaker has quit [*.net *.split]
06:34
little_blossom has quit [*.net *.split]
06:56
snakedLX has joined #openscad
06:56
peepsalot has joined #openscad
06:56
Scopeuk has joined #openscad
06:56
Xeha has joined #openscad
06:56
TheCoffeMaker has joined #openscad
06:56
Azelphur has joined #openscad
06:56
little_blossom has joined #openscad
08:17
ur5us has joined #openscad
08:25
lastrodamo has joined #openscad
08:42
mhroncok has joined #openscad
09:14
ziggurat_ has joined #openscad
09:14
ur5us has quit [Ping timeout: 260 seconds]
09:19
ziggurat_ has quit [Remote host closed the connection]
09:20
ziggurat_ has joined #openscad
10:00
standardrat has quit [Quit: Leaving]
10:08
snakedLX has quit [Ping timeout: 252 seconds]
10:17
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
10:36
qeed_ has quit [Quit: qeed_]
10:39
qeed has joined #openscad
11:31
arebil has joined #openscad
12:13
gunnbr__ has joined #openscad
12:17
gunnbr_ has quit [Ping timeout: 252 seconds]
12:17
gunnbr has quit [Ping timeout: 260 seconds]
12:17
gunnbr has joined #openscad
13:45
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
14:14
gunnbr_ has joined #openscad
14:17
gunnbr has quit [Ping timeout: 252 seconds]
14:58
arebil has joined #openscad
15:01
gunnbr__ has quit [Read error: Connection reset by peer]
15:01
gunnbr_ has quit [Read error: Connection reset by peer]
15:02
linext has joined #openscad
15:04
linext_ has quit [Ping timeout: 268 seconds]
15:34
snakedLX has joined #openscad
15:51
snakedLX is now known as snaked
17:03
linext_ has joined #openscad
17:06
linext has quit [Ping timeout: 265 seconds]
17:33
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
17:34
arebil has joined #openscad
17:36
arebil has quit [Client Quit]
17:38
lf94- is now known as lf94
17:44
snaked has quit [Ping timeout: 245 seconds]
17:51
snaked has joined #openscad
18:00
Guest1076 has joined #openscad
18:00
Guest1076 has quit [Client Quit]
19:20
ur5us has joined #openscad
19:33
mhroncok has quit [Quit: Leaving.]
19:56
ur5us has quit [Ping timeout: 245 seconds]
20:03
<
cbmuser >
knielsen: I'll write your recommendation in a minute
20:03
<
cbmuser >
very sorry for the delay
20:04
<
cbmuser >
too much other stuff around
20:05
<
teepee >
heh, tell me about it :)
20:05
<
teepee >
a bit crazy lately
20:07
<
teepee >
also big thanks to knielsen for looking into the DSA buster
20:08
<
teepee >
that looks strange... DSA for "buster"
20:09
ur5us has joined #openscad
20:12
<
InPhase >
Time to bust some DSAs?
20:13
<
teepee >
yep, need to be totally bustered
20:13
<
teepee >
no idea what that means tho :D
20:13
<
InPhase >
Well either arrest or beat up, depending on context I guess. :)
20:14
<
teepee >
that's still the STL CVEs
21:36
lastrodamo has quit [Quit: Leaving]
21:51
<
gbruno >
[github] t-paul pushed 1 modifications (Merge pull request #3938 from podsvirov/update-russian-translation
22:01
TheCoffeMaker has quit [Ping timeout: 252 seconds]
22:04
TheCoffeMaker has joined #openscad
22:05
<
peepsalot >
i'm thinking about making an optimization PR for CGAL now. there seems to be a lot of room for improvement in the way that GMP types are operated on
22:06
<
peepsalot >
problem is that every operator- + * / etc returns a new value, which involves malloc etc. if some of the hottest parts of code can be reworked to hold temporary values, and modify them in place via += -= *= /= etc, then it would save a lot of extraneous object creation
22:10
TheCoffeMaker has quit [Ping timeout: 265 seconds]
22:12
TheCoffeMaker has joined #openscad
22:13
<
teepee >
so that would help both memory and performance? that would be nice
22:14
<
peepsalot >
yeah that's the idea. well, not sure if it would help at all for peak memory usage, but for bandwidth of total malloc+free calls
22:15
<
peepsalot >
teepee: did you see the log I got from mimalloc the other day?
22:15
<
teepee >
log? no, I've seen the ticket with the comparisons
22:16
<
teepee >
need to get some sleep now, I'm supposed to babysit a production rollout in less than 8 hours :)
22:16
<
teepee >
probably better not not start snoring in the conference call :D
22:17
<
peepsalot >
the interesting thing i took from that was how huge the total allocated and freed is vs the peak
22:17
<
teepee >
I think I missed that as I was out most of the day yesterday, I'll check the archive :)
22:18
<
peepsalot >
because of all those very short lived temporary values
22:52
<
peepsalot >
i'm still trying to figure out if if the non-modyfing operators can be optimized at a low level. i was thinking about something like returning a const reference to a thread_local temp within each operator
22:52
<
peepsalot >
but not sure if that's kosher, and things get extra complicated when the number type is reference counted (like CGAL::Gmpq is)
23:59
<
InPhase >
peepsalot: Is that 50% of runtime just for that 4 element orientationC3 or for the 3 element as well?