iridani.com

dev://james.stansfield

Welcome

This is James Q. Stansfield's internet home away from home. Nearly everything he does can be referenced from here.
Jun 17

Aaron Hillegass - Cocoa Programming For Mac OS X I’ve just spent a hour reading the first chapter of Aaron Hillegass’ excellent Cocoa Programming For Mac OS X1

Aaron makes it easy to pick up Objective-C and start learning the ins and outs of event driven applications. This is the first time I’ve really started to ‘get’ this model of development. Granted I’ve got the free time to put into the project, but still.

I’m looking forward to future chapters and I apologize to my family now as I suspect I’ll have my head buried in this book for some time to come.

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!

Apr 15

A lot has happened since I put this blog on hiatus a couple of years ago. I’ve changed positions at my place of work, I’ve completed a bunch of interesting projects, my wife and I have welcomed our first child into our lives and I’ve been given my freedom!

That’s right, I’m a free agent at the moment and am in the process of scouting out my next opportunity. Until that time comes, I’ll keep everyone updated as to my status here.

In addition, now that I’ve got a little free time on my hands, it’s back to the developmental grindstone. I’ve not had opportunity in the last few years to get anything out of me that wasn’t tied to my employer of record and I’m near to burst with ideas. This website will become home to all of them.

Most notably I’ve become a WordPress fiend and have a bunch of plug-ins I’m writing as we speak. I’ve joined Facebook and have more than a few ideas for applications for their platform. I’ve made a few improvements to my template class now known as tmpl and will be bringing those online shortly. And lastly, but not least(ly), I’ve an iPhone and am geared up to write a few apps for it as well.


Warning: stristr() [function.stristr]: Empty delimiter in /home/23938/domains/iridani.com/html/wp-content/plugins/wassup/wassup.php on line 2093