News for hackers. Stuff that matters.
Re:Ask YC: Mac virgin wants to know, what would you install? by bayareaguy on Friday March 07, 2008 @11:38AM (#131263)
First, the basics:

Signup with the Apple Developer Connection (ADC)[1].

After that you will want to install XCode. You can get that from the ADC or from the install cd.

You should then install macports[2] so that you can easily get BSD tools and utilities.

There is also a friendly GUI shareware app called Port Authority[3] you can use to maintain your ports tree.

[1] - http://developer.apple.com

[2] - http://www.macports.org

[3] - http://www.codebykevin.com/portauthority.html

I'll skip the whole code editor issue. XCode has one and you'll probably want to use some other one you already know about in addition to it anyways.

Some of my must-have utilities:

Disk Inventory X [4], so you can see where all your space went.

Hex Fiend [5] is a good open source no-frills hex editor.

[4] - http://www.derlien.com

[5] - http://ridiculousfish.com/hexfiend

When I need to write technical documentation suitable for printing, I use Scrivener[6], with MultiMarkdown[7], TexShop[8] and MacTex[9].

[6] - http://www.literatureandlatte.com/scrivener.html

[7] - http://fletcherpenney.net/MultiMarkdown

[8] - http://www.uoregon.edu/~koch/texshop

[9] - http://www.tug.org/mactex

Finally, here are a few things I've already posted to YC in the past.

FreeDup - http://news.ycombinator.com/item?id=89078

KeyCue - http://news.ycombinator.com/item?id=97555

Top 100 Essential Mac Applications - http://news.ycombinator.com/item?id=110233

Re:Ask YC: Mac virgin wants to know, what would you install? by ericb on Friday March 07, 2008 @12:09PM (#131292)
I installed macports. Before I get to deep into this, is this error obvious to anyone? Note--I do see it's a missing folder, but what is unclear is why I don't have it, and whether it's a part of something larger I'm missing. When I run:

sudo port install putty ------------ Error: Target org.macports.extract returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/work" && gzip -dc /opt/local/var/macports/distfiles/expat/expat-2.0.1.tar.gz | /usr/bin/gnutar --no-same-owner -xf - " returned error 127 Command output: sh: /usr/bin/gnutar: No such file or directory

gzip: stdout: Broken pipe

Error: The following dependencies failed to build: gtk1 gettext expat libiconv ncurses ncursesw glib1 pkgconfig Error: Status 1 encountered during processing.

Re:Ask YC: Mac virgin wants to know, what would you install? by bayareaguy on Friday March 07, 2008 @12:37PM (#131322)
Sounds like this may be your problem: http://lists.macosforge.org/pipermail/macports-users/2007-Au...

Ryan Schmidt suggests:

Please verify whether you have /usr/bin/gnutar. If you do not, then your Mac OS X installation is incomplete. I believe gnutar is provided by either BaseSystem.pkg or Essentials.pkg from the Mac OS X DVD, both of which are quite essential to Mac OS X's functioning.

Re:Ask YC: Mac virgin wants to know, what would you install? by ericb on Friday March 07, 2008 @10:45PM (#131753)
WOW. I just grabbed gnutar from a buddy who installed Leopard from CD. His machine had gnutar and mine didn't. Now, macports is happy as a clam. Seems bizzare that I didn't have it. I found one other person who had the same problem with a factory install. Weird.

http://nullstyle.com/2007/10/27/how-to-build-imagemagick-and...

Re:Ask YC: Mac virgin wants to know, what would you install? by ericb on Saturday March 08, 2008 @11:51AM (#131999)
As a breadcrumb for anyone stumbling across this via google, I also had to install the latest X 11 to get the X windowing to show me anything. X 11 is grayed out on my install disks in the optional installs for leopard. Until upgrading X 11, the terminal window would run and the X 11 process would launch, but no visible window would appear.

http://trac.macosforge.org/projects/xquartz/wiki/X112.1.4

Now the macports putty is working. Sweet!

Re:Ask YC: Mac virgin wants to know, what would you install? by ericb on Friday March 07, 2008 @01:15PM (#131356)
I appreciate the help. This was a factory install of leopard, so it seems odd that it would be missing components. To google, I go.
Re:Ask YC: Mac virgin wants to know, what would you install? by eb on Friday March 07, 2008 @01:35PM (#131374)
There's nothing wrong with your default installation. You need to install Xcode Tools as it says in the MacPorts installation instructions.

http://trac.macosforge.org/projects/macports/wiki/Installing...

Re:Ask YC: Mac virgin wants to know, what would you install? by ericb on Friday March 07, 2008 @01:38PM (#131379)
I have the xcode tools installed. I'll check out the wiki, though. Thanks.
Re:Ask YC: Mac virgin wants to know, what would you install? by bayareaguy on Friday March 07, 2008 @12:07PM (#131291)
One last thing: if you're going to play with Arc[10] you'll want MzScheme[11].

[10] - http://www.arclanguage.org

[11] - http://www.plt-scheme.org/software/mzscheme