I use morning train commute time to think of logic instead of actual coding. I usually have a set of tasks I want to work on during the day, and on the train, I'm usually scribbling down algorithmic ideas on a notebook, trying to come up with alternate solutions to different problems and the tradeoffs involved. That way once I'm at work, I can simply get my morning cup of Joe and then get straight to work! Productivity is high for me this way :)
Using a notebook helps me structure my tasks (there is a certain indescribable goodness to actually writing on paper) and avoid more screen time (I spend waaay too much time in front of a screen anyway)
I don't write it there. I utilize 'ambient thought'.
What I rather do is look at difficult code before the commute. My brain will subconsciously work it out. However in this period, you can't think about other things - no looking at your phone or checking out people on the train.
I work as a theoretical physicist, and I second this. Not only for code but mathematics and other chain-of-logic kind of work. Also not limited to train, but to doing dishes or other routine activities where the mind can decouple. It does happen though that I get stuck brushing my teeth for 15 minutes lost in thought.
I use my train commute each way to nap as well. I don't think it's a terrible thing. Unfortunately having a long commute means less time either at home after work to unwind or less time to sleep. So I just try to catch up a bit. Plus it helps recharge me mentally, so that's good.
3. For extra levels of sound proof, wear earbuds undernearth above
4. Turn on laptop (lenovo x250 with 9-cell extended battery)
Having a seat is critical. I'm lucky that my commute usually involves one end of the line to the other. This makes it easy to get a seat. Also, don't completely zone out into your laptop. More than once I've had people warn me to keep my eyes open for some of the more interesting characters who ride the BART.
15" MBP (2013, must be about time for a new one). Tethering via my android.
Unfortunately because I'm in NZ, mobile data is super expensive, so I only get 2.25GB/month. Turns out that's adequate for 1 hour of train per day (30min each way), but I have to be a bit careful. I use https://www.tripmode.ch/ to limit my usage somewhat.
The keyboard on my MBP is absolutely awful, and if I use it for more than about 20 minutes I get sore fingers. The backspace key requires about a tonne of force to register a delete. So I use a Coolermaster MasterKeys Pro S. It's a bit awkward using it on the train, but I usually do anyway because my fingers kill me otherwise. It helps if I have a spare seat next to me.
Working on the train shaves an hour off my office day, so I get more time with my daughter. I can work from home a couple days a week, but I prefer to go in to the office when possible since I find I focus better at the office.
Off topic rant: why is commuting to work still a thing for software devs? Everyday when I spend two hours in traffic to go to work and sit at a desk to code, I think I could do this at home just as easily and I'm the lead developer at my company who constantly needs to interact with people.
If we had better teleconferencing equipment, I would go in less than I do now.
I love coding on a train (long-distance, rather than short commute). The whole concept of being productive WHILE also being transported is somehow very energizing.
I use an MBP 15", typically using train-wifi or tethering to my phone (4G subscription with unlimited data (and no throttling) for $35/month (299 SEK)). However, I try to optimize to not depend too much on wifi, just in case.
Overall I've tried to optimize my workflow to just use my MBP 15" instead of being dependent on an external monitor, external keyboard, etc. Does really help when traveling and avoiding office to be productive.
Setup is very simple, just 13" MacAir which is my main computer as well (I do have it docked to big monitor and keyboard/mouse on other occasions), there is reliable and fast wifi on our trains so I dont need anything else then seat with a table.
Main thing is knowing what I have to work on that morning, so when I open computer I just jump on writing code and don't have to think about it.
I usually try to do simple things on my commute: maybe little refactoring or trying to replicate some edge case, I rarely do anything complex as my journey is just 30 minutes.
I use my notebook and put it on my lap, which allows me to write code quite comfortably. I listen to music in order not to be distracted by other passengers. Tethering via my phone, having a reliable connection and an unlimited data plan means I can do pretty much anything. If I'm on a train for a longer period of time, we also have power plugs to recharge.
However more recently, I have switched to reading books. My nearly two-hour commute every day is the time where I can read w/o anything else going on.
In any case "notebook" is probably a little too generic for the asker, care to share which notebook in particular and what makes it well suited for computing while commuting?
Reading through the rest of the responses, I'm baffled by how incapacitated people seem to be when their internet connection goes out. Sure, if you're going to configure a cloud server, internet access is required, but people have turned many things that once were done locally over to the cloud, without ever considering if that's actually a good idea (specifically talking about availability now, although there are other problematic angles as well).
I commute Nottingham>London about 3 times a week. Coding/working on the train is the only way to stay sane!
I have a Macbook Pro 2017 13". It's the first Macbook I've ever owned. It barely weighs a thing (1.37KG). Feels durable. And feels quite ergonomic to use. I can run 2 VMs in virtual box at full pelt for 1.5 hours and use 50% of the battery. I think that's pretty good. Best notebook I've ever owned.
Otherwise, Boss Quiet Comfort 25s.
4G is very hit and miss. I swear the newer East Midlands Trains carriages are surrounded by a faraday cage. That being said, they offer 15 minutes free wifi... cough MAC address... cough which performs very well.
15" Macbook Pro (2015). More than enough battery life for an hour commute and a meeting once I get to work. if I need to conserve battery life, turning down the screen brightness makes a big difference.
I try to have everything I need already downloaded to the laptop, but when I need internet, I tether to my phone.
I carry everything in an REI Novara commuter pannier, which a great commuter bag for a bike -- two simple clips hold it securely on the bike rear rack so it's easy to unclip from the bike when I park at the station (and to clip back on for my commute home), and it has a built-in shoulder strap and a rain cover in its own pocket. Sadly, it's been discontinued, not sure what I'll replace it with when it finally wears out.
I've been doing this for nearly five years now, so I've gradually built up a system that works for me. Usually I'll use one of two devices:
* Asus Chromebook Flip (C100PA)
* iPad Pro 10.5 with keyboard cover
When I'm developing, I use ssh or mosh to access my workstation in the office and then tmux+vim. Mosh works pretty great with poor connectivity. I've pretty much mentally mapped the signal quality along my route, so I know when to look out the window for a couple of minutes to wait for signal to come back...
When I'm not developing, I'm usually using Gmail+Google Docs/Sheets/etc to get stuff done. They all work relatively well offline/online.
For connectivity, I use a Raspberry Pi Zero with a 4G data stick as a WiFi hotspot (the on-train WiFi is terrible, and tethering to my phone kills the phone battery way too quickly). That setup can run for 6-8 hours on a little Anker USB battery pack.
I'd love to be able to do this, however ever since I was young I've found that I get motion sickness when I focus on a book/screen while travelling.
I don't generally get this effect when just being a passenger. I can travel for literally days in a car (or hours on a train) without feeling ill, but the second I look down to focus on some text, my stomach turns. User interfaces in the vehicle (such as the head-unit's screen, or the dashboard displays) don't do this to me, nor do things like posters on the train wall. It's only when I look down and focus on something close to me.
Does anyone else find this? What do you do about it (other than, you know, just not looking at small print when travelling)?
This is very common condition. I am no doctor, but it should be connected with your ears and there are exercises to help you build the muscles you need to fix it.
I am sure you can google some more information on it, this is just what I remember from talk of some ORL doctor friend of mine and that was few years ago.
I'd like to propose an alternative: doing nothing. That works best when you are at window-side and watching the views. When I had 2 hours of roundtrip commute back in 2000, the travel itself was extremely soothing and mind healing. I think it worked pretty much like meditation. I used to think about the work, code, new ideas and they faded into other thoughts, then drift away. I didn't have a cell phone to distract me either.
We normally don't give our brains some idle thinking time. I think it's helpful in organizing thoughts, achieving peace of mind, reducing anxiety, improving creativity. Long commutes are perfect for that.
All true and in general I agree, but if working two hours on the train means I get to go home 2 hours earlier then I'd rather work on the train all things considered.
I appreciate this point of view. I have a counter argument though: why not work while in transit and use the gained time to relax at a place of your choosing?
Mobile internet has gotten a lot better. I use an unlimited data plan as my home/anywhere connection (wifi tether). Yarn installs, video chats, the whole nine yards work fine. I try to keep it under 75GB/month to stay under the radar. It is very reliable and I love not worrying about brownouts or any of that. It can easily get 1MB/s down which is good enough for me.
With laptop (12,5"), I think it's comfortable for one hour.
If I have a specific problem, then : paper and pen! And write the corresponding program at my home.
I have about an hour train ride and in the morning I pull out my 17.1" Dell Precision M6800, my wireless mouse and hotspot and then just go to town for about the full hour. I'm first stop on the line so I get my choice of seats so I make sure to take the undesirable two seater on the upstairs of the train car so that way I can have the full seat to myself in order to use my mouse.
[+] [-] madmax108|8 years ago|reply
Using a notebook helps me structure my tasks (there is a certain indescribable goodness to actually writing on paper) and avoid more screen time (I spend waaay too much time in front of a screen anyway)
[+] [-] alexk|8 years ago|reply
Headphones: Bose Quiet Comfort 35
Laptop: Lenovo Thinkpad t460 (has 2 batteries, so can handle compute-intensive tasks)
Backpack: The North Face (pick the thicker one so you can use it as a laptop cushion)
Here is the setup in action!
https://twitter.com/klizhentas/status/735863023097643012
[+] [-] Johnny555|8 years ago|reply
[+] [-] muzani|8 years ago|reply
What I rather do is look at difficult code before the commute. My brain will subconsciously work it out. However in this period, you can't think about other things - no looking at your phone or checking out people on the train.
[+] [-] yagyu|8 years ago|reply
[+] [-] nsxwolf|8 years ago|reply
[+] [-] spike021|8 years ago|reply
[+] [-] cholantesh|8 years ago|reply
[+] [-] alexk|8 years ago|reply
[+] [-] jason_slack|8 years ago|reply
[+] [-] drwicked|8 years ago|reply
[+] [-] mycat|8 years ago|reply
[+] [-] dopeboy|8 years ago|reply
1. Turn on mobile hotspot (ideally wired - it makes a difference when on SF BART)
2. Throw the earmuffs on (I wear https://www.amazon.com/3M-Earmuff-Protectors-Hearing-Protect...)
3. For extra levels of sound proof, wear earbuds undernearth above
4. Turn on laptop (lenovo x250 with 9-cell extended battery)
Having a seat is critical. I'm lucky that my commute usually involves one end of the line to the other. This makes it easy to get a seat. Also, don't completely zone out into your laptop. More than once I've had people warn me to keep my eyes open for some of the more interesting characters who ride the BART.
[+] [-] majewsky|8 years ago|reply
"Interesting" in a positive or negative way?
[+] [-] craigds|8 years ago|reply
Unfortunately because I'm in NZ, mobile data is super expensive, so I only get 2.25GB/month. Turns out that's adequate for 1 hour of train per day (30min each way), but I have to be a bit careful. I use https://www.tripmode.ch/ to limit my usage somewhat.
The keyboard on my MBP is absolutely awful, and if I use it for more than about 20 minutes I get sore fingers. The backspace key requires about a tonne of force to register a delete. So I use a Coolermaster MasterKeys Pro S. It's a bit awkward using it on the train, but I usually do anyway because my fingers kill me otherwise. It helps if I have a spare seat next to me.
Working on the train shaves an hour off my office day, so I get more time with my daughter. I can work from home a couple days a week, but I prefer to go in to the office when possible since I find I focus better at the office.
[+] [-] lukealization|8 years ago|reply
[+] [-] scarface74|8 years ago|reply
If we had better teleconferencing equipment, I would go in less than I do now.
[+] [-] stpe|8 years ago|reply
I use an MBP 15", typically using train-wifi or tethering to my phone (4G subscription with unlimited data (and no throttling) for $35/month (299 SEK)). However, I try to optimize to not depend too much on wifi, just in case.
Overall I've tried to optimize my workflow to just use my MBP 15" instead of being dependent on an external monitor, external keyboard, etc. Does really help when traveling and avoiding office to be productive.
[+] [-] dejv|8 years ago|reply
Main thing is knowing what I have to work on that morning, so when I open computer I just jump on writing code and don't have to think about it.
I usually try to do simple things on my commute: maybe little refactoring or trying to replicate some edge case, I rarely do anything complex as my journey is just 30 minutes.
[+] [-] rethab|8 years ago|reply
However more recently, I have switched to reading books. My nearly two-hour commute every day is the time where I can read w/o anything else going on.
[+] [-] Johnny555|8 years ago|reply
That seems ambiguous.
https://en.wikipedia.org/wiki/Notebook_(disambiguation)
In any case "notebook" is probably a little too generic for the asker, care to share which notebook in particular and what makes it well suited for computing while commuting?
[+] [-] majewsky|8 years ago|reply
[+] [-] telebone_man|8 years ago|reply
I have a Macbook Pro 2017 13". It's the first Macbook I've ever owned. It barely weighs a thing (1.37KG). Feels durable. And feels quite ergonomic to use. I can run 2 VMs in virtual box at full pelt for 1.5 hours and use 50% of the battery. I think that's pretty good. Best notebook I've ever owned.
Otherwise, Boss Quiet Comfort 25s.
4G is very hit and miss. I swear the newer East Midlands Trains carriages are surrounded by a faraday cage. That being said, they offer 15 minutes free wifi... cough MAC address... cough which performs very well.
[+] [-] Johnny555|8 years ago|reply
I try to have everything I need already downloaded to the laptop, but when I need internet, I tether to my phone.
I carry everything in an REI Novara commuter pannier, which a great commuter bag for a bike -- two simple clips hold it securely on the bike rear rack so it's easy to unclip from the bike when I park at the station (and to clip back on for my commute home), and it has a built-in shoulder strap and a rain cover in its own pocket. Sadly, it's been discontinued, not sure what I'll replace it with when it finally wears out.
https://www.rei.com/product/780448/novara-commuter-single-pa...
[+] [-] deanclatworthy|8 years ago|reply
You can find cheaper but these bags are very durable. They’ll last many years.
[+] [-] jason_slack|8 years ago|reply
absolutely. On a long plane ride from the US to China it makes a huge difference
[+] [-] oesmith|8 years ago|reply
* Asus Chromebook Flip (C100PA)
* iPad Pro 10.5 with keyboard cover
When I'm developing, I use ssh or mosh to access my workstation in the office and then tmux+vim. Mosh works pretty great with poor connectivity. I've pretty much mentally mapped the signal quality along my route, so I know when to look out the window for a couple of minutes to wait for signal to come back...
When I'm not developing, I'm usually using Gmail+Google Docs/Sheets/etc to get stuff done. They all work relatively well offline/online.
For connectivity, I use a Raspberry Pi Zero with a 4G data stick as a WiFi hotspot (the on-train WiFi is terrible, and tethering to my phone kills the phone battery way too quickly). That setup can run for 6-8 hours on a little Anker USB battery pack.
[+] [-] flevours|8 years ago|reply
[+] [-] robmcm|8 years ago|reply
This generally seems to be my conclusion when thinking about making something cool with a Pi or similar, wondering if I’m missing something?
[+] [-] King-Aaron|8 years ago|reply
I don't generally get this effect when just being a passenger. I can travel for literally days in a car (or hours on a train) without feeling ill, but the second I look down to focus on some text, my stomach turns. User interfaces in the vehicle (such as the head-unit's screen, or the dashboard displays) don't do this to me, nor do things like posters on the train wall. It's only when I look down and focus on something close to me.
Does anyone else find this? What do you do about it (other than, you know, just not looking at small print when travelling)?
[+] [-] dejv|8 years ago|reply
I am sure you can google some more information on it, this is just what I remember from talk of some ORL doctor friend of mine and that was few years ago.
[+] [-] sedatk|8 years ago|reply
We normally don't give our brains some idle thinking time. I think it's helpful in organizing thoughts, achieving peace of mind, reducing anxiety, improving creativity. Long commutes are perfect for that.
[+] [-] dagw|8 years ago|reply
[+] [-] dopeboy|8 years ago|reply
[+] [-] ben_jones|8 years ago|reply
[+] [-] tetheredthrwy|8 years ago|reply
[+] [-] bruce_one|8 years ago|reply
[+] [-] inp|8 years ago|reply
[+] [-] jetti|8 years ago|reply
[+] [-] btschaegg|8 years ago|reply