ryan

@youfoundryan@macaw.social
261 Followers
285 Following
865 Posts
former tweep on search/historical APIs

@log @mekkaokereke @rsynnott

Battle Hymn of the Republic

@hacks4pancakes Remember the smart lock fiasco a few years back? My house inspector yesterday knew all about it!
@dankim312 they should definitely all realize capital gains for the sake of their god king
@kaoudis oooh recommendation? I'm in the market for a good vacuum cleaner
@eoin does this mean what i think it means?
@kaoudis Last night my dog found one in the bathtub and brought it out to the living room then just placed it on the floor and watched 😆

the greatest trick that Java ever played was to convince programmers everywhere that "an interface for an arbitrary map implementation" is even vaguely expressible/usable by anything but the most advanced type systems

https://toot.cat/@Gankra/111213639702782943

Gankra (@Gankra@toot.cat)

@zkat @yosh@toot.yosh.is trying to do generic collection interfaces is riddled with weird design landmines like this. so many things have Basically The Same Shape but differ in One Weird Way that makes shoving them into one box really weird To the extent that Java does it, they do a lot of weird cheats. Like equals and hashCode are defined on *Object* so that the Map interface doesn't need to specify requirements on the key type. "but wait, what about ordered maps" well of course those just dynamically cast their Object keys to Comparable and crash at runtime if it fails https://github.com/openjdk-mirror/jdk7u-jdk/blob/f4d80957e89a19a29bb9f9807d2a28351ed7f7df/src/share/classes/java/util/TreeMap.java#L343

Toot.Cat
And don't get me started on their effective altruism bullshit. You know what's effective? Eisenhower-era tax rates on corporations and the wealthy. That would be so effective it would make your ketamine-addled heads spin, you dinguses.
During Halloween season, I like to remind folks that vampires are fake but ticks are real. Be careful when you're out there walking in the brush. Wear long pants, and stay vigilant