orivej has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
xkapastel has quit [Quit: Connection closed for inactivity]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #picolisp
jibanes has quit [Ping timeout: 240 seconds]
jibanes has joined #picolisp
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
rob_w has joined #picolisp
mtsd has joined #picolisp
<
Regenaxer>
PilCon in less than an hour
rob_w has quit [Ping timeout: 256 seconds]
<
beneroth>
Morning Nistur, Regenaxer
<
Regenaxer>
Hi Nistur, beneroth
<
Regenaxer>
PilCon starts soon
<
beneroth>
yeah. Unfortunately I will be only participate a bit listening, need to do some other stuff side :/
<
Regenaxer>
Ok, no problem
rob_w has joined #picolisp
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
<
aw->
oh pilcon, i forgot
<
aw->
jumping on in a minute
mtsd has quit [Quit: mtsd]
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
mtsd has joined #picolisp
orivej has joined #picolisp
aw- has quit [Quit: Leaving.]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
orivej_ has joined #picolisp
orivej has quit [Ping timeout: 246 seconds]
orivej_ has quit [Ping timeout: 240 seconds]
mtsd has quit [Quit: mtsd]
rob_w has quit [Quit: Leaving]
_whitelogger has joined #picolisp
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
orivej has joined #picolisp
mtsd has joined #picolisp
rob_w has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #picolisp
aw- has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
orivej_ has joined #picolisp
orivej has quit [Ping timeout: 265 seconds]
xkapastel has joined #picolisp
mtsd has quit [Quit: mtsd]
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
<
tankf33der>
i completely added all my codebase to testing pil21. only coroutines left and for db tests i have only several functions.
<
beneroth>
thanks tankf33der :)
<
Regenaxer>
Yeah, cool!
<
Regenaxer>
DB will work soon I hope
<
Regenaxer>
atm working on 'pool'
<
Regenaxer>
biggest fish is 'commit'
<
Regenaxer>
then finish coroutines
<
Regenaxer>
As I said in PilCon today, I hope to finish the base system this summer
<
Regenaxer>
(perhaps August?)
<
tankf33der>
mine codebase is working.. i will wait for feedback when users will run their codebase on pil21.
<
aw->
mine doesn't work :\
<
tankf33der>
i hope 2-5 users will run something.
<
Regenaxer>
math.l ran all through with gc+ ?
<
aw->
i tried running on some of my code but (file) is missing
<
tankf33der>
Regenaxer: separately passed.
<
Regenaxer>
hi aw-, file is there meanwhile
<
Regenaxer>
tankf33der, great
<
Regenaxer>
aw-, I made it the next day after you told us
<
aw->
ok i'll update and try again
<
aw->
some weird issue
<
Regenaxer>
you need to watch out for the differences to pil64
<
aw->
if i exit the repl with ctrl+c, i lose my cursor
<
Regenaxer>
doc/diff
<
aw->
have to use 'reset' to fix my screen
<
Regenaxer>
You don't use Ctrl-D ?
<
aw->
no i used ctrl+c by accident
<
Regenaxer>
Ctrl-C goes into a breakpoint
<
aw->
cursor gets fudged, and can't see what itype
<
Regenaxer>
I get a ! breakpoint
<
Regenaxer>
Some readline() issue?
<
aw->
yes it seems like it
<
Regenaxer>
pil21 now uses readline instead of self-made led
<
aw->
i can still type, it just doesn't appear
<
aw->
so 'reset' fixes it
<
Regenaxer>
raw mode
<
Regenaxer>
stty sane ?
<
Regenaxer>
yeah, 'reset' should be the same
<
Regenaxer>
anyway, why does this happen?
<
Regenaxer>
was it plain ./pil + ?
<
aw->
no just ./pil
<
Regenaxer>
ok, also good
<
aw->
my program was crashed
orivej has quit [Ping timeout: 240 seconds]
<
aw->
well not 'crashed'
<
Regenaxer>
yeah, no echo
<
Regenaxer>
raw mode
orivej has joined #picolisp
<
aw->
i can't reproduce it perfectly
<
Regenaxer>
it is Raspbian/arm64 ?
<
aw->
armbian, arm64
<
Regenaxer>
strange
<
Regenaxer>
I use it on termux/arm an Debian/x86
<
Regenaxer>
always some differences
<
aw->
here i'll show you
<
aw->
[test_kv.l:237] !? (lines *KV_aof)
<
aw->
lines -- Undefined
<
aw->
then i pressed ctrl+c twice
<
Regenaxer>
ok, I tried also two C-C's, no problem
<
aw->
i know i should use ctrl+d, or (quit)
<
Regenaxer>
yes, but C-C is also correct
<
Regenaxer>
I get !, on second it is still !
<
Regenaxer>
and echo is on
<
aw->
i tried again only with pil21
<
aw->
lines -- Undefined
<
aw->
free(): double free detected in tcache 2
<
aw->
after ctrl+c twice
<
Regenaxer>
double free is also not good
<
Regenaxer>
So the causes an error, then it does not clean up the tty
<
tankf33der>
i have crash for double ctrl-c in my list
<
Regenaxer>
Perhaps it needs an error first?
<
Regenaxer>
what if you start ./pil and then ^C ?
<
aw->
Regenaxer: that works fine
<
aw->
well.. does nothing actually
<
Regenaxer>
Ah, you should have told
<
Regenaxer>
$ ./pil -mist
<
Regenaxer>
!? (mist)
<
Regenaxer>
mist -- Undefined
<
Regenaxer>
? ~/pil21 ~/pil21 ~/pil21
<
Regenaxer>
raw mode
<
aw->
oh you got it
<
Regenaxer>
it is ^C in an error handler
<
Regenaxer>
Never tried that
<
aw->
most difficult part is finding the problem ;)
<
Regenaxer>
the repl called in error
<
Regenaxer>
Great, I will debug that later
<
Regenaxer>
Still debugging 'pool'
<
Regenaxer>
No, thanks for the report
<
aw->
i tested a lot of my repos and everything else seems to worked as well
<
aw->
even my code using (native)
<
aw->
works without changes
<
Regenaxer>
good to know, as native is nasty
<
aw->
yes i tried on my nanomsg FFI bindings, and on bcrypt with (native), all tests pass
<
aw->
well.. there could be bugs in my tests ;)
<
Regenaxer>
What happened?
<
aw->
no it's a joke
<
Regenaxer>
a true joke, sadly ;)
<
aw->
unit tests pass
<
aw->
Regenaxer: what does this mean "Map functions accept atomic arguments"
<
Regenaxer>
: (mapcar + (1 2 3) 5)
<
Regenaxer>
-> (6 7 8)
<
Regenaxer>
This crashes on legacy pil
<
Regenaxer>
you needed (mapcar + (1 2 3) (5 .))
<
aw->
so atomic arguments are converted to circular list?
<
Regenaxer>
I missed that sometimes
<
Regenaxer>
Not converted, but interpreted that way
<
Regenaxer>
a list would be too expensive
<
aw->
and what does this mean: "Lambda-binding environment offset for 'eval' and 'run' only for '@'" ?
<
Regenaxer>
You could do (eval Exe 1)
<
Regenaxer>
all local bindings were temporarily unwound
<
Regenaxer>
a very expensive operation
<
Regenaxer>
Now only '@' is unwound
<
Regenaxer>
So the 'prg' in an FEXPR can use it
<
Regenaxer>
(de f Prg (run Prg 1))
<
Regenaxer>
(and (xxx) (f (yyy @]
<
Regenaxer>
other bindings are no longer affected
<
Regenaxer>
You need a namespace to protect them
<
Regenaxer>
or use transients
<
Regenaxer>
The other mayor change is not supporting (arg)
<
Regenaxer>
(arg 2) is ok
<
aw->
ok well this is exciting, particularly the native improvements
<
aw->
oh your 'diff' doc doesnt mention the new shorthand (@
<
Regenaxer>
Which shorthand?
<
Regenaxer>
yes, the exception for '@'
<
Regenaxer>
ah, no, it is there
<
Regenaxer>
- Lambda-binding environment offset for 'eval' and 'run' only for '@'
orivej has quit [Remote host closed the connection]
<
Regenaxer>
The doc/ref* files need a lot of fixes
<
Regenaxer>
Also the intro part
<
Regenaxer>
it is still for pil32
<
Regenaxer>
doc/ref.html I mean
orivej has joined #picolisp
<
aw->
didn't you add a shortcut for (native) ?
<
Regenaxer>
ah, right
<
Regenaxer>
(%@ "fun" ...
<
Regenaxer>
for (native "@" "fun" ...
<
beneroth>
Regenaxer, so I can always have the offset argument, but it only has an effect for @ ?
<
Regenaxer>
beneroth, right
<
Regenaxer>
'@' was in fact the original reason
<
beneroth>
hi aw- :)
<
Regenaxer>
so I unwound
*all*
<
Regenaxer>
which was a bad idea in hindsight
<
Regenaxer>
it is very complicated and slow internally
<
beneroth>
well.. This would also be a candidate :)
<
Regenaxer>
especially if the calls are nested
<
beneroth>
on the other hand.. FEXRP methods are usually not such a clever idea anyway
<
beneroth>
Regenaxer, I see
<
Regenaxer>
yeah, methods
<
Regenaxer>
works though
<
Regenaxer>
in general FEXPRs are not good for functions to be called by other functions in a nested way
<
Regenaxer>
in such case 2 definitions are better
<
Regenaxer>
one EXPR, then a FEXPR stub calling it if needed
<
Regenaxer>
FEXPR is just a convenience to avoid quoting
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
mtsd has joined #picolisp
mtsd has quit [Remote host closed the connection]
mtsd has joined #picolisp
xkapastel has quit [Quit: Connection closed for inactivity]
mtsd has quit [Quit: Lost terminal]
orivej has joined #picolisp
xkapastel has joined #picolisp
orivej has quit [Remote host closed the connection]
orivej has joined #picolisp
orivej has quit [Remote host closed the connection]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
orivej_ has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
rob_w has quit [Read error: Connection reset by peer]