by davexunit · 12y ago · 0 comments
I know that a lot of people disagree with me because I see developers with macbooks all the time, but imo OS X is not a good environment for hackers on a purely technical level (ignoring the issues of proprietary software).
When OS X came out, Steve Jobs promised an OS that would cater to pro users as well as amateurs. He literally said so in one of his keynotes. But around 2006, Apple started focusing on the upcoming iPhone and downprioritized OS X development. Nowadays it's all about making OS X more and more like iOS. They no longer care about pro users.
Case in point: If you're doing pentesting you need a machine that stays silent when connected to a network. With OS X you always have mDNSResponder blaring out. Prior to 10.6 you'd just solve this with a simple "launchctl unload" and be done with it. From 10.6 however, unicast DNS resolution was moved into mDNSResponder, so you need to keep it running or you lose the ability to resolve anything in the DNS. Of course it's possible to filter the multicast DNS announcements with pf, but it turns out that mDNSResponder will occasionally resolve various apple.com and Akamai addresses and that can't be disabled.
Same with IPv6 link-local addressing, it used to be possible to disable it completely, now that's no longer possible because they've dumbed down the UI. And when you use WiFi, OS X will regularly send 802.1X EAPOL messages out. That can't be disabled even with pf because pf doesn't filter on layer 2. Under these circumstances I find OS X to be unusable for pentesting.
And don't get me started on the laughable HFS filesystem and the non-existence of a package manager.
This is a very compelling narrative, but the set-up simply does not support the conclusion.
Making OSX more like iOS (sandboxing, for instance) is an incredibly welcome feature for pro users and newbs alike.
The other changes you point out are not related to the iOS-ification of the OS, and are not specifically "this isn't for pro users" sorts of changes as much as they are rearchitectures of the subsystems... it doesn't seem related to some "ignore the pro users" push.
I suggest you buy a usb network interface and pass the device through to a VM (Vagrant+VirtualBox is great for this) for your pentesting - then you get the best of both worlds.
networksetup -setv6off 'Ethernet'
networksetup -setv6off 'Wi-Fi'Yes.
Linux is insanely better for development. But OSX is just passable enough that the form-factor of an Apple laptop wins out and I can work. I don't want to go back to using two computers and OSX is _much_ better at everyday non-developer stuff than any Linux I've ever used so I make do with bad package managers and random compilation issues.
Pray god that I never have to wipe my hard drive though. Getting all the random libraries and whatnot that I've accumulated over the years would be a pain in the arse. (I've been dragging the same backups forward ever since I got my first mac)
PS: do start using Oh-My-Zsh. Your life will be better.
No, I like bash (or fish sometimes) with my own personal configuration that I fully understand. If I were to switch to zsh, I would just use zsh, and not a giant bundle of stuff that someone else thinks I need.
Something there doesn't sound right (and brings up questions about how do you even manage so many random libraries and whatnot).
Dependency and package management isn't that difficult and when I wipe my hdd/ssd it usually takes me some 30 minutes to get my generic environment bootstrapped and up to date (with a mixture of shell scripts and brew install `my-package-list.txt`). After that, each project takes few minutes to download all deps/libs with some dependency management tool.
Just the same way I would imagine that you've got your oh-my-zsh config version controlled (speaking of oh-my-zsh, I'd like to also mention prezto[0]!)
Because something always breaks and then you are in a world of pain as in this XKCD about setting up dual-booting with BSD http://xkcd.com/349/
Now I destroy and recreate as often as feasible. Never go more than a 9 months w/o a rebuild.
You will have to, and sooner than you think. Hard drives do not last forever.
That's why instead of hoping to never reinstall an OS again, i decided to embrace OS installation and do it often, from scratch. This means:
- Reducing tweaks to the only necessary ones. - Keeping a "how to install" text file in bitbucket. - Having my home folder under git.
To be honest, everytime I install a new Ubuntu a cry a little, because they are going the wrong way. But I still reinstall regularly (every 6 months) and keep my "how to install" file up to date, so I only have to copy paste some commands and follow some step mechanically.
If I'm doing excessive amounts of stuff in the shell, I'm doing something wrong.
Unfortunately as a piece of hardware it seems to me virtually unrivalled, the latest internal components are available to new machines promptly, they have great displays with loads of real estate, long battery life, very good manufacturer support and the 13" is a superb, thin form factor for travelling with.
I run a cluster of Linux VMs on it using vagrant so it's just my browser, IDE and compiler to worry about (which being a Java dev isn't the big deal I'm sure GCC is). But I sorely long for a Debian based Linux desktop and package manager on the host. Every new macbook I get I try and install Linux and every time it's unfathomably painful, even when it works the experience is so poor I'm forced to abandon it.
But what other mobile kit is out there, built to the same standards?
What you will find is a lot of people repeating the claim about Apple hardware and the OS. A belief based it seems on one fact - they are happy with their Mac and haven't used anything else for ages, so how can other computers possibly be as good.
We know also that the glowing Apple logo proudly displayed by too many DJs, speakers at conferences, and certain movies and TV shows, is an effective marketing campaign. Ever-present, hitching a free ride on whatever is taking place on stage. This matters, it's not like a Marshall logo on speaker stacks, it's more prominent, center stage, often the only light source in frame.
I wish more presenters and performers opted out of the glowing marketing campaigns of the equipment they use. The brand of your equipment is not the reason why you're up there presenting.
I find the logo and "sameness" rather embarrassing, but it seems to be the only game in town. Please do link me to a $1200 non-Mac laptop with a high-res 15" screen, thin form factor, and nice trackpad.
The cheapest high-res/HiDPI/Retina 15" MacBook costs $1999, not $1200. The baseline 13" rMBP costs $1199 after the education discount though[1].
[1] By the by, if you order from the Apple Online Store in the US, you can get the student discount no matter what. There's no verification of any kind (like to possession of a .edu address and what not): http://store.apple.com/us-hed
This. It looks like everyone is happy to promote the Apple brand on top of themselves. For free.
A bar graph comparing failure rates among manufacturers appears on page 6. Asus and Toshiba represent the top tier, but Apple's better than average and not far behind them.
That said, I think much of the "unrivaled quality" that many perceive in Macs has less to do with failure rates and more to do with the details - MagSafe power adapters, fantastic trackpads, the general lack of crapware; all these details come together to give an overall impression of a more put-together piece of electronics. This is coming from someone whose first act upon firing up a brand-new Mac is to stick a copy of Windows on it. (Nuking the price advantage I'd otherwise be getting from going with Macs in the process.)
The CF-53 features a hardware on/off wireless switch, magnesium alloy casing that you can jump on, port protectors that fight dust and debris, and a keyboard that is to die for. The tactile feedback on the keyboard is absolutely incredible. It is the best laptop keyboard man has ever devised.
I hear it all the time, that Macs are the highest quality money can buy, but compared to what? Compared to cheap, plasticky crap run of the mill consumer Windows laptops from HP? Yea of course, get a Macbook there's no doubt.
But compared to a Panasonic? No way Jose, Panasonic makes better quality hardware that lasts longer and will take any abuse, which is why you'll read reviews by armed forces deployed in the ME use who recommend Toughbooks over competing ruggedized machines, including machines made by military contractors like General Dynamics.
You can spill water all over the 53, and drop it to the ground from three feet. Order one with built-in GOBI wireless card or GPS to make up for the bulk. Buying on ebay is commonly done to obtain toughbooks on the cheap. They last forever anyway, and they are often dumped on the market en masse once off of corporate and government leases. I would take my whatever-priced CF-53 with 10,450 operating hours over a brand new $1200 Macbook or brand new $1800 plasticky feeling consumer Windows PC without hesitation.
The only other laptop I'd consider buying for a mobile workstation is a CF-52, and only because it offers a higher resolution display and a higher performance GPU.
1: https://github.com/atweiden/pacstrapit
2: http://forum.notebookreview.com/panasonic/462491-robs-rant-r...
Even for the clothes, the only logo I occasionally have printed on my clothes is the logo of my employer on a clothes provided by them for free. That much advertising is acceptable for me.
Actually, same goes for macs. I always find it funny that in TV shows the logo is covered up even though everyone can clearly see they're using a mac.
I spent a lot of time fighting the proprietary thing. It's a noble effort, but I realized after years of sub-standard drivers, laptops that don't turn on when you open them, cpu fans buzzing out of control, etc, etc, I'd rather spend my time doing things instead of screwing with things.
Linux is great, I love it on the server and pretty much use it exclusively there. But I haven't seen any laptop manufacturer come close to building any laptop that's close to a Mac laptop. When you start off building based on cost vs. based on function & product, then you're always building something sub-standard. It may seem like indulgence, but no one makes unibody laptops but Apple. No one can.
I spend my days working on a beautiful machine that functions how I expect. I fiddle with very little, don't have to worry about upgrading or tearing anything apart and just focus on getting the things done. You can do this on Linux too for sure, but I feel like for me, the Linux desktop on crappy hardware is not fun or satisfying.
I have a Retina MBPro with 16GB of ram (soldered) and I couldn't be happier. In a few years when I want a laptop with 32gb ram, I'll give this one to a friend or family member and buy another one.
You left in '04, this nonsense ended in '06, '07. Partly because no one is really changing the hardware much, partly because we have first class support from Intel now.
- Are you claiming that the specs match a 13" MacBook? If so, you must realize that it's possible to have a poor experience even with the same technical specs.
- I haven't heard good things about Lenovo's non-ThinkPad laptops. Has this changed recently? Do you have something (a review perhaps) to backup the idea that anyone should seriously entertain this laptop as a legitimate choice?
Yes, I use it daily. There are a few issues but overall it's awesome:
1) The wifi driver is fairly new and hasn't been ported to BSD yet so you must use Linux (most want to anyways).
2) HiDPI support is not great among the various DEs, but Gnome 3 and Unity are both pretty good. Some applications are not so great though, Chrome in particular.
3) This computer has a touchscreen and that works at least in Gnome 3 but there's nothing like the Windows 8 metro interface on linux. So you kind of lose that really nice feature.
> Are you claiming that the specs match a 13" MacBook?
Perhaps not the brand new Macbooks but the ones that were its peer, yes.
> I haven't heard good things about Lenovo's non-ThinkPad laptops. Has this changed recently? Do you have something (a review perhaps) to backup the idea that anyone should seriously entertain this laptop as a legitimate choice?
Lenovo is a big company, they release everything from cheapy laptops to high-end Thinkpads. This is their Ultrabook (Thinkpads are not ultrabooks) and those are generally high quality, this one is as well.
*based on the context of this thread, I should mention that while he is a technical person, he runs Windows and does not attempt to run linux or anything else natively.
It was the first lenovo I owned, as it nears 4 years of usage, I'm only now starting to look at replacements, and I think I could definitely get away with using this for another few years.
All the things I'd learned to work-around, suddenly became non-issues, and all of a sudden I had a real window manager again.
You are absolutely correct when you say that everything is 'not-quite-right': package managers are absent by default; Linux tools are sometimes hackily modified to work on Mac; additional tools have to be manually downloaded.
It's possible and the interface is generally fairly slick but everything feels like a hacky solution to a problem that is just not there with Linux.
It is not, by definition, an "optimal for task" desktop.
I've used OS X off and on for much of the past decade. It's not a serious productivity platform.
To whom? If your customers are Mac users, it sure is.
When it comes to Apple's hardware/software combination, I'm sometimes surprised by how Linux compares really poorly in my experience. Weight and form factor aside, the trackpad on my Thinkpad is awful. Really god damned awful. And I wouldn't usually complain much about that, but the other fact is that the TrackPoint nipple is probably equally as bad in build quality and when you move the pointer a bit, it seems to get stuck and continues to move your pointer until you rub that nipple left or right. The sensitivity of the TrackPad however, is a disgrace, and the minimum jump seems to be something like 10 pixels, on a 12.5" screen. That's very choppy.
So: when I'm on my Macbook, I miss the trackpoint. When I'm on my Lenovo, I miss the Mac's multitouch trackpad, and a better trackpoint.
Software will improve the experience, but better hardware has to come with that, in general. When it comes down to it, the best quality you'll get out of your money will probably come from a Macbook (throwing in the form factor if it's to your taste, which adds points), so developers end up going for the better hardware, the better user experience, and hey, it happens to come with OSX, which without much effort has this really usable development environment, unix utilities, etc. Good enough, I'd say, given what the alternative usually is. And I still develop on Linux most of the time.
Back in the day, IBM made some good hardware. The Trackpoint was one of the things they made that were cited as examples of good engineering. Specifically, it was designed not to do what you just described.
The other benefit of nubs was that not having a huge touch pad at the bottom of the laptop let them bring the keyboard much closer to the edge, where (like a regular keyboard) it is much more comfortable to type on. Since modern Thinkpads include the touchpad anyway, you have no choice but to hurt your wrists constantly for the sake of a device that (if you're like me) you completely disabled in the BIOS because it just got in the way.
You can click, or emulate a double click with two fingers. No third button emulation that I have worked out (and no, using your other hand on the keyboard does not count). As far as I am concerned that is a big disadvantage not having the paste buffer functionality available for the track-pad.
BTW, having only ever used thinkpads with disabled trackpads (I agree they suck on thinkpads), how do people not touch these with their palms all the time by accident?
There's "brew cask" for that! (http://caskroom.io/)
I also don't like the way closing all the windows of an app doesn't necessarily quit the program. To close a program completely, you often have to press command-Q, or right click the app and quit it that way. I've used a mac at work for years, so I'm used to it now, but it still seems unintuitive and awkward.
Not to mention the poorly featured Finder and Terminal applications. Yes, you can install 3rd-party replacements, but the defaults are pretty woeful.
Lately, I started using a linux vps as my development environment and it's so much better. It's worth switching just for a good package management system.
… really.
- do you work on graphic files ? will you use Photoshop ?
- how do you communicate with your clients/peers ? (would you just refuse a MSWord or Excel doc for instance, if it didn't render properly ?)
- do you have to deal with specific hardware ? (for instance, Blackberry phones)
- do you have to debug websites or other apps on iOS devices, anything mac related ?
All of the above seem non trivial, while potentially critical depending on what you do. I think it would be interesting to know where you are on the spectrum.
Dell Precision, HP mobile workstations and rMBP -- the Mac is the cheapest. Now I regret it a bit as the cooling of rMBP is quite bad compared to the other two, but at least it's slim.
There are lots of people carrying Macs, but since the games industry is strongly Windows focused, those Macs are actually running Windows on them.
As for the UI, until Mavericks I think it was behind the last stable Gnome 2 release. Now it is ahead in some areas but still behind in others.
Finally, Ubuntu continually screwing up things like audio support or ruining areas of the UI (ironically to make them more like OS X) also helped me make the switch.
I don't consider OS X to be a development environment for serious development. I do consider Linux and Windows to be real dev tools.
You are indirectly saying that people doing development on OSX are not 'serious developers' or at least are not doing 'serious development.'
[ What is the difference between 'serious development' and regular development anyways? I'm pretty sure that Apple employees aren't developing iOS and OSX on Windows or Linux. Do you not consider systems-level (building an operating system) development to be 'serious'? ]
It's really easy to get caught up in the SV culture, but it's by no means the rule. There's millions of developers out there whose code is never made public, writing Java, .NET, C, C++, Ada, Fortran, and other languages that HN would regard as obscure, niche, or dead. They're consulting or working for small businesses, medium size businesses, enterprises, local, state, federal governments.
I don't know if most of them use Windows, but it's definitely a hugely substantial fraction. It's not a small minority.
Where I work, it's a 50/40/10% split between Windows, OS X and Linux as our DE's, though most of us run a Linux VM for the development server to run on. Makes life easier that way, and with Vagrant we're all running the exact same environment, despite differing opinions on how to do things!
If we had to target UNIX systems, the development was done via XWindows or telnet/ssh to common build servers.
Having said that, I need a terminal (iTerm2), a browser, and a packet manager (homebrew), and I'm happy. I assume build issues would happen on Linux too, and they would probably be harder to resolve (more versions of the OS).
This allows developers to experiment with different paradigms with regards to the GUI, see for example the popularity of tiling WMs on Linux. (i3 has my preference, others swear by xmonad).
I know it is possible to change window managers for Windows and OSX as well but the experience is just not the same.
I used to love KDE, then they messed it up with KDE 4. Moved to Ubuntu / Gnome. Then Ubuntu screwed it up when they made it all Unity based. Screw that, I was happy working the way I was without to much shiny. Now using XFCE, and its refreshingly simple.
I switched over to XFCE for a while, until finally settling on i3. I'm perfectly happy with i3, and even if KDE pulled their heads out of their butts, I doubt I would go back.
That's a fairly large assumption to make based on your admitted lack of experience.