ChanServ changed the topic of #picolisp to: PicoLisp language | Channel Log: https://irclog.whitequark.org/picolisp/ | Picolisp latest found at http://www.software-lab.de/down.html | check also http://www.picolisp.com for more information
aw- has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 240 seconds]
alexshendi has joined #picolisp
alexshendi has quit [Ping timeout: 256 seconds]
inara has quit [Quit: Leaving]
inara has joined #picolisp
pierpal has quit [Read error: Connection reset by peer]
<tankf33der> morning
<tankf33der> 05jul18
<tankf33der> src64/db.l
<tankf33der> Lock only first byte in 'blk'
<tankf33der> Regenaxer: is it fix for deadlock you mention a week ago?
<Regenaxer> Hi tankf33der
<Regenaxer> Yes, correct. In fact it was not a deadlock
<tankf33der> i dont remember details
<Regenaxer> But it locked too much, so that a normal (dbSync) of another process locked it
<Regenaxer> Yeah, but it is good now
<tankf33der> okk
<Regenaxer> I *hate* summer daylight saving time
<tankf33der> :)
<Regenaxer> I hope they abandon this nonsense
<Regenaxer> So everybody here who might be concerned too: Please fill this petition!
pierpal has joined #picolisp
_whitelogger has joined #picolisp
orivej has joined #picolisp
khk has joined #picolisp
aw- has joined #picolisp
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
orivej has quit [Ping timeout: 268 seconds]
alexshendi has joined #picolisp
orivej has joined #picolisp
karswell has quit [Ping timeout: 245 seconds]
andyjpb has joined #picolisp
styx has joined #picolisp
khk has left #picolisp ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"]
simplus has joined #picolisp
<simplus> Hello all, i am having a problem getting picolisp to work with a raspberry pi 3b+
<simplus> and wonder if anyone can answer a couple of questions
<Regenaxer> Hi simplus! I think aw- uses it ond a pi3
<Regenaxer> He is in Japan, and it is 1 in the night there though ;)
<simplus> ok
<simplus> i will try later
<simplus> thanks
<Regenaxer> iirc, a problem is that though pi3 has an arm64, the os is only 32 bit
<simplus> i am using a 64 bit kernel and userland
<simplus> alpine linux
<Regenaxer> Ah, cool!
<simplus> i can build it, however the debugger does not work
<Regenaxer> What problem do you see?
<simplus> i can even run scripts using /usr/bin/picolisp
<Regenaxer> ok
<simplus> i can type pil + to get into debug mode
<simplus> whenever i type a command like (println "Hello World")
<simplus> the last parenthesis does not print and it locks up
<simplus> i can kill with crtl+c
<simplus> and (wait 200) is printed on the screen
styx has quit [Quit: styx]
<simplus> if a try another command after that then picolisp locks up
<Regenaxer> hmm, yes, I just thought it must be the 'wait'
<simplus> and i have to kill from another terminal
<simplus> i see in lib/led.l where the wait is
<Regenaxer> What happens if you start without + and then do (wait 2000)?
<Regenaxer> yes, exactly
<simplus> not sure, i am not on the pi now
<simplus> but i will try it
<Regenaxer> ok
<simplus> let me try i will brb
<Regenaxer> good
simplus has quit [Quit: leaving]
simplus has joined #picolisp
<simplus> hello tankf33der, i am back
<simplus> when i use (wait 2000) pil just locks
<simplus> but it allows me to complete the ) on (wait 2000)
<Regenaxer> yes, because without '+' the line editor is not used
<Regenaxer> and thus no wait ;)
<Regenaxer> So for some reason the 'wait' function does not work
<Regenaxer> strange
<Regenaxer> Alpine is a normal Linux?
<simplus> that would explain why I can run some scripts but not use the debugger :)
<Regenaxer> yes
<simplus> i also tried building an older version, but get the same problem
<simplus> i used openjdk8 to build
<Regenaxer> I/O and other system calls seem to work
<simplus> could that cause a problem
<Regenaxer> No, that's fine
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
<Regenaxer> What if you try the pre-built .s files?
<simplus> I tried that too, but get the same problem
<Regenaxer> I see
<simplus> (in 'ext.l (println (line T))) just printed the first line of the file
<Regenaxer> So it must be some system call problem in Alpine
<simplus> could be, alpine use musl and not glibc
<simplus> for the c standard library
<Regenaxer> This is correct (first line)
<simplus> but on my x86_64 desktop with alpine, picolisp works perfectly
<simplus> building with openjdk8
<Regenaxer> You talked to tankf33der? He tested many different systems
<simplus> not yet, i will try
<Regenaxer> Perhaps 'strace' gives some info?
<Regenaxer> strace bin/picolisp
<Regenaxer> then (wait ...
Nistur has quit [Remote host closed the connection]
Nistur has joined #picolisp
<simplus> is is spamming pselect6(1, [], [], NULL, {tv_sec=2, tv_nsec=0}, {NULL, 8} = 0 (Timeout)
<simplus> over and overt
<tankf33der> simplus: what os?
<simplus> made a system call to read using "(wait 2000)\n"
<simplus> alpine linux
<Regenaxer> {tv_sec=2, tv_nsec=0}, looks good, should sleep 2 secs
<tankf33der> alpine linux both i386 and x64 passed buildin tests
<Regenaxer> but times out immediately it seems
<simplus> this aarch64 on raspberry pi 3b+
<simplus> work good on x64
<simplus> aarch64=arm64
<tankf33der> aaa
<tankf33der> never seen arm
<simplus> everything seems to work except this wait
<simplus> i can run scripts
<simplus> just no debugger
<simplus> or anything with wait
<Regenaxer> yes, so also no 'task's etc
<simplus> does picolisp normally work with raspbian
<simplus> because raspbian is 32 bit
<simplus> however i much prefer alpine
<Regenaxer> Pil64 will not work on 32bit OS
<simplus> i got it, would have to use the 32 bit
<simplus> under src, not src64
<Regenaxer> Yes, and pil32 is rather limited
<Regenaxer> T
<Regenaxer> Lets see if aw- knows something about that issue
pierpal has quit [Ping timeout: 240 seconds]
<simplus> ok, i have to go now
<simplus> thanks for the help
<simplus> i will check back later for aw-
<Regenaxer> welcome
simplus has quit [Quit: leaving]
pierpal has joined #picolisp
pierpal has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #picolisp
pierpal has joined #picolisp
pierpal has quit [Client Quit]
pierpal has joined #picolisp
pierpal has quit [Ping timeout: 256 seconds]
pierpal has joined #picolisp
alexshendi has quit [Ping timeout: 256 seconds]
styx has joined #picolisp
styx has quit [Quit: styx]
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp