• 9 Posts
  • 763 Comments
Joined 3 years ago
cake
Cake day: August 4th, 2023

help-circle

  • TootSweet@lemmy.worldtoProgrammer Humor@programming.dev: (
    link
    fedilink
    English
    arrow-up
    60
    arrow-down
    2
    ·
    3 days ago
    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.








  • I was recently reminded of Shining in the Darkness for the Mega Drive and got super nostalgic. I might have to play that again.

    The same thing recently happened to me with Descent 3. I’d never played Descent 1 or 2, so I figured if I was going to replay Descent 3, I ought to play the other two first, so I’m currently working my way through Descent 1.

    But more to the heart of your question:

    • Star Trek Voyager: Elite Force
    • SimCopter (super buggy, but fun none-the-less.)
    • OpenTTD
    • Mindustry
    • Luanti