<olaf_h>
hi all, question about pil21 debugging: can i eval repl even if i do not use sessions (app) in my webapp? Or is (app) required for having full insight on Globals etc?
<Regenaxer>
Hi olaf_h!
<olaf_h>
hi Regenaxer :-)
<Regenaxer>
Without session there is no persistent process
<olaf_h>
i watch issues like disappearing echo
<Regenaxer>
yes, all disappears :)
<olaf_h>
?
<Regenaxer>
But you could set a breakpooint in the source
<Regenaxer>
Then it stops and you can debug
<olaf_h>
i did
<Regenaxer>
ok, good
<olaf_h>
yes
<olaf_h>
but perhaps after hitting a few times Enter - to eval until breakpoint triggers again
<olaf_h>
... wait i try to reproduce, what I watched
<Regenaxer>
ok
<olaf_h>
i hit Enter several times and repl shows me the line with the breakpoint and in next line ! as prompt
<Regenaxer>
good
<Regenaxer>
So the next enter continues
<olaf_h>
there i do not see, what i type, e.g. *Pos i do not see, but after hitting return repl shows correct -> (8 3 4)
<Regenaxer>
oh, I see, no echo
<olaf_h>
So it's problem of my readline or my terminal or so, right?
<olaf_h>
no pil21 issue in general
<olaf_h>
so i can try different terminal emulators and hope, that any will behave different
<Regenaxer>
Hmm, not sure, I did not debug single-shot tranaactions in pil21 yet
<Regenaxer>
No, no matter of which terminal I think
<Regenaxer>
Let me try here
<olaf_h>
thanks you !
<Regenaxer>
Here it works fine
<Regenaxer>
I get ! and echoed what I type
<Regenaxer>
I inserted ! in app/gui.l in the 'work' function
<Regenaxer>
So it stops before (app) is called
<olaf_h>
Okay, thank you very much, so I have to watch it on my side.
<Regenaxer>
Something must be different
<Regenaxer>
Perhaps we can look at it in PilCon on Sunday
<olaf_h>
after restarting webapp, it works with echo several times hitting Return, then suddenly echo is missing
<Regenaxer>
strange
<olaf_h>
yes, sure, if there would be interest for others, i think it's caused by my hw/sw combinations or so
<Regenaxer>
I rather think it is the seqcence of events
<Regenaxer>
Where the I/O goes at that moment
<Regenaxer>
I never observed terminal dependencies recently
<olaf_h>
i think i use history often, as well, and try to eval functions on the repl, perhaps i have typos and everything breaks or so
<Regenaxer>
Do you use the most recent pil21?
<Regenaxer>
Terminal handling changed several times
<olaf_h>
never mind, i only wanted to know if it could be a known issue - but i have to look on my side. Thanks a lot for your quick reply.
<olaf_h>
(version) -> (21 5 29)
<olaf_h>
in cgf vm i have up2date pil21 version i think - i could try there, too.
<Regenaxer>
there were 15 releases since then ;)
<Regenaxer>
29may21 Set cooked terminal mode in 'repl'
<olaf_h>
you're too productive for your users :-)
<Regenaxer>
15jun21 Fix terminal after 'pipe', 'in' and 'out'
<Regenaxer>
I think these two are relevant
<olaf_h>
Okay, so i will update first, sorry that i did not do before asking :-(
<Regenaxer>
perfect
<Regenaxer>
no problem
<Regenaxer>
The issues were that several processes on the terminal interferred
<Regenaxer>
in your case the parent and the child
<olaf_h>
i go updating now and will spam here again if update breaks sth in the webapp :-)
<Regenaxer>
Very good, thanks!
<olaf_h>
thanks a lot - picolisp irc always responding in seconds - great!
<Regenaxer>
:)
viaken has quit [Ping timeout: 244 seconds]
<olaf_h>
in my local webapp repl no-echo issue seems to occur after having displayed whole page and i klick link to same page with other Url arguments
<olaf_h>
cant find family.l to check it with a distribution demo
<olaf_h>
so perhaps we really could have a look on it in PilCon if i reproducable with a distribution demo
<olaf_h>
thanks, afk
<olaf_h>
correctly: afi (away from irc) :-)
viaken has joined #picolisp
<Regenaxer>
ret
<Regenaxer>
OK, let' look at it together
<olaf_h>
though no echo, breakpoint inspection clearly shows me that the Var to compare is not set when comparing
<olaf_h>
i try to set it via URL parameter
<olaf_h>
and before (html ...) i have a (default *VarFromUrl "l-0")
<Regenaxer>
should be fine
<olaf_h>
yes it was :-) i used (cut) in the wrong way - does (list (foo returns a list)) create sth like an anonymous stack ??
<olaf_h>
(cut 2 (foo returns a list)) did not work as expected, (cut 2 (list (foo returns a list))) did
<Nistur>
mornin'
<olaf_h>
perhaps also a topic for PilCon
<olaf_h>
hi Nistur
memories1 has quit [Quit: leaving]
<beneroth>
Hi Regenaxer, olaf_h, Nistur \o/
clacke has quit [Ping timeout: 244 seconds]
wineroots has quit [Ping timeout: 244 seconds]
<Nistur>
o7
<Nistur>
my 3D printer is finally working again, so I've decided... my penti keyboard WILL get printed. Nothing else gets printed until I have one functional keyboard printed
<beneroth>
congrats :)
<Nistur>
it's a two part thing, with a (mostly) flat base and then a curvy top bit that takes the keys. I currently have 5 I think of the top parts, part printed because I got sooooo many failed prints, but I think I've got it sorted now... and I have one base, but it's a mess because I'm an idiot who tried to print 2mm above the build surface -_-
<beneroth>
3D printing is harder than it looks :)
<Nistur>
:)
<Nistur>
but yeah. Soon I'll have a penti keyboard :P
<Nistur>
HOWEVER. I have found another fun project... less practical but... Zack Freedman has crazy project ideas, and he made a 'data glove' which includes a 'keyboard' that basically just does motion detection stuff so you draw letters in front of you and it guesstimates what you're drawing... but I'd probably remove that and make it penti-like :P
mtsd has quit [Quit: Leaving]
<beneroth>
Nistur, once you have that, Regenaxer just needs a screen.. or AR glasses.... give him that and he will adapt to it in few days, I would think :D