Author Archives: Steve

Uploading a Photo with the Facebook Android SDK

Facebook’s example code for Android shows how to upload a photo using the REST API rather than the newer Graph API. I knew that the iOS SDK can handle it via Graph just fine, so I changed the code in … Continue reading

Posted in Java | Tagged , | 2 Comments

Ugly Old RPG Code

Here’s an example of my past, and how bad I used to be at application design. I started this RPG back in 2006 and eventually stopped making it at the end of 2008. It sort of works… well, it would … Continue reading

Posted in PHP | Tagged , | 1 Comment

Exception Thrown Without a Stack Frame and Sessions

Just a note, if anyone receives this error at the bottom of the page when programming in PHP, and you’ve checked things like throwing exceptions inside of exception handlers, check any objects you’re storing in $_SESSION. If an exception is … Continue reading

Posted in PHP | Leave a comment

PHP Shell Execution Reminder

If you are using PHP to execute a custom-written shell script, keep in mind that the $PATH for the web server’s user can be different than the user account you’re using to execute it. Meaning, if it doesn’t behave properly, … Continue reading

Posted in PHP | Tagged , | Leave a comment

Canvas Cake

For fun, and Jeremy’s birthday, I redid my PHP/GD cake in HTML5 Canvas. This version also sports animated candlelight. Cake!

Posted in JavaScript | Tagged | Leave a comment

Ancient Image Class

This is a really old image library/class thing I wrote back in Summer 2006 while working with Jeremy and his company. I believe it was originally written in PHP4 and updated to PHP5 a month or two after the original … Continue reading

Posted in PHP | Tagged | 1 Comment

Wildfire Log Adapter for Solar

While doing some more development for Crindigan, I figured I should be looking for a better way to show debug information than putting it in the page footer, so I looked at FirePHP. Unfortunately the Firephp log adapter in Solar … Continue reading

Posted in PHP | Tagged , | Leave a comment

Pwiff Update

I just committed a simple Movie and Encoder class, so making a blank movie is now far easier to understand. At least now you don’t have to calculate the file length by hand. The first step is to define an … Continue reading

Posted in PHP | Tagged , | Leave a comment

Pwiff Source Released

Today, I was able to get Pwiff to create a “blank” SWF file, meaning a header, a FileAttributes tag, and an End tag. As a result, I decided to start a Google Code project for it, and host the files … Continue reading

Posted in PHP | Tagged , | Leave a comment

NextShout is now Free

NextShout was a commercial shoutbox product I released two or three years ago, for the vBulletin forum software. Its bandwidth consumption is far lower than any competing products, due to its use of efficient JSON and only sending information deltas, … Continue reading

Posted in PHP | Tagged | Leave a comment