Show newer

I did the proper thing and looked at existing implementations! and there's a module to split a stream to multiple consumers (nice), but nothing that keeps a buffer to backfill late-joiners. This will integrate *perfectly* with my current architecture because I'm already saving the whole stream into a buffer anyways (for later cache serves)

so:
- first request comes in, upstream starts streaming to the first client
- second client requests that file while it's still streaming, it gets a new stream with the buffer up till now + then the new data
- upstream request finishes
- new clients get the whole cached buffer

Show thread

fucked up that I can't listen to the new(ish) ZHU album

I guess this is the second yakshaving time where I really dive deep into the internals of a Node subsystem (last time it was the module system, resulting in npmjs.com/package/@require-tra)

Show thread

I think I can do a cool stream splitting thing with late-joins but it'll be a bit more complex (and I have a (short) meeting in 20 mins..)

Show thread

ok subscribing to streams when they come available works, subscribing to an already existing stream doesn't because some of the data will already be read-out from it (and thus removed).
And seems having multiple subscribers to the same stream isn't ideal either as varying network speeds/stream consumption would give a similar issue, hmmm

Show thread

Using #Linux?

If there are any devices in 'lsusb' where you know what they are, but the description is incomplete or missing, you can easily contribute them at usb-ids.gowdy.us

Same for 'lspci' and pci-ids.ucw.cz/

ok nice nice time to get this implemented before next meeting at 12:10

Show thread

currently an upstream request stream gets piped to the first requestor, and to a buffer for the later cache, but instead I should store a reference to the stream immediately so it can be piped to new requestor immediately as well, while it's still in progress!

Show thread

aaaaa I got an absolute superthought under the shower on how to speed up concurrent access of non-cached media but I have a fucking meeting first before I can implement it aaaaa

Show thread

horrible that I have a fucking morning meeting again tomorrow so I have to "sleep" instead of fix bugs in my hyperfocussing project >:(

got started on the test deployment, great to do so with NixOS.
Already discovered and fixed some bugs but now turns out Synapse still won't serve my injected media so that needs more investigation tomorrow :/

Show thread

horrible that I have a fucking morning meeting again tomorrow so I have to "sleep" instead of fix bugs in my hyperfocussing project >:(

got started on the test deployment, great to do so with NixOS.
Already discovered and fixed some bugs but now turns out Synapse still won't serve my injected media so that needs more investigation tomorrow :/

Show thread

I loooove the Varien guest mix but there's soo many incredible unreleased tracks in it and that's both a blessing and a curse :>>
Favorite bit starts at 25:09 which transitions (hah) beautifully into DEAD!NAME
youtu.be/9DcDkmtIYT8?t=1509

Show older
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.