Archive for February, 2003

Cocoa for PowerPlant Users: Part 1

Monday, February 17th, 2003

I've been using PowerPlant since Code Warrior DR1, and recently started to use Cocoa in a production environment. I scoured the 'Net for some resource that would quickly give a leg up to people like me, coming from a C++/PowerPlant background, but gave up after a few hours of googling. So now that I've done some of it “the hard way”, I thought I would share my experience to save others some of the pain I experienced.

Going Beyond Currency Converter I'm not going to re-hash everything you learn by doing Apple's

Currency Converter tutorial. One thing that isn't mentioned is that once you have used Interface Builder to create your header files and have started to modify those header files, the workflow for adding new actions or outlets changes. Namely, instead of creating the outlet or action in Interface Builder, you add them yourself manually to the header file, and then use Interface Builder's menu:

Classes&rArr;Read <em><your header file name></em>
This will cause Interface Builder to read in the header file and add the actions and outputs that you've typed in.
Finding this out was a bit painful, as it involved wiping out my manual changes to my header files a few times. :-P

How to move Camino bookmarks to Safari

Monday, February 17th, 2003

Camino is a Mozilla-based browser that uses the native Mac OS X graphics API instead of Mozilla's cross-platform stuff. Safari is Apple's KHTML-based web browser. Unfortunately there is no obvious way to convert Camino bookmarks to Safari bookmarks.
1. In Camino, select Camino->Export Bookmarks…, saving the bookmarks (e.g. as ~/Desktop/camino-bookmarks.html).
2. In Internet Explorer, select Favorites->Organize Favorites, (which despite being a hierarchical menu item actually does something on its own) opening the Favorites window
3. With the Favorites window in front, select File->Import Favorites…
4. Select the camino bookmarks file
5. Quit Internet Explorer
6. Make sure Safari is not running
7. In Terminal, type this all in one line:
defaults write IEFavoritesWereImported 0
8. Run Safari You will now have a bookmark folder called “Imported IE Favorites”, inside of which are all your Camino bookmarks. Hurrah!

XDR RAM from Rambus

Thursday, February 13th, 2003

There's an article on XbitLabs “Rambus, Toshiba and Elpida Announce XDR DRAM”. Is this Rambus' attempt to stay relevant to the consumer market? I don't think I would buy a Rambus product if my life depended on it. They should seriously think about rebranding. It was way successful for Goldstar (now LG), eh?

iSync Your Exchange Contacts

Wednesday, February 12th, 2003

I didn't know this until today — Panther allows you to synchonize your Address Book with your “Contacts” in Exchange!

iSync copying all my Address Book items to my Contacts folder

All you have to do is to set up your preferences..

Cool, eh? It doesn't seem to sync your iCal with your Exchange schedule, though. Oh well.

Welcome to Tech Tok

Tuesday, February 11th, 2003

This is a site where lots of people (not just me) can post info, arguments and just general blather about tech-related stuff like Macs, PC's, games, motherboards.. whatever!

Most powerful force in the galaxy

Tuesday, February 11th, 2003

I finally got around to installing Mac OS X 10.2.8 onto my iPod. Booting from an iPod is not an officially supported feature but it is just a hard drive so I gave it a go. It works! I don't plan on booting from it often but at least I have a backup boot drive with Norton products installed just in case something bad happens.

Building your own PeeCee

Tuesday, February 11th, 2003

Reid has been hounding me to post something about what I have learned about building a PC. :-)

The first thing I will say is that there is no perfect PC out there. There are many ways to go (SFF for the perfect LAN box or a big tower for big air and expansion/watercooling, etc.).

The first place to start is the case. I would love to have a SFF (Small Form Factor) system but for the time being I have opted to go for mid to high tower cases. The SFF is great for multi-media systems or for LAN party boxes. The Shuttle series of SFF PC's currently have my vote for the #1 SFF box. Shuttle SFF's are cool because you can pop in a Rage 9800XT or a 9800 Pro AIW with a P4 or Athon XP/64 and have a sweet gaming/TV box. The newer Shuttles also have SATA! Very sweet. The tradeoff is that the power supply is rather weak and that you really should not overclock due to the moderate CPU/system cooling. If you want expandability then go for a mid to high tower case. Don't be cheap with the case!!!. Get a case with a minimum of two fans (front/rear). The more fans the better. I have seen cases with two front, two rear, two side (blows air down onto the mb/vid card), one top. The front fans should blow over your main hard drives. The amazing thing is that even with all these fans the cases are super quiet. Aluminum cases are all the rage now. Aluminum is light, provides a good route for heat extraction, and looks damn good when done right. Look for cases with thumbscrews throughout – a tool less case is a big plus. Some cases come with doors to cover the front external drive bays. I like the front door if my drives don't match my case (yes, I have thought of painting them) otherwise get a case that matches the colour of your drives (or drives that match your case)

Don't forget about the power supply! Toms Hardware has run two articles on power supplies (1 & 2). I went with Antec and Vantec for my systems as they were available in my area.

Processor fans are a big pain in the ass! I am currently using the stock Intel fan on my P4 2.53 system. I have had no complaints as the system is very quiet. I went with a Thermaltake fan on my 2.4C overclocked system. I came with a manual speed adjustment control which I like (most of the time). The sucker does get loud when I crank it to 6,000 rpm. It appears that Swiftech are the current cream of the crop as far as air cooling is concerned.

Hard drives – I love the current state of hard drives!!!!! So cheap and soooo big. 7200 RPM PATA drives with 8MB cache are very quick. Get a couple and RAID them if you can. I don't have a RAID setup on my 2.53 system but the drives are plenty fast (fast enough to record weekly Enterprise episodes without breaking a sweat). There is always something faster it seems and that is without a doubt SATA 7200 drives with 8MB cache (the WD Raptor 10,000 rpm SATA drives are cool but they are really tiny so what’s the point (and they are not much faster)). RAID them if you can (I use RAID 0(ya ya, everything is backed up)). SATA RAID blows away my PATA single drive system as far as load times are concerned.

Video card – ATI is the king at the moment. Try and get a 3rd party Radeon 9500 Pro or a 9700 Pro if you can. The 9600 Pro/9600XT are also good options. The 9800 Pro 128 MB is a great card. Don't waste your money on the 9800 Pro 256 MB. The 9800XT is the current king of the hill. A great card but not much of a difference between it and the 9800 Pro. Keep in mind that AGP is nearing the end of its life so you don't want to sink too much into a new vid card at the moment. The best video card ever made has to be the 9800 AIW Pro. It has it all.

What OS? The only OS you should consider is Mac OS X. No, wait, Windows XP Professional. (whoops)

Motherboard – MSI/ABIT/ASUS/DFI/GIGABYTE – stick with the main brands – current chipsets to look for are the 865/875 for Intel – nForce2 400 for Athlon XP (ya, I know about the other one but they dropped the ball after the 266A chipset). Check the feature set (SATA/RAID/Surround onboard audio) I am too tired to list the Athlon 64/FX mobo's.

Processor Intel – P4 2.4C and overclock the shit out of it!!!!!!! AMD – Athlon XP “Barton” 2500+ and up. If you have the coin then go for the P4 EE (if you are completely insane!!!) or the Athlon FX series (a better choice).

Memory – If you don't plan on overclocking then get some good mainstream memory. If you want to overclock then the sky is the limit. DDR 500 + is what you want on the Intel side of things. I am running 2x512MB OCZ PC4000 Dual Channel Kit Gold. Corsair is another manufacture to look at for high performance memory.

Get a CD-RW and a DVD drive (a DVD burner if you need it). It is useful to have both for CD duplication on the fly as well as have both your favorite DVD movie and favorite game CD ready to go at a moments notice.

Networking – after switching over to Gigabit Ethernet I cannot go back. Many motherboards now ship with Gigabit Ethernet onboard. Look for the Intel CSA Gigabit Ethernet controller.

That’s it, I am off to bed.

SVG support in Safari

Monday, February 10th, 2003

Hey cool. If you are using safari, you may be able to see this image.
It's a compressed SVG image. I just tried it with an old SVG file I had lying around. Adobe Illustrator can save line art in this format, which saves tons of space for huge images.
Unfortunately, you can't use them in inline IMG tags (I just tried). Oh well.

Hard Drive Prices at Canada Computers

Monday, February 10th, 2003

The usual spreadsheet dump, in increasing cost per gigabyte. Prices courtesy Canada Computers, whether they know it or not.

tech brand capacity cost $ per gig cache rpm
PATA Maxtor 120 $132 $1.10
PATA Seagate 120 $132 $1.10
PATA Maxtor 120 $144 $1.20 8
PATA Seagate 120 $148 $1.23 8
SATA Maxtor 120 $148 $1.23 8
PATA Western Digital 160 $198 $1.24 8
PATA Seagate 80 $100 $1.25
PATA Maxtor 160 $201 $1.26 8
PATA Western Digital 180 $228 $1.27 8
PATA Western Digital 200 $254 $1.27 8
PATA Maxtor 80 $102 $1.28
PATA Western Digital 120 $154 $1.28 8
SATA Maxtor 160 $209 $1.31 8
SATA Western Digital 120 $159 $1.33
PATA Western Digital 80 $107 $1.34 8
PATA Seagate 180 $246 $1.37
SATA Seagate 120 $164 $1.37 8
SATA Seagate 160 $219 $1.37 8
PATA Western Digital 250 $375 $1.50 8
SATA Maxtor 80 $123 $1.54 8
PATA Seagate 60 $99 $1.65
SATA Seagate 80 $138 $1.73 8
PATA Maxtor 40 $80 $2.00
PATA Seagate 40 $80 $2.00
PATA Western Digital 40 $84 $2.10 8
SATA Western Digital 36 $174 $4.83 10k

Aladdin InstallerMaker 8 Preview

Sunday, February 9th, 2003

MacMegaSite has a story up all about a new version of Aladdin InstallerMaker.