logoalt Hacker News

I Program on the Subway

34 pointsby evankhourylast Tuesday at 9:23 PM25 commentsview on HN

Comments

dackletoday at 5:38 PM

Here is a description of the daily commute by Michael Milken, 1980s junk bond king, as told in "Predator's Ball" by Connie Bruck:

At 5:30am each weekday in the early 1970s, a bus pulled up to a stop in Cherry Hill, New Jersey, and a young man lugging a bag that bulged with papers mounted its steps. He was making the two-hour commute to New York City, where he worked at the investment­ banking firm of Drexel Firestone. The train would have provided a more comfortable and faster ride; but, for those very reasons, it also offered more opportunity to meet other Wall Street acquaintances. They would want to engage in the kind of idle small talk that commuters share to pass the time. The thought must have been intolerable. He did not wish to be rude, but he wanted no interrup­tion.

As soon as he had settled into his seat, being sure to take one with an empty one adjacent, he unloaded a mountain of prospectuses and 10ks (annual Securities and Exchange Commission filings) onto the seat next to him. On winter mornings the sky was still pitch black and the light on the bus was too dim for him to be able to read. He wore a leather aviation cap with the earflaps down; he had been bald for years, and although he wore a toupee his head always felt cold on these frosty mornings. Now over his aviation cap he fitted a miner's headlamp -- strapped around the back of his head, with a huge light projecting from his forehead.

show 2 replies
ziofilltoday at 5:28 PM

When I was living in Paris I had a 20 min ride from home to work each day. I picked up the habit to read during those 40 total minutes and I was going through books like I had never been able to, because while 40 min is not a lot, it’s about 150h per year. One easily underestimates the power of consistency.

show 3 replies
saagarjhatoday at 5:32 PM

I used to do work on Caltrain, which used to be like 3 hours of my commute and didn't have any internet, so I would carefully plan what I could do beforehand. My code deploys to a machine that's very different from my laptop, but I had a Docker container set up to cross compile things and loaded up the docs beforehand, so as long as I planned out what I wanted to do.

These days Caltrain is faster and has occasionally frustrating, but fairly good Wi-Fi, so now my constraints are that I don't have a large monitor but not really much else.

ghostly_stoday at 5:54 PM

Did this for a couple years on a 45 minute CTA commute in Chicago while I was learning to code outside my day job, it honestly made that commute not even feel burdensome. Key was that I was 1.) on the brown line, which was still running the 3200-series cars with plentiful seats, and 2.) at an early enough stop to reliably get one. And can confirm an old Thinkpad (x220 at the time) is the king of commute coding.

komali2today at 5:51 PM

> they would have to do it at a station, where they could immediately get off the train. I think, though, that this would be risky, given that subway stops generally have a lot of people getting on/off the train in the first place.

I've seen a phone jacking in this exact scenario and nobody moved to stop the guy running. Nobody on the train can help cause the doors have closed, and nobody on the platform has any idea anything just happened, or if they do the guy is well gone before they can put two and two together.

For me I always pocket my phone or e-reader at each stop, unless I'm in Japan or Taiwan.

show 3 replies
trinix912today at 5:50 PM

I've done it a few times on city busses which I'd say are worse than subway. Less legroom, bumpier ride, more people passing by. My 13" laptop barely fit.

It's not something I'd want to do on the daily but if you really need to get something done and are running out of time (those busses get stuck in traffic for half an hour or more), it's doable.

kevin_thibedeautoday at 4:57 PM

> I don't even have an internet connection.

Vibe coders feeling a great disturbance in the force.

show 3 replies
almost_usualtoday at 5:31 PM

I work/program on CalTrain but that’s pretty common. NYC subway or BART seems a bit more challenging.

It’s overall time much better spent than being stuck in a car.

cadrtoday at 4:48 PM

I used to get so much done on my BART commute. Also learned piano on a little 25 key midi keyboard until the program I was learning from started needing a 26th key.

show 2 replies
abstractspoonlast Wednesday at 7:20 AM

Back in the 80s I would work on stacks of fanfold code printouts on my trips on the London underground to and from work

MuffinFlavoredtoday at 5:52 PM

> Between work, meetups, and social events, I have noticeably less time for side projects than I had before moving here.

Lucky you. :) Good problem to have.

pinkroutelast Tuesday at 10:16 PM

[dead]

chrischentoday at 5:14 PM

With coding agents AI almost never manually type code anymore. It would be great to have a code editor that runs on my phone so I can do voice prompts and let the coding agents type stuff for me.

show 4 replies