What's new? Working on Election Games seems to put me into restoration and renovation mode for my old code. "This Old Program". I have restarted an incomplete Blackjack program including card counting. Blackjack Blastoff. Politically whats coming up is the dreaded fiscal cliff. I have reading a couple things related. The Price of Politics - Woodward I didn't quite finish in time from the library but have re-ordered. Trying to read too many things at the same time again these days. I am currently reading Red Ink A readable short introduction to the federal budget.

The Red Ink book mentioned the online game Budget Hero. If you'd like to try your own hand at balancing the budget. I didn't fill any of my badges but did downsize the government and extend the time to go bust from 34 to 36 years. It gives you a pretty good idea of why it so hard to come to agreement on these issues with almost any change having pros and cons. Interactive web content where you can do something with it, is currently of interest to me. One of my restorations is a updated version of one of the first applets I did in java, a version of the Turing machine mentioned in The Emperor's New Mind. This version allowing you to paste in programs to run on the Turing machine. I have a similar idea for a Game Theory Prisoner's Dilemma applet based on the tournament's mentioned in Axelrod's Evolution of Cooperation. You would be able to paste in your own entries into the tournaments. Game Theory based code is also of interest to me one thing I'm currently reading related to that is The Predictioneer's Game.

Neither of these applets is intended to be as fancy as the Budget Hero game mentioned above, or intended to be state of the art web based applications but would be a start at this sort of thing.

Of course the final 2012 version of Election Games is still on the to-do list. I have I think complete county results so would have all the data required to finish it as is. Additional enhancements are still planned though. Getting into prediction would be one of them. That seems to be where a lot of the current interest lies. Inspired largely by Nate Silver's FiveThiryEight blog. One idea I have is based on something mentioned in Silver's book the signal and the noise . That being that certain leads in the polls suggest a certain probability of a win in the election. I found historical data for the Gallup polls that I should be able to determines these probabilities from. I should then be able to come up with some sort of Monte Carlo simulation to get something predictive. I can try to "predict" back results to see how accurate it would be. The other methods for prediction I've been seeing, like dynamic Bayesian, are going to require some figuring out yet on my part before I do anything with them.

Anyhow thats an idea of what I am currently doing and thinking about doing. A fair number of links thrown in. Read all mentioned, there will be a pop quiz tomorrow.


Election Games 2012


The election is over

Not long between the program available and the election being over. It went more or less as expected. The Swing state simulation favoring Obama looked like it will probably be off four states. Assuming Obama gets Florida which may never be decided. The simulation gave New Hampshire, Nevada, Colorado and Virginia to Romney and these all went to Obama. Going into this simulation and giving Obama the "Women's rights" scenario and then "Deficit" gives a result 100% matching the election outcome. You have to add "Deficit" to take away North Carolina which I think he was competitive in but didn't carry. I have replaced the pre-election Swing simulation with this, assuming Fl., accurate simulation of the election called "Swing Sweep - exact match".

It is my current plan to definitely come out with a improved post-election version of the application. Thanks for the interest.


The 2012 version is available.

On a limited basis ony at this point in time. The OS X dmg includes the new version as a Apple Java 6 JVM application. I planned on going with Java Web Start for all platforms but haven't got that deploying the new databases. A lot of the data is now in Java Derby SQL database tables, there will probably be a separate download for that at some point as the data could be useful standalone outside of the application.


Links A couple directly related to this program as it is for the 2012 version
David Leip's Atlas of U.S. Presidential Elections 2008 version used data from here, 2012 may use current for the same eventually
Vote Ratings 2011 - NationalJournal.com

Related Download

Includes some related use of the National Journal data. Demonstrates how the data could be used separately from the program.
Hotelling.dmg

Inspired by the DNC convention I decided to blog Whatever


This is the Presidential election simulation software that the media and the politicians don't want you to know about. Results Image


Results Image The only interactive memorabilia for the presidential election.

Prove that you're the pundit of the office, the clairvoyant of the classroom.

Be the first one on your block to correctly pick the presidential election results of all fifty states plus the District of Columbia.

You decide what issues matter
You decide who they matter for and how much
You decide the states where they matter
You decide the next President of the United States


Election Related Links

This is shareware ($10.95), see it before you even try it, and try it before you buy it. See a applet version

Download the Apple Java 6 JVM OS X application .dmg
Download 7 the openjdk Java 7 JVM application .dmg


Java Web Start The Java Web Start launch
Java Web Start doesn't appear to work Safari on OS X but does with FireFox and so far IE on Wndows XP

EMail: contact



Sunday Sudoku Solver


When the puzzles get tough, the tough get the Sunday Sudoku Solver

SSS Image


Results Image Full featured software that lets you solve the toughest Sunday newspaper Sudoku puzzles.

This is shareware ($10.95), see it before you even try it, and try it before you buy it. See a
applet version

Download the OS X application .dmg

Launch the Java Web Start version. For Windows, other platforms, or if preferred on OS X.

EMail: contact


Official PayPal Seal


Blackjack Blastoff Incomplete and buggy. Blackjack program with card counting. Various strategies, hi-lo of course, card counting tips and facts, charts. Play or run simulations. All that eventually. For what is there so far there is a Java Web Start version you could try...

Most of time still going into this. The program has progressed but has a ways to go. Java Web Start version continuously updated. Also starting work on having a couple independent documentation resources available, one with general information on blackjack and card counting. One, more an actual Blackjack Blastoff user guide. A link to the very brief start at the overview doc is below.

Java Web Start (jnlp)
Blackjack (html)
User Guide (pdf)

The Turing Machine applet based on the book The Emperor's New Mind that I mentioned in the What's new section above. Basically, you select a program from the programs menu, then enter input and 'Exec' it or 'Step' through it. The UN+1 and UNx2 programs take one number input. The EUC, Euclid's algorithm program requires two numbers. So you sort of have an emulator for the Turing 1 computer. Complete with it's own language and compiler. Not bad for an applet? For more detail on the applet see Turing Machine


Java 7 on OS X


Mac nio.2 platform specific file API extenstions.

Description: Uses JNI and the Java 7 nio.2 API's to provide a kqueue based WatchService and access to Mac OS X filesystem attributes and meta information.
Current OS X supported meta attributes for Finder, Launch Services, NSFileManager, and xattr
The current version is a beta for the kqueue based OS X WatchService.

Documentation

Javadoc

Download (Last update 07/29/12)

trz.zip

This project will see activity based on time available and interest expressed. Feel free too email me to express such interest.
EMail: contact

If you find the software useful or to support continued development consider a donation.


Half-Pipe - A platform for all kinds of coding and skateboarding tricks.

Description: A java command line shell that is my first attempt at a openjdk Java 1.7 application.
It is hoever, an update of a long supported Apple JVM Java application of mine. A full featured java shell with a variety of additional scripting support options.

The shell supports...
command piping, and redirection.
System properties as environment variables
Extended aliasing
Scripted automation (JMX/Rhino)

Scripting languages supported...
JRubyRhino
AppleScriptF-Script
and of course java

All that and a commandline too.

halfpipe7.dmg

Project Info

If you find the software useful or to support continued development consider a donation.


AppConverter - Convert Apple java applications to openjdk

Last updated 12/11/12

Description: Drag your Apple java applications to the AppConverter application and it will generate the appbundler build.xml file and create the openjdk application.

This should handle most if not all of the necessary work to convert an Apple Java application to an openjdk one. If your application is complicated some manual changes may be required after creating the openjdk one. If you let me know about any of those I can determine if they can be handled more automatically as well.

EMail: contact

AppConverter.dmg

Project info

If you find the software useful or to support continued development consider a donation.


Miscellaneous

If of interest my personal home page, including some coding is...
home

I haven't been putting much time into shareware. So far the upcoming presidential election just doesn't interest me as much as the last one. The red shift in the midterm elections was sort of interesting and I was even considering attempting an update to ElectionGames then. But not at the moment.


A little coding project around oil and gas prices
gas.html