kbin.pithyphrase.net

isaac , to Star Trek in Episode Discussion | Star Trek: Prodigy | 2x07 "The Fast and the Curious"
@isaac@lakora.us avatar

Checking off two sci-fi bingo boxes with the classic "airplane race with an alien you just met" and "computer gone rogue" in the same half hour! Quite clever and brave of Zero to take the pointy AI out like that.

By the way, did Gwyn refer to Zero as a he in the log? If true, it wouldn't be the first time a character's pronouns have changed after you met them. Just like real life - I like that.

P.S. Is this the first time in Star Trek we hear a log in voiceover that also includes someone else's voice?

@startrek

End0fLine ,

I don’t have an answer to your pronoun question, but hearing somebody else’s voice in the log jumped out at me as well. If it has happened before, it is pretty rare.

exocrinous ,

Mariner interrupts Boimler's captain's log in S1E1

exocrinous ,

I think Zero might be a he/they enby

corroded , to homelab in Away from home for months; homelab unreachable; now looking for UPS

If you can afford one, I would strongly recommend going with a dual-conversion UPS. A line-interactive UPS like the one you posted essentially acts as a pass-through for your mains power until it detects a power loss or a brown-out. This works most of the time, but there's a short delay during the switch from line to batteries (just guessing, but most likely on the order of milliseconds). This might not sound like much, but you're counting on the capacitors in your server's power supply to hold enough charge until the UPS kicks in.

The other thing to consider is that a dual-conversion UPS also supplies "clean" power to your equipment. It essentially acts as a DC power supply connected to an inverter, so regardless of how bad your input power is, you're always going to get the correct voltage and frequency out. I connected my old line-interactive UPS to a cheap generator at one point; the voltage and frequency regulation was so bad on the generator that my UPS continually switched on/off of battery (several times per second), and the equipment attached to it immediately shut down.

I can connect my dual-conversion UPS to the same generator, and it keeps humming along as if it was connected to mains voltage. According to the datasheet, anything from 60VAC to 150VAC, it's still going to output clean 120V/60hz power.

They're much more expensive. Mine is 1000VA, and if I remember correctly, I paid something like 600 or 700 USD for the UPS. An add-on rackmount battery pack was another $300 or so. It was well worth the cost, though.

BradleyUffner , to LinkedinLunatics in Belching

He forgot the "TOP 2" qualifier.

MajorHavoc ,

Heh. That reminds me of the feeling when I carefully place a LIMIT 100 and get 0 results...

barsquid , to LinkedinLunatics in Belching

One of the reasons women will find this repugnant is because they didn't normalize their tables. Should be boyfriend_id is null.

aaaa ,

For that matter, why is waist size a Boolean?

GBU_28 ,

They allowed business logic to pollute the DB table, and "small waist" is a defined range in some confluence doc somewhere.

Breve ,

Or this is an analytics database where these are well-defined dimensions added for segmentation logic. 🤷

GBU_28 ,

The dream

Huschke ,

And why is cuteness and craziness binary?

qjkxbmwvz ,

Or, if you allow for polyamory and non-hetero relationships, you probably need a rel table (and some joins in the query).

Maybe GIRLS is just a view...

JackbyDev ,

Why is there a separate table for men and women in the first place? Shouldn't there be a person table with a many to many relationship with itself (because polyamory exists)?

ResoluteCatnap ,

To that point a person table with a relationship table. So this way you can reference relationship between two or more persons within the relationship table and that could be joined to the person table if needed. I don't think you'd really be able to keep it within one table while exploring multiple relationships unless you're storing a list of ids that is interpreted outside of sql. Also a relationship table would allow exploring other types of relationships such as exes, love interests, coworkers, family, friends, etc

Thomrade ,

Yeah it'd be a person table, and the relationship table indicating the ids of shipped couples. Do you think there'd need to be a status in the relationship table so we can tombstone exes? Or maybe started and ended date columns for each relationship so we can figure out whose cheating on who. But when about on-off relationships then? How would we model Ross and Rachel?

ResoluteCatnap ,

I think wed just need the following

  • rel.id (primary key)
  • rel.user_id (foreign key to person.id)
  • rel.user_id2 (foreign key to person.id)
  • rel.type (type of relationship)
  • rel.start (non null)
  • rel.end

From there you don't need a rel.status because you're not updating this rel.id entry except for the rel.end. if they started dating again later it would be a whole new entry, and then you could query their entire dating history to see if they keep coming back to the same person, dating around, playing the field, etc. Separately there could be a friendship relationship that is tracked so you could if they ended being friends after a breakup.

Maggoty ,

I guess everyone sets up their own tables.

rwhitisissle ,

Maybe it's supposed to imply that boyfriend is an attribute of the particular girl. Like saying she isn't someone's boyfriend. It's probably a holdover from the original data architecture and nobody ever bothered to modify the table later on in case there's a select somewhere that expects that field to exist.

olafurp ,

That structure doesn't handle polyamorous and cheating relationships very well. It should probably have and (select top 1 1 from dbo.relationships r where r.partner_a != GIRLS.id or r.partner_b != GIRLS.id) which would handle also LGBT+ relationships or relationships that are better represented as a graph.

drathvedro ,

The relationships table should also have enum for relationship type. It might be friends, family, platonic relations etc.
Also might want to check sex_drive to handle ace gals and something to do with kinsey scale not to bother lesbians.

NigelFrobisher ,

Are you really doing relational data if it has nulls though?

drathvedro ,

Yes.

AllNewTypeFace , to LinkedinLunatics in Belching
@AllNewTypeFace@leminal.space avatar

This is why we have codes of conduct.

heavy , to LinkedinLunatics in Belching

At least he's wearing the red flag on the outside.

RobertoOberto , to LinkedinLunatics in Belching

Who says programmers don't have a sense of humor?

No one. It's just what you pretend people say to make yourself feel like some kind of special exception.

funkless_eck ,

me. I said it.

RobertoOberto ,

Well then you're a mean old doody head.

MachineFab812 , to LinkedinLunatics in Belching

shitty taste <> "humor"

Blaze , to Photography in [OC] Amusement architecture and botany
@Blaze@reddthat.com avatar

Happy cake day!

hanke OP ,

Oh, thank you! Didn't even notice until you mentioned it! 😄

pixxelkick , to LinkedinLunatics in Belching

Most SQL Dbs use bits, so it would be WHERE field = 1

The entire shirt caused me 4d6 psychological damage.

lennivelkant ,

What is 4d as a numeric format prefix? I only know 0b and 0x. Is it some 4-24 system?

Maggoty ,

It's a random number based system with iterations at 4, 8, 10, 12, and because they want people to go insane, 20.

So everything can randomly be 1-20 at any point in time, and then sometimes you add them together and there's maniacal laughter.

chatokun ,

Aren't there some d6 stuff too?

Maggoty ,

Oh how could I forget!

svcg ,

Here 4d6 is Dungeons and Dragons (etc.) shorthand for "roll four six-sided dice and add up the numbers".

baggins , to Do It Yourself in Update: root cellar with vaulted ceiling
@baggins@beehaw.org avatar

Nice!

MercuryGenisus , to LinkedinLunatics in Belching

I would reject this pull request. Why is the indenting all over the place? Why is your keyword capitalisation all over the place? WHY YELLOW?!

Edit: the more I look at this the more it pisses me off. Wtf is going on with your kerning? Just random number and placement of spaces. Also, why is the table name in caps? Who does that? Select * is lazy. Do you really need every field about a girl? Really? Worst of all, not a limited request. I sware this is just the kind of thing that would return 30 million rows and brick the database for twenty seconds.

mark ,
@mark@programming.dev avatar

Yesssss, bro 😀

midori ,

I would like to subscribe to your newsletter.

somnuz ,

You are now a Certified Rejector. Stay sharp, keep the wheel rolling.

frezik ,

Shouldn't boyfriend be a reference to another table?

ArtVandelay ,
@ArtVandelay@lemmy.world avatar

BF has no referential integrity

lennivelkant ,

That's (part of) why it should be a separate table to map the relation "Relationship". People can have more than one (polyamory, infidelity), and you could track fields like the start, end, status (e.g. flirting, dating, committed, engaged, married, ended) in there.

Black616Angel ,

You forgot some:
Why is there no space after SELECT?

Why are boyfriend and smallwaist not questions like is_cute and is_crazy? Either all boils are with a verb or none.

Also why is smallwaist not in snake case? It should be small_waist (or better yet has_small_waist or even better waist = "small")

Also also boyfriend should be null not false, this would solve multiple issues.

And finally the only positive thing is the * itself, because selecting only body would be even worse. 🤣

JoeKrogan , to LinkedinLunatics in Belching
@JoeKrogan@lemmy.world avatar

🙄🤦‍♂️

coffinwood , to LinkedinLunatics in Belching

Guy with a belly asks for girl with a small waist. The half-assed ugly shirt will do it.

Instant woman repellant.

jqubed ,
@jqubed@lemmy.world avatar

I feel confident in assuming the guy who would wear this shirt seeking “girls” between the ages of 18 and 26 is himself no younger than 45.

coffinwood ,

Ah I missed the age gap.

Would this guy qualify as an OUTER JOIN? (Sorry, SQL is not my native language)

lennivelkant ,

I sure wouldn't want him as an INNER JOIN

CraigeryTheKid ,

yesss I'm 42 so I can wear this shirt with pride!

dankm ,

And married.

wesker , to LinkedinLunatics in Belching
@wesker@lemmy.sdf.org avatar

The pallette for the syntax highlighter is horrid. Hardly readable.

Deceptichum ,
@Deceptichum@sh.itjust.works avatar

But it is highlighter colour!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • All magazines