It's Alive!

by Jason on

Image by ToM (ThaQeLa)Resurrected after nearly 6 months, hopefully some new posts will be forthcoming…


by Jason on

The above is the best and most thorough berating of PHP that I’ve seen. Worth reading before considering using it for a project.

There was a time not so long ago when there were few alternatives for development with low entry cost and relatively few deployment barriers. Thankfully that time is at an end.

This is not the same. PHP is not merely awkward to use, or ill-suited for what I want, or suboptimal, or against my religion. I can tell you all manner of good things about languages I avoid, and all manner of bad things about languages I enjoy. Go on, ask! It makes for interesting conversation. PHP is the lone exception. Virtually every feature in PHP is broken somehow. The language, the framework, the ecosystem, are all just bad. And I can’t even point out any single damning thing, because the damage is so systemic. Every time I try to compile a list of PHP gripes, I get stuck in this depth-first search discovering more and more appalling trivia. (Hence, fractal.)

Webcam stop motion animator project

by Jason on

Here is a thing I’ve thrown together to do basic stop motion animation using webcams. Tested using my built-in hp webcam as well as a nicer standalone Logitech 9000 series. 52kb To run, unzip this and run StopImage.exe

Requirements: .NET framework 2.0+, a webcam, and probably more skill than I have at stop motion animation :D

To do:

  • provide a method to change the target framerate (currently this is fixed at 13 fps)
  • make it easier to upload videos after creation (right now videos, after creation, are in My Stop Motion Projects/Your Project Name/Your Project Name.avi)
  • provide the ability to select cameras if a user has more than one (right now you may have to disable an onboard camera in order to access a higher quality USB camera)
  • create a basic installer etc
Want more features or have an idea? Just ask in the comments!

A quick sample output:

About this app: Creative Commons License This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. This app was created using C# in Visual Studio 2010 and uses the AForge.NET Framework for video rendering and VFW device access.

CSS Gradient Tool

by Jason on

Here’s a CSS Gradient Tool I created to help shortcut browser compatibility with CSS gradient backgrounds.

Please note, while you can save your gradients into a “pallet” of sorts (the actual reason I made this) this version only saves to a local cookie. Additionally you can output the bare minimal settings required (colors & color stops) to json if you find that handy for some reason. (I needed the JSON for another project)

Mise en place development environment

by Jason on

Photo by chotda Creative Commons photo by chotda

As I’ve grown older I’ve become obsessive about my development environment and it’s state of readiness. A few months ago Cynth laughed at me because I said I couldn’t get to work yet (it was 8 am) because I had left my headphones in the car and my coffee was still brewing. I told her I hadn’t setup my mise en place yet.

It’s not that I’m a prima donna (or at least I hope not). I’ve just learned over the years that starting a project (or starting the day) without having everything “put in place” can lead to huge gulfs of waisted time. The coffee and headphones were a joke (just barely though!) However some stuff absolutely has to just be there and working properly. Usually this is in the form of “tools” or the “environment”.

The following is my development mis en place on a Windows development box

The obvious stuff:

  • A recent stable Netbeans IDE with at least Java and PHP
  • Visual Studio 2008 (with at least C# and VB of course)
  • SQL Server Management Studio (hopefully not express)
  • MySQL Tools: (I prefer to have both MySQL Workbench and sqlYog available)

The nice to have stuff:

  • A decent image editor. (I prefer having both Photoshop and Fireworks available.)
  • Fiddler for troubleshooting anything that communicates over http
  • WinMerge for those times you have to work with another developer that is too “busy” for source control.
  • Firefox+Firebug and Google Chrome

The stuff that saves epic amounts of time:

  • VirtualBox running the closest clone of a production environment I can simulate. (Usually for me this is latest Fedora, latest CentOS, Windows Server 2005 or 2008) I do sacrifice some things for comfort here. I always use a shared folder for development and I forward all Apache, IIS, SQL and MySQL ports to the host machine through guest extensions.)
  • VirtualBox with a version of Windows XP SP2 for testing compatibility with IE7 (not 6, let 6 die) or for testing C# desktop installations in earlier versions of .net when necessary).
  • A decent Subversion client (I really like Netbean’s SVN plugin although it is pretty basic)

What since you don’t work in a team, you don’t need source control?The next time it is 2am and you have written yourself into a corner and you know that your work at 9pm was much closer to what you need now: I hope you can comfort yourself thinking about all the time you saved not using source control.

The rest:

  • 7zip
  • Various SDKs (I usually have at least the android, air and flex sdks available)
  • winMTR (is the downtime caused by them or us?)
  • FileZilla Client
  • putty
Well that’s it for my development environment.

Want to share yours, have suggestions, criticism or questions? Leave a comment.

Oooh, an update! Shiny!