Coding Horror: Top 25 Most Dangerous Programming Mistakes

Mar 28 2010 Published by jqs under delicious

Comments Off

the big square

Feb 15 2010 Published by jqs under Blog

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.

No responses yet

Day One @ #phptek

May 21 2009 Published by jqs under Blog

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!

No responses yet

Attending #phptek – Which Talks…

Apr 25 2009 Published by jqs under Blog

(See what I did there? When this tweets, the hashtag will be picked up!)

So in less than a month I’ll be attending php|tek1 adn its high time I decided what talks I want to be seen at. Erm, I mean, which I want to attend…

Tutorial Day:

I’m torn bewteen MVC Development in PHP and Web Application Security Boot Camp but in the end I think MVC will win out…

PHP Code Review wins in the afternoon. And that evening I’ll be busy attending the ChiSox/Twins game.

Day 1:

Highly Scalable Web Applications

Streaming XML

MySQL Server Performance Tuning

SPL to the Rescue

Getting it Done

Security Centered Design

Day 2:

Exceptional PHP

Desktop RIAs with PHP, HTML and JS in AIR

Seven Steps to Better OOP Code

PHP Database Application Architecture for Scalability and Availability

Bend SQL to Your Will With EXPLAIN

Taking it All Offline with SQL Anywhere

Day 3:

Out with Regex, In with Tokens

Working with Microformats

It looks like I’m going to have a lot of fun and will learn a lot. I’m hoping some of my methods get justified as well by my peers.

Kudos again to my work for sending me on this trip, and to my wife for allowing it!

No responses yet

Expect: php curl should play nice

Apr 25 2009 Published by jqs under Blog

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!

Continue Reading »

No responses yet

php|tek

Apr 14 2009 Published by jqs under Blog

I’ll be attending php|tek 20091 in Chicago this May. If anyone is attending who knows me, we should make plans to meet up.

I’m excited for this conference. I can’t remember the last time I attended a programming conference, let alone one being paid for by my employer!

No responses yet

iPhone OS 2.0 Quirks

Jul 28 2008 Published by jqs under Blog

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…

No responses yet

refactormycode.com == Great Idea…

Jun 17 2008 Published by jqs under Blog

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

No responses yet

Welcome to the New Blog…

Apr 15 2008 Published by jqs under Blog

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.

No responses yet