this post was submitted on 16 Mar 2025
744 points (98.8% liked)

Programmer Humor

21564 readers
2964 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 45 points 5 hours ago (2 children)

Unless I'm misreading it which is possible it's awfully late, he said he processed 60,000 rows didn't find what he was looking for but his hard drive overheated on the full pass.

Discs don't overheat because there was load. Even if he f***** up and didn't index the data correctly (I assume it's a relational database since he's talking about rows) The disc isn't just going to overheat because the job is big. It's going to be lack of air flow or lack of heatsink.

I guarantee you he was running on an external NVMe, and one of those little shitty-ass Chinese enclosures. Or maybe one of those self immolating SanDisk enclosures. Hell, maybe he's on a desktop and he slept a raw NVMe on his motherboard without a heatsink

There are times when you want a brilliant college student on your team, But you need seasoned professionals to help them through the things they've never seen before and never done before.

[–] [email protected] 4 points 1 hour ago

Somehow I feel over clicking without understanding of the consequences sounds like something a techbro would do

[–] [email protected] 27 points 3 hours ago (1 children)

Can't be a relational database, Musk said the government doesn't use SQL.

[–] [email protected] 10 points 2 hours ago

He said many things.

[–] LillyPip 46 points 6 hours ago (1 children)

This cannot be real, wtf. This is cartoon levels of ineptitude.

Or sabotage by someone heading out? Please let this be resistance sabotage they haven’t noticed yet.

[–] [email protected] 20 points 6 hours ago* (last edited 6 hours ago) (1 children)

You guys arent running your software off raspberry pi's with sdcards from the gas station?

My allowance is 5$ a month!

[–] LillyPip 10 points 6 hours ago

Look, all I’m saying is give Pis a chance.

[–] [email protected] 26 points 5 hours ago

You're not supposed to place your laptop directly in the lap of your fur suit. Always leave an air gap for ventilation, smh.

[–] [email protected] 27 points 6 hours ago (1 children)

Either she knows something novel, where processing data using voice coils is somehow beneficial, or is someone who calls their computer a ‘hard drive’, which summarily negates any legitimacy of technical competence.

[–] [email protected] 7 points 3 hours ago (1 children)

Or wrote the code using AI without checking what it exactly does.

[–] [email protected] 6 points 2 hours ago

The AI probably used bogosort or something equivalent

[–] [email protected] 35 points 7 hours ago

I will now attempt a full comment ... brace your hard drives

[–] [email protected] 10 points 6 hours ago

“I store my records on vinyl. You’ve probably never heard of them.”

[–] [email protected] 41 points 8 hours ago (1 children)

I smell something, but it's not overheating electronics.

I've processed over 5 million records on a laptop that's almost 10 years old. it took two days to get my results.

there's no way 60,000 records overheated ANYTHING.

[–] [email protected] 13 points 7 hours ago (1 children)

Doesn't actually say that 60k overheated his drive. He says that he ran a run on 60k, and that he couldn't do the whole database due to overheating. Two unrelated statements except that 60k is the lower bound for what he could process.

Doesn't mean he knows what he's doing though, as pretty huge datasets are processable on quite modest hardware if you do it right.

[–] [email protected] 4 points 5 hours ago

that's somehow worse.

a "data analyst" couldn't cut up the work into a parallel processes and run them synchronously? what the actual fuck?

"sorry, I can only do 60k at a time."

just fucking split them up into 6 parallel batch processes running 10k at a time. it's fucking math, not rocket science. I'm not even an analyst and I could fucking do that much.

[–] [email protected] 27 points 8 hours ago (2 children)

60k rows of anything will be pulled into the file cache and do very little work on the drive. Possibly none after the first read.

[–] [email protected] 1 points 30 minutes ago

You can put 60k rows in Excel 95.

[–] [email protected] 3 points 5 hours ago

Not if each row is pi!

[–] [email protected] 12 points 7 hours ago (3 children)

I didn't know hard drive overheating was a thing. Should I be worried that my 5 year old hard drive is about to overheat. I mean is this actually a floppy disk or something?

[–] [email protected] 9 points 5 hours ago

it is a thing, but any competently designed computer should have things in place to prevent this.

unless you're an arrogant dipshit and disable all the hardware safeties on your computer to make it go faster and wear harder.

[–] [email protected] 6 points 5 hours ago* (last edited 5 hours ago)

When an HDD works continuously it can heat up to above 60 °C if proper air circulation is not allowed, which can cause a very premature failure. In fact, it should be kept under 40 °C to achieve the intended lifespan. Unfortunately, PC cases are usually not great at removing heat from the HDD by default.

As for your drive, it most likely has a temperature sensor so it can be displayed by various utilities.

[–] [email protected] 9 points 7 hours ago (9 children)

it is, in the select event that your platter bearing fails, in which case it would be very, very obvious.

load more comments (9 replies)
[–] [email protected] 84 points 11 hours ago (2 children)

I'm a data engineer that processes 2 billion row 3000 column datasets every day, and I open shit in Excel with more than 60k rows. What the hell is this chick talking about?

[–] [email protected] 20 points 9 hours ago (1 children)

Seems like a good excuse to someone who doesn't know what they're doing and needs an excuse because why they haven't completed it yet?

The whole post is complete bs in multiple ways. So weird.

load more comments (1 replies)
[–] [email protected] 22 points 10 hours ago (2 children)

Some interesting facts about excel I learned the hard way.

  1. It only supports about a million or so rows
  2. It completely screws up numbers if the column is a number and the number is over 15 digits long.

Not really related to what you said, but I'm still sore about the bad data import that caused me days of work to clean up.

[–] [email protected] 4 points 6 hours ago* (last edited 6 hours ago)

It completely screws up numbers if the column is a number and the number is over 15 digits long.

I work in insurance in Brazil, by standards of our regulatory body, claims numbers must be a string of 20 numbers (zfill(20) if needed). You can't imagine the amount of times excel had fucked me up rounding down the claim numbers, this is one of the first things I teach to my interns and juniors when they're working with the claims databases.

load more comments (1 replies)
[–] [email protected] 58 points 10 hours ago (1 children)

When the only thing that is stopping kids from dismantling your government is an O(N^N) algorithm

[–] wise_pancake 4 points 6 hours ago

Are you telling me there’s a difference between an inner and a cross join?

Cross join is obviously faster, I don’t even have to write “on”

[–] [email protected] 33 points 10 hours ago

Hard drive was made by Tesla

[–] [email protected] 100 points 13 hours ago (15 children)

my hard drive overheated

So, this means they either have a local copy on disk of whatever database they're querying, or they're dumping a remote db to disk at some point before/during/after their query, right?

Either way, I have just one question - why?

[–] [email protected] 15 points 9 hours ago* (last edited 9 hours ago) (1 children)

Even if it was local, a raspberry pi can handle a query that size.

Edit - honestly, it reeks of a knowledge level that calls the entire PC a "hard drive".

[–] [email protected] 1 points 1 hour ago* (last edited 1 hour ago)

Unless they actually mean the hard drive, and not the computer. I've definitely had a cheap enclosure overheat and drop out on me before when trying to seek the drive a bunch, although it's more likely the enclosure's own electronics overheating. Unless their query was rubbish, a simple database scan/search like that should be fast, and not demanding in the slightest. Doubly so if it's dedicated, and not using some embedded thing like SQLite. A few dozen thousand queries should be basically nothing.

[–] [email protected] 46 points 11 hours ago (1 children)

I'd much sooner assume that they're just fucking stupid and talking out of their ass tbh.

[–] [email protected] 16 points 9 hours ago* (last edited 6 hours ago)

Same as Elon when he confidently told off engineers during his takeover of Twitter or gestures broadly at the Mr. Dunning Kruger himself

Wonder if it’s an SQL DB

Elon probably hired confident right wingers whose parents bought and paid their way through prestigious schools. If he hired anyone truly skilled and knowledgeable, they’d call him out on his bullshit. So the people gutting government programs and passing around private data like candy are just confidently incorrect

[–] [email protected] 23 points 10 hours ago (9 children)

My one question would be "How?"

What the hell are you doing that your hard drives are overheating? How do you even know it's overheating as I'm like 90% certain hard drives (except NVMe if we're being liberal with the meaning of hard drive) don't even have temperature sensors?

The only conclusion I can come to is that everything he's saying is just bullshit.

load more comments (9 replies)
load more comments (12 replies)
load more comments
view more: next ›