Icon Patrick Gibsonpatrickgibson.com
news and such projects, etc. movies writings hyperlinks contact
search:
news and stuff

Wednesday, March 24, 2010

iTunes Store Terms and Conditions have Changed

Periodically, the iTunes Store will have an updated Terms and Conditions to which you must agree before making any purchases. It annoys me to no end that they do not provide a summary of what has changed, so I've started using the "Email terms" feature to save copies for later comparison. Read on [Read on]
Posted in the evening | Post/Read Comments (2)
Sunday, December 7, 2008

Canon Canoscan on Mac OS X

I bought a Canon scanner a while ago, and I thought it was time to share the awesome interface that Canon produced for Mac OS X. I'm not sure if it's the beautiful icons or the custom window and widgets that I love the most; whatever it is, the designer behind this piece of work deserves some sort of award.

Canon Canoscan for Mac OS X

Mac software porting FAIL.

Posted after dinner | Post/Read Comments (4)
Wednesday, October 22, 2008

Changing window.location in IE 6

For some crazy reason, IE 6's crazy Javascript engine doesn't want to take me to a new URL by simply changing the window.location or window.location.href properties:

var newUrl = "http://patrickgibson.com/";
window.location = newUrl;
// This also doesn't work!
// window.location.href = newUrl;

But, the following code which shouldn't make a difference does work!

var newUrl = "http://patrickgibson.com/";
setTimeout(function()
{
    window.location = newUrl;
}, 0);

Go figure!

Posted right after lunch | Post/Read Comments (24)
Saturday, October 11, 2008

The domready event for Prototype

I've been a Mootools user for a while, but Prototype was a better fit for a project I was working on. Mootools adds the domready event to the window object which fires when the DOM has finished loading. This is a lot nicer than window's built-in onload event which fires after everything has loaded including images, stylesheets, etc. Read on [Read on]
Posted at bruch time | Post/Read Comments (6)
Friday, August 22, 2008

UPS: "Sir, there are no guarantees in life."

Let this be a lesson to any of you shippers who think UPS is a good company with whom to ship your goods. My pal, Kerry, ordered a new iPhone. It was shipped with UPS. Over a month ago. Dozens of phone calls have not made any impact in him getting his iPhone. He made one last call to UPS today to confirm if it was indeed "lost". UPS told him, "Sir, there are no guarantees in life." That's exactly what you want to hear from your shipping company. I therefore propose this be their new motto. I have never been a UPS fan because they have stung me with far too many brokerage fees over the years. FedEx, on the other hand, is just plain awesome.
Posted two hours before lunch | Post/Read Comments (1)
Wednesday, July 23, 2008

Leopard and usbmuxd issues

Preface: This post to save the frustration of system.log files being filled up with error messages and an iPhone not being recognized by iTunes. It is of an extreme technical nature, and will be completely uninteresting to you. Read on [Read on]
Posted during lunch | Post/Read Comments (4)
Tuesday, June 17, 2008

Xdebug for PHP 4.4.8 on Mac OS X Leopard

To anyone trying to compile Xdebug for use with PHP 4.4.x on Mac OS X Leopard, you will probably have problems loading the module if your PHP was compiled as a Universal binary. You will see something like:

Failed loading /path/to/xdebug.so (null)

You need to specify some options on before you run configure to have Xdebug compiled as a Universal binary:

MACOSX_DEPLOYMENT_TARGET=10.5 \
CFLAGS='-arch i386 -arch x86_64 -arch ppc7400 -arch ppc64' \
LDFLAGS='-arch i386 -arch x86_64 -arch ppc7400 -arch ppc64' \
CXXFLAGS='-arch i386 -arch x86_64 -arch ppc7400 -arch ppc64' \
./configure --enable-xdebug

Posted at bruch time | Post/Read Comments (3)

[ And Back in the Day... | RSS Feed xml/rdf ]


Retrix Hosting