home

2a rookie mistake, a programming challenge and a fresh start

It’s gone. 4 years and 30GB of photos gone because of a stupid lapse in concentration. All my originals are just nowhere – rsync –delete really fucked me this time!

Never the one to look on the dull side of things, this presented an interesting challenge. Seeing as I don’t know exactly when it happened, the chance of an undelete was pretty slim. So I turned to Google to see what was available to me in the way of backing up my flickr photos. It’s not quite 30GB of originals, but 1145ish decentish resolution exports is much better than nothing.

There are a couple of things available, but the only notable one is Java, slow, crap and doesn’t download some photos with no explanation, so that’s that. Seeing as I basically only wanted a straight backup of everything of mine on flickr, I figured that there had to be a way that I could just get a list of all my photos so that I could archive them and be done with it. This wasn’t really the case, so I opted for using flickr’s API calls for everything in sets and everything not in sets. Because, if I ever decide to put it out in public, I wouldn’t want it getting abused; I’ve decided to use flickr’s authorisation API to confirm the user as well. It works really well, and is downloading my originals as we speak.

The only potential issue is, because it puts your set photos in their own directory, there will probably be some duplicates, but I’d rather have 2 of one than none. If you want a copy of the script, you’ll need OSX/Linux with PHP 4 at least. Leave a comment and I’ll email it over.

CLI Backup in action (by jaspertandy)

And, now it’s time to start a new era of photos.

annoying api backups flickr idiot mistakes

code, photography

Speaking of…

It’s fun to purposefully mislead people; luckily, conversation is a great vessel for this.

As well as xkcd’s awesome example, I like to say “speaking of [something]” as a precursor to a topic, when said topic has never even so much as been alluded to. It’s best to do with confrontational people—you then get to try and convince them that you had definitely mentioned it and they probably weren’t listening.

Sometimes boredom is a dangerous thing.

annoying language me speech stupid xkcd

language, me, people

1304: new things.

304: new things.

My laptop, rather suddenly, gave up on me yesterday so I’ve had to get a new one. All technology seems to be against me recently. That’s quite an annoyance for a web developer/wannabe programmer.

You’re looking at our new bed/part deposit on a house. The worst part is, I’m not even excited. Is that a breakthrough?

365:365 annoying apple crappy week laptop macbook pro technology

365.1

The white noise of Twitter.

OK, so I’ve hit my saturation point with Twitter. I now follow 87 people, and it’s too much. I appear to have entered a little sub-social circle, in which everyone re-tweets everyone else’s tweets. I’ve already voiced my displeasure at the phenomenon that is re-tweeting and it’s really ruining the whole thing for me now. So now, I’m going to be cleansing my following list. It’s nothing personal if you go, you probably just talk too much about stuff that I don’t care about.

annoying social twitter

me, reaction

039 090708 – The midnight oil; all gone

39/365

Today, I want to talk about work. I like my job. I love to learn new things and be met with new challenges, and in my job that’s my daily bread. I like to challenge myself, too. Every project I undertake, I do better than the last one. That’s not to the discredit of the last one, because it was as good as I was capable of at the time. I challenge myself to get the job done with less code, smaller files, less-to-no repetition. I hate to compromise, even though the web frequently forces me to do so. I even hate to compromise when the compromise is better than what I was initially aiming for, because I had to forego something that was unachievable. I don’t like to admit that I had a bad idea (even though I can, and I consider it very important to be able to).

I think I’m good at what I do. I take a lot of pride in my work, and it shows in the enthusiasm with which I present myself and my work.

However, with each project I finish, I become more aware of and frustrated by the limitations that are inflicted upon web-workers on a day-to-day basis by certain aspects of the web. The problem is split about 70/30 in my eyes between users who use and insist on using antiquated software and the software itself. Looking at it from this angle, it would be easy to say that users are 100% of the problem, but I don’t think it’s right to let certain vendors get off scot-free, being substantially arrogant to release ridiculously sub-standard software.

The crux of this small point (I could go on but, as I said, all my midnight oil is gone) is that there are a lot of developers who have a real passion for user experience, right down to the stuff that you don’t even think about, and we do it as a hobby even when we’re not getting paid!

This is why I’m not obnoxiously telling you that you’re an idiot for using a Microsoft web browser – as a user, the majority of the reasons I want you to switch aren’t important to you, I’m simply asking that you try one of the amazing alternatives that are free, faster, easier to use (everything new involves a learning curve) and created by people who actually care about your experience and aren’t just putting a browser out because being seen as having a large market share is important for their image as a software giant. A couple of weeks ago, 8 million people downloaded Firefox 3 in one day, and I’d really appreciate it if you did the same, it would definitely make my life a load easier to be able to drop support for barely-capable browsers.

If you try and don’t like Firefox, definitely take a look at Opera, another amazing browser.

You’ll thank me for this later.

365:365 annoying browsers firefox opera web work

365.1

037 070708 – The Crowning Turd

37/365

Awful Monday today. Just awful. Disturbing phone calls at midnight, back to work after a long weekend, wild variations of configuration on development and test servers, javascript misbehaving, Postfix on OSX not picking up rn in headers; preferring n and missing the early pre-order of the iPhone 3G, Charlotte’s car started driving funny just before I landed on our drive. Get out of the car and I’m greeted by this lovely flat tyre. I wasn’t even going to begin to deal with this in the rain, so it will be ignored until tomorrow night.

I’ve just reminded myself that my car doesn’t have any petrol in. Tomorrow could be fun too.

365:365 annoying cars

365.1

Argh! Silly car!

I love my car. It’s brilliant! For the last (at least) 12 months, it’s been reliable as hell. Sure, it failed its MOT but I was prepared for that and it wasn’t an inconvenience.

Last night, however, when I was supposed to be going go-karting with the guys from work was an inconvenient time for my car to break down. Being the impulsive guy I am I big-fat-went go-karting anyway and left my problem until 11pm last night. Irritatingly enough, my problem hadn’t vanished by 11pm; my car was still overheating, idling high and (seemingly) overfueling. Great. So I think “I’ll try to get it home, then use Charlotte’s car”. This didn’t work. I got to between junction 9 and 8 on the M27 by 11:15pm and that’s where I stayed til 12:15pm when the nice AA man arrived to give me a lift home.

This would be all well and good, I don’t mind spending out on my car because it costs me so little normally, but I really wanted to get a tattoo this month and now I can’t! I also need to look for cheap reasons to test why my car would be playing up, and this definitely doesn’t mean taking it to a garage – I always get the distinct impression someone is trying to steal from me when I go to the garage.

annoying cars

cars

52PHP, mail() and OSX Leopard

So I couldn’t figure out any way of doing this, and I can’t stand stuff like this beating me so I’ve been messing about with it for the last hour and it’s finally working so I thought I’d share what I’ve done. Maybe this will get spidered, but mostly it’ll be here for my future reference!

The long and short of this situation is that OSX includes sendmail, but it seems to be some sort of alias for postfix, so you should actually be configuring postfix. Right now, I should probably clear up that I’m by no means an expert on any of this and it’s all been trial and error for me so far so if it doesn’t work for you, I can try and help but I can’t promise anything.

annoying apache apple internet leopard mac osx php postfix problem

code, internet, mac