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
freemint has quit [Ping timeout: 244 seconds]
tankf33der has joined #picolisp
<tankf33der> o/
<tankf33der> checking random by another too again.
<tankf33der> checking random by another tool again.
<Regenaxer> Hi tankf33der
<tankf33der> current code
<tankf33der> http://ix.io/2l6R
<tankf33der> writing to pipe
<tankf33der> $ pil knuth.l | ./mcp --small
<Regenaxer> What is mcp?
<Regenaxer> knuth.l is the above ix.io? Why (eof)? There is no 'in' (?)
<tankf33der> i never wrote to stdout via pipe
<Regenaxer> That's fine
<tankf33der> i should write to stdout mcp tool should read from stdin via pipe
<Regenaxer> ok
<tankf33der> in general code is ok, right ?
<Regenaxer> But (until (eof) applies to stdin
<Regenaxer> yes
<Regenaxer> only (until (eof) makes no sense
<Regenaxer> cause there is no reading
<Regenaxer> (out NIL (do 20 (apply wr (enc)))) (bye)
<Regenaxer> or (flush) in the end
<tankf33der> ah, bye
<Regenaxer> without flush or bye nothing may be written
<Regenaxer> (still in buffer)
<tankf33der> it was my next question.
<tankf33der> and mcp cant finish and return to shell
<tankf33der> hang somehow at the end
<Regenaxer> yep
<tankf33der> after final report.
<Regenaxer> it waits for EOF from the pipe
<Regenaxer> So (bye) is best
<tankf33der> ok
<tankf33der> didnt helped.
<Regenaxer> What is mcp?
<tankf33der> statistics tool for checking randomness
<Regenaxer> ah, cool
<Regenaxer> Perhaps it needs more data?
<Regenaxer> (do 10000 ...
<tankf33der> http://ix.io/2l6V
<tankf33der> i do forever loop
<tankf33der> ./mcp --tiny is 10MB
<tankf33der> so i think it eats many it wants.
<tankf33der> so i think it eats as many it wants.
<Regenaxer> yes, maybe
<Regenaxer> or it waits for eof?
<tankf33der> ./mcp --small is 100MB
<tankf33der> maybe.
<Regenaxer> I would (do N ... and increase N step ay step
<Regenaxer> then (bye)
<tankf33der> c code of example rng which i can execute before mcp is:
<tankf33der> while(1) { fwrite(...); }
<Regenaxer> ah, ok
<Regenaxer> then (bye) is not needed after (loop )
<Regenaxer> pil should get a pipe error
<Regenaxer> which is ok
<tankf33der> hangs.
<tankf33der> trying pil32
<Regenaxer> no difference
<tankf33der> yea. the same.
<tankf33der> afk.
<Regenaxer> hmm, pil ignores SIGPIPE by default
<Regenaxer> so it does not terminate
<Regenaxer> but mcp should terminate
<Regenaxer> hmm, right
<Regenaxer> as pil ignores SIGPIPE, it won't stop
<Regenaxer> yes:
<Regenaxer> $ pil -"out NIL (loop (println 123))" |pil -"(println (line))" -bye
<Regenaxer> ("1" "2" "3")
<Regenaxer>
<Regenaxer> ... hangs
<Regenaxer> The first pil does not terminate
rob_w has joined #picolisp
<Regenaxer> Ha!
<Regenaxer> This works:
<Regenaxer> $ pil -"sigio 1 (bye)" -"out NIL (loop (println
<Regenaxer> 123))" |pil -"(println (line))" -bye
<Regenaxer> ("1" "2" "3")
<Regenaxer>
<Regenaxer> :)
<Regenaxer> Good trick :)
mtsd has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
<beneroth> just correct configuration? :P
<beneroth> Good morning, Regenaxer, tankf33der :)
<Regenaxer> Hi beneroth!
<Regenaxer> Which configuration?
<Regenaxer> SIGPIPE ?
<mtsd> Good morning beneroth, Regenaxer and everyone else :)
<Regenaxer> Hi mtsd!
<beneroth> Regenaxer, aye, setting bye on it
<beneroth> Good morning mtsd :)
<Regenaxer> Well, kind of dirty trick
<tankf33der> sigio example
<Regenaxer> yes
<Regenaxer> The trick here is that sigio is also generated when the other end of the pipe closes
<Regenaxer> Better would be SIG_DFL for SIGPIPE
<Regenaxer> Could be set with 'native'
<Regenaxer> Sigh, all that system stuff is nasty. That's why I don't want to support also non-POSIX system
<Regenaxer> s
<Regenaxer> (luckily that would be only Windows now ;)
mtsd has quit [Ping timeout: 272 seconds]
<tankf33der> http://ix.io/2l7e
<tankf33der> final report
<tankf33der> LC generators are not ok, so this is expected.
<tankf33der> as is.
<beneroth> what if you use /dev/random instead?
<beneroth> ah
<beneroth> nevermind
<beneroth> I didn't read the code far enough
<beneroth> is mcp tool publicly available?
<tankf33der> it inside gjrand toolset
<tankf33der> like practicalyrandom toolset
<tankf33der> this jsf generator is one of the recommended passed tests in a lot of tools
<beneroth> wooow what an interesting rabbit hole, thanks for the link!
<Regenaxer> So pil's random generator is not good?
<Regenaxer> Strange, I used the best one from Knuth's book
<Regenaxer> I mean best of the multipliers for linear congruential
<tankf33der> yea.
freemint has joined #picolisp
freemint has quit [Remote host closed the connection]
freemint has joined #picolisp
freemint has quit [Remote host closed the connection]
freemint has joined #picolisp
mtsd has joined #picolisp
alexshendi has joined #picolisp
orivej has joined #picolisp
<alexshendi> Good Morning. Or more correctly "Mahlzeit"!
<Regenaxer> Mahlzeit!
<beneroth> En guete!
<alexshendi> I see that Guido has unsubscribed...
<Regenaxer> yeah
<beneroth> the zen is re-established
<Regenaxer> He kept on insulting me a little more by PM today
<Regenaxer> I think he is seriously ill
<Regenaxer> "Deine Antworten waren mehr als schwachsinnig. Naja, vielleicht hast Du das Alter, wo man langsam starrsinig wird."
<Regenaxer> "Ich führe 39 Unternehmen mit insgesamt 6000 Mitarbeitern, trotz Corona steil wachsend, mit ca. 40 neue Programmierer pro Monat"
<Regenaxer> I don't believe a word
<Regenaxer> "Ich hatte persönlich ein Treffen mit dem US Konsul, der auf US Seite für TTIP zuständig war. Der wollte mir was vom Pferd erzählen, typische 'US Narrative'. Ich habe dann der EU TTIP Kommission empfohlen TTIP zu canceln, was dann auch geschah."
<Regenaxer> ☺
<Regenaxer> Look at the comments at: https://www.radiotux.de/index.php?/archives/1414-Interview-mit-Guido-Stepken-von-Squeak.html
<Regenaxer> "Ahnungsloser Typ der sich gerne als Experte ausgibt"
<Regenaxer> Issue closed, as tankf33der would say
orivej has quit [Ping timeout: 246 seconds]
<beneroth> oh, a famous advanced nutjob
<alexshendi> I'm just listening to that episode. Bad publicity for Squeak...
<beneroth> the dates on the comments are funny, 5 years apart, nothing changed :D
mtsd has quit [Quit: Leaving]
mtsd has joined #picolisp
<mtsd> Listening to the episode about squeak too..
<mtsd> Too bad he kept on insulting you by PM, Regenaxer. Are you ok?
<Regenaxer> Ah, no problem at all! Just funny
<mtsd> You know, all of us in the community think you have invented fantastic stuff.
<Regenaxer> Don't worry! Thanks!
<Regenaxer> You can't take anything that guy writes seriously. I really don't waste any time on that
<mtsd> Good. He does seem to be really ill
<beneroth> is the podcast worth listening to? for fun?
<Regenaxer> I don't want to waste time for that
<Regenaxer> Let's forget all that
<beneroth> no worries, but I like to listen to podcasts while cooking or doing chores :P
<Regenaxer> ok :)
<beneroth> but yes, agreed, back to productive ;-)
freemint has quit [Ping timeout: 244 seconds]
alexshendi has quit [Read error: Connection reset by peer]
mtsd has quit [Remote host closed the connection]
freemint has joined #picolisp
alexshendi has joined #picolisp
rob_w has quit [Remote host closed the connection]
* beneroth is watching https://www.twitch.tv/helsec
<beneroth> livestream from virtual security conference in helsinki
<beneroth> current presentation is about a webfuzzer to test/analyze web applications
<beneroth> their virtual meeting setup: presenter using Zoom (we probably don't want this), streaming into https://obsproject.com/wiki/Understanding-The-Mixer (self-hosted by organizer), which is streamed into twitch.tv and from there also into discord
alexshendi has quit [Ping timeout: 265 seconds]
freemint has quit [Remote host closed the connection]
freemint has joined #picolisp
orivej has joined #picolisp
alexshendi has joined #picolisp
<alexshendi> Good evening. Is it still evening? Or night?
<Regenaxer> Evening but daylight
freemint has quit [Ping timeout: 252 seconds]
Regenaxer has quit [Remote host closed the connection]
alexshendi has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]