Monthly Archive for April, 2005

Tiger, libcc_dynamic and Disk Utility

Now I’m truly confused. Many people have confirmed on the internet that Apple has moved toward ditching libcc_dynamic, and yet the symlink described in a previous post is re-created upon running ‘repair permissions’ via the Disk Utility application bundled with Mac OS X. I’m not sure what to think here. Perhaps this was unintentional, and Disk Utility was not updated to reflect dropping libcc_dynamic? This certainly presents issues on the Gentoo for Mac OS X side of things: support -lcc_dynamic and expect Tiger users to have a symlink installed, or drop -lcc_dynamic altogether and make changes where appropriate to use -lgcc directly? I personally think that the latter option is the best way to go, especially given that Apple has already shown interest in dropping even symlink support for libcc_dynamic. I’ll have to consult with the rest of the team (Kito, Lina). Time will tell.

Tiger, libcc_dynamic, and the new gcc

While trying to install sys-libs/readline (a part of emerge system) on my shiny new Tiger install, it became real clear real quick that Tiger was missing /usr/lib/libcc_dynamic.a, something that Panther provides as a symlink to libgcc.a. Having discussed the matter with Kito, we have decided not to simply provide a symlink mirroring that in Panther. Instead, we’ve settled on modifying any makefiles: s:-lcc_dynamic:-lgcc:.

As an aside, the new gcc (that’s gcc 4.0) bundled with Mac OS X 10.4 has apparently changed the optimization alias -fast such that it no longer works out of the box on the 7450 cpu (that’s the one in all the PowerBooks). My current CFLAGS are: -O3 -fgcse-sm -funroll-loops -fstrict-aliasing -fsched-interblock -falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-jumps-max-skip=15 -falign-loops-max-skip=15 -ffast-math -freorder-blocks -freorder-blocks-and-partition -finline-floor -mpowerpc-gpopt -force_cpusubtype_ALL -mcpu=7450 which is basically -fast minus all the G5-specific stuff and a couple of things that obviously break while building dynamic libraries, etc.

To Date or not to Date

Disclaimer: No, i’m not talking relationship advice.

When I began looking at possible database schemas for storing NetFlow data in MySQL, I was worried about space. I was working under different assumptions back then (the numbers I had for data in was 1/100th what it is now), and I was thinking that perhaps I could keep the whole database under the 32-bit boundary (for old filesystems, portability, etc.). Now that the 2GB barrier is clearly broken with the sheer amount of data I’m dealing with, I’m not concerned at all with disk space - hard drives are cheap, or so says my boss. What does this mean for the schema? No more CPU-disk tradeoffs in favor of disk space. But does that also mean I can drop additional disk space, and a bit of CPU, for coding convenience, maintainability, extensibility, and ease of use?
Continue reading ‘To Date or not to Date’

Apple Goofed, Again

As per the description in a previous blog entry, I sent in my PowerBook for repairs last week. I got the machine back Wednesday last week to find not one but three new things about my dear computer.

  1. Apple replaced the hard drive. Somewhat of a let-down, but I did have a backup of most everything I needed, so it’s not a huge loss. A blessing in disguise, actually: I’ve been meaning to reformat the machine and have a nice fresh clean start, I just hadn’t gotten around to it, and was kind-of waiting for Mac OS X Tiger to be released.

    Powerbook Foot
    Powerbook Barefoot
  2. Apple managed to rip off one of the feet of my PowerBook, as per the pictures above. The first picture is what a normal ‘foot’ on a PowerBook looks like: a dark grey circular rubber pad mounted on a light gray circular piece of plastic. The second picture is what a missing ‘foot’ looks like: no dark grey circular rubber pad mounted atop a light gray circular piece of otherwise-very-empty-looking-not-to-mention-abrasive plastic.
  3. Apple also managed to put some very light abrasions dead smack in the middle of my PowerBook’s LCD. To the untrained eye, they’re pretty invisible, but I can see them fairly clearly, especially when doing graphic design on a pixel-by-pixel level. The abrasions cover about a square inch of the screen and are shallow enough not to be noticeable to touch.

Continue reading ‘Apple Goofed, Again’

Oh My Gosh It’s So Tiny!

BT500 Pairing

I got the RadTech-branded version of the BT500 mouse in the mail yesterday. Having waited about two weeks for the thing just to be shipped out — RadTech was out of stock of the silver one I ordered — I was pretty anxious. An illustrated review follows.
Continue reading ‘Oh My Gosh It’s So Tiny!’

Enter NIC, Soon to be Watching You

mv Frontend NIC

The move is official, then. NIC is to be the production name of the Network Information Center we’ve been working on this semester. With any luck, NIC will hit the UConn Network this summer. Stay tuned for more - including Lina’s first post, coming tonight!

Lappy Go Bye-Byes, Reloaded

Yup, It happened again. Due to a problem identical to that described in a previous post, my laptop was sent in to Apple for repairs. This time around, I wasn’t able even to grab my latest work off of the drive, and of course, haven’t backed up in a while. I hope to have the unit back by Thursday, 2005.04.14. Sad story is, I wasn’t even able to grab my latest work off of the drive before the machine sputtered and died.

Continue reading ‘Lappy Go Bye-Byes, Reloaded’