IRC channel logs

2022-05-25.log

back to list of logs

***Server sets mode: +ntz
***dongcarl1 is now known as dongcarl
<wingo>seeing verrrrrrrrrry nice performance improvements with new gc prototype with multiple mutator threads
<civodul>hey wingo, neat!
<chrislck>o/
***chris is now known as Guest4004
***Lemniscate is now known as Sauvin
<sneek>wb dsmith-work!!
<dsmith-work>Wednesday Greetings, Guilers
<undltd>Hi everyone. Are there any libraries in guile for flexible working with SQL queries (i.e. better than strings)?
<undltd>(or something ORM-like)?
<lampilelo>undltd: never used it, but this: https://github.com/opencog/guile-dbi
<lampilelo>there's also guile-sqlite3
<undltd>lampilelo: thanks; it looks like these libraries don't provide any abstractions over sql queries themselves (i.e. something like Clojure's HoneySQL) https://github.com/seancorfield/honeysql
<lampilelo>undltd: seems like artanis wraps guile-dbi with something similar, maybe you could reuse that: https://git.savannah.gnu.org/cgit/artanis.git/tree/artanis/ssql.scm
<lampilelo>but there seems to be no standalone libraries for it
<lampilelo>seem*
<undltd>lampilelo: thanks, looks interesting!
<unmatched-paren>is there a standard `rm -rf`-like procedure in guile?
<unmatched-paren>i can only see equivalents of `rm -d` and `rm` in the manual
<stis>Tjaba guilers!
<lilyp>unmatched-paren: there's a non-standard rm-rf in guix :)
<lilyp>called delete-file-recursively
<unmatched-paren>lilyp: thanks. i'd have hoped there was something in 'POSIX / File System'
<lilyp>I think you can approximate it by doing an ftw
<lilyp>(which is how the guix one's implemented anyway)
<unmatched-paren> <https://www.gnu.org/software/guile/manual/html_node/File-Tree-Walk.html>?
<unmatched-paren>i'll keep that in mind :)
<lampilelo>ftw is kinda slow, you could also do it the ugly, non-idiomatic way of (system* "rm" "-rf" dir)
<lilyp>lampilelo: joke's on you, rm -rf is still an ftw
<lampilelo>fair, but not (ftw ...)
<lilyp>sure, it's file-system-fold actually :)