It's interesting that the web streams API for bring-your-own-buffer readers invalidates the reference to the buffer you provide, and you reacquire it after the read completes. Clever way to accomplish Rust-like exclusive ownership within Javascript.
One of my favorite things about web streams vs old node streams is that there are no duplex stream objects. Anything that is both readable+writable is represented as a pair of ReadableStream+WritableStream, which helps prevent mixing up what an object is being used for somewhere.
Well, with web streams there is a certain architectural question I keep running into: should I make a function take a ReadableStream as an argument, or should I make it return a WritableStream that the user pipes a ReadableStream into?
In most situations the choice feels extremely arbitrary. Usually #1 was a little easier so I did that more often.
I did notice that #1 has the benefit of letting you use bring-your-own-buffer mode readers, though that's not always relevant.
While we're all focused on the Corona crisis the US government is quietly pushing an internet #surveillance bill that is aimed at abolishing message encryption:
We should probably pay attention to this and spread awareness even if we are not American: https://www.eff.org/deeplinks/2020/03/earn-it-bill-governments-not-so-secret-plan-scan-every-message-online
imagine if everyone who started a World of Warcraft account was shipped a goldfish. And they all had to keep their goldfish alive. If the goldfish died, then their WoW account would get closed forever. It'd be fucked up and people would ask blizzard what the fuck.
But we have basically the same deal with reality and these meat bodies we get and everyone thinks it's normal
We need to make reality 2.0
thank you for attending my ted talk
I was dreaming about mario maker this morning, and when my alarm went off, I was still mostly asleep and convinced that my alarm clock was an object in my mario maker dreamspace rather than in meatspace, so I was scared that if I woke up all the way, I would lose access to the dreamspace and wouldn't ever be able to turn off the alarm. I focused on falling back asleep so I'd be able to hit the snooze button on the alarm. It took me a while to reason myself out of that and finally get my alarm.
Artwork by Robert Watts, 1969 https://thevaultoftheatomicspaceage.tumblr.com/post/186419793920/c86-artwork-by-robert-watts-1969
Dungeon Generation in Diablo 1
https://www.boristhebrave.com/2019/07/14/dungeon-generation-in-diablo-1/
(submitted by noad)