News for hackers. Stuff that matters.
Re:Ask HN: I'm writing a book about white-collar drug use, i... by btrettel on Monday February 26, 2018 @04:34PM (#16469172)
I'll second this.

I don't even drink coffee. I've encountered people who seem absolutely incredulous that I take no stimulants at all. "How do you stay awake?" is something I'm asked. My go-to response now is "I don't. If I'm tired, I get more sleep." Some of these people probably think that I'm lying.

There are a lot of people who think that sleeping at work is a bad idea, but I think it's a lot better than guzzling coffee all day (or taking stronger things). I wouldn't work at a place that didn't allow me to take a nap if necessary. It's not uncommon for me to wake up with the solution to whatever problem I was working on too, so I think it would be wrong to call naps idle time.

As an example, using spaced repetition memory software and getting enough sleep is going to be a lot better for your learning than taking aricept and modafinil. On my PhD quals some people seemed to think I was a wizard for the things I memorized. No drugs were involved, but I did read a few books on memory and religiously used spaced repetition software. I wish this attitude were more common.

Re:Ask HN: I'm writing a book about white-collar drug use, i... by Andrex on Monday February 26, 2018 @05:18PM (#16469492)
As a corollary to the OP, it seems like the people who deliberately don't take stimulants _also_ love talking about themselves and how it's a superior lifestyle. :)

Not saying you're wrong, but the sanctimony from both sides can be a little exhausting is all.

Re:Ask HN: I'm writing a book about white-collar drug use, i... by btrettel on Monday February 26, 2018 @05:46PM (#16469676)
Most people I work with don't know that I don't take stimulants. In fact, it only ever comes up when I decline coffee from someone. I rarely ever mention it, and I hope my post did not come across as sanctimonious. Let me know if and how it did, so I can be more clear in the future. I just wanted to state my preference and reasoning.
Re:Ask HN: I'm writing a book about white-collar drug use, i... by Chriky on Monday February 26, 2018 @07:17PM (#16470157)
It seems utterly nuts to me that someone could sleep at work as a reasonable alternative to drinking coffee. Most jobs and workplaces are just not at all set up to sleep during the working day.
Re:Ask HN: I'm writing a book about white-collar drug use, i... by jacobolus on Monday February 26, 2018 @07:40PM (#16470247)
It’s utterly nuts that someone who is tired is still expected to keep “working” without naps. Huge waste of human performance, unless the work is absolutely time-critical (like a legal brief due by the end of the day, or a medical patient who needs urgent care, or some debugging after the whole site just went down).

For most e.g. programming work (deliverable changes due in a week, or a month, or a quarter), it’s more effective to work only a fraction as much time but all of it in a mentally sharp state, rather than to soldier through while exhausted.

Re:Ask HN: I'm writing a book about white-collar drug use, i... by colmvp on Monday February 26, 2018 @08:33PM (#16470482)
One thing I love about working from home is that I can take long naps.

I'm usually far more productive after taking a much needed nap than trying to drink coffee/tea and power through it.

Re:Ask HN: I'm writing a book about white-collar drug use, i... by rorykoehler on Monday February 26, 2018 @09:02PM (#16470592)
Have you tried an espresso nap? It works great. Drink an espresso when you're feeling tired and go to sleep straight away. 15 mins later you'll be awake and alert but also rested.
Re:Ask HN: I'm writing a book about white-collar drug use, i... by colmvp on Monday February 26, 2018 @11:16PM (#16471040)
Huh. Didn't know about this until I read the Vox article in the comment below.
Re:Ask HN: I'm writing a book about white-collar drug use, i... by mlevental on Monday February 26, 2018 @09:08PM (#16470608)
is the thinking that the espresso takes 15 minutes to kick in?
Re:Ask HN: I'm writing a book about white-collar drug use, i... by grzm on Monday February 26, 2018 @09:11PM (#16470620)
It's a bit more complicated than that. Here's an article that gives a gloss as well as links to more detailed research:

https://www.vox.com/2014/8/28/6074177/coffee-naps-caffeine-s...

I was always surprised when I found myself suddenly so sleepy after a shot of espresso in the afternoon. It was nice to find that there's science backing it up.

Re:Ask HN: I'm writing a book about white-collar drug use, i... by Bartweiss on Tuesday February 27, 2018 @11:38AM (#16475073)
Woah, thanks for this. I knew the trick, but I always assumed it was just about sleeping until the caffeine blocked out adenosine so you woke up not-tired. Interesting to see there's a deeper mechanism in play.
Re:Ask HN: I'm writing a book about white-collar drug use, i... by btrettel on Monday February 26, 2018 @08:27PM (#16470453)
I'm not quite sure what you mean by "not at all set up to sleep during the working day", but I assume you mean that it would be difficult to find a comfortable place to sleep.

At a place I worked at previously, I asked if they had any quiet rooms that would be good to take a nap in. They gave me a key to the lactation room, which was quiet, dark, and great for taking a nap. As far as I can tell I was the only person to use that room when I worked there. And I believe the rooms are required by law for workplaces with a certain number of employees in the US. (If anyone who was nursing wanted to use the room, I'd gladly leave, though as I said, the room seemed to be unused.)

At another place I worked at, I'd often take a nap after lunch in the library. The location was not ideal due to noise, but it was acceptable most of the time.

Right now I'm in grad school, and I moved a small sofa chair that was being surplussed into my office. Works great, and I'm not the only person to use it for taking a nap.

Taking naps at your desk might be okay. For me, it hurts my neck.

Earplugs may be necessary, particularly if you work in an open office. I probably would not be able to fall asleep so easily in an open office. But you can ask around to see if there are any private rooms you can use.

Re:Ask HN: I'm writing a book about white-collar drug use, i... by melq on Monday February 26, 2018 @10:40PM (#16470911)
I have worked at several companies of varying sizes, and have never seen a lactation room. They're certainly not required by law.

I can also say the only place that would have been amenable to workers taking naps was an academic lab that I worked in during a couple years following my time at school. Have you worked in the private sector much?

"I wouldn't even consider a job that wouldn't let me nap" is not a realistic attitude for basically anyone to have outside of a lucky few in tech.

Re:Ask HN: I'm writing a book about white-collar drug use, i... by btrettel on Monday February 26, 2018 @11:29PM (#16471080)
> They're certainly not required by law.

Wikipedia says lactation rooms have been required by US federal law since 2010:

https://en.m.wikipedia.org/wiki/Lactation_room#Purpose

> Have you worked in the private sector much?

Not since college. You make a good point here.

I'll keep in mind that this won't be possible everywhere. So far no boss I've had cared that I took naps as long as I put my time in and was productive. I have never counted naps as work, just a break. Asking was not a career ending move in my experience so far, so I know what to do when interviewing. So far I have argued that taking a nap makes me more productive, with good results.

Additionally, when I worked at a federal government lab, I'd regularly take a nap in the library during my lunch hour right after eating. I can't see how any manager could argue against that. I've read of people in private companies doing the same in their cars.

Re:Ask HN: I'm writing a book about white-collar drug use, i... by charlysl on Monday February 26, 2018 @11:48PM (#16471138)
In countries like Vietnam it is customary for employees to have their own mat and nap for half an hour under their desks after lunch, even at bank offices. It helps that in these countries people are used to sleeping in crowded conditions, noise and light no issue (and being pretty trim too).
Re:Ask HN: I'm writing a book about white-collar drug use, i... by sethammons on Monday February 26, 2018 @09:35PM (#16470702)
I don't sleep at work and I don't take naps. Oddly, if I take caffeine, I get very tired and would probably want a nap. If someone at work took a nap, nobody would care as long as it was a shortish one, no meetings were missed, and the individual usually gets their work done. If someone was coming in and sleeping all day, I'm sure that would be a problem.
Re:Ask HN: I'm writing a book about white-collar drug use, i... by swsieber on Monday February 26, 2018 @11:54PM (#16471160)
If caffeine makes you tired, you probably have ADHD
Re:Ask HN: I'm writing a book about white-collar drug use, i... by grzm on Tuesday February 27, 2018 @12:15AM (#16471240)
Caffeine is known to make people sleepy as well. See the comments in this thread regarding "espresso naps". I can attest to their efficacy.

https://news.ycombinator.com/item?id=16470592

Re:Ask HN: I'm writing a book about white-collar drug use, i... by swsieber on Tuesday February 27, 2018 @10:06AM (#16473910)
Yeah, I should have phrased that differently:

ADHD people don't benefit from the "energizing" properties of caffeine.

Re:Ask HN: I'm writing a book about white-collar drug use, i... by drakonka on Tuesday February 27, 2018 @07:00AM (#16472698)
I take naps _and_ drink coffee. We have a few "quiet rooms" here which are equipped with a bed-like large sofa, pillows, and blankets. I think one has a massage chair, too. You go in there, turn on the "occupied" light, and can rest for a while. Sometimes it's tough to find a free nap room around lunchtime, but they are really nice when you manage to get a spot.
Re:Ask HN: I'm writing a book about white-collar drug use, i... by ams6110 on Monday February 26, 2018 @09:58PM (#16470787)
I take naps at work occasionally. I'm fortunate to have an office with a locking door. I can just close it, and lie down on the floor.
Re:Ask HN: I'm writing a book about white-collar drug use, i... by rdtsc on Monday February 26, 2018 @05:55PM (#16469730)
I think it's just that people who drink some coffee sometimes or get sleep some days better than others, just don't have much to say, because well they don't really have a strong opinion.
Re:Ask HN: I'm writing a book about white-collar drug use, i... by posterboy on Monday February 26, 2018 @06:02PM (#16469777)
Force creates counter force. That's a basic law of human nature. I'll repeat, there is no force without the counter force.

Also, the terminology is arbitrary. Water can surely create endorphin when you are really thirsty. Toxins are problematic, but even water is toxic in high quantities. What's really toxic is dogmatism ... and narcotics that numb senses, which is the opposite of stimulation if you think about it. Only, it's not black and white like that, if the body is stimulated to feel less.

Anyhow it's pretty simple to see which side f the equation is the extreme negative. Fiding the middle is difficult and hence dangerous.

Re:Ask HN: I'm writing a book about white-collar drug use, i... by sguav on Tuesday February 27, 2018 @04:06AM (#16472084)
What I have experienced in my present job (with hardware and software engineers) is that there are _many_ who voluntarily or by prescription skip caffeine in favor of hot drinks with no stimulants, but none of them actually is "showing off".

Can't say it's true everywhere, I work in Italy and coffee is a ritual, but I sense that recent trends and issues in nutrition are just making people more self conscious about their health. Some do like talking about it, in my experience I haven't seen that happen within "educated" environments.

Re:Ask HN: I'm writing a book about white-collar drug use, i... by rconti on Monday February 26, 2018 @07:36PM (#16470230)
Not quite the same, but I used to have a coworker who drank a 2L bottle of Mountain Dew every day. Sure enough, he was the one falling asleep in meetings. I'm sure he felt that the caffeine was necessary to keep him awake, but obviously it wasn't solving the problem -- I imagine the sugar was creating the crash, I know I'm much more sleepy if I eat junk, but then again, I don't know, perhaps he had something else going on.
Re:Ask HN: I'm writing a book about white-collar drug use, i... by jiggunjer on Tuesday February 27, 2018 @01:08AM (#16471424)
Yup, I always dozed off after my lunch. Eat the same sandwich every day. After I switched from a can soda to a bottle water with lunch I feel much less inclined to doze.
Re:Ask HN: I'm writing a book about white-collar drug use, i... by ht85 on Monday February 26, 2018 @06:25PM (#16469915)
When I used to smoke, one of my worries about quitting was that I wouldn't be able to do those intense, uninterrupted, full focus 10-12 hours coding sessions.

Every couple hours, those 5 delicious minutes, the fresh air, the nicotine rush, then right back at it.

I quit smoking a few years ago when my wife got pregnant and have smoked only twice since.

I can actually grind more nowadays, and I'm less tired when it ends. It probably doesn't have anything to do with smoking or not, but that fact would be very surprising for my old smoker self.

Re:Ask HN: I'm writing a book about white-collar drug use, i... by InitialLastName on Tuesday February 27, 2018 @08:43AM (#16473222)
I don't smoke, but I go outside every few hours with the smokers, just to get that change of pace. I find the combination of fresh air, a change of scene, and a chance to look at something further away than the wall of my office help to give my brain a quick break. I can usually keep myself in flow, and it sometimes even jogs my brain around a puzzle I've been working at.
Re:Ask HN: I'm writing a book about white-collar drug use, i... by ikurei on Tuesday February 27, 2018 @04:22AM (#16472147)
> I can actually grind more nowadays, and I'm less tired when it ends. It probably doesn't have anything to do with smoking or not[...]

Well, your respiratory system is probably much healthier now. I would expect better oxygenation to make you less tired, to give you more stamina.

I've never been a smoker, so I'm curious, how big an impact would you say healthier lungs had in your life?

Re:Ask HN: I'm writing a book about white-collar drug use, i... by ht85 on Tuesday February 27, 2018 @09:54AM (#16473797)
Surprisingly, when it comes to stamina and general energy, I couldn't tell the difference.

I don't practice any sport consistently, from time to time I'll join someone for a long jog or go hiking or whatever, but only a few times a year. I tend to walk a lot though, as I don't drive.

Maybe there were changes but the lack of being regular and measuring my performance prevented me from noticing them.

The big difference was more about the upper respiratory system, with huge improvements in terms of taste, snoring, and the throat. I wasn't coughing much when I smoked, but I had a significant amount of mucus, especially in the morning, and had to clear my throat often. I'm also less prone to headaches if I drink a bit less fluids than I should, I feel dry but without the pain.

Re:Ask HN: I'm writing a book about white-collar drug use, i... by analogic on Monday February 26, 2018 @07:12PM (#16470140)
ya its kinda crazy. the realization that nicotine doesnt actually calm you, just stops the lack of nicotine from stressing you out.
Re:Ask HN: I'm writing a book about white-collar drug use, i... by ht85 on Tuesday February 27, 2018 @10:00AM (#16473853)
Yeah, makes you wonder how much the psychological part affects you physically, and vice versa.

I often ask myself if the positive things about smoking were just delusions to justify feeding the nicotine addiction, or if the physical consumption was a product of my mind being convinced it was a good thing somehow.

Re:Ask HN: I'm writing a book about white-collar drug use, i... by jacobolus on Monday February 26, 2018 @07:45PM (#16470266)
In low doses (like smoking cessation meds rather than cigarettes) nicotine is a pretty effective occasional stimulant for someone who does not have a tolerance for the drug. https://www.gwern.net/Nicotine
Re:Ask HN: I'm writing a book about white-collar drug use, i... by analogic on Monday February 26, 2018 @08:03PM (#16470355)
To a new user, heroin is f'in amazing, so I hear. For an addict it just gets them back to normal.

Absolutely there's a reason people get addicted to cigs in the first place. But say, driving down a scenic road on nice day with window down, without even the slighted urge to light up a cig, is not something I would have imagined while still a nicotine addict. I mean I'll think about smoking a blunt sure, but that different.

Also glad I quit before all the e-cig stuff came out. If I was able to smoke AND breath prob woulda never got off.

Re:Ask HN: I'm writing a book about white-collar drug use, i... by damla on Tuesday February 27, 2018 @01:51PM (#16476585)
I have managed to quit smoking in my fourth attempt. It's been nine years. Being able to work uninterrupted with an urge to smoke and deciding my breaks with my own free will motivated me. This was not the reason for me to quit, but it helped a lot.
Re:Ask HN: I'm writing a book about white-collar drug use, i... by smoyer on Monday February 26, 2018 @05:12PM (#16469453)
I do drink coffee but have no problem sleeping when I'm tired and, over 35 years of engineering have learned to tell when I'm "sharp". There are plenty of tasks you can take on when you're a little tired too. I don't sleep as long as many people because I have a bad back bit I'd trade that tiny "competitive advantage in a heartbeat.

Other than caffeine I don't take drugs and mostly don't drink alcohol either.

Re:Ask HN: I'm writing a book about white-collar drug use, i... by OtterCoder on Monday February 26, 2018 @04:45PM (#16469240)
Seconded. I've chugged an energy drink on the job once, and immediately regretted it. So many people forget that programming is more about thinking than typing, and refuse to let themselves just sit (or nap) and think.
Re:Ask HN: I'm writing a book about white-collar drug use, i... by ajmurmann on Monday February 26, 2018 @09:52PM (#16470767)
Do you mind sharing what books on memory you found particularly helpful?
Re:Ask HN: I'm writing a book about white-collar drug use, i... by kalehrishi on Monday February 26, 2018 @10:04PM (#16470805)
Would be good to know
Re:Ask HN: I'm writing a book about white-collar drug use, i... by fjabre on Thursday March 01, 2018 @03:52AM (#16490554)
Very strange indeed that people are incredulous that you don't take stims. I love stims, especially modafinil. I don't think your methods are better than mine or that you would be more productive with stims. It's personal preference so let's withhold judgment. You have your method and they have theirs. You can stop the debate right there.
Re:Ask HN: I'm writing a book about white-collar drug use, i... by tyagis on Monday February 26, 2018 @04:47PM (#16469257)
Pretty interesting! Can you share what is your favorite spaced repetition software?
Re:Ask HN: I'm writing a book about white-collar drug use, i... by btrettel on Monday February 26, 2018 @06:01PM (#16469766)
I prefer Anki, though I started using Mnemosyne.

https://apps.ankiweb.net/

https://mnemosyne-proj.org/

Both are good. I created most of the cards I use myself, as I only add what is relevant to me.

There's also a lot of value in learning about how human memory and learning works. Some parts are like learning how to program your brain. Your brain works well with certain data structures. I'd recommend this book for those interested:

https://www.amazon.com/Your-Memory-How-Works-Improve/dp/1569...

Re:Ask HN: I'm writing a book about white-collar drug use, i... by tyagis on Monday February 26, 2018 @06:18PM (#16469876)
Re:Ask HN: I'm writing a book about white-collar drug use, i... by victor106 on Tuesday February 27, 2018 @02:52AM (#16471764)
> spaced repetition software

Is there any that you recommend?

Re:Ask HN: I'm writing a book about white-collar drug use, i... by sudouser on Tuesday February 27, 2018 @03:09AM (#16471838)
anki foss