this post was submitted on 10 May 2026
299 points (99.0% liked)

Programmer Humor

31683 readers
1719 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] RustyNova@lemmy.world 49 points 3 weeks ago (2 children)

I think you got the wrong caption. It's the world if SQLite supported multiple concurent writes.

Stupid transaction deadlocks...

[–] irelephant@lemmy.dbzer0.com 10 points 3 weeks ago (3 children)

In my case, I want to use sqlite locally, for development, but I don't want to add a load of jank to handle booleans for sqlite.

[–] RustyNova@lemmy.world 14 points 3 weeks ago (2 children)

I use rust's SQLx which map bools to numbers so it must be a problem with your connector maybe

[–] irelephant@lemmy.dbzer0.com 4 points 3 weeks ago

Yeah I should probably open an issue.

[–] WhyJiffie@sh.itjust.works 0 points 3 weeks ago (1 children)

username checks out

so it must be a problem with your connector maybe

or with their programming language

[–] RustyNova@lemmy.world 2 points 3 weeks ago

I actually started using rust well after picking this username :P

[–] nilloc@discuss.tchncs.de 7 points 3 weeks ago (1 children)

That’s what I like about Ruby ORMs. They did all the conversion for you, and you could have SQLite on your dev box, Postgres on the test server and MySQL on the annoying production host that wouldn’t run anything else.

This was 18 years ago though.

[–] HK65@sopuli.xyz 1 points 3 weeks ago* (last edited 3 weeks ago)

Are not all ORMs like that? I only used ActiveRecord before fucking off from backend 10 years ago

[–] qevlarr@lemmy.world 2 points 3 weeks ago

This is sqlite's intended use case. To replace configure files and local data

[–] dan@upvote.au 3 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

WAL mode makes writes a lot faster, which is sufficient for a bunch of use cases. Writers do still need to wait, but they have to wait for a shorter duration. It's still not the right choice for write-heavy use cases, of course.

[–] RustyNova@lemmy.world 2 points 3 weeks ago

I'm not actually looking for the speed most of the time, but more about preventing partial writes, so I'm still using it