Switching My Development Environment from OSX to Windows 10, part.1

TL;DR : I’ve switched from a MBP Retina 13″ to a Lenovo Yoga 900. Same price, better perfs.

Leaving the Macbook Pro for the iMac

My Macbook Pro Retina 13″ being somehow unusable for weeks now (coffee might be involved), I’ve had to buy a new machine for my development setup.

I tried the iMac 21″. This is a wonderful machine : OSX is awesome for development thanks to its Unix-like, POSIX compliant. For the cons, I might have been struggling with the exotic repositories you have to use (Homebrew, and MacPorts or Fink before it…), being used to apt-get in Debian based machines and servers I manage. But whatever troll I’m raising here, in the other side, Linux distros doesn’t have the feeling nor the perfect third-party devices integration that you’d find in commercial OSes, for obvious and completely dumb -commercial – reasons from the manufacturers.

But unfortunately, it fails on one point : no SSD built-in it. I thought this wasn’t really an issue, that I wasn’t dealing a lot with files, but I was wrong. I use Atom as my main IDE, which is usually full of 15+ files. I love working with Laravel, which also gives its share of files. To make this short: using Atom quick searches are a pain without SSD (at least, when you’re used to use them). Add to this that OSX relies a lot on swap files stored in drives for being so fluid and easy to use, switching under OSX from a SSD to a HDD is a though experience.

One could say that it is a matter of few seconds, but those are making a huge difference and makes you really think about why you’re buying your computer. Especially when you rely a lot more on software performance and cohesion before hardware capabilities.

Looking for a Device as Great as the MBP

So I was again looking for another workstation.

At first, I was passive-aggressively looking at PC laptops : why would I buy something that last, say, 2 years tops (cheers HP, Acer and so) before hardware starts being absolute mess ? I was out there looking for a Macbook Pro, of course.

It is a strange reaction since I’m not one of those Apple fanboys : I proudly use a Huawei P9 as a smartphone, a Samsung Galaxy tablet, I do love Android based products, and I really can’t deal with iOS stuff. I love good concurrency, and when it comes to computers, Apple simply offered to the market some of the best products.

I’m just one of the numerous people who’ve switched for a Mac the first time during this last decade : tired of weak machines and a weaker OS when dealing with Windows, or a not-really user friendly OS when using any Linux distribution.

Don’t get me wrong : I’m a CLI lover, I donate to Wikipedia, but Office and Gimp just doesn’t have what it takes against their commercial pairs, and once a again, I know, they simply don’t have big companies behind them. But some are buying and using a computer to feel good with it, not to use software by pity simply because those ones are free.

When Apple Mess Things Up

But I had a feeling when looking at the shelves in the store. The feeling that Apple just released one of the crappiest product it ever shown : a Macbook Pro which is less powerful than the previous, with a small touchbar for the price of a great full size tablet. Even the touchbar-less version is more expensive.

mbp13vsnewmbp13
$1299 vs $1499

 

That was at this moment where I’ve thrown a glance at the concurrency.

When Windows Becomes Cool Again

The PCs. These stuffs not all shaped the same way, with a clicky touchpad, some ugly stickers in it, a body made of plastic, with colors and wierd Windows stuff inside.

And it felt good. I was looking at a whole new world of personal computing : a lot of different machines, of course a lot of them crappy in many ways, but all of them made for different peoples, different usages.

And I was back to the PC world as I have been younger. Finally looking at the hardware, the choice being way more deep than choosing between 13″ and 15″. Looking for my own personal computer that fits my needs.

Of course, the Windows part was still a problem. Until I started testing it. Windows 10 finally feels elegant, complete, responsive. In the same range of years, Windows has learned on its mistakes, unlike OSX which various releases feels like “man, go buy a iPad and an iPhone so you can use your OS at its best”. Even Edge felt right. I know, Windows catches every of my strokes but Google almost did the same with my Android devices and years of using Chrome, and so did Apple.

And anyway, for the price of a Macbook Pro that I was coming for in the beginning, I could have a i7 inside (good ol’ days), 8 Go of RAM and… 512 Go of SSD ! Which makes me completely free to run a VM with Linux in it at full speed (I can’t deal with the dual boot for now, being way too used, with the MBP, never to reboot my laptop).

This is why I felt for the Lenovo Yoga 900 !

When Windows Becomes DEFINITELY Cool

Remains the problem of having a development workstation that simply works. The VM running Ubuntu is great, but still having to switch between two environments (Windows 10 and Ubuntu) once in a while feels a bit uncomfortable.

And, surprise, after digging into a few years of updates about Microsoft and Windows, I’ve discovered that Microsoft released with the Windows 10 Anniversary Update… A Bash ! Sounds like an April’s fool, but there it is : Bash On Ubuntu On Windows, in a partnership with Canonical.

I just can’t say how great it feels. Everything works fine – at least, all of my main usages : git, ssh, vim, Ubuntu apt repositories, the AMP stack, zsh… Even the famous Agnoster OhMyZsh theme.

It is really unexpected : you can finally have the great Windows 10 UX/UI with the comfort of a fully working Unix environment. There are some issues, Vagrant for example which can’t run under the Ubuntu bash because of a Virtualbox issue, but it is a least problem, Vagrant works great under Windows. You just have to have a second terminal tab opened.

iTerm2 will be missing a lot, but I’ve found a good candidate, ConEmu which does the job.

In part 2, I’ll tell you about how to setup your desktop environment under Windows 10 so that you feel just like home.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: