News for hackers. Stuff that matters.
Re:Poll: What OS do you prefer for Web Development? by ekianjo on Friday November 01, 2013 @02:58AM (#6652244)
Can you explain further what makes OSX a pain in the ass vs a Linux distro (besides the shell quirks)? Any advantage you see by using OSX even though you prefer Linux ?
Re:Poll: What OS do you prefer for Web Development? by cheald on Friday November 01, 2013 @03:07AM (#6652270)
Well, for one, getting sane build tools is difficult. Apple doesn't ship anything GPLv3, which means that among other things, GCC and bash have stagnated. You end up relying on homebrew to provide modern versions of "basic" tools, which may or may not work properly depending on your use case. It generally involves a lot of trial and error and things mysteriously breaking until you find a StackOverflow question where someone has figured out the answer through exhaustive experimentation, and one of the sixteen prescribed fixes will actually work for your environment. OS X is better than Cygwin, but it's the same kind of mess - to get a functioning, cohesive GNU environment, you end up doing a lot of hacking around to balance things just so.

Since you end up relying on a third-party package system, and the OS itself makes no guarantees about the availability or compatibility of the development tools you need, upgrades become dangerous and unpredictable.

As for advantages...I dunno. Netflix, Photoshop (sorry, GIMP fans, Photoshop is still unmatched) and battery life? Linux power management is pretty horrid compared to OS X. However, basically the only time I care about that is when I'm on an airplane and won't be able to get to a plug for 4 hours, which is like...a half dozen times per year.

Re:Poll: What OS do you prefer for Web Development? by eropple on Friday November 01, 2013 @03:22AM (#6652320)
I find what you're saying interesting, because it doesn't really match my experience. I came from Linux to OS X not too long ago (three years maybe?) and while the first thing I do is install GNU coreutils and findutils, I don't find myself having to do much else to make the command-line environment feel very friendly. Most "Linux-only" scripts that I run across are really just "GNU-only" scripts, and work fine. Obvious exceptions are ones that do specifically touch Linux-specific constructs, but I find that most are just not tested with the default BSD tools and suffer for it.

My only other beef is that there's no rc.d system and OS X's startup stuff is messy, but I do that so rarely that it doesn't usually come up.

The other major advantage for me is Xcode. I did not get-it until Xcode 4, but these days I really miss when I'm not using it. (I do mobile and web development on the JVM, but I write games on the side.) I've yet to find a C++ IDE that's as nice as Xcode, and that's including MSVC with Visual Assist X.

Also, I haven't found serious issues with upgrades since moving to Homebrew from MacPorts. Your mileage may certainly vary, but I've upgraded the same Mac from 10.6 to 10.9 without any issues. I can't say the same for my Ubuntu system, but that may have been my fault. =)

Re:Poll: What OS do you prefer for Web Development? by cheald on Friday November 01, 2013 @03:33AM (#6652358)
It may just be quirks of the toolchain - I'm primarily a Ruby developer, and I dabble in Java (mostly for Android) and Scala. Setting up a CRuby environment that can compile native extensions under OS X is a minefield. It's not hard once you know what to do, but you can expect to spend several hours working around esoteric issues the first time or two you do it.

The lack of an rc.d system is another sore point for me - I can't ever remember the correct invocation to restart this or that service. Having to look it up each time is annoying.

I haven't used XCode significantly (I tend to stick to Sublime and IDEA's Java/Ruby IDEs), but I've heard great things about it from iOS developers.

Re:Poll: What OS do you prefer for Web Development? by eropple on Friday November 01, 2013 @04:45AM (#6652522)
Gotcha. Never got into Ruby beyond the basics, so I can't speak to that. It's funny that you mention IDEA, though, because I find it way, way better on OS X (day job is Android development, I'm also a part-time Scala cheerleader). It's just so amazingly fugly on every Linux machine I've ever used--it's a Swing problem, I've never been able to figure out how to fix that.

Heck, IDEA looking and feeling great on OS X was the reason I originally bought a Mac.

Re:Poll: What OS do you prefer for Web Development? by rantanplan on Friday November 01, 2013 @05:40AM (#6652703)
Usually this "-Dawt.useSystemAAFontSettings=lcd" will fix your fugly situation. Actually, at least since version 3 of PyCharm I don't have to muck around with java settings to make it look humane.
Re:Poll: What OS do you prefer for Web Development? by eropple on Friday November 01, 2013 @02:12PM (#6655346)
Tried it previously (I used a Linux machine as a daily driver for years). Doesn't look any different to me on Ubuntu.
Re:Poll: What OS do you prefer for Web Development? by srik on Friday November 01, 2013 @03:45AM (#6652388)
>My only other beef is that there's no rc.d system and OS X's startup stuff is messy

Have you already looked at launched. I've heard a lot of praise from people who've used it. http://en.wikipedia.org/wiki/Launchd

Re:Poll: What OS do you prefer for Web Development? by jsmeaton on Friday November 01, 2013 @08:54AM (#6653319)
I mentioned it above also, but I use `brew install lunchy` for a better interface to the launch/services system.
Re:Poll: What OS do you prefer for Web Development? by jsmeaton on Friday November 01, 2013 @08:51AM (#6653312)
I hate the services/rc system on osx, but `brew install lunchy` makes it much much better.
Re:Poll: What OS do you prefer for Web Development? by microcolonel on Friday November 01, 2013 @04:07AM (#6652425)
Also, to be clear, power management for laptops depends entirely on which one you got, there are a few where it makes better use of the same battery on the same hardware than OSX could hope to.