Ask YC: Why do you recommend a Macbook?
I started my programming love life with Apple //c. After that, I've mostly used relatively inexpensive laptops running Linux / school PCs.
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.
117 comments
[ 35.7 ms ] story [ 1021 ms ] threadbig no is battery time.
I don't think you're missing out on too much if you primarily code.
The plastic case on the MacBook isn't the strongest, though.
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.
@robmnl: Expose functionality is built into compiz-fusion, and Linux users have been enjoying virtual desktops for god knows how long.
i'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.
http://www.notebookreview.com/assets/15839.jpg
In general expect to spend a good amount of time reacclimatizing on keybindings when going from PC to mac worlds. I find myself constantly guessing what modifier (shift, fn, cmd, ctrl, alt) to replace in this keybinding to get it to work.
the app is AutoHotkey: http://www.autohotkey.com/
and the script is:
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
It is fast and reliable. It is portable. I would pay double the price for how great it is.
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.
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.
http://www.dell.com/ubuntu
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.
If, on the other hand, you relish the ability to open things up and hack on them if needs be (whence "Hacker News"), then the extra effort 'fighting' with Linux is often time well spent. It's a good feeling to know a system from the ground up, or (as is the case for most of us), at least be able to figure out bits and pieces from time to time.
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.
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.
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.
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. :)
== swapping ctrl/caps lock ==
* on osx *
http://ella.slis.indiana.edu/~jfieber/osx/ -- i believe i ended up using ucontrol.
* on ubuntu *
go to System/Settings/Keyboard Preferences (xmodmap is still there if you're so inclined)
also, off the top of my head, it was a pain to:
1. add widgets to the menubar (on ubuntu i just add it)
2. rsync backups to an openbsd server because of the hfs+ tags
3. changing the buttons in Mail.app -- they were horrible
4. shutting down spotlight (can't even remember that one)
5. verbose booting
6. and my personal favorite: getting a cd out of the player when the power is off.
There are answers, I'm sure, to all these questions but you have to figure it out.
-utx
ucontrol, and fkeys let you do that. both seem to be unmaitained though.
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.
http://www.news.com/8301-13580_3-9849949-39.html
for gaming you need to plug in a mouse anyway. otherwise occasional ctrl-clicking isn't hard, nor is the 2 finger thing.
cheers.
Never before were nerds that excited about recompiling the kernel.
( geeks are nerds who can get laid ;) )
People said, "you'll never run out of memory!"
Great machine, though. Hacked some assembly for the 86000.
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.
http://www.jwz.org/hacks/emlx.pl
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.
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.
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.
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.
I'm about to buy a Macbook Pro last-gen and I just thought that was weird!
- An apple interface (streamlined and beautiful).
- Awesome performance/security/organization of unix.
http://www.techworld.com/security/news/index.cfm?newsid=1798
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).