IRC channel logs

2013-04-30.log

back to list of logs

<DerGuteMoritz>wingo: you might also like http://mechanical-sympathy.blogspot.de/ if you don't know it already
<wingo>i found that one only recently
<DerGuteMoritz>ah good :-)
*DerGuteMoritz is pretty much clueless about this stuff
<wingo>it looked intimidatingly good so i put it away from me for a while ;)
<DerGuteMoritz>heh!
***fangism-shadow is now known as fangism-hongry
*bipt reads noah's libjit patches
<Nafai>Hey bipt. How's it going?
<bipt>Nafai, pretty well, just finishing an independent study course on lambda calculus and combinatory logic this week
<Nafai>sounds interesting
<ArneBab_>wingo: the binary search page is awesome. Thanks!
<nalaginrut>heya guys~
<civodul>Hello Guilers!
<ArneBab_>Hi civodul, nalaginrut
<wingo>moin
<nalaginrut>wingo: do you need a (ice-9 mmap)? ;-P
<DerGuteMoritz>hi guilerinos!
<nalaginrut>DerGuteMoritz: heya~
<nalaginrut>ArneBab_: hi~
<DerGuteMoritz>what are the haps?
<nalaginrut>hmm..what?
<nalaginrut>DerGuteMoritz: is there mmap in chicken?
<DerGuteMoritz>yes, there is a binding
<DerGuteMoritz> http://api.call-cc.org/doc/posix#sec:Memory_mapped_I.2fO
<nalaginrut>ah~yeah, so we should add it
<civodul>nalaginrut: in the meantime, it's easily done with (system foreign)
<nalaginrut>civodul: you mean let it done by users?
<civodul>i mean by whoever needs it, until it's in libguile
<nalaginrut>civodul: how about add it in libguile now? ;-P
<nalaginrut>it's useful for web-framework and server
<nalaginrut>for big files
<civodul>when it's in libguile, you'll have to wait for the next release, and tell your users to upgrade
<civodul>so you still need an interim solution
<nalaginrut>OK, I see your point
<nalaginrut>I'll wrap my own one, but I wish add it in the next release ;-P
<wingo>nalaginrut: yes!
<wingo>yeah send some ideas on how you want the interface to look to the list
<wingo>agreed with civodul tho :)
<nalaginrut>wingo: OK
***nalaginrut_ is now known as nalaginrut
<nalaginrut>wingo: I do think define-enumeration could be the way to implement literal hashtable
<nalaginrut>wingo: it's in dwarf.scm
<nalaginrut>oops, it's reversed, but fine~
<davexunit>a literal hash table syntax would be great
<davexunit>but maybe that's what an alist is for?
<DerGuteMoritz>an alist is not a hash table though
<DerGuteMoritz>or are you thinking of alist->hash-table?
<ijp>no, but alist->hash-table is easy to write (and already in srfi 69)
<DerGuteMoritz>right
<ijp>(note srfi-69 hashtables do not directly correspond to guile hashtables)
<DerGuteMoritz>almost a hash table literal
<ijp>(and they're better)
<ijp>(and post-scripts are the new cool thing on IRC)
<ijp>(obviously)
<davexunit>DerGuteMoritz: yeah I know they're different
<DerGuteMoritz>srfi-69 hash-tables are better?
<DerGuteMoritz>(only when parenthesized)
<ijp>well, srfi-69 hashtables are implemented using guile's hashtables, but the interface is better
<DerGuteMoritz>I see!
<nalaginrut>srfi-69?! never tried
<DerGuteMoritz>mutable alas
<ijp>well, immutable maps are a thing I love, but I don't expect it from something advertising itself as a hashtable
<DerGuteMoritz>ok, true :-)
<ijp>if you hashtable-copy in r6rs you get an immutable version
<ijp>controllable by an optional argument
<DerGuteMoritz>are there add / remove functions for those, too?
<ijp>alas, no
<ijp>it's more of a "seal-this-up-jim" deal
<DerGuteMoritz>heh
***ijp is now known as MiguelGH
***MiguelGH is now known as ijp
***fangism-hongry is now known as fangism
***ijp` is now known as ijp
***ijp` is now known as ijp