Top
Best
New

Posted by evakhoury 6 days ago

I program on the subway(www.scd31.com)
256 points | 198 commentspage 2
saagarjha 2 days ago|
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.

throwaway2037 1 day ago||
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 1 day ago||
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.
fragmede 1 day ago||
https://a.co/d/1lCU1ha for mobile triple head.
saagarjha 11 hours ago||
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 :)
don-code 1 day ago||
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 1 day ago||
> The ability to take a 30 minute meeting

At the small cost of making everyone around you miserable.

AmbroseBierce 1 day ago||
Maybe they mean those meetings when you don't talk much, just listen to everyone else
prattmic 1 day ago||
> 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 1 day ago||
If I rode there I'd consider that a feature, not a limitation.
prattmic 19 hours ago|||
I do get through lots of books this way!
acjohnson55 1 day ago|||
No one talks on phones anymore anyway. But having data would be nice.
alexfoo 1 day ago||
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 1 day ago|
White Ladder was a great study accompaniment.
decafninja 1 day ago||
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 1 day ago|
Try a commuter train in Switzerland. I work two hours on the train every single day with no issue!
anonzzzies 1 day ago||
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 2 days ago||
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 2 days ago||
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 2 days ago||
I sometimes would bring ear-protection headphones that I'd wear over my earbuds to muffle the train noise.
gozzoo 2 days ago||
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 2 days ago||
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.

macNchz 2 days ago||
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 1 day ago|
> 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 19 hours ago|||
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 1 day ago|||
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.
abstractspoon 6 days ago||
Back in the 80s I would work on stacks of fanfold code printouts on my trips on the London underground to and from work
nicbou 2 days ago||
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 2 days ago|
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 2 days ago||
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.
birdgoose 1 day ago|
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 1 day ago|
Do you have a public GitHub profile? Those projects sound cool.
birdgoose 1 day ago||
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
More comments...