I had intentions to write a blog post declaring 2011 as the Year of the Hacker but never got around to it. We had LulzSec, J3ster, and Web Ninjas. We had Stuxnet. We had Iran hacking certificate agencies. We had the iPhone "Towson" hack. We had noobs getting arrested for using LOIC from home. We had a virus hit control computers for the CIA's drones.
I was studying Android programming a few
months years ago, and they made this recommendation: "Don't call the UI-construction code directly! Use XML for your interfaces!"
The Android XML format is so painful to look at that I thought it worth my time to design my own alternate domain-specific language rather than use the one they gave me. (I never finished it)
The old practice of web development
The new practice of web development
var node_html = document.createElement("HTML");
var node_html_head = document.createElement("HEAD");
var node_html_head_title = document.createElement("TITLE");
node_html_head_title.innerHTML ="My Webpage"
Android and the Web seem to be going in opposite directions there.
I propose a new baseball statistic that weights and combines multiple different types of failure. Call it Derps Per Perp.
- any appearance including:
- an inning surrendering four or more runs, OR
- any appearance of under one inning that is not the final appearance of that inning.
- Hitting into double and triple plays
- Fielding errors
Divide batter stats by factors related to at-bats
Divide pitcher stats by factors related to innings pitched
Statistics for the AL might need to be adjusted due to pitchers not hitting and designated hitters not fielding.