IRC channel logs

2015-07-18.log

back to list of logs

<amz3>héllo :)
<zacts>hi
<zacts>I have a really nice neovim setup for chicken and guile
<zacts>I may blog about it soon
<zacts>hopefully it can get more vimmers also interested in the lisps
<zacts>and guile
<zacts>also vim now has vim-paredit
<zacts>which is nice
<zacts>but it is missing some features that emacs paredit has
<zacts>but there are other plugins like vim-sexp to fill in the gaps
<nalaginrut>I'm trying to write epoll module with FFI in pure Scheme, but seems I can't get perfect solution, since I can't get errno
<nalaginrut>I was planning to handle the exceptions as possible
<nalaginrut>I really want to write whole Artanis with pure Scheme, but seems impossible
<davexunit>nalaginrut: check out the guix source code for an errno procedure
<davexunit>guix/build/syscalls.scm
<davexunit>nalaginrut: http://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/syscalls.scm#n88
<nalaginrut>davexunit: nice, although it could be unsafe in certain situation, I hope it's safe for epoll usage
<davexunit>you should be alright if you're not using asyncs
<nalaginrut>davexunit: do you mean `async' in Guile, or AIO?
<davexunit>guile asyncs
<davexunit>which deal with signals from the kernel
<nalaginrut>I use epoll for async server, I'm not sure if guile asyncs is useful for me
<nalaginrut>hmm...seems this method didn't catch the expected errno for me, when something is wrong, (errno) is 0
<nalaginrut>davexunit: have you tried this code? It can't catch the expected errno for me
<nalaginrut>davexunit: alright, it's ok now, thanks ;-)
<davexunit>nalaginrut: yw
<nalaginrut>well, lot of work need to do http://git.savannah.gnu.org/cgit/artanis.git/commit/?h=wip-server-core&id=677bdad0355678f80fad647e5040c17dd08fd7af
<nalaginrut>ACTION zzzZZZ...
<zacts>mark_weaver: hey thanks for introducing me to the existence of paredit mode. It's really nice, although I am using vim-paredit it's really making me more productive with my parentheses
<mark_weaver>zacts: glad to hear it :)