-
Recent Posts
Recent Comments
- tracy reyes on "No good deed goes unpunished" or how I got hit by a car…
- Stuart on "No good deed goes unpunished" or how I got hit by a car…
- TJ Avery on "No good deed goes unpunished" or how I got hit by a car…
- Anthony Sava on "No good deed goes unpunished" or how I got hit by a car…
- Stephanie S. on Card games in the classroom…
Archives
- July 2010
- April 2010
- March 2010
- February 2010
- December 2009
- September 2009
- August 2009
- July 2009
- June 2009
- January 2009
- November 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- July 2005
- June 2005
- May 2005
- March 2005
- December 2004
- November 2004
- September 2004
- June 2004
- May 2004
- January 2004
- December 2003
Categories
Meta
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
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
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
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
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
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