IRC channel logs

2025-01-04.log

back to list of logs

<dckc>I'm considering #guix for my media PC. Any spritely types around to be a sounding board? (prompted by https://social.coop/@spritely/113765322307599360 )
<dckc>re media PC: I figured out how to access some old photos ( https://social.coop/@dckc/113763504288183398 ). Now I want to put it on my TV.
<dthompson>it's been a looooong time since I've had a media pc but back in 2015ish I used guix on it. I am the original packager of kodi but I haven't used it in years.
<dckc>well, knowing it's been done by somebody I know is just the sort of thing that would influence my decision!
<dckc>"when choosing tools, use what the folks around you use" is something I have sort of learned. I continue to use linux while most of the world around me has moved on to Macs...
<dckc>trying out nix made me realize how much debian black magic I have internalized.
<dckc>last time I tried guix for something, I couldn't even download a pre-built binary and run it cuz guix's lib-c was missing some widget.
<dckc>I'm happy to DIY to a certain point, but I can't spend my whole life on such things :)
<dthompson>yeah you won't be able to do that on guix without making a container that emulates FHS
<dckc>well, that sort of "asbestos gloves" is somewhat called for when grabbing binaries from the net and turning them loose
<dthompson>since those binaries are almost always built with the assumption you are running on a debian or red hat derivative
<dckc>the particular libc widget that was missing is no longer missing, I gather.
<dckc>but IIRC, it took ~3 years to get into guix
<dckc>so I was really happy with `guix system vm`...
<dckc>I'd like to do something similar with hardware: I'm sitting at machine B, and I have an external disk hooked up...
<dckc>I want to put guix on that disk, and then move it over to the media PC.
<dthompson>I think you could do that
<dckc>ah... my "personal server to decrease reliance on surveillance capitalism #79" notes include a pointer to that earlier libc episode: https://logs.guix.gnu.org/guix/2024-08-04.log#080550
<dckc>can you sketch how I would do it?
<dthompson>mount the second drive and then use 'guix system init os-config.scm /the/mount/point' to install guix there
<dckc>ok... how about partitioning and grub and whatnot?
<dckc>(btw... anything I can do for you while I'm aboot?)
<dthompson>I haven't done an install this way so I don't really know
<dthompson>but it certainly seems doable
<dckc>my earlier vm builds and runs! yay!
<dckc>(after downloading 0.5 internets, of course)
<dckc>_reads manual re guix system init and grub..._
<dckc>3.6.1.3 Disk Partitioning
<dckc>ooh... my Makefile notes include partitioning!
<dckc>building /gnu/store/xgbixfr8wd9nm2wz4mv0rfs50jrr0wpg-install-bootloader.scm.drv...
<dckc>guix system: bootloader successfully installed on #f
<dckc>so... it seems I've been down this road. I wonder why I wasn't happy with the result.
<dckc>gonna try it on the target machine. wish me luck
<dckc>(I'm using a USB SATA adapter for now...)
<dckc>hm. the PC goes into some diagnostic mode
<dckc>did I forget to update a filesystem pointer of some kind?
<dckc>no... switching to #guix ...
<Guest26>hi, is there a simple example for communicating over the network with goblins in guile? goblins chat seems like what I want but it's in racket
<cwebber>Guest26: there's a guile version. unfortunately due to challenges with the gtk and guile bindings it can be a bit challenging to run the ui
<cwebber>but the code works
<cwebber> https://gitlab.com/spritely/guile-goblin-chat
<cwebber>but we're working on showing a version with goblins + hoot soon that will be easier to interact with!
<cwebber>however while a small amount of code, it's a bit complicated to understand as a first example. What would be better would be to have the "hello world" of goblins + the network be a 1:1 instant message session
<Guest26>thanks!
<cwebber>yup
<cwebber>also welcome to #spritely :)
<dthompson>see also our manual with a simple ocapn example that uses tor https://files.spritely.institute/docs/guile-goblins/0.14.0/Example-Two-Goblins-programs-chatting-over-CapTP-via-Tor.html
<cwebber>that's probably a better example to look at, yeah
<cwebber>it's the bare minimum example
<cwebber>$57.5k raised! https://spritely.institute/donate/
<Guest26>i think it would be nice to have a link to goblins chat here https://spritely.institute/goblins/ because I wanted to see it after watching the video (maybe mentioning the better examples you talk about here)
<cwebber>that page needs redoing, yeah
<cwebber>it's on my agenda to redo that page and put up the larger project plan on the website
<cwebber>Guest26: btw one neat thing is that the guile and racket versions of goblin-chat *can* talk to each other
<cwebber> https://files.spritely.institute/talks/static/goblin-chat-interop.gif
<cwebber>here they are talking over the tor onion netlayer (hence the lag too)