Monthly Archives: October 2008

links for 2008-10-30

Glen Scott

I’m a freelance software developer with 18 years’ professional experience in web development. I specialise in creating tailor-made, web-based systems that can help your business run like clockwork. I am the Managing Director of Yellow Square Development.

More Posts

Follow Me:
TwitterFacebookLinkedIn

Wise Words from Martin Fowler

I’ve become quite obsessive about unit testing recently, and in particular the PHPUnit testing framework. A big proponent of test-driven development is Martin Fowler, and I keep one of his quotes in a sticky note on my desktop as a little reminder:

Whenever you are tempted to type something into a print statement or a debugger expression, write it as a test instead.

The PHPUnit manual is really well written, and contains a great guide for writing your first tests.

Glen Scott

I’m a freelance software developer with 18 years’ professional experience in web development. I specialise in creating tailor-made, web-based systems that can help your business run like clockwork. I am the Managing Director of Yellow Square Development.

More Posts

Follow Me:
TwitterFacebookLinkedIn

ADSL router for sale

I’ve put my spare ADSL router onto eBay. If you’re interested, bidding starts at 99p:

SpeedTouch 580 Wireless Multi-User ADSL Gateway on eBay, also Wireless Routers Access Points, Wireless Networking, Networking, Computing (end time 03-Nov-08 18:13:43 GMT)

Glen Scott

I’m a freelance software developer with 18 years’ professional experience in web development. I specialise in creating tailor-made, web-based systems that can help your business run like clockwork. I am the Managing Director of Yellow Square Development.

More Posts

Follow Me:
TwitterFacebookLinkedIn

GoboLinux proves that AmigaOS was ahead of its time

GoboLinux is described as “an alternative Linux distribution which redefines the entire filesystem hierarchy”. Not particularly snappy, but the concept behind it is very clean and simple: there is no need for package management, because every program resides in its own directory. This is a great concept because it means you don’t get libraries scattered around your system which can cause dependency problems, and makes un-installing applications much easier.

GoboLinux uses the filesystem to organise program installation so that, for example, OpenOffice and all of its required files would be installed under /Programs/OpenOffice/3.0/.

Mac OS X also uses this concept: right-click on an application in /Applications and select the Show Package Contents option to see this in action.

A post entitled An old OS idea is new again: non-installation by Carl Sassenrath reminded me that the AmigaOS was doing this back in 1985.

I have a lot of time for the Amiga, and particularly its OS. As well as this “non-installing” feature, one of my favourite concepts was the DataType. This was a method of allowing the OS and its applications to recognise new filetypes by abstracting the loading, decoding and saving of file formats into a file descriptor. It meant, for instance, that you could add PNG support to a graphics application simply by dropping a PNG DataType file into the Prefs/Datatypes directory.

Glen Scott

I’m a freelance software developer with 18 years’ professional experience in web development. I specialise in creating tailor-made, web-based systems that can help your business run like clockwork. I am the Managing Director of Yellow Square Development.

More Posts

Follow Me:
TwitterFacebookLinkedIn

Synchronize iCal with Yahoo! Calendar

Update 26th October 2011: Are you receiving a “502” error from iCal? Please see my more recent post iCal 502 error when syncing with Yahoo! Calendar for more details.

The new beta of Yahoo! Calendar now supports the CalDAV protocol, meaning that sharing and synchronizing with desktop calendaring applications is possible.

iCal has supported CalDAV since version 3.0 shipped with Mac OS X 10.5 Leopard, so it is possible to get it working with Yahoo! Calendar. After completing the following steps, any events that you create in the web-based Calendar will be replicated to iCal, and vice-versa.

What you will need:

  • A Yahoo! account. In the example, we use the username yahoouser
  • Access to the new Calendar Beta.
  • iCal version 3 or above

Step 1:

  • In iCal, select the Preferences… from the iCal menu.
  • Click on the Accounts icon

  • Click on the plus button to create a new CalDAV account
  • Enter a description, such as Yahoo! Calendar, your Yahoo! username and password.
  • Click the Server Options link and enter the following into the Account URL field:
https://caldav.calendar.yahoo.com

  • Click the Add button.


Your Yahoo! Calendar should now be synchronized with iCal, refreshing every 15 minutes: you should see it listed on the left hand side of your iCal window underneath the calendars stored on your Mac.

Glen Scott

I’m a freelance software developer with 18 years’ professional experience in web development. I specialise in creating tailor-made, web-based systems that can help your business run like clockwork. I am the Managing Director of Yellow Square Development.

More Posts

Follow Me:
TwitterFacebookLinkedIn

M865 Project Management

So I’ve completed another module for my Postgraduate Diploma in Software Development. It was the project management course, and I have to say it was the most challenging one so far. It was an optional module, but I thought it would be interesting as I am starting to take on more managerial tasks at work.

A lot of the concepts in the course were completely new to me, so there was a lot of information to take in. The course was divided into the following units:

  1. Project initiation
  2. Risks, estimates and contracts
  3. Planning
  4. Building and leading the team
  5. Project execution
  6. Standards, methodologies and reflections

As my previous modules had been a lot more technical, this was a refreshing change. It really helped me to see the overall view of a project rather than just a small aspect of it, as I would ordinarily experience as a programmer.

The course text was very well written, and used good examples throughout. As part of the course assessment, I had to use a real project that I have involvement in as an example. This was a useful feature of the course as it help to relate my learnings to the real world.

Out of all of the courses I have taken so far, this is definitely the one in which I have learnt the most so in this respect it has been very worthwhile.

My next course starts on 1st November, and I have chosen M877 Advanced Database Technologies, which should be just as interesting, if somewhat more technical.

update, 9th December 2008: I can breathe a huge sigh of relief as the results are in and I’ve passed the course!

Glen Scott

I’m a freelance software developer with 18 years’ professional experience in web development. I specialise in creating tailor-made, web-based systems that can help your business run like clockwork. I am the Managing Director of Yellow Square Development.

More Posts

Follow Me:
TwitterFacebookLinkedIn

No More X11 – OpenOffice 3.0 is a Native Mac Application

The latest version of OpenOffice is now a native OS X application, meaning no more launching Apple’s X11 to get it running.

OpenOffice 3.0 on Mac OS X

OpenOffice.org 3.0 officially released
Download OpenOffice 3.0 for Mac OS X (Intel)

Glen Scott

I’m a freelance software developer with 18 years’ professional experience in web development. I specialise in creating tailor-made, web-based systems that can help your business run like clockwork. I am the Managing Director of Yellow Square Development.

More Posts

Follow Me:
TwitterFacebookLinkedIn

New BBEdit Search and Replace Window

One of the new features of BBEdit 9 is the new Find/Replace Window, shown below:

BBEdit search and replace window

It’s been simplified a lot since the last version, but the really big change is that it is now a modeless window. This means that the Find/Replace window can be left open whilst still allowing interaction with document windows. Initially, this seemed like a good feature to me before I realised a side-effect of this change: there are no keyboard shortcuts for the Find/Replace options anymore. You can see the difference by looking at the old Find/Replace window:

BBEdit search and replace window

In this example, the Command key is being held down to illustrate which shortcuts are available; for example, Command-G toggles the Grep support.

Because of the Modeless window, these shortcuts have been lost in BBEdit 9. This makes the Find/Replace window slightly more cumbersome to use as turning on search options now requires the mouse. Furthermore, the very useful Start At Top option, has been removed completely.

Update: Thanks to Rich Siegel, CEO of Bare Bones Software, who has pointed me towards the release notes which document some brand-new Find shortcuts, thus rendering this blog post mostly pointless. Hurrah!

Glen Scott

I’m a freelance software developer with 18 years’ professional experience in web development. I specialise in creating tailor-made, web-based systems that can help your business run like clockwork. I am the Managing Director of Yellow Square Development.

More Posts

Follow Me:
TwitterFacebookLinkedIn

Are you getting paid enough?

Ever wondered what other people doing your job are getting paid? A new site called upyourkick.com has launched allowing you to see just that. Check it out:

upyourkick.com

Glen Scott

I’m a freelance software developer with 18 years’ professional experience in web development. I specialise in creating tailor-made, web-based systems that can help your business run like clockwork. I am the Managing Director of Yellow Square Development.

More Posts

Follow Me:
TwitterFacebookLinkedIn

Flickr Panda Spews Interesting Photographs

Flickr Panda

Bizarre way of checking out the latest interesting uploads on Flickr:

Flickr: Panda

Glen Scott

I’m a freelance software developer with 18 years’ professional experience in web development. I specialise in creating tailor-made, web-based systems that can help your business run like clockwork. I am the Managing Director of Yellow Square Development.

More Posts

Follow Me:
TwitterFacebookLinkedIn