At times, representing the variety of types a value in #Postges (or any SQL database) can take through multiple tables can taxing, both in terms of development complexity as well as, potentially, performance.
You must just need a value to be of any of the given variants. I've set out to build a generalized mechanism for defining these.
@jlouis link!
@rysiek if only there was a social networking software that appreciates the need for it and gives elaborate, yet easy to use tools for it.
Wow that #Substack CEO interview is a train wreck:
https://www.theverge.com/23681875/substack-notes-twitter-elon-musk-content-moderation-free-speech
Q: No, I really want you to answer that question. Is that allowed on Substack Notes? “We should not allow brown people in the country.”
A: I’m not going to get into gotcha content moderation.
Q: This is not a gotcha... I’m a brown person. Do you think people on Substack should say I should get kicked out of the country?
A: I’m not going to engage in content moderation, “Would you or won’t you this or that?”
@rysiek lol the guy should do a bloody network effect product 101 course. Practitioners were talking about the inevitability of moderation 20 years ago.
So for over a week now Elon Musk's circle of friends have been going on and on insisting that Bob Lee's killer was obviously an unhoused individual and blaming the city for not jailing more people.
Now, it turns out that the guy who killed him was another tech exec who knew him, and they were originally in a car together.
https://missionlocal.org/2023/04/bob-lee-killing-arrest-made-san-francisco/
I had a problem that sometimes I've deployed staging environments with placeholder keys while deploying #elixir stuff.
My colleague Olexandr has figured out a way to make sure it never happens.
@ben sorry for ruining the day for you. I can't focus on anything right now either. It's good that we at least have an outlet to talk about our emotions.
@ben I don't even. The cars are supposed to survive this. It's a mixture of an amazing, positive and kind person passing and questions about safety.
This is a reminder for everyone, especially broadcasters, that "drama" is NEVER FUN and is NOT what the sport is about. Honestly, I was so angry when they kept showing that 2020 (?) Tanak Monte crash before we knew that he and Martin were ok.
@chshersh @haskman ah but that's where the other benefits come in. I think that #typescript with `any` is the winner, as it has better type system. I would love to have another type system interoperable with typescript, but dependently typed to be available too. With proceedings languages like #lean demonstrate, it may be a reality soon.
@haskman @chshersh correct. Also, and arguably most importantly, #purescript can share TYPES between a browser and server. Example of an approach to this: https://github.com/FrigoEU/purescript-endpoints-express
Our admission of the massacre is proof that France & Britain should have taken Stalin’s deal to let him occupy all of Poland so he could have more than half of the country to commit crimes against humanity in.
Who can explain why NATO is so popular with our former colonies?
That https://doma.dev guy
#lean #rust #typescript #react #nix
In my non-existent free time I design and run #TTRPG
If you use tools made by genocide-apologists, you are a genocide-apologist.
#lemmy users aren't welcome here.