News for hackers. Stuff that matters.
Re:Ask HN: How often do you pull an all-nighter? by AnimalMuppet on Thursday October 05, 2017 @12:17PM (#15410341)
Never. In 32 years as a professional developer I have never pulled an all-nighter.

The closest I came was telling a co-worker "I won't leave until I get this done". I was there until 2 AM. At midnight, I was looking down at a printout (yes, I'm old enough to have worked with those), and my glasses slipped off and broke as they hit the edge of the table. I worked the last two hours leaving nose prints on the screen (not literally, but close).

Re:Ask HN: How often do you pull an all-nighter? by KhalPanda on Thursday October 05, 2017 @03:05AM (#15407147)
Never.

I think people that frequently pull all nighters (i.e. those claiming to do so multiple times per week) are probably missing the point that they'll get more work done with ~6 100% productive hours per day, than 18+ hours at fastly reduced productivity. It's not sustainable.

Re:Ask HN: How often do you pull an all-nighter? by danielvf on Wednesday October 04, 2017 @08:55PM (#15406067)
As a teen, I did lighting design at an outdoor amphitheater. The only time you could see the lights was at night, so I worked through the night a few times each year before new shows.

But as an adult, writing code, never. By this time in life, I’ve used up whatever sleep reserves have. If I were to stay up for a night, I’d not be able to function the next day.

Kids keep me up at night too much anyway. :)

Re:Ask HN: How often do you pull an all-nighter? by muzani on Saturday October 07, 2017 @10:57AM (#15423999)
I've done it a few times.

1. A project for a client that needed to be done "yesterday". It was a 3 day 1 night project that we charged double for because of the timeline.

2. A multi-million 1 month project that we spent the final week working 100 hours/week. Project management got me a massage chair to sleep in at the office, bought and delivered whatever food I wanted.

3. When my daughter was less than 1 year old and I was freelancing. Days were distracting so I worked nights.

4. Bootstrapping my startup, regularly doing 100 hour weeks for a year. I was burnt out for a year after selling the startup.

In summary, I only recommend it for urgent projects. It's productive for the first 5 nights but after that, productivity drops drastically. Sleep debt is even worse than technical debt.

Re:Ask HN: How often do you pull an all-nighter? by dsacco on Sunday October 08, 2017 @10:37AM (#15428357)
Productive for the first five nights?!

How the hell did you not crash after the second one? I’m pretty sure I begin having auditory hallucinations after just one all-nighter!

Re:Ask HN: How often do you pull an all-nighter? by rl3 on Sunday October 08, 2017 @03:54PM (#15429674)
I really hope that was said in context of non-contiguous sleep deprivation. 120 hours continually awake is nuts.

I've done 96 hours before and I could only do borderline mindless tasks at 20% efficiency, let alone programming.

It's possible to get a few hours each night, work literally every waking hour and be productive for weeks on end (at great peril of course), but for most developers I'd wager productivity is drastically reduced after 48 hours, and almost completely gone by 72.

Recent science says sleep deprivation actually incurs brain damage, so it's definitely never a good idea except for emergencies.

Re:Ask HN: How often do you pull an all-nighter? by muzani on Monday October 09, 2017 @08:31AM (#15433262)
I actually quit my job for one project I did 5 nights on, so it was sort of a life and death situation (or so I thought).

I did get about 6 hours a sleep, just didn't see my pregnant wife, or do anything besides eat, sleep, code. It led to a lot of burnout, and I later quit tech to run a cafe.

Re:Ask HN: How often do you pull an all-nighter? by goldenbeet on Wednesday October 04, 2017 @07:35PM (#15405705)
never. Sleep is important physically and mentally and I've never had a legitimate reason to skip on sleep. (There are some cases where it would be unavoidable, they're just rare) There are times where I'd like to stay up all night to work on something I'm enjoying, but I force myself to stop and go to bed.
Re:Ask HN: How often do you pull an all-nighter? by twobyfour on Wednesday October 04, 2017 @07:37PM (#15405713)
Once or twice a year when I get caught up in a really good book at bedtime. Never for work.
Re:Ask HN: How often do you pull an all-nighter? by asidiali on Thursday October 05, 2017 @08:21PM (#15413583)
Same - but with binge watching a new series.
Re:Ask HN: How often do you pull an all-nighter? by metamodule on Thursday October 05, 2017 @02:55PM (#15411670)
Only with high priority deadlines. I had an intense project last week that I had spent days on. Last minute I wanted to change how the data was distributed and rewrote it overnight. It paid off though, the team loved it. After mentioning that I pulled an all-nighter, I got the rest of the day off. Would not recommend otherwise!
Re:Ask HN: How often do you pull an all-nighter? by koolba on Friday October 06, 2017 @11:40AM (#15417640)
For work, never. If shit hits the proverbially fan and I had to do it because something was broken then I'm sure I would. But other contingency planning and dev practices has obviated the need for that.

For fun, every now and then. Not a regular thing but it's fun to pretend to be in your early 20s.

Re:Ask HN: How often do you pull an all-nighter? by mod on Saturday October 07, 2017 @08:27PM (#15426404)
When I do it, it's not fun. I'm in my 30s and I'm actually a night-owl, but if I have to get up--nope!

I actually just can't stay awake if I'm overly tired. I will fall asleep anywhere, including driving. I don't commute but I try to avoid it anyway, since I'll (involuntarily) sleep during work-hours to make up for what I lost.

Re:Ask HN: How often do you pull an all-nighter? by richardknop on Thursday October 05, 2017 @11:46AM (#15410086)
Never. I did it few times several years ago when I was working on a personal side project and before that during university. But since I only have a day job at the moment I leave my work at the office. There's always another day you can continue where you left previously. No need to lose sleep.
Re:Ask HN: How often do you pull an all-nighter? by mod on Saturday October 07, 2017 @08:25PM (#15426395)
I have never pulled nor considered a (professional) all-nighter.

No project I've worked on has been that important, though I can think of some situations that would be.

I have left the office after 8pm (11-12 hour day) a handful of times, mostly when I broke things late in the day, or when we were migrating something large during off-peak hours.

I don't consider working late a valuable tool to have in my toolbox. I'd rather deliver ahead-of-schedule, estimate more appropriately, and turn down work that is overly high-pressure.

FWIW I'm an employed developer and my employer would never ask me or anyone else to do this, in my estimation.

Re:Ask HN: How often do you pull an all-nighter? by PebblesHD on Wednesday October 04, 2017 @08:46PM (#15406020)
It's been quite busy in the office lately with changes and releases so it's been 2-3 days a week, but the average is closer to 1 outside of busy periods. Generally not so much of an issue with the family, as I'm only really annoying the cat when i get home...
Re:Ask HN: How often do you pull an all-nighter? by twobyfour on Thursday October 05, 2017 @10:14AM (#15409324)
Are most of the people here who say they do this frequently just staying up until dawn and then crashing for the rest of the day? Or are you working through the night plus the next full workday?
Re:Ask HN: How often do you pull an all-nighter? by scottmf on Friday October 06, 2017 @07:35AM (#15415937)
I had a few 36 hour workdays this year. People thought I was crazy for doing so and they were right.

There’s very rarely any benefit in trying to work when you’d usually be asleep.

It’s arrogant to believe one could work 16+ hours without any productivity gains being significantly offset over the following days.

Re:Ask HN: How often do you pull an all-nighter? by chanfest22 on Wednesday October 04, 2017 @07:27PM (#15405667)
not once since college. sleep is important :)
Re:Ask HN: How often do you pull an all-nighter? by sotojuan on Friday October 06, 2017 @04:59PM (#15420441)
For work? I quit working at 6pm. For fun? I've tried doing video game/movie all nighters like I did when I was 13. At 23, I just can't any more for some reason.

It's a lot easier for me to stay up all night if I am outside doing something, but that is rare.

Re:Ask HN: How often do you pull an all-nighter? by jason_slack on Thursday October 05, 2017 @12:45PM (#15410592)
I practice a polyphasic sleep cycle so I am often up a majority of the day and night.
Re:Ask HN: How often do you pull an all-nighter? by Kevin_S on Thursday October 05, 2017 @01:50PM (#15411046)
How long? I tried once in college and it broke me after less than a week.
Re:Ask HN: How often do you pull an all-nighter? by jason_slack on Thursday October 05, 2017 @08:29PM (#15413613)
I just started my 3rd year.
Re:Ask HN: How often do you pull an all-nighter? by Nilef on Friday October 06, 2017 @05:55AM (#15415576)
That's incredible. Have you done any writing on your lifestyle/how you maintain it?
Re:Ask HN: How often do you pull an all-nighter? by jason_slack on Friday October 06, 2017 @11:06AM (#15417332)
not really, but I'm happy to share if you have questions. E-mail in profile.
Re:Ask HN: How often do you pull an all-nighter? by probinso on Sunday October 08, 2017 @10:42PM (#15431247)
I would be interested as well
Re:Ask HN: How often do you pull an all-nighter? by jason_slack on Tuesday October 10, 2017 @05:39PM (#15445537)
AMA. E-Mail in profile.
Re:Ask HN: How often do you pull an all-nighter? by kevinherron on Friday October 06, 2017 @02:21PM (#15419048)
I've never worked all night professionally. I may have done it once or twice in college.

I'm honestly not sure I could stay up all night even if I wanted to at this point (age 32, if that matters).

Re:Ask HN: How often do you pull an all-nighter? by probinso on Sunday October 08, 2017 @10:18PM (#15431178)
I'm too old for that shit. I don't pull all nightdress for work anymore. Companies shouldn't ask you to do this.
Re:Ask HN: How often do you pull an all-nighter? by irremediable on Thursday October 05, 2017 @06:14PM (#15412971)
It is "extreme"; it's an extremely bad idea. It's unhealthy and unproductive. For emergencies, some people have to do it, but ideally it shouldn't happen.
Re:Ask HN: How often do you pull an all-nighter? by e59d134d on Friday October 06, 2017 @10:40AM (#15417110)
I did a few times for the team. I got a lot of praise but tiny less than inflation rate raise.

Never again and looking for new team now :)

Re:Ask HN: How often do you pull an all-nighter? by matchmike1313 on Thursday October 05, 2017 @12:46PM (#15410607)
Almost never. The only reason I have ever pulled an all-nighter is if a serious bug has been found or a server has crashed.
Re:Ask HN: How often do you pull an all-nighter? by cm2012 on Thursday October 05, 2017 @08:12PM (#15413548)
Never. I almost never work after sunset.
Re:Ask HN: How often do you pull an all-nighter? by dilithiumhe3 on Wednesday October 04, 2017 @07:23PM (#15405646)
Totally depends on what I'm doing, but if things are interesting 2-3 days a week. Sometimes once.
Re:Ask HN: How often do you pull an all-nighter? by EADGBE on Thursday October 05, 2017 @09:26AM (#15408936)
The last time I did it was at/for work and it was shortly before I quit.

Before that? I had to be maybe 14.

Re:Ask HN: How often do you pull an all-nighter? by koiz on Wednesday October 04, 2017 @08:11PM (#15405878)
1-2 times a week.

I rather finish what I'm doing and sleep after.

Re:Ask HN: How often do you pull an all-nighter? by kgraves on Wednesday October 04, 2017 @08:31PM (#15405967)
5 times a week. I rarely do it on weekends because that's when I need to catch up on sleep, parents don't care as much.
Re:Ask HN: How often do you pull an all-nighter? by neilsimp1 on Thursday October 05, 2017 @08:21AM (#15408522)
So you're awake for five days straight? That can't be healthy.
Re:Ask HN: How often do you pull an all-nighter? by twobyfour on Thursday October 05, 2017 @10:13AM (#15409308)
That doesn't seem physically possible without amphetamines
Re:Ask HN: How often do you pull an all-nighter? by jason_slack on Thursday October 05, 2017 @12:46PM (#15410599)
My teenage son can only stay up for 3 days straight without crashing pretty hard.
Re:Ask HN: How often do you pull an all-nighter? by gt2 on Thursday October 05, 2017 @06:42PM (#15413117)
1-2 times per week.