You’re right, that’s way too simple. Definitely need to rotate the booleans daily. For… security. Yeah, security.
- 8 Posts
- 732 Comments
create table boolean ( id integer primary key, name text not null unique ) insert into boolean (name) values ('true'); insert into boolean (name) values ('false'); create table document ( id integer primary key, name text not null unique, body text not null, is_archived not null integer, foreign key (is_archived) references boolean (id) on delete cascade on update no action );Solved.
Bonus: DBAs hate this one weird trick that can free up incredible amounts of disk space by deleting just two rows.
TootSweet@lemmy.worldto
Selfhosted@lemmy.world•Mimiko Ass Exposed Underwater Pic 000English
191·11 days agoCan you… make a community for this and confine it to that community? So I can block it?
Me with an inclined plane: “Challenge accepted.”
Way ahead of you.
Exactly.
TootSweet@lemmy.worldto
Technology@lemmy.world•Mark Zuckerberg ‘Personally Authorized and Actively Encouraged’ Meta’s Massive Copyright Infringement to Train AI Systems, Publishers and Scott Turow Allege in LawsuitEnglish
91·15 days agoCopyright is bullshit, but the only thing worse is assholes like Zuck getting away with what’s illegal for everyone else.
And even if the lawsuit wins, you know the fines are a) going to be paltry b) mostly not going to go to those affected… which is everybody, basically.
In her usual U.S. Pacific North-West accent: “I… don’t know where that came from.”
TootSweet@lemmy.worldto
Asklemmy@lemmy.ml•What's the best insult without any swears?English
14·17 days agoJust respond to everything they say with “sorry, I’m not into Pokemon.”
Most popular baby names of 2026.
TootSweet@lemmy.worldto
Lemmy Shitpost@lemmy.world•I would wager almost every person who dislikes AI cant define the term. But at least they have a strong opinion and like to vote. We live in a functioning democracy. Stop using the web if you hate AI.English
13·19 days agoLuddites
Proudly.
Go back to Reddit.
Hypothetically, would the successor have the power to institute a personal theme song to the tune of RATM’s “Renegades of Funk”?
TootSweet@lemmy.worldto
Technology@lemmy.world•A federal agent said WhatsApp's encryption is a lie. Then the investigation was shut downEnglish
2·20 days agoI can’t see your private or personal messages.
People were healed of minor cuts and bruises more than a block away from the site.
TootSweet@lemmy.worldto
linuxmemes@lemmy.world•When i go to linux to escape AI.... and linux is about to become illegalEnglish
179·27 days agoWhen Linux becomes illegal, only outlaws will run Linux.
Because the life-sized Hitler body pillow couldn’t fill the hole in Elon’s heart.
TootSweet@lemmy.worldto
Asklemmy@lemmy.ml•Are people who make 200k a year "poor"?English
4·1 month agoI make considerably less than 200k (USD) per year and I’m fortunate to be able to say I’m decidedly not poor by any stretch.





I hate when apps say “3 years ago” or whatever and don’t make it easy to see more specifically when. Just put it in an on-hover popup please. (Lemmy-UI does this just fine, but there are plenty of sites out there that don’t.)