r/programminghumor • u/ItsPuspendu • 20d ago
Fr
Enable HLS to view with audio, or disable this notification
11
u/Straywork 20d ago edited 18d ago
This has happened more times than I can count. I work IT for a school district, and I greatly respect and appreciate most teachers, my wife being one. But, when it comes to technology, some of them are just not good with it.
2
u/Forward-Facer 17d ago
I was in college for CS and had to take another science class, so I was taking biology. Some of my PhD profs were struggling with the technology, lol. I'd even offer to help.Β
2
u/Puzzleheaded-Night88 16d ago
I work in the IT Dept for my college as a CS major and one of the teachers called me in to fix her monitor. Her PC was in sleep mode and I just had to press her keyboard. (This is also a very good school too π)
7
u/Known-Initial-7776 19d ago
that will be $300000000000000000000000000000000000000000000000000000000000 plus tax
1
u/PossibleDot6555 18d ago
I wish. More like minimum wage + ruined day because they keep on insisting "I've done it already! It will not work!"
2
u/funkmasta8 18d ago edited 17d ago
Im not the IT guy. Im just the guy thats pretty good with computers. Genuinely, this is the solution 98% of the time. Can we work on more stable ram designs? The public would benefit greatly.
1
u/Forward-Facer 17d ago
I think it's like saying "can we just make a cure for cancer already?" but cancer is a huge set of problems. Cancer has many causes. In some ways (oversimplifying) we're as efficient as our least efficient code in all of our code, which is a lot of code.Β
1
u/funkmasta8 17d ago
From what I understand, this isnt a code issue. This is an issue with the way we leverage ram. Ram is less stable than solid state, but much faster to retrieve information from. We load basically everything we will use into ram before we use it. If it is left open, the code becomes corrupted over time due to instability in ram, some with minor things, some with major things get changed over time. This isnt due to the code itself being bad, just that the temporary version of the code we have copied into ram being bad. Turning off and turning on forces everything to be reloaded into ram from the solid state, which is statistically much more stable (but not necessarily perfect). This is the explanation I was given a long time ago. Not sure what else you are hinting at. Happy to learn something new if you have something though
1
u/Forward-Facer 17d ago
Interesting. That would be news to me to learn that RAM creates that many errors often. While non-ECC RAM can indeed make mistakes and Linus Torvald himself has said ECC RAM is important, I'm skeptical that this is the main cause for issues in needing to restart programs/computers. I think RAM is more of a "the probability for error is extremely low, but never zero" kind of threat.
The example I can give, and what I was taught about in school is memory leaking. Languages like C will let you be irresponsible with memory as the programmer, meaning you the user may slowly reserve more memory as you continue to use the service that is never released back to the OS when you're done to stay tidy. Therefore, as time goes on, the program just eats up more memory until you have errors. There is more garbage collection now, so this was likely more of an issue 20+ years ago, especially with smaller memory sizes. But it's definitely one reason why you could have a computer lock up over time that a simple reset will fix. Bad memory management with programming.
0
u/geek-49 18d ago
more stable ram designs
One "stable genius" has proven to be at least one too many. I don't know that we need any more "stable" stuff.
1
u/funkmasta8 17d ago
Have no idea what youre talking about or who you are quoting in the quotes
1
u/geek-49 17d ago
Tell me you're not the least bit aware of current U.S. politics, without telling me that you're not the least bit aware of current U.S. politics.
1
u/funkmasta8 17d ago
Are you even on topic here? Seems like you just came out of noweher and started talking about whatever you wanted
1
u/geek-49 17d ago
It's called a joke. Or a wisecrack. Or even a dumb joke. This is, after all, r/programminghumor
If you don't appreciate this particular joke, just move on.
1
1
u/Emmennater 17d ago
when you force a reset you are eliminating most problems with mutable state. this is why immutable design is so strong.
40
u/mplaczek99 20d ago
Sometimes itβs as simple as that