Ask HN: Just bought my first Mac. What should I know?
Today is the first time I get to touch a MacOSX machine, on top of that I get to do it on a wonderful newly purchased Macbook Air. This after using Linux for the past 10 years. The world is shining with glowish colors of joy today.
What should I know, both practical and ethical/cultural about my newly chosen eco/techo system?
39 comments
[ 95.4 ms ] story [ 828 ms ] threadIf it doesn't recognise a name or command, it'll default to giving options to search in Google and other search engines.
Another really useful feature is typing an arithmetic expression and it being calculated for, which can then be copied to keyboard by pressing enter. I use this feature a lot.
I think there are a lot of other things I could learn about Alfred myself but it's probably my most used tool! There's also a premium version with more features but I haven't looked into it much.
I know there's Quicksilver and spotlight but Alfred is much quicker and smoother for me.
However I still miss the sexiness of Quicksilvers UI.
http://mxcl.github.com/homebrew/
You'll probably run across a lot of web sites recommending older package managers like MacPorts and Fink, just because they've been around for a long time.
YMMV, but I (and many others) find Homebrew superior in every respect.
This means that if apple changes the binary in the OS, you don't risk breaking the dependency tree.
If there's a way to do this in homebrew, please let me know! I'd like to switch over, and this is the one thing keeping me with macports.
Make sure to install XCode from the App Store and then goto XCode->Preferences->Downloads and install the "Command Line Tools".
Is this documented somewhere or alternatively how can I inspect the downloaded archive to learn about its content?
Edit: are you using a real Apple keyboard?
- You can move a file, just "copy" and then press option when "pasting"
- Command + Delete is deleting a file (del on windows)
- Rename file is Enter (f2 on windows)
- Command + tab actually works as intended
- Fn + Delete = del key
- Home, End, Pg Up, Pg Dn - different, you'll get used to it
- Learn Vim and Linux, as you'll use the terminal a lot
- Installing stuff is a bit weird - dragging the icon to the Applications shortcut, dmg files basically look like a virtual "drive" that you can eject
- No easy way to maximize a window, really, you need a 3rd party app
After getting used to the little quirks, you'll get used to the stability, and speed. Windows 7 is not a bad OS, but for some reason me and my wife fight over the MacBook Air more than on my Lenovo Thinkpad...
But the point is, on Windows or Linux, they move the cursor, but on the Mac, they scroll the view but don't move the cursor. Home scrolls to the beginning and End scrolls to the end.
On the Mac, to move the cursor by larger amounts, you combine command or option with an arrow key.
http://xquartz.macosforge.org/landing/
Also if you run "sudo fs_usage" in the Terminal you can see what is accessing the disk. This can easily show what new app you've installed is causing problems. Likewise learn about launchctl/LaunchAgents/LaunchDaemons so you can disable startup daemons.
Big tip: Make sure to add to the Spotlight->Privacy section any folders that you don't want indexed e.g. Downloads, Bittorrent Folders, External Drives.
2) For more involved OSS needs, instead of messing the system with tons of Pythons, Rubies, RDBMSs, etc, or using MacPorts, I would suggest running those environments in a VM (VMWare Fusion or Parallels) running Linux. It could even be headless, and you could connect to it through the Terminal. You get a development environment similar to your production setup, snapshots, etc AND a clean base system.
3) For video watching: install some "codec pack" for Quicktime (it has few built-in codecs). Also install VLC and MPlayerX. For audio, use iTunes and pay some attention to proper tagging (if your mp3s don't have it already).
4) If you start buying programs now, use the Mac App Store. You get to install the bought programs in all your Macs (if you have more than one Mac at some point), and when you clean-install your OS or get a new Mac you'll be able to download and have them installed automatically from one place.
5) Download and install XCode (this is also used by Homebrew [1]), but it will be useful for you in general if you do any programming, as it has the C compilers, headers, etc. Also install the "Command line tools" (see comment below).
6) When looking for a solution for a OS X problem, a lot of people in forums will suggest "fixing permissions" and "zapping the PRAM". Those are, 99% of the time, BS cargo-cult non solutions.
7) You DON'T need an antivirus. Just exercise common caution. It's nothing like Windows XP of times past.
8) You really DON'T need to shutdown your OS X. Maybe once in a blue moon. Just close the lid and let it sleep.
9) All OSs have problems. Especially when you include the userland programs in the possible bug space. If CPU is pegged at 100%, open "Activity Monitor" and find the culprit program and kill it. More often than not, it's Flash.
10) Check the Applications/Utilities folder. Lots of useful stuff in there.
11) Learn about the "defaults" command. You can use it to enable many hidden options and customizations from the command line.
12) If you like fine-tuning and customizing, get familiar with the /Library and ~/Library folders. It's where a lot of programs keep plugins, themes, settings, etc. There is a defaults [11] command to make the ~/Library folder visible in the Finder (normally it's hidden from the average user).
13) Check the Automator for application automation (also: Applescript). You can a lot of stuff with it, if you like these kind of things.
14) Read Siracussa's Ars Technica Mountain Lion review. All of it. And maybe a book, like Mountain Lion, the Missing Manual. You'll learn a lot of things that you will otherwise pick up randomly after months of using OS X.
15) Some apps to check: Alfred (must have: launcher), Evernote (note taking), iA Writer (distraction free writing), Skitch (image capture / annotations, though current version is botched), Fission (barebones audio editing), Pixelmator (bitmap image editor), Reeder (RSS reader), Little Snitch (must have: application firewall), Tunnelblick (VPN), Transmit (FTP/SFTP/S3 etc), Unarchiver (compression archive handler), VMWare Fusion (virtual machine host), Sublime Text 2 (programmers' editor, if you're not into Emacs/Vim/IDEs). For simple multimedia needs, check the iLife programs. For work needs, iWork programs are quite capable, though not as much as MS Office. Adobe home user programs (Photoshop and Premier Elements) are available for the Mac too.
16) Avoid HAXIEs and APE (cross-OS hijacking system used to attach extension functionality to applications). Not very stable, and not really needed. ( http://en.wikipedia.org/wiki/Haxie ).
17) If you go with Apple's way, you get more integration between your OS X programs.
E.g. if you're using Mail.app instead of Thunderbird and iPhoto instead of some third party photo manager, then, while you write a new email, you can select pictures in your iPhoto library to attach, from a buil...
Writing this response is the first productive thing I do with a Macintosh. To me it's somewhat inspiring and sad that my virgin user experience on a Mac, having clicked on Safari because it's the only thing that looked familiar, was the memorial video being shown today[1] on apple.com for 1 year since Steve Jobs death.
This feeling of sheer admiration is greatly reinforced by the pushback of a thought that a past generation of great man (Being 29 myself) was here to creatively pioneer the core culture values for us to build upon. I have just recently learned about Apple and Steve, reading Walter Issacson point of view. I found that honestly understanding how and mostly why Apple was build is an easily traceable path to enable one to learn to admire the actions and mostly the philosophy behind the company and behind Steve Jobs. Reading http://www.folklore.org also gives it's magical touch of a time that once was.
So thank you for your wonderful experience tips. Your assumption for this macbook is correct it will be used as a tool to making software, I hope to build something useful and fun for the world.
Will Have Fun, thank you for the suggestion :)
Maxim.
[1] http://movies.apple.com/media/us/stevejobs/stevejobs-memoria...
John Siracusa's now 11 years on going project of documenting each new release of OSX is awesome. Guess that reading them front to bottom can tell and interesting evolution story and reading them bottom to top can be an efficient method to building missing pieces fast.
It's a much better terminal emulator that Terminal.
Some examples:
- If you want to open a file with a certain application, drag it to that application in the dock.
- If you want to send a url to your friend, drag the url onto the mail app.
- If you want to get a folders path in the terminal, drag the folder into the terminal window.
- If you want to move a file into a folder in finder, hover over that folder for a few seconds, and you'll see a new window spring up with the contents. You can navigate deep trees quite quickly, without needing to know where you're going at the outset (did I want to put this in Personal/ or in Vacation Photos/?)
This behavior has really spoiled me, and is probably the thing I miss the most when I need to use Windows for more than a few hours.
To capture:
- the entire desktop: Command-Shift-3. (Automatically saved as a PNG file on your desktop)
- part of the desktop: Command-Shift-4
- specific application window: Command-Shift-4
Add Control to these shortcuts to place the screenshot on the clipboard. Also try the bundled Grab utility for more related features.
Other programs I use every day:
1) Sublime Text 2 - great editor
2) caffeine - prevents your mac from dimming or going to sleep when watching a screencast/movie/etc
3) f.lux - Warmer color temperatures and lower brightness as the day progresses, nice for working evenings
4) Alfred - program launcher.
5) BetterTouchTool - extra gestures for your trackpad or magic mouse. I use this all the time.
First things first - Upgrade to Snow Leopard from Mountain Lion.
Then set up Bootcamp to install a decent OS like Win7
;-)
Also, I'm embittered as the demise of the 17" MBP leaves me nowhere to go in Apple's future portable line-up. (Dont get me started on MacPro!)
For dev work: as others have said sort out XCode, grab Homebrew, iterm/dterm/total terminal
For web stuff look at Bitnami stacks/vm's. Aslo tools like sublime, Fake, codekit, charles http