Ant Brown


It’s a Post-Blog Blog, Baby!


Fixing the Zend Studio for Eclipse Build Issues

Do you ever get:

Problem Occurred Building PHP Projects
Reason: Path must include project and resource name: /config.php

To get rid of this error on startup:

If you have a license for 6.1, Download the latest version of Zend Studio from http://www.zend.com/studio

If, like me, you only have a license for 6.0.x, Download the 6.02 release candidate, rename your old installation (the RC is named 6.01 and will overwrite your existing installation), Install RC and create a new workspace for your projects.

Here’s the download links:

Linux
http://downloads.zend.com/studio-eclipse/6.0.2_preview/ZendStudioForEclipse-6_0_1_1RC1.tar.gz

Windows
http://downloads.zend.com/studio-eclipse/6.0.2_preview/ZendS tudioForEclipse-6_0_1_1RC1.exe

MacOS
http://downloads.zend.com/studio-eclipse/6.0.2_preview/ZendS tudioForEclipse-6.0.1.1RC1.dmg

(Thanks to dds_hun for these links)

Well, that solved a whole host of issues for me, now I have Code Complete working all the time- I figured out this after creating a new Workspace and recreating each project from scratch. It’s not exactly foolproof but it works so I’m happy.

Filed in Nerd musings


Ladybird Free at Last

According to local bystanders the ladybird became lodged under the wooden train bridge at about 2:30 p.m. today.

Police rescue teams worked tirelessly to free the frightened ‘bird.

The Ladybird was rushed to the “Ladybird Rescue Vehicle” on extraction… The vehicle apparently custom made for such missions.

Officials have pledged to create new signs specifically designed to warn Ladybirds of the dangers present under the train bridge. It’s believed that the rogue ladybird was influenced by the band Red Hot Chili Peppers.

Local PTA groups are calling for the band to be banned from playing the upcoming Band Aid charity concert.

Filed in Olivers Tales


Yummy Tips!

This is some Yummy tips for web developers, or people that have a few websites and use Yummy FTP to upload files.

  1. Under Preferences -> Advanced Settings, set the “Mac browser Home folder” for each website. Un-check the “Use setting from preferences” option. It saves a lot of time when you set the local/remote home folders to be the same.
  2. For a better user experience under the main Preferences: Check “Animated windows”, “Numeric Permissions, Owner/Group”
  3. Under Preferences -> Server Options, set your Default Editor, I actually use Writeroom. This is really handy when you want to edit a file without having to overwrite a local copy, good for things like config.xml files.

For LaunchBar, or Quicksilver Users:

I also setup my bookmarks into folders, so I can differentiate work from personal, this allows me to add the folders to the LaunchBar, or Quicksilver Catalog… means I can quickly access Yummy FTP Bookmarks without first having to open the program.

~/Library/Preferences/Yummy FTP/Bookmarks

These are the options that helped me.

Peace out!

Ant

Filed in Nerd musings | Tags:


Mongol

I went to see Mongol last night, a movie about the young Ghengis Khan (Temujin). Although I thought the editing was disjointed it still told an informative story set against an amazing Mongolian landscape.

The movie ended just before Temujin went on to become “Genghis Khan”.

I think this is the first movie in a planned trilogy (reference?), I can’t wait to see what the movies’ researchers have uncovered for the sequel(s). Especially how Genghis Khan came to defeat his enemies when he was so often out-numbered, and how he came to conquer half the world and achieve the largest contiguous empire in history.

The research on this first movie was obvious and incredible, for the most part the movie felt real and was both educating and enthralling. In a few scenes however, the circumstances Temujin found himself in were a little far-fetched.

Best Scene of the Movie: When Temujin and his blood-brother, Jamukha, sing in their guttural-Mongolian way… fantastic.

Filed in World | Tags: , ,


[possible] Local Homebrew Competition @ The Twisted Hop

That’s right folks, you heard it here first…

I was talking to the manager down at the twisted hop the other night to see if he thought there was a market for a brew pub selling ever-changing beer on tap- through experimentation and listening to customers feedback.

It’s still a good idea, imagine heading down to a pub where you’re input is taken into consideration by the brew-master and a new brew is ready to taste on a weekly or fortnightly basis.

This prompted him to tell me one of his genius ideas: Holding a local homebrew competition with the winner having their beer featured on tap for x number of nights.

That’s enough to make any home brew enthusiast bubble with excitement.

It’s still very much in the “thinking” stages but if there are enough people asking about it and getting together to talk about it we could soon get it off the ground, and who knows we might discover the next Tuatara brew-master hidden in our garden city.

My hat goes off him.

Filed in Beer | Tags: , , ,


Convert Mac Icon File into Useable Web Graphic

With all these fancy-free Mac Icons you can download, why not spice up your web applications and use them online?

The problem is that the Icon files can’t be opened by Photoshop (there might be a plug-in I’m unaware of that does this). So we need a way of importing the graphic into Photoshop.

Luckily you can do this by simply copying the icon to the clipboard and then pasting it into Photoshop, here’s the process:
Read on…

Filed in Snackin' on my Mac | Tags: , , ,


Singletons in PHP4

Not everybody is developing on PHP5 these days, even though PHP4 is no longer supported *yikes!*

And these people (namely me) need a way to implement the Singleton pattern.

The Singleton pattern is single-handedly the single most useful pattern when you only ever want to have one instance of a class instantiated at any one time.

Now that we’ve had a few years getting used to using the Singleton pattern (in PHP4) I’d like to summarise the best resources we have on the different ways to implement the Singleton.
Read on…

Filed in Nerd musings | Tags: , , ,


Christchurch Rubbish Collection 2009

Oh yes, I’m concerned about our cities Rubbish Collection plans and policies, aren’t you?

Well you should be, within the next month we’re going to have these strange plastic structures turning up at our houses, with wheels where their feet should be! Get ready Christchurch, the wheelie bins are coming!

Don’t get too excited though, because we don’t get to use them for another 6 months. I think the council see it as a form of extended love-making, they’ll give us the good stuff to play with but we can’t put anything in them for another 6 months. Our city council sure is a tease!

This is all part of the new Kerbside Collection Service the council are hoping to roll out in early 2009 aiming at reducing the amount of waste we send to the Kate Valley Landfill by one third.

We’re going to get three new bins for our for all our filthy needs. One for rubbish (obviously), one for recycling and yet another for compost. The compost is the new contender and is for those without insinkeratorz or home composting systems.

Filed in Local | Tags: , ,


Zend Studio Eclipse - What Grinds My Gears

As many of you budding php developers know, Zend released their “Neon” version of Studio for Eclipse (Zend Studio 6.0) some time ago, it is perhaps (as far as I know) the most ambitious PHP IDE to date.

My list of gripes about this project are as follows:
Read on…

Filed in Nerd musings | Tags: , , , ,


How to Find New Music Using the “RAD” Technique

Finding new Music for some is an arduous and often fruitless task, many give up and listen to the same old CD collection or the same old stagnant playlist day-in and day-out.

Something’s got to change!

“I’m going to show you how to use the RAD (Research Audition Download) technique to find fresh music week-in and week-out for the rest of your lives.

The premise is simple: you have a bunch of trusted Research sources where you can find out about new bands, DJ’s and soloists. You Audition their music using free audio sources and music video’s. Then if you like what they do, you find a place to Download or Purchase more of their music.

Read on…

Filed in Music | Tags: , ,