15 points · by linuxquestions · 11y ago · 74 comments
I intend to teach myself web development. Therefore I want a machine on which I can develop on. I'm told Macbook Pros work out of the box, pretty much. However I do not want to pay such a big premium just for the apple brand. So I figured I could buy a much better Windows laptop for less, and dualboot my chosen linux distro and windows -- but how hard is it to get the distro to work with the hw?
But if you don’t want to buy Apple, by all means buy a decent Thinkpad or Dell business grade laptop - Dell will certify Ubuntu on some of their machines & Thinkpads have had decent support since forever. If you buy a bleeding edge machine it will probably have some wrinkles to iron out though.
You can do what I do & pick up refurbished Thinkpads which are "good enough". Everything just works on those, because the bugs have all been ironed out. Plus, they’re cheap enough to buy a spare. X201 represent :)
edit Except the windows machines come with touchscreens and some have active digitizers for drawing with a pen.
My first programming job after college came with a Macbook Air. Since then, I've never bought anything but a Macbook. It's just a better built machine and I have no qualms paying a premium for quality. I use a Macbook Pro for my job now and I can't imagine using any other machine for programming.
I could care less about OSX. It's the quality hardware package that Apple gives you. Yeah, you can get better specs for cheaper elsewhere, but nothing retains its quality over the years like a Macbook.
The Macbook Pro 15" Retina is what I would recommend for a serious dev, but any Macbook down to the MBA would do.
It's similar to buying a car. After college I could've bought a Ford with all the fancy features for cheaper, but I went with a Toyota because Toyotas are just better built cars that will last.
EDIT: I always buy refurbished Apple. You get a great discount and still are eligible for Applecare.
For distros - Ubuntu will give you most out of the box but I'd suggest trying Archlinux. The wiki is so much better then what ubuntu has to offer and it has info on more exotic problems. I found it way more stable and usable then ubuntu.
For brands - lenovo thinkpads work great. Asus has great support too, though headphones/mic combo jack has some issues on certain models
Typically, Linux works well on Dell Lattitudes and Lenovo Thinkpads.
That being said, when these companies release a new model, it usually takes at least a few months before people get them working 100% on Linux.
If you want more specific advice, you should create a post on reddit.com/r/suggestalaptop and give them the specs you are looking for, plus your price range.
I've put Linux on 4 laptops over the past 10 years and everything has worked. I've heard many complaints about sound not working, but sound has always worked for me in Linux everywhere I've tried it. ATI drivers were hard to get working back in the day, but with Valve pushing SteamOS, graphics drivers should be much less of a concern these days.
Edit: it's not suspended, but actually turned off. s/even//
If you would like to have Ubuntu preinstalled look at one of those vendors (The Dell looks very nice.):
https://system76.com/laptops http://www.dell.com/us/business/p/precision-m3800-workstatio... (choose Ubuntu) http://www.pcworld.com/article/2849795/purism-librem-15-linu...
Or look at amazon for Linux laptops. Hope that helps.
Make sure you review a list of compatible machines first!
*NOTE: I also had considerable difficulty getting the iSight and touchpad drivers to work on a 2008 MacBook, but Windows fared much worse (no wifi, touchpad, camera, audio, etc).
Best for your needs? Sure. Best for gaming or servers? Not so fast.
As great as OS X is, It's obnoxious to use in a server environment compared to other options like Linux and BSD.
I've put Linux on a lot of random laptops over the years without problem... BUT when I buy a brand new laptop specifically to run Linux on it I do like to do a little research just to make sure I won't run into problems.
The reason I would not recommend dual booting is mainly that I think in terms of workflow and maintaining context/continuity of software enviroment.. You should choose one OS to be -your- OS and run any other OSes in VMs as needed. If you really want the option to dual boot you can run an OS that's installed to disk in virtual box without too much hassle. But in terms of workflow, having to reboot your machine and juggle files and incompatible FSes around will be a nightmare and you'll pay a high switching cost if, as you're working, you should need a tool from the other OS.
Among the people I know and from my own experience over the years dualbooting.. Eventually you're going to pick one OS and spend 95% of your time in it and it will be your primary gateway to computing.
In my case I run Linux as my main OS and if I absolutely need a windows application(like IE or Photoshop).. I just bring up a Windows VM.
You seem interested in Linux and the web does run on Linux but honestly, while installing a bunch of server software directly on your workstation OS is a great way to learn, I can't imagine that anyone works that way longterm. So even though you can do it in Linux(and OSX but I would never do this there, it's too much hassle and worse for a newbie).. Once you know what you're doing you probably won't install anything outside of a container or VM that doesn't address a personal or overarching need you have--which might very well include development tools you're working with or interested in.
So.. you're probably going to spend some time in Linux. Decide if you want to live there or commute. If you decide to commute, pick where you want to live.
Or even better, choose a laptop specifically shipped with Linux and aimed at developers - I have the Dell XPS 13: http://www.dell.com/uk/business/p/xps-13-linux/pd
I'm happy with the Apple dev environment, minor gripes notwithstanding, because so much of it just_works. I'm also scared off somewhat by Linux driver gremlins (which speaks to your worry). A friend of mine, who's also using Linux to learn web dev, is constantly running into issues with his WiFi disconnecting and other small things that - while they aren't critical - add up in the long term.
So Linux is a good option if you're willing to really dive into it, which you should do as a webdev anyway, because it's so important as server infrastructure, and if you're OK with minor usability issues. But if you'd like to save that for later and focus on code, I'd go with Apple.
Hope this helps. Curious to see what others recommend.
A recent quad-core processor with 8 GB or more RAM would probably be more than enough. Then, you can ssh in with your macbook or choice of any device.
I switched from debian to Mac (because of Adobe Products like Photoshop, lightroom, and AfterEffects running at 100% unlike wine/virtualbox in Linux) and I run all my development inside vagrant boxes since linux is what I'll be running on the actual servers.
For web dev, programming, web surfing, multitasking, the MBA is very good. I'd recommend 8GB and not 4GB RAM though. It's rare, but sometimes the extra gigs would've been useful to me (though I can't think of a common use case, and OS X does a good job of memory management to make 4GB work).
You can't? I'll tell you: 30+ Chrome tabs open + several webkit/atom-shell based apps (Slack, Spotify, Atom, etc.). I hate people packaging web apps with a passion. (Funnily enough, we might end up doing it too, because it's easier)
This is after I restarted Chrome (I had several Chromium Helpers using more than 0.5GB each before that): http://i.imgur.com/vN8EfDu.png
The one time I've really needed memory was when working on a WebGL Minecraft client. Firefox could deal with 4GB RAM, Chrome fell apart.
But yes, 8GB means your machine wastes less time shuffling memory around in some situations.
I switched to a macbook air on 2013, and not being an APPLEist (switched my iphone 4 for a rooted Samsung galaxy s3, which I still have), It's hardly to ever look back.
Once I get used to all of the MAC-ish things I was as productive as before, if not more. Things just work and it's a unix system underneath, so overall, I have everything I had on linux, compiling packages, package manager with hombrew, command line, etc. Just the fact of closing the computer, move around, open it and be working just where you left in 10 seconds, for me, worth the premium. Right now they are not that expensive.
I still had to overcome a few annoying mac things, it's not 100% fool proof, had to fiddle with open size limits, some specific configurations, proper web dev setup, but this time, I feel it was the exception and not the norm.
My +1 goes for a mac at the moment.
"You don't deploy to BSD. So why the hell are you developing on it?"
http://www.widgetsandshit.com/teddziuba/2011/03/osx-unsuitab...
Edit: This is undoubtably a troll post, and I dev on a Mac + VMs if necessary.
We all mostly use cross-platform technologies. They should function almost identically in each environment. You should have comprehensive CI and staging in place to make sure that assumption is borne out before anything ships.
If it's still a concern for you, you've now got access to things like Docker on the Mac, which totally isolates dependencies far better than an arbitrary Linux install would.
The ultimate reason that people want this to work is that many of us prefer working on a Mac. It's a totally legitimate preference, and I'd argue that if your app is dependent on the environment to the degree where is breaks between nominally compatible platforms, then it's a fault with your app!
I did ask myself the same question. Very funny blog post.
Windows is fine for development, with a decent console emulator (http://gooseberrycreative.com/cmder/) you'll be well away.
I wouldn't bother with the MBP: it's expensive for what it is, and has two horrible longevity problems - the power supply cables keep breaking and the retina screen is extremely easy to damage (kids fingers do it). The other problem is that there is currently no way to upgrade the SSD (this is why it's expensive - you're forced to upgrade just go get a decent size SSD).
If you buy an old (2013-Spring or earlier) model then it is upgradable.
As for getting linux to run on a laptop it is fairly easy to install and work on either a Macbook (as dual boot) or a PC. Regards price I think some models of Macbooks are now fairly comparable to PC laptops in price, especially if you buy around the 'Back to School' promotions in the US.
I like the trackpads on the Macbook and the keyboard is great too.
Works very well. You can run pretty much any Linux distribution you like. A lower cost machine means that you don't worry too much about upgrading.
I've had decent experience with consumer grade Dell laptops. Just be sure to get a lot of RAM because you are going to dedicate some of it to the VM.
For around $180, I added 2 years of warranty with next day onsite repair, including damage caused by accident, to my girlfriend's new Yoga 2. She is in nursing school, and having her previous computer flake out during mid-terms was a huge source of stress.
Over the last 20 years I've had a lot of Thinkpads, and been quite happy with them. I take care of them, but I use them daily, and things happen. Usually it is just small plastics to replace, but when it's the motherboard or screen and most of the case, it is SO nice to have Lenovo do the repair for "free".
I've had good luck with Linux on the Thinkpads. I run exclusively Linux, so that has been a big deal. Currently I'm running a T530 with Ubuntu 14.04, and it works great. I suspend/resume a few times daily, and have uptimes of months.
Of course, you do get Superfish... I removed it from my girlfriend's Yoga 2 easily enough. Mine it doesn't matter because it never booted Windows in the first place...
I would then buy a $5/month VPS on digital ocean to deploy to so that you can run what you build in a 'production' environment and learn some devops while you are it.
I've been using Linux in some form or another for just about as long as I've been using a computer. However, my Linux skills didn't really take off until I bought a Mac. OS X is Unix (literally, it's certified as a Unix OS). I found that when I was dual-booting Windows (this was before desktop virtualization), my primary cognitive investment was in learning to solve problems in the environment where I "lived". I used Windows most of the time, and Linux for things like Apache and an ftp server that I used to share files with friends. The problem was, I only learned Linux while I was using Linux.
When I switched to OS X, my environment became more consistent. OS X isn't Linux, but it shares a lot of similarities. If you buy a Mac, you'll have a bash shell in both of your environments. You'll use similar tools like package managers and command line utilities like grep, sed, and awk. You'll solve little day-to-day problems with bash scripts, and generally become more comfortable with the terminal. This will translate to skills that you can use when working with Linux servers.
The other thing I would recommend is that you use virtualization rather than dual boot. Dual booting has a high switching cost. You have to shut everything down and reboot the computer in order to switch environments. Given the power of laptop computers today, virtualization is a great option. Free virtualization software like VirtualBox gives you everything you need to spin up Linux virtual machines, which you can experiment with, and even trash, without consequence.
It's not so much that someone would learn exactly the same tools, but that there are more similarities than if they were switching between Windows and Linux.
And I know, Windows is beyond reproach, and BSODs are really the fault of OEMs, but I've never seen Linux kernel panic--not even on the same hardware Windows couldn't handle.
Not trying to start a flame war, but I really think it's misleading to say Windows "just works".
"Just works" is subjective so it shouldn't be a purchasing factor.
More relevant to this conversation, Macs have a wide (and presumably well-deserved) reputation for quality, and Windows PCs have a wide (and presumably well-deserved) reputation for cheapness (both in the quality and cost contexts). Sure, that consumer Dell you bought might boast better specs, but these objective metrics do a bad job about predicting things like product quality or overall satisfaction.
Dont get me wrong, Linux is a terrific web dev OS.. just putting myself in the author's seemingly newbie shoes.