MacPorts and Google's SOC

Monday, March 26

I just read that MacPorts has been selected by Google as a member project of the Summer of Code for 2007.

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

There are a bunch of tasks on the list, including a re-write of the dependencies system, as well as a GUI, but of particular interest to me is Task #4: Binaries.

MacPorts project does not provide binaries yet (installation of software without compiling them). This project consists in working in concert (or cooperatively) with whomever does (virtual chroot) to setup a mechanism to automatically build packages, send reports on failures and implement a distribution mechanisms to allow users to fetch binary packages.

Before switching to OS X, I was a Linux user. Specifically, I used Ubuntu/Debian, whose apt (Advanced Packaging Tool) package manager is simply wonderful. I realize now how spoiled I was. If OS X lacks anything, it’s a decent package manager. Of course, there’s Fink (which is like apt), but for various reasons I’ve had better luck with (Mac|Darwin)Ports and have developed a preference for it. Now that Apple is (somewhat) behind the MacPorts project, I’m hoping that an ‘official’ package manager will emerge. MacPorts with support for binary ports would rock.

MacBook: the first intel macs are out

Tuesday, January 10

It’s arrived: the new MacBook Pro. And it looks about as badass as its product page.

You’ve dreamed about it long enough. Now it has a name: MacBook Pro. Powered by a dual-core Intel engine. Up to four times the speed of the PowerBook G4. Eight times the graphics bandwidth. With built-in iSight for instant video conferencing on the move. And Front Row with Apple Remote to dazzle everyone in the room. Wait no more.

Apple claims the 1.83GHz MacBook is 4x faster than the Powerbook G4. And it comes fully loaded with a 256MB ATI Mobility Radeon X1600 and 1GB of RAM. The display has a resolution of 1440×900 (we saw this in the last generation Powerbooks too), but is apparently 67% brighter.

Having convinced myself that I need a new computer (my iMac case has tiny little cracks in the clear plastic that keep me up at night) I have been waiting for word on the Powerbook’s successor. Now I can bequeath the iMac to my wife (who will surely welcome it over her sluggish PowerMac G4) and return to the land of laptops where (I must admit) I’m much more at home. I’ve concluded I just don’t like working at a desk.

Update: Engadget has a hands-on first take with some photos. See Hands-on with the MacBook Pro

A broken iMac

Wednesday, November 16

My iMac (G5 2.0GHz, 20”) refuses to stay powered. Since early this afternoon, it has been suddenly shutting off, as though its plug has been yanked from the wall.

The first time it happened I thought the power had gone out. All the symptoms were a match (no warning, no fan noise, no trigger—just poof! and then nothing), but the lights were still on, so a power outage it was not. Puzzled, I turned the machine back on, checked out the crash logs, found nothing out of the ordinary, and continued working away, waiting to see if it would happen again. Sure enough, a few minutes later, it happened, and again I was left staring at a hopelessly useless black screen.

Frustrated, I turned my attention to, and subsequently ruled out, the power cord, the power bar, and the wall outlet. I tried it in another room, in a different outlet, on a different breaker. Each time I thought the problem had vanished, my hopes were dashed by a sudden, inexplicable, shutdown.

During brief stints of uptime, I was able to run a few diagnostics, check a few log files, and try a few tricks, all to no avail. Everything seemed fine. I even opened it up and looked under the hood, as if it were a car, as if I would be able to see something suspicious, or out of line. Not surprisingly, it provided no answers.

After much hair-pulling I gave up. It only stays running for a few minutes at most, and as such is unusable. I have since concluded that the power supply must be faulty and have resolved to box it up and cart it down to my local mac dealer first thing in the morning to have it fixed.

Luckily, it’s still under warranty; luckier still, I have a spare laptop.

This laptop on which I am now typing (a Toshiba M30) has really been around the block. I mean, in recent weeks it’s seen FreeBSD, PCBSD, DesktopBSD, Ubuntu-hoary, and Ubuntu-breezy. We’re talking full installs here—no stinking live-cds. I use it as a testing ground for new operating systems, my only criteria for a successful install being the achievement of a wireless Internet connection with zero configuration.

As chance would have it, I had installed kubuntu-5.10 (ubuntu with KDE) on the weekend—to try it out. It passed the zero-config test, but I had no intention of using it as my primary OS. Only days later, here I am, learning the ins and outs of Debian/Linux. It’s not OS X, (or even FreeBSD), but really, it’s not so bad.

I probably spent more time lamenting the plight of the iMac than I did getting set up on kubuntu. Within a few hours, I had my packages, preferences, software, mail, and the entire Rails stack set up. Now I’m back hacking on typo, working on the next version of Scribbish (which I will post about later).

I’m sure I’ll miss a few of OS X’s comforts, but until the iMac gets fixed, I think I can make myself at home here. I’ve missed working on a laptop.