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 [Ping timeout: 265 seconds]
_whitelogger has joined #picolisp
orivej has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
<rick42> hi pil peeps
<rick42> i hope everyone is well
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
<aw-> hey rick42
<aw-> long time!
<rick42> hey aw-!
<aw-> hope you're doing OK out there
<rick42> good to hear from you on the ML! nice work, as always!
<aw-> you're in NYC right?
<aw-> thanks
<rick42> yes we are, and you?
<rick42> I'm in Indiana
<aw-> still in Japan here, things are quite "normal", fortunately
<rick42> one state over from joebo :)
<rick42> oh good.
<rick42> no crazy covid happenings?
<aw-> not really
<rick42> aw-: how's the livelihood going?
<aw-> good mate ;)
<aw-> lots of coding time nowadays
<rick42> glad to hear that!
<aw-> yeah, take care buddy
orivej_ has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
<rick42> aw-: you too, brother!
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
orivej has quit [Read error: Connection reset by peer]
orivej has joined #picolisp
orivej has quit [Ping timeout: 265 seconds]
rob_w has joined #picolisp
orivej has joined #picolisp
alexshendi has quit [Ping timeout: 272 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #picolisp
orivej_ has quit [Quit: No Ping reply in 180 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 [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #picolisp
<rob_w> good morning guys
<beneroth> good morning rob_w
<rob_w> is there a functionality to get notified if a file was created ? like what libinotify provides ?
<beneroth> Regenaxer, @wikipedia, so stupid...
<beneroth> rob_w, you could use libinotify through (native)
<beneroth> I don't know if someone already made a wrapper
<beneroth> @bin/ssl uses libinotify I think, but that is C :)
<aw-> yeah inotify outputs line-by-line as well
<aw-> if you want to just parse the stdout
<beneroth> ah, so cli wrapping is enough aw- ?
<aw-> that's what I've done, works well enough
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #picolisp
<aw-> inotifywait or inotifywatch programs.. i can't remember which one
<aw-> it's inotifywait*
<aw-> also great, new picolisp release! (i was just checking today haha)
<Regenaxer> Hi all!
<Regenaxer> beneroth, yeah, stupid Wikipedia
<Regenaxer> @bin/ssl does not use inotify by itself, but a script (bash) which calls both
<beneroth> ah
<Regenaxer> as aw- said, reading stdin
<Regenaxer> if test -z $(pgrep -u app -x inotifywait)then echo inotifywait inotifywait -mq -e modify --format '%f' --exclude beat fifo | while read F do if test -z $(pgrep -u app -f "bin/ssl .* $F.r") then bin/ssl 7fach.info 443 $F.r/\!replica key/7fach fifo/$F db/$F/blob/ 20 20 fi done &fi
<Regenaxer> oops
<Regenaxer> ok, this one http://ix.io/2qtd
<Regenaxer> So this one monitors only modifications
<Regenaxer> not file creations
<rob_w> very nice .. but i guess i can get myself a wrapper .. only need the some simple stuff from it , thx guys
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #picolisp
emacsomancer has quit [Read error: Connection reset by peer]
emacsomancer 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
<aw-> Regenaxer hi, question regarding symbol names
<aw-> the docs say that a simple name is stored in a number of 1-7 bytes
<Regenaxer> correct
<Regenaxer> a short number
<aw-> so that mean a longer symbol name will be less efficient?
<Regenaxer> yes, takes more space
<aw-> symbol name*
<Regenaxer> and longer to process
<aw-> i see
<aw-> i never considered that
<Regenaxer> Usually not noticeable I think
orivej has quit [Ping timeout: 240 seconds]
<aw-> i guess not, on a 64-bit machine
orivej has joined #picolisp
<aw-> ok next question: if you were looking to be as efficient as possible, how would you save an array of arbitrary bits or arbitrary length?
<aw-> of arbitrary length
<aw-> ex: 11001010
<aw-> which is 202 decimal
<Regenaxer> If space ifficient, then a big numbir
<Regenaxer> eff
<aw-> i see
<aw-> i tried somethingg like that but it crashed
<aw-> segfault when i try to (setq *Myvar reallybigint)
<Regenaxer> Not enough memory?
<aw-> hmmmmm
<aw-> perhaps
<Regenaxer> must be very very big ;)
<aw-> i think i did something stupid like (** 2 (** 2 64))
<Regenaxer> ok, yes
<aw-> so a big number would be better than say.. a list of 8-bit integers?
<aw-> (list 202 234 ...)
<Regenaxer> yes, smaller
<Regenaxer> and depends on the manipulations
<Regenaxer> eg. bit operations
<Regenaxer> or other arithmetics
<aw-> what do you mean?
<Regenaxer> '|', '&' etc
<Regenaxer> 'bit?'
<aw-> yes
<aw-> ok thanks
<beneroth> lists are like linked lists in C, and number are like arrays, in a sense
<beneroth> hmm.. so Regenaxer one could argue we have indeed arrays :P
<beneroth> just no array operators
<beneroth> well no
<beneroth> the blocks are linked lists
<beneroth> so its fixed-sized arrays :P
<beneroth> yeah we shouldn't call this array ^^
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
<Regenaxer> hehe, yep
<aw-> not so easy to perform bit ops on large numbers
<Regenaxer> yes, you '>>' shift a lot
<aw-> haha yes
<aw-> a lot
<Regenaxer> What is your use case?
<aw-> population count
<Regenaxer> I would use an 'idx' structure perhaps
<aw-> hmmm
<Regenaxer> As discussed with tankfeeder here several times, store a symbol (e.g. from 'hash') and keep a payload (e.g. a count) in that symbol's value
<Regenaxer> A very general principle
<Regenaxer> So the keys are not necessarily numeric
<aw-> ok i'll check the logs
<Regenaxer> yeah
orivej has quit [Ping timeout: 264 seconds]
Blue_flame has quit [Quit: killed]
rob_w has quit [Quit: Leaving]
Blue_flame has joined #picolisp
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 [Ping timeout: 264 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 258 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: 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 [Ping timeout: 256 seconds]
orivej has joined #picolisp
<Nistur> mornin'
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 [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: 246 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 258 seconds]
orivej_ has joined #picolisp