News for hackers. Stuff that matters.
Re:Consumption of coffee and tea and risk of developing stro... by mettamage on Wednesday November 17, 2021 @04:55AM (#29250910)
> being sleep deprived for months does not make you bipolar maybe, but depression can and does happen

It shaves off 10 to 20 IQ points in me when I'm on a bad streak. I have failed FAANG interviews because of bad sleep. I still probably would've failed them, but it'd have been much closer. I literally remember one coding interview where I was thinking "if I just had enough sleep, I'd have a solid shot" (the other coding interview was so easy I could even do it in my half-ragged sleep-deprived state).

Re:Consumption of coffee and tea and risk of developing stro... by _Understated_ on Wednesday November 17, 2021 @05:29AM (#29251196)
It's funny you should talk about sleep deprivation messing with your mind... I once remember trying to program a for-loop in C# about 8 or 9 years ago (I've been programming since the 90s) when my son was a baby. He'd been up and down for a couple of days as he was unwell and my sleep-addled brain wouldn't let me create a for-loop.

No matter what I tried I could not get the code to compile.

I still laugh about it now but it definitely highlights the importance of sleep.

Re:Consumption of coffee and tea and risk of developing stro... by mettamage on Thursday November 18, 2021 @04:48AM (#29263784)
About 10 years ago, I once didn't sleep a night and was solving a problem with a switch statement that was 200 lines long.

The next day, well rested, I realized I could do the same thing with a for loop because I already had all the data I needed.