News for hackers. Stuff that matters.
Re:If you love automation, why is your development environme... by qwerta on Wednesday May 08, 2013 @09:54AM (#5674108)
In that case I just find it better to wipe MacOS and replace it with Linux.
Re:If you love automation, why is your development environme... by gtaylor on Wednesday May 08, 2013 @10:47AM (#5674395)
It's not always a good solution for your entire team. I run Linux on my desktop, but have found that the touchpad drivers (even the experimental ones) just really suck on Linux+Macbook Pro to the point where it's either external mouse (not always possible) or decreased productivity.

I have a feeling this is going to devolve into a "well, just use vim and a tiling WM or X other thing", but the point is that just replacing Mac OS with Linux isn't always going to be good for your whole team.

Re:If you love automation, why is your development environme... by beatgammit on Wednesday May 08, 2013 @11:55AM (#5674929)
When you're targeting Linux, it's easier in the long-run to just use Linux. The base system isn't the same between the two because Mac OS X uses BSD versions of important things like SED, grep, etc. There are subtle differences that most Mac OS X users I've met don't know and can lead to weird problems like "why doesn't X work; it works fine on my mac!!".

If everyone's on Linux, the dev and productions systems are more similar, so less scripting issues can arise. I personally use Arch, other coworkers use Mint or Ubuntu, and only one developer uses Mac OS X (others switched because of above problems; he couldn't switch because of EFI problems). Even devs new to Linux (from Windows) love Mint, and all is well and good in the world. Servers run Debian or Ubuntu, so I test my changes in a VM because Arch has noticeably newer software in the repos, but that's because I can't stand Debian as a desktop system (package manager too slow).

Also, the Mac OS X user uses his Mac like a Linux box. He only ever touches his trackpad to use non-keyboard friendly apps (uses Vimium for Chromium, tmux/vim for terminal/editing, etc). Our devs not familiar with the keyboard generally use Sublime on Linux, which is a fantastic editor as GUI editors go.

The trackpad drivers aren't that bad, but may require some configuration in the xorg conf (I got multitouch working, but disabled it because I find it annoying).

We don't standardize on a single dev platform because each developer is different. The developer understands that using Linux is going to be easier in the long-run, but he/she must understand that his/her choice of OS must not negatively impact productivity. We've had a few developers try starting on Windows, but we'd refuse to support any dev environment besides Ubuntu Linux, and when they ran into problems, they switched to Mint/Ubuntu.

I've never seen a developer be more productive on Mac OS X than Linux. In fact, those gesture usually end up slowing him/her down from what should be easy using the keyboard (and all that switching from trackpad to keyboard is not productive).

Re:If you love automation, why is your development environme... by hosh on Wednesday May 08, 2013 @01:25PM (#5675541)
There are advantages to using VMs even if you've installed Linux as the base OS on Mac hardware.

The VMs provide isolation for testing and developing the server components. (I'm assuming you are developing server code). Through synced folders, you can still use your favorite $EDITOR on the host machine -- vim, emacs, sublime text, whatever. Onboarding is faster, and you can manage multiple node setups.

Further, you have the additional advantage of being able to replicate staging or production systems on your local box. This reduces time spent round-tripping to a staging server.

This lets you standardize the server code without requiring all developers to standardize on editors/ide/etc.

Personally, I am more productive on OSX than on Linux. But that's because my actual dev environment is tmux+vim. I let OSX and Mac hardware handle the stuff that it does much better than Linux: being able to talk to anyone, anywhere, with anything. (Networking) Being able to reliably suspend and wake.

Re:If you love automation, why is your development environme... by gtaylor on Thursday May 09, 2013 @12:27PM (#5681284)
> I've never seen a developer be more productive on Mac OS X than Linux.

Completely anecdotal and not at all useful in the context of this discussion. I've seen some of the top minds in the Python community using Mac OS with extraordinary productivity, as well as some of my fellow developers at Pathwright. I myself run Linux, but think it's foolish to suggest that I'm automatically more productive on it just by virtue of it being Linux.

I feel like you're missing part of the point, though. Even between different Linux distros (or versions of Linux distros) there exist differences in the packages. Some of these differences can lead to unexpected breakages. If you've got a smaller team, one or two guys are going to end up fixing everyone's disparate environments as things break unexpectedly (or you need to bump a package version or install something new).

The Vagrant (or VM) setup in general lets everyone use their preferred OS/Distro, while having the same. exact. environment to run the product you're working on. It also cuts down on support time, and your dev environment will not be just "kind of close" across your team, i'll be "really close".

Re:If you love automation, why is your development environme... by kaolinite on Wednesday May 08, 2013 @12:06PM (#5674988)
As someone who uses both OSX and Linux, I am more productive on Mac. Seriously though, get over your grudges - use what makes you happiest.
Re:If you love automation, why is your development environme... by w1ntermute on Wednesday May 08, 2013 @11:00AM (#5674519)
If productivity is key, get a ThinkPad, install Linux on it (they're very Linux-friendly), and learn to use the TrackPoint exclusively. Watching people use MacBooks, even with all those fancy multitouch gestures, is like watching a slow-motion movie. And they are always amazed how quickly I can do stuff on my ThinkPad.
Re:If you love automation, why is your development environme... by platz on Wednesday May 08, 2013 @11:18AM (#5674666)
TrackPoint is amazing; I hesitate to switch from ThinkPad's because of it.
Re:If you love automation, why is your development environme... by zmjones on Wednesday May 08, 2013 @11:45AM (#5674870)
How is the battery life?
Re:If you love automation, why is your development environme... by beatgammit on Wednesday May 08, 2013 @11:57AM (#5674943)
Why do you need battery life for development? Most of the time you'd probably be in the office anyway.

Even so, ThinkPads have pretty good battery life, and on some models the CD drive can be replace with an extra battery. I've heard of some that can go nearly two working days before recharging.

Re:If you love automation, why is your development environme... by zmjones on Wednesday May 08, 2013 @01:03PM (#5675380)
I don't work at the office most of the time. I know thinkpads have good battery life generally, but I know there have been some battery life issues with linux in the past.
Re:If you love automation, why is your development environme... by lsiebert on Wednesday May 08, 2013 @12:54PM (#5675305)
Thinkpads have great battery life built in, or you can get extended batteries, or slice batteries. You can even stick a battery in the drive bay.

You can also easily turn off ports you aren't using, at least in linux.

Re:If you love automation, why is your development environme... by sensae on Wednesday May 08, 2013 @01:51PM (#5675702)
I run ArchLinux on a ThinkPad X120e. I get 3-4 hours of battery life out of a 57Wh battery.