All bad. You do that, you go to the box, you know. Two minutes by yourself, and you feel shame, you know.
In a movie full of great dialog, this may be the most overlooked quote of all.
Just another WordPress site
All bad. You do that, you go to the box, you know. Two minutes by yourself, and you feel shame, you know.
In a movie full of great dialog, this may be the most overlooked quote of all.
Not even sure why…but this was stuck in my head when I woke up this morning:
The Romney campaign’s web site is coded with a bit of an open loop. It makes sense from a dynamically generated website perspective I guess. However, it’s also the sort of thing that lazy RESTful programming gets you. The idea being that you have a template that is populated by values from a data store based on parsing the URL that lands you there. The lazy was of doing things is to just assume that every value passed is valid. The smart way of doing this is to check to see if you have something useful for that value and to redirect to some kind of error if not.
For example, the good way of doing this is this very blog. Let’s say you want to see every blog entry published in 2012. You’d use the address http://blackfez.com/2012. Let’s say you’re on to the trick and want to see every blog entry published in 1948. You’d type http://blackfez.com/1948. Notice how the second link redirects to an error page? This is smart. And relatively simple. You just check your input before going off to render stuff.
Enough of the theory, why is this fun? Because with lazy RESTful programming you can do stuff like this:
Anyway. It’s fun. At least to me. It’s also a bit of lazy programming and leaves the Romney campaign open to some needling. And it seems like the last thing the guy needs is another exposure to ridicule.
Mefi time machine posts are a great way to relive that simpler way of life on the Intarwebs. Case in point: Canadian McDonalds Employee Simulator.
Ran across this on the HomeBrewTalk forums. Absolutely love this. Some guy is brewing beer with an Ovaltine base. The video is pretty cute even if the audio suffers from clipping here and there.
Q: How do you get four elephants into a Mini?
A: Two in front and two in back
Q: What game do four elephants in a Mini play?
A: Squash
Q: How do you get an elephant into the fridge?
A: Open the door, insert the elephant, close the door
Q: How do you get a giraffe into the fridge?
A: Open the door, take out the elephant, insert the giraffe, close the door
Q: The lion decided to have a party. All of the other animals showed up except for one. Which animal did not show up?
A: The giraffe because he was stuck in the fridge
Q: How do you know if there are two elephants in the fridge?
A: The door won’t close
Q: How do you know if there are three elephants in the fridge?
A: There will be one elephant waiting in the Mini
I freakin’ love elephant jokes!
So…I’m posting cat humor now. In my defense, it seems kind of funny to me.
Louis vs. Rick. The ostensible results of a Rick teaching his cat how to IM. Presented in reverse chronological order.
For your reading pleasure, here’s the same content only in chronological order:
A comment spammer left this comment on an earlier blog post
Finally, an issue that I am passionate about. I have looked for information of this caliber for the last several hours. Your site is greatly appreciated.
Glad I could procure something for him/her to finally be passionate about.