ear-fung.us I’m a programmer. I’m also pro-grammar.

29Mar/101

What’s With The New iCal Icon?

So I upgraded my Macbook Pro to Mac OS 10.6.3 and noticed a peculiarity with the change in iCal's dock icon.

The date is offset higher than it used to be. It is no longer centered in the white part of the icon, but centered vertically on the whole icon.

So I started up iCal in hopes that it was a one-time issue and that it would correct itself when it launched. Too bad that didn't work.

What's up with that, Apple? It looks horrible!

UPDATE:
Thanks Brent. Turns out I had multiple versions of Helvetica Neue installed and they were conflicting with each other. The installation of these fonts just happened to coincide with my upgrade to 10.6.3.

Tagged as: , , , 1 Comment
18Dec/084

I Sure Don’t Miss This!

And I'm glad it happened inside a virtual environment.

I literally haven't gotten the BSOD in over 3 years since I've switched to Mac. I use a PC every once in a while, usually in a virtual window like this.

If I'd been working on something important it would probably be lost. I'm so glad I only have to run windows in a window on my mac and don't have to use it 24-7.

Have I stated yet how much I love Macs?

parallelsbsod

23Jul/082

Aptana Studio: My New IDE

I've been looking for something to replace the "kludgyness" of Dreamweaver for a while now and I've always shied away from Java applications. However, there are not a lot of great powerful development platforms for the Mac. Sure, there's Coda, and TextMate, both of which are great applications in their own right. But I wanted something more.

Here is my list of things on my wish list for a web development IDE:

  1. Seamless FTP Integration
  2. Seamless SVN Integration
  3. Project and file management
  4. Code Assist

Lo and behold, I found Aptana Studio 1.1!
Yes, it is a java application, but it's based on the Eclipse IDE which is a very full-featured and mature open source project.

The interface can be a bit intimidating at times until you learn what things are called and how to interact with the application.

Aptana Studio does everything in my list and more. One thing I really enjoy is the real time PHP debugging. You're writing some code and in a "validation" window below the text editor will tell you immediately if you have a syntax error. Brilliant!

Another nice feature is that I can browse my SVN repositories right from the main window. Right click on a directory and check it out of SVN as a new project in Aptana Studio. Aptana keeps track of your changes and marks changed files with an * and files not in the repository with a ?. It supports synchronize, commit, update, create patch, apply patch, branch/tag, merge, show history, cleanup, and most important: diff. I think it's SVN support is the Subclipse plugin for Eclipse.

I've been using this software for about 2 weeks now and It has completely replaced Dreamweaver for me. The only time I've opened Dreamweaver was to grab some FTP settings that were stored there.

One thing I've noticed with Aptana is that is doesn't play well with the Mac OS X Dock. It happily shows up there when launched, but when you try to retain its icon in the dock after closing, the icon turns into a unix executable icon and is linked to "/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java". That is very strange behavior. There's even a bunch of open bug reports about this problem specifically.

One way around this, annoying as it may be, was to create an alias of the launching application and put the alias in the dock. Only problem with that is when Aptana Studio is launched there are two icons in the dock. Not a big deal to me till the bug gets fixed.

Overall I'm really enjoying my new development IDE. It launches fast on my Macbook Pro Core 2 Duo and has a snappy interface. I just wish there was an option to "automatically upload on save" like Dreamweaver had. I'm willing to overlook that one shortcoming and work happily in Aptana, but I have a big sign above my monitor that says,

"Upload the file! CMD+SHIFT+U"

If you're tired of Dreamweaver, give Aptana Studio a try.

10Jun/082

I Just Got Permission from the Wife to Get an iPhone

Well... I think that the title speaks for itself, but a little back story on the audio below: I met with a prospective freelance client tonight about a job. Dana proceeded to to tell me I could get an iPhone (2nd Gen/3G, of course) if the client gave me $1,000 up-front. I then got her to repeat it while I recorded it into my Mac with Audacity.

Audio:

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

Yesssssssssss!

Tagged as: , , , 2 Comments
14Apr/080

Constant Learning: New Objective-C Tutorial

I'm always trying to learn new things, especially when they relate to programming.

Scott Stevenson just posted a new tutorial at cocoadevcentral.com entitled "Learn Objective-C".

A cursory scan shows that It's a great article for people wanting to learn Objective-C for Mac applications or even for making iPhone applications.

Go check it out if you're the least bit interested in Mac and iPhone development.

[Link]

24Oct/070

QUICKLINK: Understanding Buffer Overflows in OS X Leopard

OS X LeopardHow Leopard Will Improve Your Security

The most significant security update in Leopard is one that you'll never notice, but that will cause the bad guys no end of frustration. It's an anti-exploitation technology Apple calls Library Randomization (also known generically as Memory Randomization and as Address Space Layout Randomization in Windows Vista). To understand Library Randomization we need to take talk about vulnerabilities, exploits, and buffer overflows.

Read the rest of the article here.