Category Archives: Coding

Card games in the classroom…

So I’ve been criticized before for having my computer science students play poker in class. I usually have some type of card game in my beginning level programming classes I teach. Blackjack, poker, or some other card based problem/simulation/game is … Continue reading

Posted in Coding, Thoughts | 1 Comment

New Year Larger Projects

So last time I wrote an entree I was in the middle of a very large project at work. It was pretty big… big enough to end up in Wired magazine. It was weird seeing my work as a published … Continue reading

Posted in Coding, Life, Software, Thoughts, Work | Comments Off

Google Video Redone…

Check out the results of a recent project I am working on.

Posted in Coding | Comments Off

PHP filter XSS

Every web programmer has their own way of dealing with XSS but here is an interestingly simple way to deal with XSS attacks. function filter_xss($oValue, $sValidCharacters = “1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ”) { for($iCounter = strspn($oValue,$sValidCharacters); $iCounter < strlen($oValue); $iCounter = strspn($oValue,$sValidCharacters)) { $oValue[$iCounter] … Continue reading

Posted in Coding | Comments Off

An Image is Worth a Thousand Words in PHP…

An Image is Worth a Thousand Words and in this case that might be very true. How interesting would it be to see all your photos with a text filter. Now you can. These articles seem well written and appear … Continue reading

Posted in Coding | Comments Off

Stored Procedures and Logic

Discussion From Work… Here are just a few articles to back up my statements that the logic _should_ stay out of the database. If you have some feedback you want to provide I’m always open and can be swayed to … Continue reading

Posted in Coding, Software | Comments Off

OS X – PHP 4.3 & 5.0 – FreeTDS – MSSQL 7.0

I have been using a package from http://www.entropy.ch/software/macosx/php/ to get an up to date version of PHP for OS X Server. I really like the package and it’s options work great and do an excellent job of keeping up to … Continue reading

Posted in Coding, Software | Comments Off

Progress Bar…

So, I’ve been a little busy at work. Let’s just say with Chris passing on, someone leaving the company, and sort of new hire(3 almost 4 months) out with back problems… my life has been nothing but boring. It’s great … Continue reading

Posted in Coding | Comments Off

Rant II

Note: In response to a PHP discussion in a wiki. Please consider the follow: There are certain programming languages created to serve certain purposes. Just as there are certain color, styles, and types of automobiles to suit your personal needs. … Continue reading

Posted in Coding, Software | Comments Off

Blogging

I find this blogging to be rather interesting. I would like to take this post to express a quick look at what it has done to the online community. First off I have noticed a lot of people or reading … Continue reading

Posted in Coding, Thoughts | Comments Off