cowwoc.blogspot.com
Where cows roam free...: October 2008
http://cowwoc.blogspot.com/2008_10_01_archive.html
Where cows roam free. One man's ramblings about programming, business and life. Sunday, October 26, 2008. Integrating Google Guice into JUnit4 tests. You can integrate Guice into your JUnit 4 tests with three simple steps:. Add the following class to your classpath:. ClassToRun, Module. modules) throws InitializationError { super(classToRun); this.injector = Guice.createInjector(modules); } @Override public Object createTest() { return injector.getInstance(getTestClass().getJavaClass(...Links to this post.
cowwoc.blogspot.com
Where cows roam free...: Tracking Java Versions using Google Analytics (part 2)
http://cowwoc.blogspot.com/2008/12/tracking-java-versions-using-google.html
Where cows roam free. One man's ramblings about programming, business and life. Wednesday, December 3, 2008. Tracking Java Versions using Google Analytics (part 2). I just posted (December 4th, 2008) a version that will allow you to differentiate between 1.6.0* the family versus 1.6.0 the version. I'm experimenting with a new script for tracking Java versions. To use the new code simply add the following two lines after your Google Analytics script:. Benefits of new script. The old code uses setVar().
cowwoc.blogspot.com
Where cows roam free...: November 2008
http://cowwoc.blogspot.com/2008_11_01_archive.html
Where cows roam free. One man's ramblings about programming, business and life. Saturday, November 8, 2008. Tracking Java Versions using Google Analytics. This code does not work as expected (it will only report the newest JRE version). Please see the newer version here. Ever wonder what Java version your website visitors have installed? Here's how you can leverage Google Analytics to find out:. Script type="text/javascript" var gaJsHost = ( "https:" = document.location.protocol)? Character as "<". Wait ...
cowwoc.blogspot.com
Where cows roam free...: Lessons learned from Mona Lisa (part 2)
http://cowwoc.blogspot.com/2011/10/lessons-learned-from-mona-lisa-part-2.html
Where cows roam free. One man's ramblings about programming, business and life. Wednesday, October 26, 2011. Lessons learned from Mona Lisa (part 2). I learned yet another important lesson about why it's extremely important to provide the fitness evaluator the exact same image as shown to the user. Take a look at the following images:. In conclusion: you should always (always! Pass the fitness function the exact same image you display to the user. Better safe than sorry :). View my complete profile.
cowwoc.blogspot.com
Where cows roam free...: MySQL dates that work across multiple time-zones
http://cowwoc.blogspot.com/2008/12/mysql-dates-that-will-work-across.html
Where cows roam free. One man's ramblings about programming, business and life. Tuesday, December 16, 2008. MySQL dates that work across multiple time-zones. Wouldn't it be nice if you could store date information in your database that would be correct regardless of your server and client time-zones (that may themselves change over time)? Well, after 12 hours of investigation, I finally got this to work ;) Here's how:. Configure the server to use. The GMT time-zone by inserting default-time-zone=UTC.
cowwoc.blogspot.com
Where cows roam free...: RESTful Dynamic Forms
http://cowwoc.blogspot.com/2008/10/restful-dynamic-forms.html
Where cows roam free. One man's ramblings about programming, business and life. Saturday, October 18, 2008. One of the key characteristics of RESTful web services is (application) "statelessness". That is, all application state should be stored on the client-end and send over with every request. Subscribe to: Post Comments (Atom). View my complete profile. Integrating Google Guice into JUnit4 tests. Simple template. Powered by Blogger.
cowwoc.blogspot.com
Where cows roam free...: Lessons learned from Mona Lisa
http://cowwoc.blogspot.com/2011/10/lessons-learned-from-mona-lisa.html
Where cows roam free. One man's ramblings about programming, business and life. Friday, October 21, 2011. Lessons learned from Mona Lisa. I've been studying Genetic Algorithms using Roger Alsing's Evolution of Mona Lisa. Algorithm over the past month and made some interesting discoveries:. Using opaque polygons improves rendering performance (and by extension the performance of the fitness function) by an order of magnitude. In all things, favor many small changes over drastic large changes. Don't use Cr...
cowwoc.blogspot.com
Where cows roam free...: Tracking Java Versions using Google Analytics
http://cowwoc.blogspot.com/2008/11/tracking-java-versions-using-google.html
Where cows roam free. One man's ramblings about programming, business and life. Saturday, November 8, 2008. Tracking Java Versions using Google Analytics. This code does not work as expected (it will only report the newest JRE version). Please see the newer version here. Ever wonder what Java version your website visitors have installed? Here's how you can leverage Google Analytics to find out:. Script type="text/javascript" var gaJsHost = ( "https:" = document.location.protocol)? Character as "<". Wait ...
cowwoc.blogspot.com
Where cows roam free...: Integrating Google Guice into JUnit4 tests
http://cowwoc.blogspot.com/2008/10/integrating-google-guice-into-junit4.html
Where cows roam free. One man's ramblings about programming, business and life. Sunday, October 26, 2008. Integrating Google Guice into JUnit4 tests. You can integrate Guice into your JUnit 4 tests with three simple steps:. Add the following class to your classpath:. ClassToRun, Module. modules) throws InitializationError { super(classToRun); this.injector = Guice.createInjector(modules); } @Override public Object createTest() { return injector.getInstance(getTestClass().getJavaClass(...October 26, 2008 ...