Downloading and Building Cappuccino 0.7b on OS X Leopard

As you may have read already, I’m in the process of learning and developing web applications with Cappuccino. I’ve been building against the latest stable release of Cappuccino, which at the time of this writing was 0.6.5, and I saw the Cappuccino team released a new version: 0.7 beta. I wanted to play with 0.7b, to see the new features and possibly contribute to testing.

Right now, the only way to use 0.7b is to download and build it from source. Since I develop on a MacBook Pro using Mac OS X Leopard (10.5), these instructions will be based on that. These instructions also assume you are familiar with the Terminal application.

Prerequisites

You will need the following:

  • Git
  • Ruby, Rubygems and Rails – If you’re using OS X Leopard, the default install that comes with the OS is sufficient. (Cappuccino will not compile on Ruby 1.9, make sure you’re using Ruby 1.8)

Installing Needed Gems

Cappuccino 0.7b requires the plist Ruby Gem. The installer is supposed to automatically install it for you, but it can be flakey, so just for safety’s sake, install the plist gem by running the following command:

sudo gem install plist

Getting the Source Code

Once you have Git and Ruby installed, you need to get the source from the Cappuccino project on GitHub. I keep all my source code in /usr/local/src/ (for more info on why, Hivelogic has an article about this very subject).

Let’s go into the src directory and check out the source code

cd /usr/local/src/
git clone git://github.com/280north/cappuccino.git

This will download all the source and create a directory name cappuccino. Let’s go into that directory and select the 0.7b branch as the active target.

cd cappuccino
git checkout -b 0.7b origin/0.7b

This sets 0.7b as the current target.

Building the Cappuccino Code

Now, let’s go ahead and build the code

rake release

This should have built Cappuccino 0.7b. You may have experienced the following error while trying to build the code:

subrake missing: ojunit

If so, don’t panic. It’s just looking for additional software, build by the Cappuccino team, that isn’t provided in the Cappuccino source by default.

Just run the following commands:

cd Tools
git clone git://github.com/280north/ojunit.git
cd ..

Then run

rake release

again and you should have happy compiled code.

Installing the Cappuccino Code

Now, to install the Cappuccino tools, you just run the following command:

sudo rake install

This will install all the Cappuccino binaries in /usr/local/bin/. This should already be in your PATH, so you should be able to run the Cappuccino binaries.

Using capp

Building and installing the Cappuccino code created some new useful tools for you. One of them is the capp application that generates all the Cappuccino frameworks and shell code for you. It can also be used to upgrade the frameworks in your existing application.

Creating a new Cappuccino Application

You can use the capp application to create a new Cappuccino application for you. From within any directory you want your new cappuccino application created, just issue the following command:

capp Application Name [options]

If, for instance, you want to create a new app called “HelloWorld” to be placed on your desktop, then you can easily enter the following command:

capp ~/Desktop/HelloWorld

This will create, quite literally, a Hello World application. You can use this as the basis for your app and build on top of it.

Upgrading an Existing Cappuccino Application

If you already have developed (or are developing) a Cappuccino application and you just want to see how your application will function in the latest beta, the easiest method is to create a dummy application with capp using the instructions above, and then just replacing the Frameworks folder in your application’s folder with the new one created by capp.

Business Cards

My website design and development business is beginning to pick up steam lately, so I figured now would be a good time to finally order up some business cards. Because honestly, it is a little embarrassing to be talking to someone interested in hiring you, and they ask if you have a business card when you have none.

So, no more of that, thanks to uprinting.com

Ridding the World of IE6

There is a concentrated effort in the web design community to push users to ditch IE6. Many, such as myself, display a disclaimer somewhere prominently on the website warning users that their web browser is out of date. Some are even taking it a step further and no longer catering to or making concessions for IE6 altogether (depending on the target audience). There are many aspects of IE6 that are now hindering progress in web design, and many designers are taking a hard line and saying, “still running IE6? Well tough”.

Heck, some of the top websites in Norway have begun informing their users it’s best to ditch IE6. Imagine if USA Today, the New York Times, eBay and Craigslist all began to prominently display messages to their IE6 users asking them to upgrade? The impact would be huge!

The amazing thing to me is IE6 is the only “old” browser that users are still holding on to. Anyone using Firefox or Safari or Chrome or Opera are almost always up to date. For instance, Firefox users to our intranet site at SPARTA account for 16% of the population. Of that 16%, 86% of them are using Firefox 3.

Compare that to 52% of IE users still using IE6.

The general consensus in the community is that IE users aren’t necessarily complacent, nor are they consciously resisting change, they just don’t know any better. They see the blue “e” and know, “that’s the internet”. It works for them just fine, it’s all they need; and that’s all well and good, but they’re not going to upgrade unless its done for them or they’re forced to. They may not realize they’re more vulnerable to security threats, or attacks, or that Microsoft has abandoned their browser.

I’ve come to the point now that most websites I develop work perfectly in Firefox and all other standards-compliant browsers, but that I have to make changes to them in order to get them to work correctly in IE6. I know several users who have resisted using Firefox (or other more standards-compliant browsers) because many of the websites they frequent “don’t work in Firefox”. I think it’s time to flip it around and get people to stop using IE6 because their websites “don’t work in IE6.”

Until IE6 users start having negative experiences browsing the web, or Microsoft sends out IE8 as a Critical Update to XP users, they aren’t going to know there’s anything wrong with their browser and they won’t do anything about it. Hence why developers (myself included) are finally getting fed up and no longer making concessions for IE6, and in fact are beginning to pester visitors to update their browsers.

A future without IE6 is a bright one, we just need to get there first.

NetBeans 6.7 – I Like Where Things are Going (Initial Impressions)

One of the biggest issues with using (or developing) cross-platform software is you basically have to make concessions in the software to get it to function for the lowest common denominator. One of the first, and most noticeable, things to suffer these concessions is the look-and-feel of the application.

But there’s good news, and the future looks promising.  Application developers lately have been focusing more and more on better integration with the target platform.

With the upcoming version of NetBeans 6.7 (it used to be referred to as NetBeans 7 until the group renamed it to NetBeans 6.7), the development group decided to focus on greater platform integration; and I have to say I’m rather impressed with the results so far.  I downloaded the latest beta release, which at the time of this writing was 6.7 M2.

Upon first launch, I noticed the window and all the elements in the interface had a much better look to them, one more consistent with the general OS X look-and-feel (specifically 10.5 Leopard).

Then I started using the application more, and it just has a better feel to it, and I don’t know if it’s just me but I feel like the different panels and features are more readily available and accessible to me.  It also feels a lot less sluggish than NetBeans 6.5 does.

Just based on looks alone, take a look at NetBeans 6.7 on my Mac:

NetBeans 6.7 M2 on Mac OS X Leopard

And now compare that to NetBeans 6.5:

NetBeans 6.5 on Mac OS X Leopard

Much better, huh?

I’m very impressed with where NetBeans 6.7 is headed, both visually and functionally.  One has never complained about programs operating much quicker, have they?

creanium.net is now proudly hosted by HostGator (bye bye 1and1)

In short, HostGator is light years beyond 1and1 in every respect.

As soon as I signed up with HostGator, I was sent an invoice. I paid it through PayPal and within 5 minutes I had all the credentials I needed to get in and start administering the site.

For security reasons, SSH access is disabled by default. So from CPanel, I just had to request an SSH be turned on for my account. It was an easy, quick, and painless process as a ticket was created for my request. I kid you not, within 7 minutes of my request, I had an email informing me that the account was enabled and instructions on how to log in.

HostGator is such a breath of fresh air compared to my dealings with 1and1. In fact, let’s compare HostGator to 1and1 real quick. HostGator handled my ticket within 7 minutes. I submitted a help request to 1and1 5 hours ago, and I still have not heard anything about it.

The biggest hurdle with HostGator has been getting familiar with their architecture, but I’m over that hurdle now and all my sites are ready for prime time. However, 1and1 continues to drag their feet and not all the sites are pointing to HostGator yet. I guess in just 24 hours of dealing with HostGator, I’m already spoiled and expect other companies to act the same way.

New Beginnings

A new nephew, a shift in time, and now a brand new website; apparently I’m all about change right now!

As you can tell, I’ve just launched the new creanium.net!  I built the new theme entirely from scratch, that way I knew it was as clean as possible.  The previous them I had was just the default Wordpress theme adapted for my style.

I focused a lot of my time on the photo section of the site, so feel free to take a look through there.  I think you’ll find it much easier to navigate and find other photos.

One of the other things I focused on with this new design is linking things together, either through tags or categories.  You’ll notice that tags and categories are more prominent in the sidebar, both for posts and photos.

Enough rambling, I think the best way to really appreciate the design is to use the site for yourself, so feel free to take a look and browse.  If you have any problems or questions, feel free to contact me.

Another New Website Launched

A couple of months ago, a co-worker of mine approached me about redesigning and rebuilding the website for his mother’s polymer clay jewelery and polymer clay accessories business.  I accepted it and for the last few weeks had been working diligently on it.

Well the site got launched today, and I have to say I am very pleased with the end result!

So, feel free to head on over to Casual Elegance and take a look.  Feel free to let me know what you think!

Minty Fresh

So I’ve actually been using Mint for the last 7 months, and I’m happy to report that I’m still using it. Not consistently every day or anything, but at least once a week I go in and check all my transactions. That’s remarkable considering all the times I tried to use Microsoft Money or Quicken (or even some of the lesser finance applications like Cha-Ching) and those forays lasted maybe 2-3 weeks before I got tired of using them and just quit.

What makes Mint different is the fact that it removes all the fat of Money or Quicken. The biggest difference between Mint and all the others is how they get their data. The others expect you to enter your transactions manually and then use the data the program downloads from your bank to reconcile those chargers; but Mint exclusively uses the data it gets from your bank.

So you log in to Mint, it downloads the latest transactions from your bank, then you go through and categorize your new income and expenses and that’s it.

You can set up a budget, and you can track all your expenses and see where your money goes. The beauty of Mint is its simplicity. It’s not bogged down by all the superfluous features of Quicken or Money. It gives you the basics of expense tracking, reporting, and budgeting, and that’s all I need.

(Oh, and it has what I consider to be the best user interface of any web application to date.)

So Painfully True

Here’s a little insight into any given project for me …

web-design-pie-chart.jpg

Announcing the new South Coast Copy Systems

After 3 months of development, I’m very pleased to announce the launch of the new South Coast Copy Systems website!

I am very very proud of many of the changes I implemented in this website, providing a much cleaner and professional design compared to the original.

If you’re ever in the market looking for digital copiers in San Diego, color copiers in San Diego, need printer cartridges or copier supplies, or need any copier service in San Diego or printer service in San Diego, be sure to give South Coast Copy Systems a call.

So, please feel free to take a look around and let me know if you have any feedback.