Dan Holm
Dan Holm
@holmosapien.com
Cyclist, ambient music producer, leather daddy.
Yeah, that's a pretty solid approach. You're right that you can't just accept whatever like with Typescript, but I like to follow this pattern when I need my unmarshalling to branch based on some value in the JSON: stackoverflow.com/questions/53...
Unmarshal dynamic JSON based on a type key
I'm looking for a solution which DOESN'T involve introducing an additional "generic" field like Value, Data, etc. which would be a placeholder for the variant field. I have a JSON spec which desc...
stackoverflow.com
July 27, 2025 at 11:31 PM
The cops tried to justify it by saying they only arrested him to protect his safety because of all of the threats against him and his employer, Wal-Mart. So selfless, aren’t they?
July 7, 2024 at 1:36 AM
If AI can disrupt faster than the market can absorb the changes, and the firing was actually about AI safety — with Altman wanting to move faster than the board was comfortable with — then where Altman ends up and under what constraints could be of interest.
November 21, 2023 at 5:08 PM
Dylan Henner - You Will Always Be, and Time Wharp - Spiro World got a lot of rotation in 2022.
November 17, 2023 at 8:50 PM
Her slow walking this means De Oliveira and Nauta will have gone with potentially conflicted representation for 75+ days, but legal experts seem to be chalking this up to her being totally inexperienced and learning on the job than something nefarious. The eventual ruling will tell.
September 25, 2023 at 10:59 PM
I've never understood "rape and incest only" exceptions. If you don't understand how human reproduction works and you think abortion is murder, why would the events surrounding conception matter? It's somehow worse, an admission it's all cruelty with a couple small exceptions out of generosity.
September 19, 2023 at 4:55 PM
I would criticize them for their moral relativism, but I guess they're feeling the same thing I do whenever I see a cop getting hurt.
August 15, 2023 at 4:46 PM
I’m being hatecrimed every time I open the pantry.
July 22, 2023 at 2:55 AM