You’re right, that’s way too simple. Definitely need to rotate the booleans daily. For… security. Yeah, security.
- 11 Posts
- 595 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
Ask Lemmy@lemmy.world•What is with the pro-AI posts lately?English
73·4 days agoCan’t tell if its the propaganda machine invading, or annoying teenage tech-bros who are detached from reality.
Does it matter? Either way, it’s just a symptom of the hype/bubble around “AI” lately.
TootSweet@lemmy.worldto
Selfhosted@lemmy.world•Mimiko Ass Exposed Underwater Pic 000English
191·4 days agoCan you… make a community for this and confine it to that community? So I can block it?
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·8 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.
Back to hell from whence it came.
Laughs in Ubuntu Touch
Cries in Ubuntu Touch
TootSweet@lemmy.worldtoHacker News•OpenAI, Google, and Microsoft Back Bill to Fund 'AI Literacy' in SchoolsEnglish
4·9 days agoGood god. This is exactly how Microsoft got such a monopoly on shit like word processing and spreadsheets in the first place. Getting the trust of the school systems and pushing on their own products. And we’re still paying for that shit.
This is more of the same sort of propaganda.
In other news, shit tastes less bad than the public thinks.
TootSweet@lemmy.worldto
Technology@lemmy.world•A federal agent said WhatsApp's encryption is a lie. Then the investigation was shut downEnglish
2·13 days agoI can’t see your private or personal messages.
TootSweet@lemmy.worldto
Science Memes@mander.xyz•God keeps his finger on the c constant sliderEnglish
2·15 days agoNot 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.
This is fantastic. There’s nothing else to say about it except that I hope a lot of CS students read it. My employer and coworkers too.
TootSweet@lemmy.worldto
Science Memes@mander.xyz•God keeps his finger on the c constant sliderEnglish
3·16 days agoNot ACE specifically. I actually hadn’t heard of ACE until you mentioned it.
Most of my peers did some combination of Abeka and Saxon curricula, with a smattering of whatever TF the annual “homeschool convention” had available to sell. And yes, the “science” curriculum always had at least one chapter on how stupid “mainstream scientists” are for believing the universe is more than 6,000 years old. (And some books were nothing but that stretched to the length of a text book.) And those chapters loved to quote Ken Ham and shit. My parents were in some ways less fundie than most of my peers, and they told me to skip that chapter. Lol.
TootSweet@lemmy.worldto
Science Memes@mander.xyz•God keeps his finger on the c constant sliderEnglish
19·17 days agoI was homeschooled for most of K-12, and all my peers were crazy fundies. I have so many stories.
TootSweet@lemmy.worldto
TenForward: Where Every Vulcan Knows Your Name@lemmy.world•Take-off, but at a light hover or you'll hit the...English
35·21 days agoThe real reason why Tuvok vetoed the wing fins.
TootSweet@lemmy.worldto
3DPrinting@lemmy.world•I know it doesn't look like much, but this is 2 separate prints fused into oneEnglish
3·21 days agoYou don’t explain much what’s going on or what you’re trying to get it to do instead, but let me take a wild guess and you can tell me if what I’m saying is correct:
- You’re trying to print two separate items.
- The first layer of each of the items in question happens to be a rectangle roughly half as big as what appears to be a single rectangle in the picture provided.
- But you had the two items separated by a small amount in the CAD software and/or slicer.
- You’re wanting it to print two separate items with enough margin in between that they don’t merge into one single inseperable item.
- But somehow it’s fusing them.
Is that roughly correct?
If so, my first guess as to what might have caused that is “first layer expansion”. Your nozzle is too close to the bed, making the width of the bead it lays down on the bed spread out a bit more than it should, resulting in a wider bead than you’re trying to make. And the amount of space you left between the two items is small enough that the first layer expansion is pretty much entirely swallowing up that margin. To fix, increase your z-offset a bit. If the first layer expansion isn’t an issue otherwise, you could also “work around” the issue just by separating the items by a greater amount in your CAD and/or slicer software.
If more than just the first few layers remain fused (like, if the parts hypothetically had straight vertical sides and every layer fused all the way up, rather than just being fused on the first 1-to-6-ish layers), then it’s probably something else. Maybe overextrusion?
And, again, both of those theories are contingent on whether I’m even interpreting the question you’re asking correctly.




What isn’t wrong with AI?