

honestly even at tier 2 this feels like more support for x86 than Apple does themselves
honestly even at tier 2 this feels like more support for x86 than Apple does themselves
i absolutely cannot take this rant about “absurd” conventions seriously with that fuckin thorn character lol
one that i’ve used in the past but isn’t mentioned here is type state based. when developing a file upload service i have a File
struct with different states that implement FileState
, ie struct File<TState: FileState>
. Uploading
, Staged
, and Committed
. Uploading
contains a buffer and some block IDs, Staged
has no buffer but includes the block IDs, and Committed
is just a marker. they can have different methods based on their type state like impl File<Uploading>
. this gives us the type safety of, for example, not allowing a partially uploaded file to be committed, while still sharing some state like ID, etc.
i just got an Ubuntu machine at work, and really simple packages are only available as snaps. so i guess i’m going to try out Nix home-manager
where i get into trouble is when i do a bunch of nixos-rebuild —switch
es between restarts and some state ends up hanging around, so next time i do a reboot that ephemeral state is gone and whoops no internet
nushell
:P