Live data from Hacker News

Hacker's Guide to Setting Up Your Mac

lapwinglabs.com

21–30 of 267 posts

Re: Hacker's Guide to Setting Up Your Mac

#21
post #13

My stumbling block is always that I start with macports, which requires Xcode, which requires logging into apple, app store, long download, long install ... Do I understand that brew does not require xcode and I can jump straight from a new machine to `brew install git` (for instance) ? If so, why does anyone use macports over brew ?

pretty sure homebrew automatically downloads command-line tools during it's setup, then it will warn you if packages need the full xcode installation.

Re: Hacker's Guide to Setting Up Your Mac

#22

Earlier quoted context omitted.

You can download the command line tools directly, you may need to be a registered Apple dev first though

You don't, just run xcode-select --install And it'll prompt you to install the command line tools.

and, in my experience, fail every time you try to do it.

Re: Hacker's Guide to Setting Up Your Mac

#23
post #6

Step 1. Install linux

I get the joke, and it was the first thing that popped in my head too. But in all seriousness, OS X is Unix as well, and can do pretty much any Unix based task that GNU/Linux can. Sometimes the best tool for the job is the one you already own.

Maybe it's less about Unix and more about FOSS for jug5.

Re: Hacker's Guide to Setting Up Your Mac

#25
post #6

Step 1. Install linux

I get the joke, and it was the first thing that popped in my head too. But in all seriousness, OS X is Unix as well, and can do pretty much any Unix based task that GNU/Linux can. Sometimes the best tool for the job is the one you already own.

BSD differs from Linux in some important ways. If one of those differences affect your works, than Mac OS X is useless, even if it is Unix (and Linux, some would say, isn't)

Re: Hacker's Guide to Setting Up Your Mac

#26

I would also highly suggest installing curl via homebrew. The version that ships with OSX 10.9 has some broken features that might bite you. http://curl.haxx.se/mail/archive-2013-10/0036.html

Did I miss something or does Chrome use the Keychain?

Chrome uses the Keychain for passwords, but it handles certs itself AFAIK.

Re: Hacker's Guide to Setting Up Your Mac

#27
post #24

A great alternative to Homebrew is pkgin because of it's speed and the amount of packages available in pkgsrc. More info here: http://saveosx.org/

This is the work of Jonathan Perkin (from joyent): http://www.perkin.org.uk/

It's great. It really is. I never understood why it's not used by more people. Homebrew is simply awful.

Re: Hacker's Guide to Setting Up Your Mac

#28

Earlier quoted context omitted.

I get the joke, and it was the first thing that popped in my head too. But in all seriousness, OS X is Unix as well, and can do pretty much any Unix based task that GNU/Linux can. Sometimes the best tool for the job is the one you already own.

BSD differs from Linux in some important ways. If one of those differences affect your works, than Mac OS X is useless, even if it is Unix (and Linux, some would say, isn't)

"Useless" a strong word for a simple difference between two Unices that affects your work. You could just as well say Linux is useless because sysvinit and upstart aren't the same as launchd.

Re: Hacker's Guide to Setting Up Your Mac

#30
This "cool hacker settings for your Mac" script turns off your laptop's power saving features (sleep, display dimming, hibernation even though sleep was off(?)), removes at least three kinds of backups for data loss (MobileTimeMachine, Resume, hibernation file), and changes AppKit settings in a way your customers will never be using (by turning off Automatic Termination, which is pretty harmless).

Please don't run scripts like this, unless you promise not to post about how your untested configuration is so unstable and has such bad battery life after an OS X update.

Post reply on HN