• 23 Posts
  • 1K Comments
Joined 3 years ago
cake
Cake day: August 4th, 2023

help-circle




  • TootSweet@lemmy.worldtoProgrammer Humor@programming.dev: (
    link
    fedilink
    English
    arrow-up
    62
    arrow-down
    2
    ·
    4 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 think you’ve been chastised hard enough, so I won’t be rude about it. (I’m glad someone did that for me before I saw this thread.) But my recommendation is:

    • Lose the LLM functionality.
    • And if you wrote it with LLMs, throw it away and rewrite it yourself.

    And, yes, I get the irony of telling you this in a Lemmy community with an AI-generated banner image and “guys, it’s 2026, if you’re not using AI at this point you’re falling behind” in the sidebar. (A sentiment I cannot condemn in strong enough terms, but it’s not my community. danhab99, if you see this, I would request changes particularly regarding the banner, and I suspect a lot of folks here on Lemmy would echo my request.) But I don’t think you’ll get a lot of positive responses to LLM-related projects on Lemmy in general.













  • Not sure if this is a joke or not, but I’m an only child.

    I was involved in quite a few organizations for homeschoolers, and the “peers” I refer to were kids I knew from those sorts of things:

    • I attended a weekly “co-op” ran by homeschoolers’ parents where they’d teach various subjects. The one parent who was fluent in Spanish would teach Spanish. The one who was really passionate about history taught a history class. They’d also purchase frogs to dissect and have 20 kids or whatever dissect frogs (because it’s a) not so easy to get formaldehyde-preserved frogs in quantites much less than that and b) a lot of the parents just wouldn’t want to have to deal with that because it’s icky and were happy to have someone else’s parents have to deal with that while still ensuring their kids had the experience and learned what there was to learn from that exercise). Things like that.
    • I took a few classes at a local private (Christian – very Christian) school that allowed homeschoolers to attend just one class here and one class there if they and their parents wanted. (The founder of that school had an affair with a secretary. The two of them kindof disappeared and got married, leaving the school without leadership, after which folks started to realize he was kindof a pathological liar and grifter from the start. Heh.)
    • I was in a symphony for homeschoolers for a while. (Played violin.)
    • There was also a homeschool chess club that I attended for a while.

    There were a few other things that I didn’t attend but one or two times. Not enough to really get to know anyone there. And I’m probably forgetting one or two things. But you get the idea.