beneroth changed the topic of #picolisp to: PicoLisp language | The scalpel of software development | Channel Log: https://libera.irclog.whitequark.org/picolisp | Check www.picolisp.com for more information
Nistur has quit [Ping timeout: 252 seconds]
Nistur has joined #picolisp
rob_w has joined #picolisp
<razzy> beneroth: yop, i thought so :] thank you
aw- has quit [Quit: Leaving.]
<Regenaxer> Yeah, you wrote "solved"
<Regenaxer> I think there are only 2 situations: Either a list is not closed, or a string
aw- has joined #picolisp
<beneroth> Regenaxer, right, unclosed transient symbol too
<beneroth> segfault is calling a non-existing function or quoted cons pair without cdr value. or programmer did explicitly something very stupid (like changing a function while execution is in the body of that exact function, hihi)
<Regenaxer> hehe, yes, though the latter is only a problem if gc runs while the orphaned code executes
<Regenaxer> i.e. if the code was destructively modified and the removed parts are no longer referred to from anywhere
<razzy> Is there a chance of executing orphaned code normally?
<razzy> can vip hilight coresponding parenthesis?
<razzy> beneroth: two times linked list from example runs into segfault when (2list) is called
<razzy> i did not look deeply tho
tankf33der has left #picolisp [the lounge - https://webirc.envs.net]
<beneroth> razzy, surely you are calling somehow a symbol which has no function definition
<beneroth> orphaned execution can not happen normally, not by small accident, it's a situation you have to construct specifically.
<beneroth> not a common problem, to my knowledge I'm the only one who ever managed to be so stupid :)
<Regenaxer> razzy, sorry, no paren highlighting in Vip currently
<Regenaxer> Should be there in fact
<Regenaxer> But as you may know, you can jump matching parens (including super-parens) with "%"
<razzy> just recognition and jump is good enough :] thx. i will look for it
<razzy> beneroth: it is rossetacode example of two linked list which segfault. it plays with adresses, i did not look deep.
<Regenaxer> razzy, perhaps something is wrong with this old code running in pil21. Could you try to debug to find out what exacly goes wrong?
<Regenaxer> e.g. 'trace' all functions
<razzy> I will look later. i realised it is not exactly rossetacode.
<Regenaxer> ok, great
razzy has quit [Ping timeout: 252 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 268 seconds]
razzy has joined #picolisp
<razzy> Regenaxer: I runed exactly rossetacode. http://rosettacode.org/wiki/Doubly-linked_list/Definition#PicoLisp When i call Doubly linked list *DLst it cycles and than broke with segmentation fault. I am not sure if it is desired behaviour.
<Regenaxer> Should not segfault. Can you trace to see which function fails?
<Regenaxer> I don't remember at all how the rosettacode task should work
<Regenaxer> So task for razzy is to find the exact bug ;)
<razzy> task accepted wit 30 dedicated minutes.
<Regenaxer> :)
<razzy> Regenaxer: whatever calls double linked list *DLst cycles and fails. I do not think i know a way to trace system functions.
<beneroth> (trace 'function) e.g (trace 'prinl)
<razzy> *DLst seems to be linked to itself.
<beneroth> pil must be started in debug mode, otherwise 'trace is not defined
<beneroth> razzy, hm. sounds wrong. maybe a missing quote?
<beneroth> sounds weird to me that *Dlst should point to itself on purpose
<beneroth> (haven't looked at the code. unfortunately no time now, maybe later :( )
razzy has quit [Ping timeout: 252 seconds]
rob_w has quit [Ping timeout: 268 seconds]
<Regenaxer> hmm
razzy has joined #picolisp
rob_w has joined #picolisp
rob_w has quit [Ping timeout: 268 seconds]
rob_w has joined #picolisp
razzy has quit [Ping timeout: 245 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 272 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 272 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 256 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 256 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 256 seconds]
Svjatoslav has quit [Quit: ZNC - https://znc.in]
Svjatoslav has joined #picolisp
razzy has joined #picolisp
f8l has quit [Read error: Connection reset by peer]
f8l has joined #picolisp
DKordic has quit [Ping timeout: 240 seconds]
f8l has quit [Remote host closed the connection]
f8l has joined #picolisp
mtsd has joined #picolisp
f8l has quit [Remote host closed the connection]
f8l has joined #picolisp
<Regenaxer> Geeeeeenau!
<Regenaxer> 👍👍
<mtsd> Guten Abend Regenaxer :)
<Regenaxer> Hallo mtsd! ☺
<mtsd> How are things?
<Regenaxer> Good, thanks!
<mtsd> Me too. Been away, and mostly offline, for the summer. But, now we are back home again
<Regenaxer> Good to hear that
<Regenaxer> Let' hope Corond virus gives way
<mtsd> Yes, hope things calm down
<mtsd> Steady progress for pil21, I can see in the Changelog :)
<Regenaxer> yep :)
<Regenaxer> Some trouble with PilBoqn though. I noticed yesterday that it did not install on my Cousin's Galaxy phone
<Regenaxer> No idea atm, there was no time to dig into it
<mtsd> Strange. Hope it works out
<Regenaxer> We must find a picolisper who can reproduce it
<mtsd> I got a Samsung phone this summer, but I have not had the time to switch to it yet. Let me check the model..
<Regenaxer> I don't know if really Samsung is the probleon, and which moodel
<Regenaxer> I could not reproduce on OnePlus 6T and my old Nexus 9
<mtsd> Samsung galaxy A10, it seems. My old phone is about to give up, so I should change to the new one. I could try to reproduce too
<Regenaxer> That would be nice
<Regenaxer> The effect is easy to test: (1) Install PilBox from PlayStore, (2) start the App and (3) klick on either of the top-left or top-right icons -> (4) bang
<Regenaxer> The interesting part is then to find oubn the reason
<mtsd> I'll try, see if I can find anything
<beneroth> Regenaxer, hehe, wrong channel :D
<beneroth> welcome back mtsd, nice you are with us again!
<mtsd> Hello beneroth! Thanks!
<mtsd> Nice to be back :)
<beneroth> Regenaxer, tested, pilbox works here. not samsung and only about 2 year old
<beneroth> not on latest google stuff.. maybe there is something done
rob_w has quit [Read error: Connection reset by peer]
mtsd has quit [Ping timeout: 252 seconds]
<aw-> hi Regenaxer, i have a Samsung tablet i can try
<aw-> oh.. i dont have access to playstore because it's on LineageOS, sorry
<aw-> and my current version of PilBox runs fine on it
<aw-> (old version)
<aw-> if you give me a direct link to the apk from the playstore, i can install it manually
<aw-> (btw: PilBox on my tablet and smartphone has been a lifesaver. So useful!)
<aw-> thank you :)
<beneroth> cheers aw- :)
<beneroth> if I may ask, how/for what are you using PilBox? :)
<aw-> hi
<aw-> i use it as a calculator quite often, much faster/better input
<aw-> i also use it to resolve Lisp arguments with my best friend
<aw-> "let's see how PicoLisp handles X"
<aw-> and i use PilBox to test some ideas sometimes when i'm not home or near a computer
<beneroth> so primarily as mobile repl
<beneroth> nice :)
<beneroth> good night, have a good day!