IRC channel logs
2024-11-13.log
back to list of logs
<dthompson>oh msavoritias is back! I was going to reply yesterday but they weren't online <dthompson>thanks jfred that is exactly the link I wanted to send <jfred>ACTION should probably read through the Dissecting Guix posts and try to grok them too though <jfred>I can't say I really understand monads yet :) <dthompson>the ^io actor is the thing to use. it handles all the annoying stuff. <msavoritias>thanks jfred :D i didnt know there was IO! yeah definetily im going with that then <dthompson>it's relatively new but we have used it a bunch <dthompson>if you know how to work with scheme ports, then you're most of the way there to knowing how to work with io actors <dthompson>the io actor will wrap a port object and you'll do read/write ops by sending messages to it <jfred>that does sound like exactly what you'd want, haha <dthompson>the only thing you may have to set up in advance is to make the port nonblocking, in the case of a socket <dthompson>the io actor will take care of the rest and make sure the vat isn't blocked <msavoritias>sounds good. i have some other plans for the db anyway to make it "image" based. so ideally i only want to pass a commit and that is it. so the transactions would be conceptually simple