ChanServ changed the topic of #picolisp to: PicoLisp language | Channel Log: https://irclog.whitequark.org/picolisp/ | Check also http://www.picolisp.com for more information
aw- has quit [Quit: Leaving.]
orivej has quit [Ping timeout: 260 seconds]
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: 246 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #picolisp
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
_whitelogger has joined #picolisp
<Blue_flame> Connection timeouts? It's a big issue on irc. I just read in chat history regnexer muted someone due to this issue.Unlike modern day chat clients(matrix, xmpp). While irc is lightweight it needs a persistent connection to server. Use a proxy to stay connected online or use matrix with an irc bridge. Something similar may also exist for xmpp.
orivej has quit [Ping timeout: 240 seconds]
<Regenaxer> Hi Blue_flame, yeah
<Regenaxer> I know of such problems, I'm using my self-written irc client (in PicoLisp of course ;)
<Regenaxer> I muted him also cause orivej obvioussy doesn't even monitor the channel
<Regenaxer> Now it is silent :)
<Blue_flame> Indeed it is. The logs still show him for today. Hopefully he fixes one day or it becomes part of logs forever.
<Regenaxer> :)
<tankf33der> Regenaxer: rc is broken
<tankf33der> try (rc "dat" 'a 1) and repl exits after execution.
<Regenaxer> Hi tankf33der! Thanks!
<Regenaxer> ok
<Regenaxer> Indeed, though here it exits later
<Regenaxer> Is it 'ctl'?
<tankf33der> ctl works itself.
<Regenaxer> yeah
<Regenaxer> It exits only sometimes
<Regenaxer> Are you back from vacation?
<tankf33der> no. just having fun.
<Regenaxer> :)
<beneroth> :)
<beneroth> hi all
<Regenaxer> Hi beneroth
<Regenaxer> Just found a bug in 'remove'
<Regenaxer> : (remove 9 '(a b c d e . 7))
<Regenaxer> Segmentation fault
<Regenaxer> Found it when looking at it
<Regenaxer> while porting to pil21
<Regenaxer> Will fix
<Regenaxer> Done
<beneroth> thx :)
alexshendi has joined #picolisp
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
<Regenaxer> Can't reproduce the 'rc' issue
<Nistur> mornin'
<Regenaxer> Hi Nistur
<Nistur> o7
<alexshendi> It's soon Mahlzeit-time again!
<alexshendi> Hi, picolispers.
<Regenaxer> Cheers alexshendi
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
<beneroth> Mahlzeit alexshendi
orivej has joined #picolisp
<Regenaxer> oops
<Regenaxer> 'place' has the same bug
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
<tankf33der> Regenaxer: rc doesnt crash, it exits from repl.
<Regenaxer> Looks like a crash that way. Some signal perhaps
<Regenaxer> I tried to strace
<Regenaxer> but can't reproduce
<alexshendi> Regenaxer: Is there a bug/issue list for pil21? 😇
<Regenaxer> No, but a list of issues (test results) by tankf33der
<alexshendi> Regenaxer, tankf33der: Is there a link?
<alexshendi> tankf33der: thank you very much.
orivej has quit [Ping timeout: 244 seconds]
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 [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 244 seconds]
orivej has joined #picolisp
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
<tankf33der> new thing works on pil64
<tankf33der> $ pil64 +
<tankf33der> : (hd "")
<tankf33der> press Ctrl-C
<tankf33der> NIL
<tankf33der> !
<tankf33der> press double Enter
<tankf33der> will print many zeros and crash.
<Regenaxer> "" is NIL which in turn is stdin
<Regenaxer> So 'hd' will never terminate
<tankf33der> yeah.
orivej has quit [Ping timeout: 256 seconds]
<Regenaxer> Not sure why it crashes
<Regenaxer> It does not terminate because 'hd' does low-lever reads, while stdin is assumed to be buffered and read with line, char, read etc.
<tankf33der> cant reproduce on pil21 btw
<Regenaxer> yes
<Regenaxer> pil21 uses readline
<Regenaxer> it sets the tty to raw only for a moment
<Regenaxer> The Ctrl-C above is irrelevant btw
<Regenaxer> it breaks into a debug, and continues then
<Regenaxer> I think in non-debug (ie tty is not raw) you also cannot reproduce it in pil64
<Regenaxer> but in non-debug 'hd' is not available, so difficult to test
<Regenaxer> use (rd) directly perhaps
<Regenaxer> (in NIL (loop (printsp (rd 1))))
<Regenaxer> no, crashes without debug too
<Regenaxer> or better (in NIL (loop (printsp (rd 1)) (flush)))
<Regenaxer> it indeed needs a return from a breakpoint
<Regenaxer> Probably cause the high-level-read prefetch char is zero then
<Regenaxer> and (rd) never eats this
<Regenaxer> Pretty meaningless test I think
<Regenaxer> Mixing the input modes
<Regenaxer> Still would be interesting to know why precisely it crashes
<Regenaxer> Should go on with zeroes forever
<Regenaxer> it if just (rd) on stdin
<Regenaxer> (loop (rd 1))
<Regenaxer> both on pil32 and pil64
<Regenaxer> funny
<Regenaxer> Any new info for the 'rc' issue?
alexshendi has quit [Ping timeout: 272 seconds]
<tankf33der> Regenaxer: nothing new, just always exits repl
<Regenaxer> ok
<Regenaxer> needs an strace
<Regenaxer> it is not the repl I think, because it restarts on the top level
<Regenaxer> it must be (bye) or a signal
<tankf33der> Regenaxer it also exits in nonrepl mode too
<Regenaxer> I see
orivej has joined #picolisp
<Regenaxer> So again the standard question: Where exactly? Which function is it?
<Regenaxer> I tried to strace the (rd) issue
<Regenaxer> no idea yet
<tankf33der> http://ix.io/2ser
<tankf33der> this is strace on the same repl session
<tankf33der> first call it did not crashed: (rc "d" 'a 1)
<tankf33der> on second call (rc "d" 'a 222) it crashed
<tankf33der> exited i meant.
<Regenaxer> EBADF (Bad file descriptor)
<Regenaxer> on stdin
<Regenaxer> Somehow stdin is closed
<tankf33der> yea :)
<Regenaxer> I suspect ctl
<Regenaxer> close(62876032)
<Regenaxer> this is very wrong
<tankf33der> is it ok ? :)
<tankf33der> yeah.
<Regenaxer> huge file descriptor
<Regenaxer> I'm not at home, will look later
<tankf33der> no EBADF (Bad file descriptor) if run on pil64
orivej has quit [Ping timeout: 256 seconds]
<Regenaxer> yes, only pil21
<Regenaxer> some simple error
<Regenaxer> closing whe wrong fd
orivej has joined #picolisp
<Regenaxer> I can look in one hour or a bit earlier
<tankf33der> http://ix.io/2sev
<tankf33der> this is running (ctl "f") in pil21
orivej has quit [Ping timeout: 258 seconds]
<Regenaxer> ret
<Regenaxer> yeah, bad close
<Regenaxer> Should be simple
<Regenaxer> yes, 'ctOpen'
<Regenaxer> does not initialize 'fd'
<Regenaxer> Fixed
<Regenaxer> (I think)
<Regenaxer> Released
<Regenaxer> Please try again when you have time
<Regenaxer> It now says close(3)
<tankf33der> all works. issue closed.
orivej has joined #picolisp
<Regenaxer> Cool, thanks again!
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #picolisp
xkapastel has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #picolisp
alexshendi has joined #picolisp
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 246 seconds]
orivej_ has joined #picolisp
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 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: 256 seconds]
orivej has joined #picolisp
alexshendi has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
xkapastel has quit [Quit: Connection closed for inactivity]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #picolisp
xkapastel has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp