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
stultulo has joined #picolisp
f8l has quit [Ping timeout: 250 seconds]
stultulo is now known as f8l
xkapastel has joined #picolisp
<Regenaxer> Nistur: With (gcc ...) you mean @lib/native.l ?
<Regenaxer> The ABI is the same iirc
xkapastel has quit [Quit: Connection closed for inactivity]
lman has quit [Quit: Connection closed]
miskatonic has joined #picolisp
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
miskatonic has joined #picolisp
miskatonic has quit [Client Quit]
lman has joined #picolisp
lman has quit [Quit: Connection closed]
lman has joined #picolisp
<beneroth> tankf33der, looks nice and calming :)
<beneroth> comfy temperature?
lman has quit [Ping timeout: 256 seconds]
<tankf33der> beneroth: yea, around 10
lman has joined #picolisp
<beneroth> nice :)
<beneroth> here it already gets warm. not too warm yet, but very nice weather. sunshine & clear blue sky
<Regenaxer> Here it is almost too hot, 25 °C
<beneroth> looks like another heat summer coming
<beneroth> let's hope the covid-19 crisis is under control until then, else it gets very ugly...
<Regenaxer> T
<Regenaxer> yes, saw that, but seemed nothig we need
<Regenaxer> They tested Jitsi in current c't magazine
<beneroth> well playing a video or audio to others is neat
<beneroth> good for teaching
<Regenaxer> Seems up to 10 members works fine
<beneroth> ah okay
<beneroth> what about more?
<Regenaxer> They got garbled images and sound problems
<Regenaxer> Depends on the server probably
<Regenaxer> and bandwidth
<beneroth> mostly bandwidth, I guess
<Regenaxer> But I suppose they have good of both
<beneroth> did c't test if their own server, or the main one?
<beneroth> s/if/with
<Regenaxer> Not clear
<Regenaxer> I suppose their own
<Regenaxer> "Auf unserem Testserver ..."
<beneroth> okay
<Regenaxer> "... zwei Wochen ..."
<tankf33der> i will do this
<beneroth> Regenaxer, my server should work again, but better test if before next call
<beneroth> the update actually destroyed some configurations
<beneroth> :-/
<Regenaxer> Thanks!
<Regenaxer> I had a 3-member conf yesterday. Rio and New York
<beneroth> I will probably do a complete re-install before summer on a better fitted server. the one now is okay, but was not originally intended for this
<Regenaxer> worked perfectly
<beneroth> ah nice :)
<Regenaxer> My max was 5 so far, 1 Holland and one India
<Regenaxer> the rest Germany
<beneroth> yeah let's do some more testing, and then maybe we can do pilcon with it. as a fallback we can use (audio-only) teamspeak
<Regenaxer> Yeah
<beneroth> in most cases, videostreaming is not required from all users
<Regenaxer> Right
<beneroth> I like the "hand up" feature of jitsi meet, that might be very useful with a bigger audience
<Regenaxer> yes, indeed
<beneroth> I made only sessions with up to 5 people so far (5 people whole evening, no problem)
<Regenaxer> Good to know
<tankf33der> Regenaxer: question
<tankf33der> (de cache ("Var" X . Prg)
<tankf33der> (let K (cons (char (hash X)) X)
<tankf33der> first two lines of cache function. Why I need (cons (char (hash X)) X) and not (cons (hash X) X) ?
<tankf33der> in general they are the same. maybe tree node searching requires equality or what ?
f8l has quit [Remote host closed the connection]
f8l has joined #picolisp
<Regenaxer> Hi tankf33der, sorry, was cycling
<Regenaxer> The 'char' is needed when you want to store a value
<Regenaxer> Can't do that into a number
<tankf33der> afk.
<Regenaxer> ok
<Regenaxer> So tree *searching* is about the same
<Regenaxer> I must shower
<Regenaxer> bbl
<Regenaxer> Nice discussion in the mail. I'm fully with beneroth
<beneroth> :)
<Regenaxer> What a horrible idea, switching to Python syntax
<Regenaxer> I looses so many advantages
<beneroth> well it is an obvious idea when people don't think in AST
<beneroth> (= text code) -> NIL
<Regenaxer> T
orivej has quit [Ping timeout: 264 seconds]
<Nistur> Regenaxer: yep, with @lib/native.l, although I actually took a copy, so I could add "-I" (pwd) to it, it made it easier to have c code in a separate file, I couldn't be bothered to figure out how to get emacs to switch modes mid buffer, so I just #include "cfile.c"
<Nistur> huh, I guess I was tired again when I was testing it, because it works now :D
<Regenaxer> Ha, cool! :)
<Nistur> I think the ACTUAL problem was that the input format from the example in crc.l confused me
<Regenaxer> ok
<Nistur> I should not code when tired, clearly :P
<Regenaxer> Me too, dangerous such late
<Nistur> hmmm, using gcc fro native.l, is there currently a way to link in libraries? because obviously for this to work I need libssl.so :P
<Nistur> just putting "-lssl" in the compile flags works for now, I guess I should pass it through. Will do that later
<Regenaxer> I think libs are passed
<Regenaxer> E.g. from lib/z3d.l
<Regenaxer> (gcc "z3d" '("-L/usr/X11R6/lib" "-lXext" "-lX11")
<Regenaxer> Is lib/z3d.l still in the distro?
<Nistur> ahh ok
<Regenaxer> yes, in the distro :)
<Nistur> ok :) I didn't look, as the documentation pointed me towards crc.l
<Nistur> I'll poke around in that too :)
<Regenaxer> ok :)
<Nistur> ok, so, the good news is I have now got a 5 line C file to do the encryption using openssl rsa, called from pil, and built with native.l gcc. It compiles, links and work
<Nistur> s
<Nistur> well
<Nistur> that last bit is debateable
<Nistur> it's segfaulting just like it did when I tried it with native
<Regenaxer> oh ;)
<Nistur> it's segfaulting inside RSA_public_encrypt
<Nistur> s'nice of it
<Regenaxer> Looks like a wrong pointer is passed
<Nistur> yup, got it now :)
<Regenaxer> found the reason?
<Nistur> yup. Again, looks like it might be a stupidity caused by tiredness thing for me :P It expects the key in PEM format, and me in my infinite wisdom, decided to strip the header and footer off it, so I just had the key
<Nistur> the ----- BEGIN PUBLIC KEY -----
<Nistur> etc
<beneroth> :)
<beneroth> haha, nice one
* beneroth been there too
* beneroth goes to sleep
f8l has quit [Ping timeout: 256 seconds]
f8l has joined #picolisp