Top
Best
New

Posted by evakhoury 12/16/2025

I program on the subway(www.scd31.com)
259 points | 202 commentspage 2
saagarjha 12/21/2025|
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.

fragmede 12/22/2025||
https://a.co/d/1lCU1ha for mobile triple head.
saagarjha 12/23/2025||
I appreciate the suggestion but this is more than twice the weight of my laptop and I would much rather have light than big screen :)
throwaway2037 12/22/2025||
3 hours of Caltrain!? I assume that is 90 mins each way. San Jose to SF on a non-express train? That sounds painful!
saagarjha 12/22/2025||
I take the non-express in the morning and express in the evening, which used to be 105 and 60 minutes respectively prior to electrification. Nowadays it's 75 and 60 which is a little more reasonable. I could in theory take the last express in the morning but I think trying to squeeze in on a packed train that I have to wake up early for isn't really worth it over being able to leave the house at 10 and being guaranteed a table.
don-code 12/21/2025||
Doing connected work from the subway has gotten much, much easier in the last few years. I attribute that to three things:

1. Cell service has become low-latency. This is very different from "fast", which it has also become! When I started working from the train (on HSPA+), pings in the hundreds of milliseconds were the norm. My first step was usually to SSH to a remote machine, and let just the text lag on me. Nowadays, I can run a Web browser locally without issue.

2. Cell service has, at the same time, become ubiquitous in subway tunnels. When I started, there were some areas that dropped down to EDGE (unusable), and some areas that had no service at all. Now, there is exactly one place on the Boston transit system - Back Bay Station - where I lose cell service.

3. Noise cancelling tech has gotten better. It's not just about noise cancelling headphones: both of my laptops (a 2024 MBP and a ThinkPad P14s) have microphones that can filter out screeching wheels and noisy teenagers quite well. That means I can take meetings without making them miserable for the people on the other end.

These, honestly, are a huge game-changer for me. The ability to take a 30 minute meeting while commuting, where otherwise I would've had to get in early or stay late at work, actually does wonders for my ability to have a life outside of work.

isaacdl 12/21/2025||
> The ability to take a 30 minute meeting

At the small cost of making everyone around you miserable.

AmbroseBierce 12/22/2025||
Maybe they mean those meetings when you don't talk much, just listen to everyone else
prattmic 12/21/2025||
> 2. Cell service has, at the same time, become ubiquitous in subway tunnels.

Not in New York, unfortunately. All of the stations have cell service, and one tunnel (14th Street L train tunnel under the East River), but everywhere else has no service between stations. It’s an annoying limitation that most cities seem to have fixed by now.

hollerith 12/21/2025||
If I rode there I'd consider that a feature, not a limitation.
acjohnson55 12/22/2025|||
No one talks on phones anymore anyway. But having data would be nice.
prattmic 12/23/2025|||
I do get through lots of books this way!
alexfoo 12/21/2025||
Late 90’s I had a ~90 minute commute for a while (50min train with seat, 20min London Underground seat mostly, 15min train crammed, 10min walk).

The longer train I would use my laptop, same with the 20min underground section on the journey in (going home no chance), but for the packed train and the walk I listened to music (I still have my Diamond Rio PMP300, no idea if it still works, just remember downsampling music to 32kbps to get more on a memory card, quality was less important than quantity - I must have listened to David Gray’s album _White Ladder_ many hundreds of times).

Toshiba laptops (Satellite? I think they were before the Tecras), heavy and the battery life wasn’t much more than 90 minutes but it was just enough. Dual booting Windows and Linux. (Linux for dev work on the go…)

Obviously no mobile connectivity back then, I had to have a plan for what I was going to work on and that also involved backup plans if I ran into a blocker on the primary. Same for the way home.

A bit later I could get GPRS data rates via Infra-Red to my mobile and that just felt like magic.

I found the times I couldn’t be on my laptop (walking or on the packed train) were great for thinking problems through and often had to stop to scribble down thoughts/ideas/solutions in a notebook that I kept in the laptop bag.

Wrote so much useful code in that 18 months without the distractions of the Internet or emails or whatever.

Now I somehow find I have less time despite having virtually no commute. Technology has vastly increased the number of distractions and I have let myself succumb to them. Where I had no real choice in what music I listened to now I have too much choice. There’s always one last thing to check before I get on with a bit of work. Sometimes I wish for simpler times.

apparent 12/21/2025|
White Ladder was a great study accompaniment.
anonzzzies 12/21/2025||
I program and did program anywhere; unlike OP, I thrive in (human) noise: if it's quiet, I cannot focus, so working at home with multi monitor setups etc works against me (music doesn't help: not random enough and I cannot talk to people when I feel the need). I prefer subways, busses, airplanes, lounges, coffeeshops, pubs etc. Offices strangely do not work as I already know those people so I get bored and creativity plummets. My setup now is the best I had ever: a rugged android tablet with week-long battery, running termux with full desktop linux (not rooted) which can run all I want. I run several llms offline on it as well to fix the workflow when I don't have my nice foldable full keyboard out (if no space). I can run everything in our framework, online and offline; when I come back online, I just sync (code AND data) and voila.
cadr 12/21/2025||
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.
firefax 12/21/2025||
I used to get frustated that the train shook so loud that in combination with the sound of the train I struggled to listen to podcasts, kudos to you.
cadr 12/21/2025||
I sometimes would bring ear-protection headphones that I'd wear over my earbuds to muffle the train noise.
gozzoo 12/21/2025||
That's so cool. Can you share more about this. What program and keyboard did you use? Did you proceed with more serious learning?
cadr 12/21/2025||
I used an Akai LPK25 with my iPhone (using the Camera Connection Kit and a combined usb hub/dac) and an app called Simply Piano. They make a wireless version of that now that would simplify the setup a great deal. It is a mini keyboard and the keys are quite small, but in my experience it was fine for the beginner stuff (and the keyboard is useful in general later). As I said before, I stuck with this until the app started using keys outside the range I had.

Now, as for "did I proceed with more serious learning" - I alternate though a ton of hobbies. So I moved on after that, though still go back to it from time to time. But I also have other musical interests and it was helpful to those as well.

Also did a lot of music on the commute on my iPhone with Korg Gadget (and Caustic before that). Sometimes with a keyboard, sometimes without.

abstractspoon 12/17/2025||
Back in the 80s I would work on stacks of fanfold code printouts on my trips on the London underground to and from work
macNchz 12/21/2025||
I recently bought a GPD MicroPC 2, a 7” laptop with a real keyboard. It runs Linux just fine, and it has been a fun experience of having a “real” computer with me much more often than I otherwise would. My version of programming on the subway has been programming on a park bench—it fits in a jacket pocket, or even the back pocket of some of my pants. The keyboard is tiny but easy enough to use with thumbs, or, with some practice, two-handed touch typing on a flat surface.

It’s nice to be less tethered to a desk, while also not having to carry a backpack and heavier full laptop, but still able to remote in and do what I need to do. I really enjoy having a fully capable Linux PC in my pocket vs a smartphone.

yjftsjthsd-h 12/22/2025|
> GPD MicroPC 2, a 7” laptop with a real keyboard

Is it actually decent for typing on? I'm perennially tempted, but I'm somewhat skeptical of a small keyboard vs touch typing.

macNchz 12/23/2025|||
It's surprisingly good! I wouldn't want to type on it all day long, but it works pretty well for me. I just did a cold typing test, not having typed on it in a few days, and got 55wpm touch typing the normal way, and 40wpm with thumbs. On a regular keyboard I can type >100wpm, so it's clearly not quite there, but I much prefer it to a smartphone keyboard, and I can be much more accurate on it without any sort of autocorrect.
nathell 12/22/2025|||
Another GPD MicroPC owner here. It’s not quite as comfortable as a normal-sized keyboard, but much more comfortable than it looks. It’s quite decent for occasional recreational programming, and I’ve also used it to write daily blog posts from a long-distance cycling trip.
nicbou 12/21/2025||
My entire stack is meant to let me work offline in random locations. Until recently it was meant to run smoothly on a 12" Macbook. The output is also made for users on spotty internet connections. This comes from years of working while travelling. I can work offline for weeks if needed.

I sometimes do "iPad work", which is essentially researching, reviewing and annotating content on my iPad Mini. I will hop on my bike and work an hour or two in different locations, over coffee or in the sun. It's a relaxing break from working on a computer at a desk.

I do think that people should work in different places. Perhaps we'd have apps that work better on slow internet.

theshrike79 12/21/2025|
IIRC there are some actual studies that say changing your physical location will actually affect your performance.

In my previous $dayjob I was That Guy who was getting pinged on chats and emails and people dropped in for "just a quick question". When I had to get work done on a deadline, I went to a cafe down the street, turned off the chats, got a massive bucket of coffee, put on my noise cancelling headphones and just ... worked. Later when the office got bigger (multiple stories in the same building), I "hid" on a couch at a complete different department for the same purpose.

That was almost 10 years ago and still my brain connects couches and cafes as deep work places :D

nicbou 12/21/2025||
It was mostly to fit my travel habits, but you might be right. Nowadays I work at a cafe with friends every Monday. It's a nice break from WFH.
decafninja 12/22/2025||
Proponents of public transportation often say how they love to be able to use it as peaceful downtime to read, work, meditate, etc.

All my experience with public transportation is having to roll the dice and more often than not losing - having to stand while packed liked sardines into a bus or subway.

MrOrelliOReilly 12/22/2025|
Try a commuter train in Switzerland. I work two hours on the train every single day with no issue!
ghostly_s 12/21/2025|
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.
More comments...