IRC channel logs

2022-12-09.log

back to list of logs

<stis>A bytevector outputs 20M doubles with the write command
<stis>the same for vanilla write is 0.6M
<daviid>nice, I actually did not spend any time (yet, and on purpose) on the performance 'side of things' for g-golf, but hafter I switched proxy gobject instances memory management to use toggle references, and moving from guile Guile 3.0.7.51-b1bba to Guile 3.0.8.93-e117d, then importing the Gtk namespace is now nearly twice as fast - no one should ever import the entire Gtk namespace, but it's a good 'mini benchmark' - from Sample count:
<daviid>287\n Total time: 5.181795198 seconds (0.777894353 seconds in GC) -> (to) Sample count: 143 Total time: 2.817992272 seconds (0.701882261 seconds in GC)
<lilyp>daviid: sounds nice
<ArneBab>simple web-scraping example: https://www.draketo.de/software/wisp-snippets#web-scraping
<civodul>ArneBab: nice! this snippet page is a great idea
<civodul>IWBN to have a toggle to switch between wisp and sexp syntax
<ArneBab>That would be pretty awesome, but I’m not sure how I can do that nicely in org-mode. I might have to do inline-html with css-switches.
<civodul>ah right, dunno
<civodul>maybe there's a CSS trick people use in similar situations
<ArneBab>there is one :-)
<ArneBab>and I used it before, just had to find it again. This is a manual process and a bit cumbersome (prevents me from coding the snippets with right in the org-mode file and just hitting publish if I want to provide that), but it actually works. See https://www.draketo.de/software/wisp-snippets#web-scraping again :-) (you may have to re-load with f5; I set the webserver to tell browsers to cache HTML for an hour)
<ArneBab>The whole trick is in an inline-style-tag and the interactivity happens via a hidden checkbox and two labels.
<ArneBab>civodul: I hope that helps :-)
<civodul>ArneBab: it sure does, thanks for sharing
<dsmith-work>Happy Friday, Guilers!!
<sneek>dsmith-work: Greetings!
<dsmith-work>sneek: botsnack
<sneek>:)
<dsmith-work>!uptime
<sneek>I've been running for one month
<sneek>This system has been up 6 weeks, 2 days, 15 hours, 32 minutes
<dsmith-work>goodbot
<ArneBab>cwebber: wisp2lisp can now parse code from stdin (I was annoyed that I could not just do `M-| wisp2lisp -`)
<ArneBab>(it’s only in vcs for now — need to make a release)
<cwebber>ArneBab: nice! :)