iridani.com

dev://james.stansfield
Feb 15

I’m starting on a new project that I hope to see off the ground in a few days. the big sqaure will be a webcomic of sorts. If a webcomic could be crossed with a Digg or Reddit that is.

The gist of it is: I can’t draw, but I’ve got tons of ideas. Serial and otherwise. So, each week I’ll post an idea and an empty square. Anyone can draw what I’ve asked and submit it. Upon acceptance, the image will join any others gathered. Every visitor can then vote on which is the best depiction of my description. When I post the next square’s description, the winner of the previous week is set as the comic and will appear in the archive appropriately. All others will still be stored and available for perusal. Every piece of art remains owner by the artist, yadda yadda yadda.

I hope it will cause many different interpretations of what I describe. If not, it’ll divert my attention for awhile.

Expect an announcement and promotion once I finish creating the back-end to run it. Should be an easy dev project for an old horse like me.

May 21

What was the single most important thing I learned today? Always bring your condom! Er, I mean, your keyboard condom1.

First official day of the conference and my new MacBook survived three spills, two coffee and one water and lived to tell the tale.

Man these php devs just don’t like Macs!

Apr 25

Once again, my job has me writing mutli-threaded PHP1 scripts that use PHP’s CURL2 library to connect to remote servers. (I’m calling an API here!)  Without going into too much detail, the networking specifics changed between me and the api server, adding a new, or newly reconfigured, invisible proxy to the data path.

This proxy is running Lighttpd, while light in name, is starting to throw around it’s weight and get in my way.

Warning! We are going to get technical!

Read the rest of this entry »

Jul 28

Okay, maybe some of these are more annoyances than quirks:

 

  • Springboard Application Placement Upon Update
This one gets me every time an application has an update. If I’ve gone through the trouble of taking an application (that I paid for) and drag it across six pages of apps so that it can reside in the #1 spot on my iPhone, why when upgrading does it jump to the end of the list again? I can understand that new apps get chucked to the end of the list, but couldn’t the OS merely turn off the old version (I assume it isn’t deleted until the new one gets downloaded, but I’m not betting the farm on it.), move it automagically somewhere and setup the new ‘downloading’ app in the spot the previous version occupied?
And while we’re talking about upgrading apps, why does the App Store need to quit to the Springboard every time I tell it to download a new app? Can I queue these things and have them go all at once? I mean you can get all of the updates to installed apps in batch mode right?
  • Developer Hardware
So I’m a real honest to goodness, paid up, friend of Steve, iPhone developer. Full access to OS 2.1Beta… I haven’t produced anything yet as I’m too scared of the warning on the iPhone DEV site which states, that by installing the Beta iPhone software I may lock my iPhone permanently into developer hardware and it can’t be used as a phone again! What what what?
Are you kidding me? So if I really wanted to produce an iPhone app and wanted to use an iPhone, I need two of them? With Rogers requiring a contract to go along with every iPhone, perhaps my 1st gen iPhone becomes a developer box and a new one becomes my phone.
Personally I’m holding out that my new job picks up an iPhone 3G for me…
Jun 17

I’m going to attempt to not spam this site with a bunch of non-development work stuff. I’ve other blogs for that… But in keeping with the vein of this website1, I’ve recently been pointed to a very cool website who’s basic premise is too simple to have not been thought of before now…

We’ve all seen web clipboards and code repositories before2, and even I am guilty3 of wanting to get in on the action. But all of these sites are simple repositories.

Marc-André Cournoyer4 has a fresh take on the idea. His refactormycode.com5 site isn’t just a web clipboard, but rather it is a place to put your code up for community scrutiny.

The idea is that you can post a code snippet and ask for help to see if anyone can help you sort out a problem. This isn’t a wholesale help board for new programmers, but for people who are having problems envisioning code design changes, code cleanup problems, and even those who want the tightest code possible and are seeking improvement.

The website even has an API6 for those who want to dig into the site that much more… (Maybe I’ll add a widget here for my refactorings…)

Good job Marc. Nicely executed.

1. code code code
2. pastie.org
3. A new project will be released shortly… Keep watching this space! — c???x.iridani.com
4. macournoyer.com
5. refactormycode.com
6. API
Jun 13

I’ve released1 (finally) a version of what I consider a ’starter’ Wordpress2 plugin.

This little
baby
is a
simple text replacement thingy.
This little baby is a simple text replacement thingy. The nice thing is that is easily demonstrates a clean plugin that won’t trip over other plugins, creates proper administration pages utilizing AJAX and uses 2.5’s shortcodes.

It’s not production level code as there isn’t any real data validation on the admin form (altho if someone has gotten that far, you are toast anyway…), and it doesn’t check to make sure that it is being called from the admin pages either.

Beyond that, it is easy to read as an example for starting your own Wordpress plugin.

Enjoy.

EDIT: Looks like I’ve done something horribly wrong and the readme.txt file isn’t being parsed correctly… Thus the download isn’t working. Will update when this is fixed.

EDIT: (June 17, ‘08) It is fixed. I just ran the plugin auto-updater and it worked perfectly from this copy of Wordpress. Go download!