If you use Smarty for your templating engine, I’m sure you’ve had to format dates to different formats before. This is a handy modifier plugin which converts a date into something human friendly such as “2 minutes ago”, “Tuesday at 3:52pm”, or “March 12 at 6:49am” much like Facebook does. Works great for comments and [...]wha?
Entries for the ‘Geeky’ Category
I wrote a single file PHP Image Resize script that allows you to generate thumbnail images on demand, and thought I would share it with everyone. It actually generates a new jpg image on demand in the correct size, caches it for later use, and displays it. Its very helpful when creating an image gallery, [...]wha?
Yesterday was the first day of the Google I/O 2010 Developers conference. During the keynote speech, Vic Gundotra (VP of Engineering for Google) was talking about HTML5 and how there are APIs to allow developers to create better web applications. A graph was then displayed showing past, present, and future adoption of these APIs by [...]wha?
On apple.com, Steve Jobs posted an article about his thoughts on Flash. The last paragraph sums it all up by saying…
“New open standards created in the mobile era, such as HTML5, will win on mobile devices (and PCs too). Perhaps Adobe should focus more on creating great HTML5 tools for the future, and less on [...]
I developed a framework for us to use at the office for web applications. Its very lightweight and fast. The only part I think I need to optimize is the view – but it works for now. The framework is built for web applications, and not really for content sites, though it will work great [...]wha?
Today people listen to music allot differently then they did 5 or 10 years ago. Many people listen to their iPod or other mp3 player when they are on the go.
However with all this technology, there is still the time consuming task of finding and downloading or copying all your music onto your portable device [...]
Google Maps for Android has a “Navigation” feature which isn’t currently available to iPhone users. This feature turns Google Maps into a turn-by-turn GPS device, with text to speech. Meaning, it will read off exit and street names to you to assist you. It has quite a few interesting features.
Traffic / Travel Time – Tells [...]
Recently I’ve been doing allot of database planning for an eCommerce related product. In the process of doing so, I realized one problem allot of beginner and intermediate programmers have is properly designing a database schema. It seem’s the database structure almost always matches the user interface structure. This sounds logical, however can actually limit [...]wha?
I completed the build-out of my robots chassis last night. Its exactly a square foot, and about 8 inches tall. It was a pain getting the training wheels mounted to the motors – but I finally got them mounted after some fabrication work. Anyways, here she is so far…wha?
I’ve decided to take on the project of building my own robot. I’ll be doing this in two phases. Phase 1 is simply a wheeled robot that roams around the room randomly, avoiding contact with objects. I’ll be accomplishing this with IR sensors, as well as a Parallax PING))) sensor. The PING))) sensor uses sonar [...]wha?