Top
Best
New

Posted by evakhoury 12/16/2025

I program on the subway(www.scd31.com)
259 points | 202 commentspage 3
birdgoose 12/22/2025|
This is essentially how I work on hobby projects these days. My bus commute is about 45 minutes each way and I find this to be just enough time to get work done. I also try not to work on these projects outside of my commuting hours; this gives me time to mull problems over rather than jumping headlong into writing code.

The lack of internet on the bus has not really been a problem since I plan ahead and make sure any dependencies I need are already downloaded.

I use an old (2010 era) Toshiba netbook which is small enough that I'm not causing problems for my seat neighbours. It's also only got a dual-core 1GHz processor which kind of forces me to find performant solutions to problems.

Much like the author I've also been thinking about how I can make my setup more portable. I've been considering purchasing AR glasses and using my Charachorder2 so I don't even need to get the netbook out of my bag. At this stage I can't justify the cost of a pair of AR glasses though.

Some recent projects my commute has given me the time to work on:

- a text editor (OCaml, SDL)

- a 3D game (C, OpenGL)

- an x86 operating system (Zig)

throwaway2037 12/22/2025|
Do you have a public GitHub profile? Those projects sound cool.
birdgoose 12/22/2025||
Sadly, only the text editor is on public source control at the moment (https://github.com/jpsheehan/ocaml-edit). The game project and operating system are ongoing until I get bored of them and move on to something else. Most of my obsessions over the last few years have been bus projects. My Tetris clone is another example (C, SDL): https://github.com/jpsheehan/tetris
TheNewAndy 12/22/2025||
I wrote nearly all of https://apps.apple.com/us/app/two-birds-one-stone/id15396463... on a train without internet. It was about a half hour journey, and I found that in such a short amount of time, I would set a small goal and work in a very distraction free way to achieve it. It was very good for doing small things, but sometimes doing larger things (like big refactors) is a bit more difficult. On occasion, I would also dedicate a train ride to just writing up a todo list.

I gave myself the rule of no internet while on the train, so sometimes I would just accumulate a list of questions I wanted to answer later.

There is definitely something to it, and you can get heaps done, but it needs to be supported with some non-train time (e.g. for me, it was all the app store stuff, debugging with real hardware, etc)

hoppp 12/22/2025|
30 minutes can be plenty of time for implementing a feature. If you got your priorities straight.
ak217 12/22/2025||
When I used to ride Caltrain to/from work, I would often have an uninterrupted stretch of 45+ minutes in a cozy single seat (I would always take an upper deck seat in the "gallery" car) to either doze off or use this time to focus on something. I would get so much done on those days if I managed to avoid the sun blasting too much sunlight on my screen/seat. This commuter rail experience is probably familiar to many of us, but it's specific to commuter rail - being a passenger on a subway or in a car/bus is too chaotic or bumpy to do this.

More generally, I find that switching up your surroundings is absolutely vital for your brain's ability to focus on hard tasks. I will hit a wall if I try to work multiple 10+ hour days sitting in one spot, but a comfortable spot in a different coffee shop or lounge can totally trick my brain into powering through.

throwaway2037 12/22/2025|

    > This commuter rail experience is probably familiar to many of us, but it's specific to commuter rail - being a passenger on a subway or in a car/bus is too chaotic or bumpy to do this.
I second this. It is hard for me to do anything productive on a bus because the stop/start frequency is too high and more physically demanding than a train.
Myzel394 12/21/2025||
I was in Philadelphia for a week and also used my commute time (2 hours in total each day) to program. As a web developer who uses Github Copilot and often checks documentation online, I did not have such a good experience as OP had. Mobile data is pretty much nonexistent in Philadelphia in the subway and there are also no wifi Hotspots. Sure, it was better than nothing, but I would quite often find myself waiting for the subway to arrive at stations and hoping that there is at least some internet connectivity there.
Wowfunhappy 12/21/2025||
I’ve done this before, but you need a relatively long subway ride without any transfers. IMO, 30 minutes is just barely at the edge of being worthwhile, and only if you can get a seat right when you get on, and only if the seat isn’t so cramped that it’s actually possible to get your laptop out of your bag. This happens rarely.

But on longer trips from e.g. upper Manhattan to deep Brooklyn, particularly at off-peak hours when I have room to spread out—yeah, I’ve had some very productive sessions.

meken 12/22/2025||
> Currently I am working on affixing a split keyboard to my pants, so that I can program while standing up.

This reminded me of the "walking desk" Stephen Wolfram uses to program:

https://content.wolfram.com/sites/43/2019/02/07-popcorn-rig1...

I tried to use a similar one during Covid and couldn't get into it at all.

mncharity 12/21/2025||
> I've had good conversations with strangers

Laptops sometimes have stickers. For a time, I instead had a transparent slip cover, to vary the sticker set, user-test alternatives, and throttle conversations. Science education topics (Boston/Cambridge subway). Anti-patriarchy stickers drew proto-MAGAs. Some backpacks now have low-res screens built into the back, suggesting new possibilities.

One Laptop Per Child, at its peak, generated fun continuous crowd conversations.

> a pair of glasses with a screen inside of them

I've no idea what current tech is like, but I use to proselytize aphysical UIs, where a small head motion results in larger screen motion, to reduce neck swiveling.[1]

> weirder

Laptop harness walking desks are a thing. And one can do hand and head tracking[2] (I had that setup at a meetup where the swag was little stick-on privacy shutters for laptop webcams :). Boston/Cambridge is perhaps culturally a best case for such games - I've not tried them in NYC... hmm.

> but something very complex, [...] instead sketch out a diagram on a piece of paper [...] keep a small notebook in my bag

Same. I've tried swapping in an iPad, but it hasn't stuck.

[1] silly old demo, 5k on a bus: https://x.com/mncharity/status/1225091755667853318 [2] https://imgur.com/a/keyboard-cam-Z1VipaL

almost_usual 12/21/2025||
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.

d4nyll 12/22/2025||
Working on the metro makes a boring commute fly by - blink and you are at your destination already. 30 minutes each way is 1 hour a day. Over the entire year it's 250+ hours or 9 whole 16-hour days.

That's why whenever I move to a new city, I typically look to live somewhere that's at the end of the metro line. It meant in the morning commute I can _always_ get a seat.

That was one of the reasons I liked living in Hammersmith when I worked in Shoreditch/Old Street - it's at the end of the Hammersmith and City Line and I don't have to change lines. There's also the add bonus that the line is above ground until Paddington which meant I have more than enough time to load up any tabs I need to use before the Internet blackout.

In Hong Kong I worked at Central and lived in Tsuen Wan. Literally from one end of the line to the other. This had the added bonus that I was also guaranteed a seat on the way home as well.

trinix912 12/21/2025|
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.

More comments...