keturn

joined 1 year ago
[–] keturn@sh.itjust.works 1 points 2 months ago (1 children)

uh, because TypeScript is an object-oriented language, as are the Deno APIs? I'm not sure I understand the question.

[–] keturn@sh.itjust.works 1 points 2 months ago* (last edited 2 months ago) (1 children)

differently hacky idea:

since you do end up with all the packages in a repository on the filesystem, and you just want to have it do this just-in-time updating when the Packages file is accessed...

what if you list it as a normal file apt source, but you make the Packages file a FIFO?

it's a cursed idea but I'm not sure it is any less cursed than the other options we've come up with.

it may or may not help to have systemd.socket manage creating the FIFO and running the service.

[–] keturn@sh.itjust.works 3 points 2 months ago (4 children)

I went way down the rabbit hole on this one and ended up with a proof of concept that's probably close enough to be able to wire it up: https://gitlab.com/-/snippets/3745244

I guess it didn't end up too much code, but I'm not entirely sure it's worth it.

(it's after 3 AM? oh no what have I done)

[–] keturn@sh.itjust.works 1 points 11 months ago

This is a great improvement building on an existing model! Very much looking forward to the code, and that LoRA!

[–] keturn@sh.itjust.works 5 points 1 year ago

Stable LM looks like it's actually CC-BY-SA, which I think would meet the Open Source Definition.

But none of the Stable Diffusion or Stable Audio models are released under such a license.

[–] keturn@sh.itjust.works 3 points 1 year ago (1 children)

Yeah, "async is a niche requirement" has long seemed weird to me. Most programs with any degree of interactivity quickly come to a point where they want more than one thing to be happening at once, and they spend some time waiting on external inputs -- whether those are network packets or USB events or timers.

Purely synchronous code only suffices for that narrow and most boring category of programs that know all their inputs up-front and don't accept any other inputs or interactions at all.