-
September 15th, 2008
Think you’re registered to vote?
I just went to the Washington State Voter Registration website to check my voter information, and my status was set to inactive, and it listed me as not voting since 2006.
This is frustrating because I was never informed that they had deactivated my voter status or given a reason as to why my status was changed. In addition to this, I’ve voted in every election between 2006 and now and never had a problem at my polling place. I have no way of knowing if my votes have been thrown out these past years.
If you think that you are registered you might want to make sure:
http://wei.secstate.wa.gov/OSOS/VoterVault/Pages/MyVote.aspx
If there are any problems with your information, you can call King County Elections at 206 296 8683 (press 0 to talk to a human) an they can fix your information over the phone.
-
Simulate Network Delays
February 18th, 2008
When developing web applications it is helpful to be able to simulate a slow network. This can help you see how your UI indicators, ajax loaders, etc., will operate in various network situations, unlike your local network which is generally free of any sort of interference.
These little snippets of code will freeze the execution of your web application for three seconds:
// PHP sleep(3); // .Net System.Threading.Thread.Sleep(3000);
-
Fluent: PHP Data Types as Fluent Objects
October 28th, 2007
Introducing Fluent, a set of PHP 5 classes that make writing code happier. Fluent enables you to deal with data types as objects in the fluent api style, like you can in most other modern programming languages.
// JavaScript "Hello There".toUpperCase()->split(' '); // C# "Hello There".ToUpper().Split(new Char[] {' '}); // Ruby "Hello There".upcase.split(' ') // Python "Hello There".upper().split() // PHP explode(' ', strtoupper('Hello There')); // PHP using Fluent S('Hello There')->toupper()->explode(' ');