45 points · by kirubakaran · 18y ago · 113 comments
But I am seeing almost all 'budding hackers' nowadays coding on a Macbook/pro. Startup School is full of Macs!
pg said that Mac lets him drag and drop code from vim to repl - and he was very happy about it. Is it little things like that or is there a cumulative reduction in friction everywhere that justifies the bigger price tag? Is customizing a Mac easy or do they throw arbitrary hurdles at you like with the iPod/iPhone?
I currently run Gutsy on Lenovo T61 for dev. I don't want to miss out on the Mac if there are significant advantages.
I love both of them, but my vote goes towards Ubuntu/Linux (and I mainly code on ThinkPad) for three reasons:
1. Most hackers' software is native on Linux, although nearly all of it exists for OS X. But nothing beats Debian/Ubuntu's aptitude: nearly everything imaginable is a few keystrokes away: can installed and pre-configured in seconds. And guaranteed to "just work".
2. Apple's hardware is no match to IBM's. UltraNav combo kicks ass, and I feel crippled and slowed down when using a touchpad of other laptops, including Apple's.
3. Linux is more flexible. It's not the "sysadmin carp" that some people from the 90s complain about, it's genuine flexibility that comes with choice. There are many more different terminal apps, different ways to manage workspaces, various window management plug-ins, screensavers even! OS X is more commercialized.
Besides, I dislike some of Apple's software. iTunes is number one on my hate-list. :-)
Agreed. It'd be nice if there's an up-to-date binary repo of MacPorts packages. Flint has apt-get for binary packages, but a lot of them are pretty outdated.
@robmnl: Expose functionality is built into compiz-fusion, and Linux users have been enjoying virtual desktops for god knows how long.
I don't use Linux because I no longer enjoy doing sysadmin crap. I also like the MacOS UI.
And you can get an Ubuntu machine from Dell that is very well supported.
I wouldn't recommend it to my parents, just yet (they're happy with OSX), but I wouldn't hesitate to recommend Dell+Ubuntu to people here. It might not be as sexy, but it's a setup that works pretty well. I had a tibook a number of years ago, and while it was certainly a beautiful machine that got lots of looks, in the end, I'm just as happy with my ugly clunky (but cheap and well supported) Dell.
It was pretty cool to get it, open it up, and see it boot Ubuntu. I admit I did have to tweak it just a bit (about 15 minutes of googling and config files), but I think it was one of the first ones, hopefully they've gotten even better. I chatted with some of the guys working on it at OSCON last year, and they wrote down a few of the bugs I had found.
I'm not saying the mac doesn't need any administration -- I'm saying that it's a lot less, and it's less annoying. I haven't ever had to recompile my darwin kernel nor sit around tweaking DMA and PIO settings.
Overall my opinion of macs is that they are excellent for beginners, and for looking cool in the cafes but for me it simply didn't make the cut for serious work.
I don't code, but work in outlook, excel, word and a browser. This might make make a difference.
This is two years ago and things might have improved. But the ports system did not have that much software, I didn't like the feel of the keyboard, it's a huge heat sink (and then in cold NY mornings it would be cold to the touch when I started it), I didn't like the anti-alising, I didn't like the default terminal program (and couldn't be bothered to get a new one ... that was the point of getting a powerbook in the first place - all the supposedly annoying sysadmin things I wouldn't have to do). java support was horrible too (that might be better - and besides this is not a java crowd)
I didn't like all the proprietary formats for iphoto, and itunes either.
oh and yeah. I have a lot of mail. The import into Mail.app took days. It was ok after that. But once again, the mail files use a proprietary tagging system to know when mail is read and what not. It wasn't fun porting that back to maildir.
try ubuntu. you might like.
I'm actually dual booting w. windows and Ubuntu to try it out. And I like it.
I guess that's just another example of just how much Steve Jobs hates buttons.
Also, not including the keyboard, the MacBook Pro has 3 buttons-- the mouse button, the power button, and the battery indicator button.
Hardware aside, the real reason you should switch is OSX and the applications around it. Stuff just works. Sounds like a marketing message but its true. You can focus on accomplishing the task rather than wrestling with shortcomings and crutches of the environment. Application developers on the Mac also have the philosophy to integrate with existing services as much as possible, which makes a huge difference, because most of the stuff you use is able to talk to each other. Compare that to Windows where every application/service is its own island.
Imho, OSX is by far the best platform out there right now bar none. It's amazing to see how even non-hackers are blown away once they switch.
You should too.
I believe that Macs are awesome. I want one! But the same price argument doesn't fly. When I bought a new laptop about a year ago, I ended up with a Dell 'cause the same spec'd MBP was double the price, and I couldn't justify the expense. Having a quick look on the respective web sites, that is still roughly the case today. That makes for a pretty expensive OS.
your dell is fine.
1. Still fairly bad video hardware support. I spent two hours helping a buddy set up a mid-range ATI card recently, and we couldn't get full acceleration to work. The configuration just plain sucked.
2. Fonts in the X environment are so ugly that I can't stare at an editor window full of code. Good fonts are rarely open-source.
Ubuntu is nice, but it doesn't come close to the experience of opening a box, pushing the "on" button, and being able to start working right away.
2. it's not the fonts. check this out: http://ubuntutips.net/node/10.
in a nutshell, just put <match target="font"> <edit name="hintstyle"> <const>hintslight</const> </edit> <edit name="autohint"> <bool>true</bool></edit> <edit name="rgba"> <const>rgb</const></edit> <edit mode="assign" name="hinting"> <bool>true</bool> </edit> <edit mode="assign" name="antialias"> <bool>true</bool> </edit> </match>
in your ~/.fonts.conf file.
you won't believe your eyes. try it. :)
the rest of the manufactures are behind mac in display tech.
i ended up going with a dell precision because of dells support for ubuntu, and i could get better hardware than the mac for $1000 less, with a 3 accident warranty. So basically for $2500 i have a machine that is faster, and will be replaced for free in the 3 years of its useful life, for $1k less than a mac book pro. in the end i could not justify spending $1k for an operating system. $250 maybe.
I was looking at macbooks, but did not see one that had a 15" screen that ran 1920x1200.
I went with a Dell D830, for the 15" WUXGA screen and for the clit mouse (since I find trackpads distracting and less precise than the TrakPoint thingie).
I'm (more or less) happily running Kubuntu on it.
cheers.
Never before were nerds that excited about recompiling the kernel.
1. Stuff that I need to get done just works (e.g. sync my Bluetooth phone to address book, hook up to wireless networks, do backups)
2. Aesthetically pleasing. Don't discount this when it comes to hackers... we like elegant code and machines.
3. Unix underneath... no loss of power.
I cannot emphasize enough how useful sleep is. I go to the library, open it up, start working, close it. Move to another desk. Open it up, start working, close it. Go to the coffee shop with friend. Have a tea, then open it up to show him a plot from the hw, bring up the plot (without waiting for it to restore...), show buddy, and close the lid again. All this happens with minimal battery loss.
That is the biggest reason i love my powerbook. If I was going to get a "windows" laptop, I'd get a thinkpad and put ubuntu on it.
I've noticed both Apple and IBM/Lenovo dropping in quality over the past 10 years or so. I have a Thinkpad 600X from 1998 or so - it's made mostly of carbon fiber, with a rubber coating. My Z61m is made mostly of cheap plastic, though it does have a metal frame and titanium lid. Apple uses either polycarbonate or aluminum, but seems to have a high rate of logic board failures. I'm not a huge fan of metal on the surfaces of a laptop that come in to contact with my body during use either - it transmits heat.
People said, "you'll never run out of memory!"
Great machine, though. Hacked some assembly for the 86000.
When I'm at work writing code, it's 98% Linux, with occasional compatibility testing on a Mac or Windows system. Apache, Vim, Ruby, and PostgreSQL all run just as well on Debian as they do on a Mac, and a lot of other packages work much, much better -- plus, they're just an 'apt-get' away.
Separation between line editing commands, and GUI commands.
It is very simple. What happens on Linux when you are in Thunderbird and you do "^a"? It selects all! What happens when you do that on the command line? It takes you to the beginning of the line! Why a different experience for the exact same universal command?
On a Mac, "^a" always brings you to the beginning of the line, whether you are in Terminal, a Safari text edit box, a Mail email message, etc. "command a" always selects all, whether you are in Terminal, a Safari text edit box, a Mail email message, etc. The same goes for "^k", "^y", "^e", etc.
Cocoa uses basic Emacs bindings, and the user experience because of it is hands down better. I drove myself nuts on Windows for 3 months, then Linux for 8 until I told my employer that I either get a Mac or I leave. They gave me a Mac. My hands, brain, productivity, and my employer are all better off as a result.
I went for MacBook because it is painless to add memory and upgrade disk. And I don't mind its less than perfect graphic performance and display because I use external LCD monitor when I can. It is smaller in size and light in weight so it is easier to carry around and it is 50% cheaper than MacBook Pro. I get what I paid for but also a little bit less hassle to mod it.
- A solid GUI on top. Everything is largely cohesive. No half the apps running KDE themes and the other half of the apps running Gnome themes.
- Better supported by hardware and software vendors than Linux.
No need to mess figure out wireless, Bluetooth, power management, sleep/hibernate multi-button mice, free vs non-free drivers, multi-monitor mirroring/spanning etc issues. It all pretty much just works.
Someone said since this is "Hacker News", you shouldn't mind spending some time figuring it out. Bullshit. I don't have enough time to hack the stuff I want to hack, let alone the minutiae I don't want to hack.
I work with Linux all day. I don't feel particularly enlightened by knowing how to config X by hand (I am quite excited that we're past that point now) and how to use multiple mouse buttons with imwheel.
I'm about to buy a Macbook Pro last-gen and I just thought that was weird!
I don't have a Mac but do think they're cool, hardware that works, OS that works, but I'd be concerned about the lock-in that comes from using proprietary software that comes with it; such as managing my 12GB photograph collection.
pg said that Mac lets him drag and drop code from vi to repl - and he was very happy about it
you can do that on any OS with the GUI shell for Vim (with Vim running in Vi compatible mode if that matters) [edit]: actually it doesn't look like it's possible. i could have sworn it was though <.< my badi'm guessing the iPod has something to do with macs becoming more popular
I am running GVIM (I am at work so I am on Windows). I am trying to drag and drop a block of code to Python REPL. It is not happening.
the app is AutoHotkey: http://www.autohotkey.com/
and the script is:
#SingleInstance Force
#Enter::
SendInput mr^a ;mark current spot in register r and select all
Sleep 20
SendInput ^c{Esc}``r ;copy, stop selection, return to spot
;if we have a REPL already, use it. otherwise start a new one
IfWinExist, Arc REPL
WinActivate, Arc REPL
else
start_arc()
MouseClick Right, 50, 50 ;open context menu
SendInput p ;p for paste
exit
start_arc()
{
Run cmd /k cd "c:\\documents and settings\\blahblah\\desktop\\arc2"
Sleep 100 ;wait for the cmd window to show before typing
SendInput mzscheme -m -f "c:/documents and settings/blahblah/desktop/arc2/as.scm"{Enter}
Sleep 200 ;wait for title to change
IfWinExist, C:\WINDOWS\system32\cmd.exe - mzscheme
WinSetTitle Arc REPL
}
it's pretty simple. as you can see, it's for Arc, and it's setting a script to windows key + Enter. if you're editing some code in Vim, hit the hot key (when you're in command mode) and the script will ctrl+a -> ctrl+c the code in Vim and right-click paste it in the REPL. if there isn't a REPL open it will first open one and then paste ityou can make modifications such as only running what you have selected (would work well with visual modes,) only running the current paragraph (using the parentheses commands in Vim,) running what you have copied (i.e. Run-from-clipboard) and so on and so forth. you can also have a little window pop up where you can type some code and have it execute etc etc
big no is battery time.
I don't think you're missing out on too much if you primarily code.
2) Great UNIX implementation.
3) Great file/user/permission organization.
4) Super-easy backups, with no command line switches to remember.
5) Since I have a Mac, my boss steers me toward fun projects like getting started with iPhone development.
6) Feeling of investing in myself, making a commitment to getting a lot done. Turns out the Mac helps a LOT with that.
Plus, the size of the macbook is perfect when it's not your primary computer. It's the best piece of hardware I've ever owned.
It is fast and reliable. It is portable. I would pay double the price for how great it is.
for gaming you need to plug in a mouse anyway. otherwise occasional ctrl-clicking isn't hard, nor is the 2 finger thing.
The plastic case on the MacBook isn't the strongest, though.
- An apple interface (streamlined and beautiful).
- Awesome performance/security/organization of unix.
http://www.techworld.com/security/news/index.cfm?newsid=1798
Coming from a long Linux history dating back to mid-nineties, I have used Macs for about three years. My first was a Powerbook P4 and now I've had my MacBookPro for about two years. Now my next laptop is going to be a Linux friendly non-Mac for running Ubuntu exclusively.
I liked the smoothness of OS X and how it all fits together. Then little irks surfaced: there's no decent system for installing/uninstalling applications, and absolutely nothing compared to apt in Ubuntu/Debian. Back to manual installations and manual upgrades. Ok, it was the Mac way and I adapted. Though, I started to avoid large software installations because upgrading turned out to be a real hassle. Uninstallation was different every time: it wasn't even as straight-forward as the ad hoc uninstaller mess in Windows. At least you can invoke that from one single place which helps in trying out applications.
DarwinPorts was easy but took forever to source-compile even the first installations of some essential applications, so I never upgraded them unless I had to. And I couldn't find everything I wanted from DarwinPorts. And it conflicted with some existing unix system software.
Luckily, I could build Emacs locally with --enable-carbon-app from CVS and at least the most important item in my toolchain worked pretty well, and looked nice.
Then various other limitations started to kick in. No decent terminal that could use the left Apple key as meta. Nothing major, but it really killed my thumb. Luckily I could configure carbon-Emacs to work like that so I started using terminals inside Emacs buffers... In a way I was in no way against that.
Eventually crappy window management started to stress me. I couldn't get my highly desired focus-follows-mouse from anywhere (or by installing any 3rd party utility!), or even keep certain windows on top while typing into a lower window. But I adapted and changed my working habits, trying to compromise with tricky virtual desktop configuration (with VirtuaDesktop or something).
Then utf-8 filenames between Linux and OS X turned out incompatible: Mac normalizes them and Linux doesn't. Boom, lots of problems with my version control running on a Linux server when filenames changed by themselves. I ended up renaming some of my essential files to plain ASCII, but I really didn't like the way where I was going.
And I don't even want to start with FileVault whose only purpose seemed to be corrupting my files and making logins take like half an hour after reboots. It may work for a few dozen Word documents and some configuration files but putting a heavy home directory of several gigabytes on it just doesn't work.
Eventually, the best desktop Unix didn't do unix for me well enough. I was basically having a huge hassle trying to run on OS X the applications I'd run on a Linux system. There was the desktop which was pretty worthless given that I couldn't run my stuff as easily as on Linux/X11. And try compile ogg123 on OS X! It worked on the P4 (Panther) but I never found a good binary nor working source code for MBP (Tiger). How's that relevant? The answer is cplay, the ultimate mp3+ogg+mod+sid player for any decent unix. Cplay is compatible with my directory-rather-than-id3-tag based music collection and it supports these exotic like playsid and mikmod players. I never got it fully working on OS X.
There was a pivotal issue, which I can't remember now, but which caused OS X to start sucking so badly that I installed Refit and put Ubuntu Dapper on my MBP at once. It had something to do with some bizarre software restrictions imposed by the OS X.
I had the usual hassle of configuring the Linux to work on the relatively alien Apple hardware but it took a day or two and then I had a Linux system that could hibernate and sleep just like OS X. I didn't compile a kernel for that, FYI. And at the same time I had all my good old applications working out of the box from Ubuntu's apt repositories. Installing the essential packages was a breeze and I got mostly the same desktop back that I had abandoned 2-3 years ago. System maintenance and hassle went immediately to zero. Filenames started working again, cross-installations. The unix had returned. Funnily enough, the same hardware has worked flawlessly for almost half a year now, running Linux. Sure, some parts don't work. Webcam - I don't need it. Most notably the fglrx driver sucks, failing at suspend/hibernate. I have to run Xorg with vesa and that doesn't give me 1440x900 but 1152x864, but it's still good enough.
As a reply to the OP: I don't know. Your mileage will vary: you won't miss out on the Mac unless you try it first. Then decide.
Why hack on a laptop? Why not use a desktop that's much cheaper, much more powerful, much more reliable, and easy to fix in one day? You can get two for the price of a new laptop.
If you're on the road with sufficient frequency that you actually need a laptop to work then you're probably a salesman or manager, not a hacker.
I can get to all my data from any machine: everything is on the web or accessible by ssh. I don't need to lug one with me. Paper works fine for the occasional six hour period away from a machine.
I do have an old laptop I sync to my desktop with unison to use on the road when need be, but that's just not very often.
This is high level design, no? It works fine on paper/white-board. You sit alone to refine it and do any implementation. You pair program on one machine if someone is clueless and being ramped up.
IMO:
The best of apple laptops: (1) long battery life, (2) bright screens, (3) very comfortable keyboards -if you remap the apple keys to control.
The worst of apple laptops: (1) they get burning hot -even new macbook pros; (2) the spinning beachball (of death) can get to your nerves -too much swapping; (3) their sharp edge will hurt your wrists -as opposed to a smoothened, curvy Thinkpad T60 (my current).
for the unixy stuff, macs do a good job, but they don't blow linux away
macs make lots of stuff more convenient. customizing is no problem for anything especially important. you can also download stuff to change, say, the builtin Dock, if you want.
i strongly recommend a mac. but consider a macbook (not pro) if you're worried about price. pro only has a certain limited set of advantages you might not need.