Blogging from Inside the New Media Revolution

Archive for the ‘Smibs on Code’ Category

Smibs on code: Upgrading to Git

2 Comments
By Forrest - August 14th, 2009

A few days ago, our code repository server froze. Nothing a restart couldn’t solve, but this was the fourth time this month. The computer has been running continuously for a couple years, with a few developers constantly committing and pulling changes, uploading files, etc., and it had apparently had enough. Seeing this as an opportunity [...]

Smibs on Code: Filtering user data

1 Comment
By Forrest - April 29th, 2009

There is a major security concern when it comes to displaying text provided by a user. Ruby on Rails does a good job of keeping your MySQL code sanitized, but web browsers are still a source of concern. It is VERY easy for a hacker to write HTML or JavaScript into a text field. You [...]

Smibs on code: JavaScript lines

2 Comments
By Forrest - March 13th, 2009

This is going to be another short post where I share some code, and much more importantly provide a demo to play with. There have been a number of times when our team has an idea that would require some creative drawing & lines in a browser. This is traditionally Flash territory. There has been [...]

Smibs on code: JavaScript windows

1 Comment
By Forrest - March 4th, 2009

This is going to be a short fun post. It’s about a JavaScript library that I wrote a month ago. We wanted to see how easy it would be to develop multipurpose JavaScript windows to run inside the browser. The goal was to create a simple window model that could handle all the windowing functions. [...]