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
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 [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
Nistur has quit [Remote host closed the connection]
Nistur has joined #picolisp
Nistur has quit [Ping timeout: 256 seconds]
Nistur has joined #picolisp
Nistur has quit [Ping timeout: 265 seconds]
Nistur has joined #picolisp
Nistur has quit [Ping timeout: 240 seconds]
Nistur 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 joined #picolisp
orivej has quit [Read error: Connection reset by peer]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
mtsd has joined #picolisp
<Nistur> mornin'
<beneroth> morning Nistur
<Regenaxer> Hi Nistur!
<Regenaxer> Cheers beneroth!
<Nistur> hullloooo
<Nistur> after a few nights of not being able to lisp, I managed to get a bit done again last night \o/
<Nistur> although I ended up getting stumped :(
<beneroth> Cheers Regenaxer \o/
<Regenaxer> :)
<beneroth> Nistur, stumped by whom?
<beneroth> Jumanji Rhino?
<Nistur> :D
<Nistur> no
<Nistur> I was finally trying to use the output of my curl calls to check things in my sample client... and realised that curl was just outputting to stdout -_- I tried several ways to try and get the output of curl into picolisp, but curl doesn't like streaming data it seems...
<Nistur> my issues may, of course, be largely due to the lack of sleep and general fatigue at time of applying head to keyboard
<Regenaxer> No, this should work fine
<Regenaxer> (in (list "curl" "arg1" ...) ...
<beneroth> Nistur, curl can output to stdout.. just you don't get the diagnostic/loading bar output from curl then
<Nistur> Regenaxer: when I do that, I just get (; (mapcar pack (split (in (list "ip" "-o" "address" "show" "dev" "eth0") (line)) "
<Nistur> ...
<Nistur> not that
<Nistur> thanks screen for copying precisely NOT what I asked you to
<Regenaxer> :)
<Nistur> (23) Failed writing body
<Nistur> that
<beneroth> error 23, illuminati confirmed :)
<Nistur> oh shit, did I give myself away?
<Nistur> wait, maybe I was doing something silly... is there any way to get the entire stream, rather than doing (read) or (line)
<Regenaxer> yes, (in (list "command" "arg" ..) (echo))
<Regenaxer> or (in (list "command" "arg" ..) (till NIL T))
<Regenaxer> I usually parse as (in (list "command" "arg" ..) (from "something") (till "morething" T))
rob_w has joined #picolisp
<beneroth> Nistur, the real illuminati were Bavarians. You're here in the channel of a Bavarian programming language.
<beneroth> Regenaxer, yep I do it the same
rob_w has quit [Client Quit]
rob_w has joined #picolisp
<Nistur> hrmmmm
<Regenaxer> So best look with (echo) what it gives
<Nistur> I'll look into that later. Still some concepts I need to get my head around it seems. Right now, I'm meant to be profiling some C++ code
<Nistur> Regenaxer: I just tried quickly and I was still getting the response printed out, but it seemed to only be returning T up the callstack
<Regenaxer> Well, (echo) echoes to the console
<Regenaxer> (till NIL T) gives the whole output as a string
<Nistur> ah ok
<Regenaxer> Hmm, does the command output to stderr perhaps?
<beneroth> to be pedantic: (echo) outputs to the current open output-channel (stdout of the process, which is likely the repl console)
<Regenaxer> right
<beneroth> I usually use curl to output to a file, therefore I haven't an example ready I think....
<Nistur> booom :D
<Nistur> works :P Thanks
<Regenaxer> great :)
<beneroth> Bavarian programming!
Regenaxer has left #picolisp [#picolisp]
<patrixl> yup (till NIL T) is what I've been using in many different scenarios to avoid outputing to files
Regenaxer has joined #picolisp
<beneroth> patrixl, it bears the risk of DoS
<Nistur> I tried getting curl to output to a file, but that was probably around 23:00 last night, and I was not paying close attention
<beneroth> well, heavily depending on your scenario
<Regenaxer> oops, Ctrl-D
<beneroth> Nistur, there is argument for that
<beneroth> welcome back Regenaxer
<Regenaxer> :)
<Nistur> o/
<Nistur> you were missed
<beneroth> Regenaxer, just to clarify, I wasn't pedantic to correct you, but so Nistur understands ;-)
<Regenaxer> Yes, I understood it this way
<beneroth> Regenaxer, you got any ties to Ingoldstadt?
<patrixl> beneroth: DoS?
<beneroth> denial of service
<patrixl> yes but what
<Regenaxer> beneroth: None that I'm aware of
<beneroth> patrixl, too long string, in case that is public input
<Regenaxer> Something happened?
<patrixl> sure
<patrixl> so the thing crashes?
<patrixl> I can live with that lol
<patrixl> with what I've been doing so far anyway
<beneroth> yeah, afaik remote exploiting picolisp is impossible, unless you hand input to eval
<beneroth> maybe not impossible, but highly unlikely even by concept
<tankf33der> next will be
<Regenaxer> Looks like a typical Pilog task
<Regenaxer> You could just translate the Prolog implementation
<Regenaxer> 'dept' needs some thought
<Regenaxer> can be written with member/2
<tankf33der> http://ix.io/2gkR
<tankf33der> for prolog is need much more time.
<Regenaxer> 'co' is also cool
patrixl has quit [Quit: Leaving.]
xkapastel has joined #picolisp
mtsd has quit [Quit: Leaving]
<Regenaxer> OK, now found time to try a Pilog version:
<Regenaxer> http://ix.io/2glH
<Regenaxer> Better this (with output): http://ix.io/2glI
<tankf33der> uh
<tankf33der> i will commit too
<Regenaxer> great, thanks!
patrixl has joined #picolisp
patrixl has left #picolisp [#picolisp]
patrixl has joined #picolisp
<tankf33der> done
<Regenaxer> Perfect :)
<beneroth> english source (Travis from Google): https://twitter.com/taviso/status/1245520529739534338
<beneroth> security vulnerabilities in zoom
<Regenaxer> Yeah, also in heise.de
<Regenaxer> Good we have Jitsi now :)
stultulo has joined #picolisp
f8l has quit [Ping timeout: 264 seconds]
stultulo is now known as f8l
peterhil has quit [Read error: Connection reset by peer]
peterhil has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
<Regenaxer> Anybody here interested in Wikipedia editing?
<Regenaxer> The PicoLisp page has "multiple issues"
<Regenaxer> The problem is that I wrote it initially, and then update the release version and date twice a year
<Regenaxer> Nobody else touched it
<Regenaxer> So the "major contributor" has a "close connection"
beneroth has quit [Remote host closed the connection]
<Regenaxer> Perhaps tankf33der can update release version and date next time?
<tankf33der> sure. but you did it always in time
<Regenaxer> Yeah, it is in my release routine
beneroth has joined #picolisp
<Regenaxer> Would be good if somebody else wrote up some stuff
<Regenaxer> beneroth is an excellent writer!! ;)
<beneroth> (task -23 0 (remind 'beneroth))
orivej has joined #picolisp
<Regenaxer> :D
orivej_ has joined #picolisp
orivej has quit [Read error: Connection reset by peer]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
miskatonic has joined #picolisp
<miskatonic> I guess that the planned pil meeting in Svevia is cancelled due to the pandemic
rob_w has quit [Quit: Leaving]
<Regenaxer> Hi miskatonic! Not really cancelled yet, but becoming more and more improbable
<Regenaxer> Let's decnde end of April
<Regenaxer> decide
<Regenaxer> And we were thinking about the possibility to make it all online
* S-Jack .oO( 1 line? )
<Regenaxer> But that's of course not the real thrill
miskatonic has quit [Quit: miskatonic]
<beneroth> Regenaxer, you can still play guitar
<beneroth> :)
Lambdajack has joined #picolisp
S-Jack has quit [Ping timeout: 256 seconds]