by nicbou · 5y ago · 0 comments
I thought of using just a tablet to replace my laptop and my paper notebook, but thin client development only works with a fast, stable Internet connection.
This isn't possible everywhere. It's not even possible on German intercity trains/buses. It's also not possible across the oceans due to latency.
Even when the location is fine, there are bad wi-fi connections, paygates and network outages. Hotel wi-fi is hit or miss. Camping wifi is mostly miss. Censorship is also an issue in some countries. Some wi-fi networks block certain ports too.
My definition of anywhere includes those places, and far more remote ones. Therefore I need a local development environment, so I'm taking my laptop with me.
However, I really love the idea of working from a quiet place outdoors. I spend a few hours on my small balcony every morning. I was considering working from quiet places in the woods like you do.
To add some context. Had to take my fully specced out 2018 MBP 15" to get the battery replaced. Basicly, I had to go a week without my daily driver and I didn't have a backup. So I picked up a macbook air since they have a 14 day no questions asked return policy. I expected this thing to do some light work. I didn't expect it to actually keep up with my entire workload but it did and without getting particularly warm either. This tiny 1k laptop with 8 gb of ram was ding the job of a 3.5k fully specced mbp with 32 gigs of ram.
can't wait to see what they do with the m1x but I think the macbook air will handle everything you need + allow you to devlop locally.
With 16GB, I normally have open: RubyMine, DataGrip (two heavy JetBrains products), a terminal with two tabs, one having tmux and multiple local subshells and one with a remote connection to a server which has tmux (love tmux!), PostgreSQL, MailCatcher, any number of custom app servers (some ruby, some Node), Firefox with far too many open tabs, Spotify, and a handful of other apps.
I'm just about to find out how this thing handles 4k video processing as I got some new video toys to travel with. Maybe I'll end up needing the extra cores of an M1 Pro Max, but hopefully not.
Mmm. That's disconcerting, as I just bought my fiancee an M1 Air with 8gb. (Getting her to spend more than strictly necessary on a laptop would be worse than pulling teeth.) Hopefully that's not an issue with her computing needs, which should be fairly minimal ... Word, Excel, BlueJeans for teleconferencing, Chrome.
I use IDEs that are heavier duty than the average user, but those didn't even seem to be the issue, once I had more than about a couple dozen or so tabs open the machine would start grinding to a halt. Sometimes so badly that even closing applications was difficult.
I upgraded to a 16GB and have zero issues now. It seems browser tabs just don't play to the strengths of the M1's memory setup
I had configured the 'sliding panels' or whatever it's called to use a whole album of about 1000 photos, and noticed that I was getting these weird OOM notices, and when I checked in activity monitor, there didn't seem to be any memory overuse. But I realised it was happening when I was waking my computer from sleep.
I reduced it to 100 photos and now I don't see the warnings any more, so my guess is that the screensaver was trying to read all 1000 or so photos into memory at once, which was causing the issues.
If you have a photo screensaver, worth checking (possibly also the desktop background).
I suspect its just a recent MacOS bug that will get sorted out, and not an actual OOM issue. Chrome can use a lot, but I've never gotten close to using 16 gigs in my workflows, let alone 32.
I'm getting a MacBook Pro with the M1 Pro next, since I really want the ability to drive more than 1 external monitor. But if the Air could do that, I'd be all over it now even with the original M1.
No need to wait, they're available starting this week!
https://www.apple.com/macbook-pro-14-and-16/
https://www.tomshardware.com/news/apple-m1-pro-max-everythin...
One needs a stable connection (Edge network connectivity is all I need), fast is not needed. If there’s high packet loss I switch over to using mosh+ssh and elinks.
I bought a Chromebook Duet at Best Buy for $259. Works very well for software development without internet (runs Debian out of the box). I can plug it into an external monitor and add a keyboard and mouse when they're available. Otherwise the case comes with a keyboard, so I can program at any time.
Guessing you might’ve, given how much effort it looks like you’ve put into this, but if not, it’s worth a look. Integrates really well with Alfred.
There are local / offline code editors on iOS that will sync via Git next time you're online, and Git itself is pretty tolerant of bad connections. As is blink terminal client, over mosh.
For enterprise or systems devs, the negatives of attempting to host a complex system environment on your laptop outweigh the challenges of marginal network coverage (except when there is no network coverage).
Because of those negatives, even dedicated full time dev machines on gigabit connectivity are moving towards CodeEnvy style local (and portable) workspace for edit, with remote deploy/run/debug models. That's basically thin client / thick client debate coming around again.
Vast majority of enterprise/system devs are not so remote as to have to run a simulated cloud environment (e.g. minikube) locally, and I've found almost zero rural areas in the US that can't do a mosh session over the iPad Pro's cellular chip.