Apple updates

There have been a load of updates recently for various apple software products; iPhoto, QuickTime all the iWork apps and some of the pro level apps have all had updates.

Preparation for OS X 10.5.2 perhaps?

 

Java private class fields not so private

Brushing up on some Java I came across an interesting “feature” of private class fields that reference mutable objects.

I thought it might help someone if I show how to get round the issue.

[Read more →]

 

Nikon D60 rant

Nikon has announced the release of the D60. A model designed to fit in between the D40 and D80.

Reading some of the features of the camera I have a few problems with the feature creep that seems to be afflicting new digital cameras.

[Read more →]

 

Java string reverse methods analyses

Following on from my previous post about making a simple palindrome detector, I analyse the performance of five different methods for reversing a string in Java.

[Read more →]

 

Posted

24 January 2008 @ 3pm

Posted in: JavaRuby

1 Comment

Palindrome: Java & Ruby

One thing that programming students often have to implement is a program to tell whether or not a string is a palindrome. In this post I flex my dusty Java and demonstrate a simple palindrome detector.

[Read more →]

 

Posted

23 January 2008 @ 12pm

Posted in: PHPRubyWeb

No Comments Yet

Sending an email with PHP and Ruby

The other day I was trying to code a back end to a simple web form. I wanted the data entered into the form to be emailed back to me. Here I describe two very simple methods to send an email from both PHP and Ruby code.

[Read more →]

 

Web site development with StaticMatic

StaticMatic is a small framework for producing static web sites. It is built on top of a number of Ruby gems such as Haml and makes it possible to create totally static sites using Ruby.

I have spent a bit of time playing with StaticMatic and thought I would share some of the things I have learnt just in case anyone else has the same questions as I did.

[Read more →]

 

Two small Leopard improvements that I love

Apple has touted the release of Leopard by boasting that it includes 300 new features over Tiger, the previous version of the OS. There are however two tiny little improvements that were not talked about anywhere and have answered my prayers by making it even easer to use by polishing the Mail and Finder application.

[Read more →]

 

Posted

21 August 2007 @ 5pm

Posted in: CSSIEWeb

No Comments Yet

Double Margin Bug

Don’t you just hate it when you spend hours lovingly crafting a layout in CSSedit/Safari/FireFox to the point of beautiful elegance only to discover that IE turns it into a pile of merde? This happened to me just the other day and even though it was down to a tiny, well known bug it still caused me a little grief. Because of this here is yet another blog post about fixing the double margin bug so others may fix it quicker than I did.

[Read more →]

 

Posted

16 May 2007 @ 5pm

Posted in: CSSJavascript

3 Comments

CSS & Javascript modal windows

I have been trying to set up a modal window on a web site like the one used by wayfaring.com for a login window.

A little searching turned up a few different implementations an I picked Pj Hyett’s as he was the person to make the wayfaring.com one.

The reason I am blogging about it is that a few people commented on the PJ Hyett blog that they could not get it working so I am posting a zip file of a working example here.