daniel retweeted
9 am: i can’t wait till bedtime
10 pm: i’ve always wanted to write my own operating system
daniel retweeted
i’m always being polite when i say “i think” or “if i remember correctly” because i remember and i’m correct
Hey @DeezerDevs, I think your search API is broken. In your examples you list this: api.deezer.com/search?q=arti…:"aloe blacc" track:"i need a dollar"
However, this yields no results. In fact, everything with the artist search tag is broken, taylor swift for example yields no results
daniel retweeted
women love it when they can hear the hard drives spinning in the NAS you keep in your bedroom when they're trying to sleep, it turns them on to think you're seeding torrents
einfach sqlc benutzen
I went from "wow ORMs are cool you don't have to deal with sql" to "ORMs bad" a while ago. But now I think that query builders are also bad.
Your code shouldn't build chunks of SQL. Your queries should be fixed, and your code should build up parameters for them. The reason being - this approach makes it much easier to optimize on query-by-query basis while keeping code logic mostly intact. Also makes it trivial to see all entry points that actually hit the database.
The upmost reuse on this level would be a set of fields that you send to a query, akin to GraphQL fragments. This is one of few things that GraphQL did right, probably because its queries don't have logic so it's easier to see the right path.
As a bonus, I bet a setup like this makes it much easier for LLMs to reason about where the code ends and database interaction starts, and also LLMs are much better at reading raw SQL than they are at reading 101 flavors of different query builders.
wow this is absolutely horrible




















