Wetware » 2009 » July

Archive for July, 2009

Stress Test – Burn in test – For hard drives

I have recently purchased some hard drives to easily backup some files. Basic data duplication and then taking it off site. It is a short term solution to our backup needs. So we got 3 1TB hard drives and I wanted some way to quickly test them. Update sudo fdisk -l to list all your […]

Posted on July 28, 2009 at 12:00 pm by Jordan Carter · Permalink · 3 Comments
In: Ubuntu Tricks · Tagged with: 

Rails Setup – Jaunty 9.04 – Postgres – RMagick – Xapian – Hpricot – Git

Just installed Ubuntu Jaunty 9.04 onto my laptop and wanted to note down all the installed packages I ended up using. I haven’t tested this on a clean install, but should all flow nicely. Hopefully will help me next time I fresh install. Will get you setup with rails and some useful libs and plugins. […]

Posted on July 27, 2009 at 11:21 am by Jordan Carter · Permalink · Leave a comment
In: Server Config · Tagged with: , , , , , ,

Boot Windows 7 RC – win7 – From USB Thumb Drive

A very good blog post here about how to do it http://kmwoley.com/blog/?p=345 Here is a recap, you must be in Vista or another Win 7 install.  I used a virtualbox install to do the formatting, then copied the iso files across inside of ubuntu. Step 1: Format the Drive The steps here are to use […]

Posted on July 27, 2009 at 11:10 am by Jordan Carter · Permalink · Leave a comment
In: Uncategorized

Problem with Objective C UITabBar at bottom of Screen

When poping up an UIAction Sheet infront of a UITabBar I had some problems getting the buttons to correctly react to presses. The reason for this turned out to be with the UITabBar having the a listener that was a higher priority than the button on the UIActionSheet. To solve this you have to add […]

Posted on July 22, 2009 at 2:10 pm by Alastair Munro · Permalink · One Comment
In: Iphone · Tagged with: ,

Confusion with simple NString manipulation in Objective C

Coming from a Java background, I’ve found it extremely difficuilt to do any simple String manipulation. My first attempt was NSString *string1  = @"This is a"; NSString *string2 = @" test"; NSString *newString = string1 + string2; As it turns out this doesn’t work so well. After much frustration I found the following solution NSString […]

Posted on July 22, 2009 at 2:02 pm by Alastair Munro · Permalink · Leave a comment
In: Iphone · Tagged with: ,

Pull A Git Branch from Remote

Up until lately I have been improperly pulling my remote branches to local.  What I mean is I create a new branch locally, push it to remote (GitHub) then pull it onto a designers computer with the following command (this is not how to do it) #DON’T DO THIS git checkout -b < new_branch > […]

Posted on July 22, 2009 at 1:56 pm by Jordan Carter · Permalink · 16 Comments
In: Uncategorized · Tagged with: , , ,

Firefox 3.5 Goodness

As an update to a previous post about Firefox Memory Leak where I said that I frequently saw 1.4GB of ram used by Firefox 3.0. Well I am pleased to announce that I have not seen Firefox memory to anywhere above 512MB!! Well done Firefox Team!  This makes my machine much more bearable and allows […]

Posted on July 14, 2009 at 10:11 am by Jordan Carter · Permalink · Leave a comment
In: Web Development · Tagged with: 

Connect is live

Well after a lot of hard work yesterday I launched a huge feature into our website Made From New Zealand.  I quickly fixed up a couple issues straight after deployment and now everything seems to be ticking along nicely. It is a huge relief getting it up and in the real world where it can […]

Posted on July 14, 2009 at 10:00 am by Jordan Carter · Permalink · 2 Comments
In: Web Development · Tagged with: