***karlosz_ is now known as karlosz
<nly>no ,doc <function-name> ? <wingo>not all functions have docstrings of course <wingo>actually i wonder if ",doc" is broken somehow; ,d <function-name> works ***apteryx_ is now known as apteryx
***erkin is now known as Cathrinus
<BitPuffin>Are there any wlroots bindings for guile? If not, what's the best way to generate c bindings for guile, swig? ***rekado_ is now known as rekado
<rekado>BitPuffin: I had excellent result with the ffi-helper that’s part of nyacc <rekado>it made writing Guile bindings to DRMAA much easier <flatwhatson>does that make nyacc a runtime dependency of your package? <rekado>flatwhatson: the generated code depends on one module that nyacc provides. You can copy that module to avoid a runtime dependency on nyacc. <BitPuffin>rekado: so after you have the raw binding you make more scheme friendly abstractions on top? <nly>how do i display favicon from guile web server? <BitPuffin>nly: guile web server only gives you some very basics, you basically have to either load and serve it as bytes, or serve it with a reverse proxy in front of the web server like nginx <wingo>you could handle the favicon path and return a suitably-mime-typed bytevector <wingo>but yeah i usually get nginx to handle the static things <BitPuffin>wingo: are there any more or less meaningless microbenchmarks of guile vs C out in space that you know about? <BitPuffin>Was searching earlier but nothing cool came up <BitPuffin>Ah yeah pretty sure I've seen this one, but it is guile vs old guile right? <ArneBab>BitPuffin: there is also Guile (3.0.4, current is 3.0.5) vs. Scheme-to-C-compilers by ecraven: https://ecraven.github.io/r7rs-benchmarks/ — gambit/gerbil compiles Scheme to C, Chez is crazy assembly-optimization, racket is Chez, then you get the Schemes that are roughly as fast as Guile 3. The benchmarks also show Guile 3 vs. Guile 2, so they can make older benchmarks somewhat comparable to Guile 3. <zzappie>hello guilers! anyone knows function analogous to rackets shuffle in guile libs? <zzappie>* shuffle: Returns a list with all elements from lst, randomly shuffled. <wingo>woo, i have a pass to elide arity checks <wingo>zzappie: nothing in guile's libs i think <zzappie>only changed those square brackteers ***karlosz_ is now known as karlosz
<dsmith-work>silly rackettes, square brackets are for clojure (, and emacs-lisp) <leoprikler>zzappie: I have manually implemented good ol fisher-yates <daviid>zzappie: fwiw, patches and tips in guile-cv's manual sibling sections dedicated to 'configure guile for guile-cv', so repl and raised exceptions do truncate their output, work fine with geiser <daviid>manumanumanu: it is not a hack, it is a nive and clean patch - the hack is to have to ask users to apply it, unfortunately <daviid>*nice ...by lloda - we both, and any one of us working with large structures, depends on the patch, otherwise, guile is just unusable <daviid>most users are dead scared to patch (ice-9 boot-9) themselves though, hence guile is unusable - form them,guile-cv users and any other users who have to manipulate large structures <daviid>i stoped working on guile-cv, it was to teach yung adults and not so young adults :), but defiitely beginners for most of them, to use scheme and have fun doing so image processing ... even phd students didn't feel confortable to patch ...