r/ProgrammerHumor • • 29d ago

Meme pageThrasher

375 Upvotes

26 comments sorted by

5

u/Maleficent_Memory831 25d ago

We had that way back on VMS, sort of. A scientist was calculating over his giant array in the wrong order. It was Fortran, so the natural order in memory is backwards. But every time he incremented the index it was in a different page. Eventually had him just swap I and J and it fixed it. It's a big deal with the entire building is shouting that the computer is too slow...

1

u/Express_Gradient 24d ago

wow, thanks for this story man.

2

u/Usual_Office_1740 28d ago

I'll bet you are loving Linux right now.

/s

2

u/Express_Gradient 28d ago

mixed feelings. as time progress they'll become less mixed. i hope

2

u/Usual_Office_1740 28d ago

Maybe I'm confused. I thought the kernel lazily allocated pages as an optimization so you wouldn't know you'd run out of memory until you tried to access it?

2

u/Express_Gradient 27d ago

you are talking about lazy allocation right? like when should physical pages be allocated - only on demand.

this meme is about thrashing - keep accessing a working set repeatedly which actually exceeds the available RAM, which will cause previously evicted pages to fault and displace other pages - over and over.

again thrashing doesnt happen just because working set exceeds available memory. its about the stupid access pattern. amongst other things.

also im still quite new to these things, i post memes whenever i get to such content.

-129

u/[deleted] 29d ago edited 29d ago

[removed] — view removed comment

103

u/Express_Gradient 29d ago

what happened to writing code?

-20

u/rastaman1994 29d ago

Too much code to write for the given time frame. And frankly, a lot of code is boring to write anyway. I don't miss writing my umpteenth controller into use case into repository and all the tests by hand.

-98

u/[deleted] 29d ago

[removed] — view removed comment

74

u/Express_Gradient 29d ago

that's sad man

-39

u/[deleted] 29d ago

[removed] — view removed comment

30

u/Express_Gradient 29d ago

holy downvotes, this sub must not really like AI

but yeah, the companies expect and are forcing to spend on AI

people are having skill atrophy and are outsourcing their thinking too

I mean as we reach rsi, people would actually become a bottleneck in its workflow

meanwhile I just close X, study, and program my systems

that's where I get these ideas for memes lol

8

u/ganja_and_code 29d ago

Kinda pathetic to follow a trend you don't agree with... Some of us have a backbone.

3

u/failedsatan 29d ago

some of us can't afford to have a backbone, we'd rather be able to pay the bills. I'm happy for you having the leeway to stand up for what you believe in.

-2

u/ganja_and_code 29d ago

Ah yes, because selling out is the only way to make money. /s

6

u/[deleted] 29d ago

[removed] — view removed comment

5

u/ganja_and_code 29d ago

Having a strong backbone is not worthless, and it's pathetic to claim that it is.

If you think the industry is devolving, you can accept it, do something to change (your little piece of) it, or leave it for another industry.

The second two are reasonable/honorable reactions. The first is weak/lame.

7

u/[deleted] 29d ago edited 29d ago

[removed] — view removed comment

-1

u/ganja_and_code 29d ago

I am so sorry to break this down for you, I really am, but my previous comment literally said the thing you thought I needed broken down for me.

Something you liked/respected starts turning shitty? There are 3 things you can do:

  • Change it. (honorable)
  • Leave. (reasonable)
  • Accept it. (pathetic)
→ More replies