Announcing fn, a serverless framework

For the last couple of months I’ve been working on fn (pronounced fun), a serverless framework. It’s been slow going, but hopefully I’ll get some more time to spend on it over the coming months.

Read More

New year, new start.

I’ve had this domain and site for almost 10 years. I’ve never managed to regularly post. So I’ve decided to clear it all out and start again. I’m not going to promise a post a day, but I do want to post regularly. Twice a week feels like a good cadence.

Read More

Welcome to Jekyll!

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

Read More

Another new site!

I’ve decided, once again to do something with my domain. Mostly because it’s sitting here languishing, unloved. A waste of a perfectly good URL.

Read More

New Site, Again

I’ve just renewed my domain for another 10 years and figured it was time I put something on the website. It’s been pointing to a github pages 404 page for some time.

Read More

Installing Java 8 on OS X 10.10 Yosimite

So I’ve been running OS X 10.10 for a while and tonight decided I’d try to install the Java 8 JDK (JDK8u05) and have a play for a project I’ve been messing around with. Unfortunately I got this:

Read More

Customer support, what a joke.

Sainsbury's online grocery site was broken last night; it kept giving me 404 errors when I tried to pay for my order. There was one slot left that would get here before I had to pick the kids up, I'd booked it and wanted to keep it,  so I emailed their customer support. I was hoping maybe they'd tell me when it would be fixed, reserve the slot for me or something. 

I kept checking my email and trying their site and eventually later in the evening it worked, so I forgot about the whole thing until this morning when I got this: 

From: "Sainsbury's Online " <sainsburys@mailuk.custhelp.com>
Subject: Shopping online [Reference: 120110-00XXXX]
Date: 11 January 2012 09:54:42 GMT
Reply-To: "Sainsbury's Online " <sainsburys@mailuk.custhelp.com>

Dear Mr McCall

Thank you for your email about our website. I'm sorry you've been having problems on our website due to an error 404 message. I understand this must be frustrating.

I've spoke to our Customer Support Team and they have told me that Microsoft have been experiencing issues accessing the Sainsbury's servers that our website is based upon. They suggest that you search Google for "Error 404 Fix" and a Microsoft Tool will be available for download. Once downloaded this tool will fix the error and you'll be able to use our website again.

If you need any further help please contact us on 0800 328 1700. One of my colleagues will be happy to assist you.

We appreciate you taking the time to contact us and hope this issue is resolved for you soon.

Kind regards

<Name Removed>
Customer Manager
Sainsbury's Online
onlineservice@sainsburys.co.uk


I don't know what I can add to that. 
Read More

Validation 1.0.0 released.

I just pushed my little JSR-303 validation lib out as a 1.0.0 release. The JSR-303 is not 1.0 so it seemed like a good idea. 

The biggest changes are probably the ones needed to support those. If you were using the library you won't notice any difference, the changes are all internal and the actual annotations haven't changed. 

I've also removed the springframework package. JSR-303 is now supported in spring 3 and their support is better.

Finally I've added some static methods to AbstractAnnotationTest, assertValid and assertViolation; I've found them useful testing annotated classes and figure someone else may too. 

Check it out and let me know what you think. 

http://github.com/andrewmccall/validation

Read More

oEmbed

I came across oEmbed the other day, completely by accident.

I've been working on a couple of projects in my free time and in a few of them I really wanted to be able to embed better information about a URL, if it existed. I'd been working up my own rough JSON schema that was in many ways similar to oEmbed.

Then I came across a tweet that mentioned embed.ly and oEmbed and embed.ly are the perfect solution. Instead of rolling my own service I'm integrating theirs.

At it's most basic it's a standard way of getting more than just a link you can embed in your site and provides a standard interface for doing it across the web. 

If you're looking to embed things in your website, take a look. There are plugins available for wordpress and others as well as a jQuery plugin you can use pretty much anywhere. 
Read More