> home
> how we work
> who we're working for
> about us
> publications
> buy apache essentials
> client login

play
static·red
edmonton and area web development

Current Projects

Edmonton Weather


>>Le blog.

speakeasy archives


· Image_Graph (February 2005 )
For future reference, here's a link to Image_Graph, a Pear-based library for charting through PHP. I'm hoping to use this with oven....
· The seventh circle of Hades (December 2004 )
My life as a Flash designer... ...was short.
· SQL Query (October 2004 )
SQL Query for my own reference
· Thank God for Backups (September 2004 )
Wherein I thank God for database backups.
· Searching with PHP and MySQL (August 2004 )
Searching with PHP and MySQL (for later)...
· Funny thing... (August 2004 )
I have yet to put in the thing that started the whole rewriting the project management app process.
· timestamp ready(ish) for testing (July 2004 )
Wanna beta test?
· Been workin' hard! (July 2004 )
Serious update to my project management web app.
· Convert HHC files to HTML (March 2004 )
For help developers: Convert HHC files to readable HTML.
· not out of silent running yet. (March 2004 )
I'm not really here.
· Cool google hack (February 2004 )
Nifty little hack
· An open letter (February 2004 )
An open letter to those who use the right-click catching script...
· PHP Amazon Search (September 2003 )
Incutio PHP Amazon Search for later....
· RSS vs. Echo (July 2003 )
Adam Curry is paying developers to not develop for the (n)echo project. The story goes like this: A year and a half ago, Adam paid Userland $10,000 to ensure his site was pre-installed in the Userland aggregator's RSS feeds. Now, he feels threatened by the emergence of a new aggregation format, (n)echo, developed by Sam Ruby. He's again wanting to make a $10,000 investment in RSS technologies, but this time he's distributing it to developers who work on aggregators that support RSS 2.0. The catch? You're disqualified from receiving the funds if you include (n)echo. I have a feeling that (n)echo won't be discouraged by Curry's desperate measures... in fact, it's likely that the project will thrive because of the enhanced publicity. I'm surprised Curry isn't working for Microsoft. This seems totally within their realm of reality. Instead of seeing two models of aggregation, that can compete healthily, Curry is throwing money to support a model that he likes, in the hopes of destroying the other....
· php gallery software... (July 2003 )
Based on my success with this script, I've decided to go whole hog and make a fully blown gallery script. I'm going to be setting up a Linux box at home this weekend, so I can start developing it, but need some direction beyond my own wants for it... So here's your chance - what type of functionality would you like to see in a web-based gallery? What do you think is lacking, and what do you think is not done properly?...
· EXIF Thumbnails... (July 2003 )
I'm working on a script to extract an EXIF thumbnail out of an image, so I can roll my own gallery software (nothing fancy, just pull images out of a directory, and put them into a table with thumbnails & EXIF info). I'm finding that none of the gallery software I've installed has really met all the needs I have -- and if they do, they create multitudes of support files in a directory... It seems that using EXIF thumbnails would be the way to go -- the image data is already stored in the file... it's just a matter of getting to it, and working with it. In theory, the above linked script should work; however, it appears that EXIF thumbnails aren't included in the file by default (at least not by the A70). So it means I'll likely have to pre-process the files, running them through an application to build the EXIF thumbnail. Which isn't necessarily a bad thing -- just a little extra work before uploading. However, since I don't have to do any preprocessing on the image side any more, it shouldn't mean that much more work in the long run. If you have any ideas as to what I should use to create the EXIF thumbnails, let me know. Update: Got it working over lunch. See inside for details....
· Using XML with PHP (May 2003 )
DevShed.com - Using PHP with XML...
· File Uploading with ASP (April 2003 )
It took me a week to find this page, which explains how to upload a file to IIS through ASP without a freaking third-party component.File Uploading with ASP There's also a version for uploading into an Access database as well. All I can say is thank the gods for Google and blind determination on my part that there was a non-commercial, non-component ASP upload script....
· ASP Content Manager (April 2003 )
An ASP Content Manager based on Access (I hate ASP)...
· The morning gripe (April 2003 )
I spent all day yesterday working on bttlxeForum, an ASP forum package, in order to get it to properly support MS-SQL. They say they support it, they even give you a configuration option for 'drop in support'..... but they lie, oh they lie! Though the authors have clearly written it with the thought of using SQL down the road, they haven't really thought too much about it. All the queries are written for MS Access, whose syntax is just different enough to make it incompatible with MS SQL. One of the peskiest differences is the lack of a boolean data type in MS SQL. True, there's a bit data type, but that returns either 0 or 1, not TRUE or FALSE. Since much of the code is based on TRUE or FALSE in bttlxeForum, it meant a lot of reworking. Of course, I now know almost every line of code in that damned thing. :)...
· web guru woes (April 2003 )
I hate ASP. I'm not too fond of Javascript. So, of course, the project I'm working on has an element that uses ASP/JScript. Curse my luck!...
· ASP & SQL Access (April 2003 )
ASP.NET.4GuysFromRolla.com: Efficiently Iterating Through Results from a Database Query using ADO.NET For reference....
· ASP 3.0 reference. (April 2003 )
ASP 3.0 reference ...for reference. :)...
· preventing direct access to images... (February 2003 )
Preventing direct-links to images will need this later....
· fun with javascript (December 2002 )
Came across a very cool little javascript at this design site. Look inside for more information. If you visit the site, be warned that I never actually made it *into* the site....
· ...and something else. (December 2002 )
And, because I needed an easy way to translate the HTML tags to regular text suitable for posting, I had to write this little PHP script. (See inside)...
· something I wrote... ()
So... I wrote an ASP ad server today. Code inside....
· nifty! (December 2002 )
Milonic is a nifty DHTML menu script I found, while looking for a friend of mine. It's free for personal use, and reasonably inexpensive for a small business....
· very cool (December 2002 )
The mighty Dean Allen has created a script in PHP that will highlight keywords for people coming to your site from a Google search. If I decide to implement PHP on this site (and I just might), I'll have to throw this in. See the link for more information....
· it feels.... odd. (November 2002 )
Regarding the "gallery hacks" post a little below... it feels really odd to be programming, after spending so much of my life after '92 avoiding it....
· gallery hacks (November 2002 )
I spent a good part of the day today adding a watermarking functionality to Gallery, as well as an email photo request (in place of Shutterfly). That's of course, on top of changing the login routine (placing it on the index.php/albums.php page if you're not logged in, instead of through a pop-up), modifying the permissions on newly created albums, etc. If you want the source code, drop me a line....
· more for future reference. (October 2002 )
DevShed - Overview of PHPShop - An open source e-commerce solution...
· for later reference. ()
HotScripts.com : PhotoPost PHP GMS PHP script that does image watermarking... for later reference. And also: Watermarking photos with PHP/GD2....
· mea culpa (October 2002 )
I think I owe a small apology to Brian and Wim, since I've started using databases more and more in my daily work. I didn't see back then how useful they were for dynamic content (such as drivers lists, news databases, publication lists, etc). So, my apologies for being such a twit about it. ;)...
· Garrgh! (October 2002 )
Ugh. Just spent the last two hours fscking around with Gallery's PHP, to fix a login bug. I'd already hacked it to make the login prompt display on the main page if the person viewing the site isn't logged in, instead of that annoying popup window. However, the PHP wasn't properly setting up the Session Variables properly, so the login page wouldn't work unless you a) refreshed the page before logging in, or b) logged in twice in a row. I spent about 2 hours playing around with the code, the order of checking things, etc, trying to fix it properly. And then, in a fit of exasperation, I cheated with a hacky hack of hackiness. I knew the page worked if it was refreshed in the browser, so I just had it check to see if the session variable was set, and if it wasn't, refreshed the page at the server level. The user never sees the page refresh with this:if(!$PHPSESSID) { header("Location: albums.php"); } Ya, it's cheap, but it worked, ok? Modified source (not that you'd want it) can be found here (tgz). (BTW, this entry was only made so I could use the phrase 'hacky hack of hackiness')...
· I hate SQL (August 2002 )
title says it all.... it seems that if it's not an alphanumeric character, SQL barfs on it. If you manage to save it as a hexidecimal value, you then need to convert it BACK when you pull it OUT of the database. How can you tell I just spent the last 2 hours trying to get the database to store a double-quote?...
· woohoo! (August 2002 )
I *just* finished fixing the last problem in the PHP for the site I'm working on at work! No more PHP! It's done! I ended up spending this long, because I added in some features that were originally axed due to time constraints. It turns out that the bulk of what needed to be done for them was already being done in a feature that was being included in the final version, so it was relatively easy to add them in after all. Now I just have to do some minor aesthetical tweaks, and it's ready to ship. I'm now sick of PHP. :)...
· also... (July 2002 )
As a side note, EMS Quickdesk is a fantastic program if you want to deal with SQL data in a non-scripting environment....
· doin' the PHP boogie ()
It's Monday, and I'm waist-deep in file and database manipulation in PHP. On Thursday, I knew absolutely nothing about PHP. To be honest, I still know next to nothing about the language, but I'm learning - fast. So far it's a decent programming language to learn. Of course, I have the basics (for/while/if, etc) down from the eaons ago when I believed myself to be a programmer, so I don't have to worry about learning those basics. As well, the commands in PHP seem to be relatively simple, such as str_replace() to replace string values, copy() to copy data, etc. I'm far from being a guru yet... but I'm learning slowly. ;) It also really helps to have some pre-existing code to work off of that I have to modify....
· in short (July 2002 )
I hate databases....