Feb 27, 2014

Ukraine Drone

Drone flying over Kiev.

Feb 25, 2014

Randomized Testing

randomizedtesting has some interesting options similar to StochUnit, however I like how it exposes the rand seed used to start the test for reproducability - I used to think about capturing the properties would be how I would like to preserve previous instances (what if the 2nd result was based on a random prior result?) Anyhow, looks like this has been there since 2012: https://web.archive.org/web/20120308222008/http://labs.carrotsearch.com/randomizedtesting.html Here is the presentation (live version).

Feb 20, 2014

Percussion macro for slot size

Used for CSS

#macro (slotsize $slotname)##
#* *##initslot($slotname "")##
#* *##* *#$sys.currentslot.relresults.size()##
#* *##endslot($slotname)##
#end

Websites on TV

It's fun and interesting to see the websites you worked on on TV. In this video with Chuck Moody, the new CEO at Jostens, there are several shots of the Jostens.com and the pro sports sites.

Conrad's Programming Axioms

Here's a good set of general laws for the universe: laws of the universe. Here are my programming axioms:

Ledlogic's Axioms

  1. If you change your program to generate a different result, and the results do not change, it's not using your code.
    • It may not have compiled successfully, and in the state where previous code is not deleted, you are essentially running old code.
    • Your code is in a different class, it has been overridden.
    • You are editing code in a different branch, or in a compiled directory not the source directory.
    • You code was not deployed (to all servers?), or a subsequent deployment overwrote your code.
    • There's an error in previous code failing before your code is executed
  2. The smallest change to your code that will cause it to fail is precisely one character.
    • Adding a ` to the first line in an XML file.
    • Adding a semicolon after an if in Java/Javascript.
    • Missing a semicolon (or including it) in SQL depending on the file type.
  3. If you log information, log actual information.
    • What was the condition in which it occurred.
    • A needle is easy to find if you don't throw it in the haystack in the first place.

Feb 1, 2014

Android update to 4.3, downloads ensue

How to clean up your download notifications that get "resurrected" after an Android OS upgrade: forms.androidcentral.com article.