Posts

Random Technology Links

Here are random technology links: [Jan 2012] http://nlpwp.org/book/chap-words.xhtml http://www.stanford.edu/class/cs242/readings/backus.pdf http://stackoverflow.com/questions/1962278/dealing-with-timestamps-in-r http://math.illinoisstate.edu/dhkim/rstuff/rtutor.html http://www.harding.edu/fmccown/r/ http://www.rforge.net/rJava/ http://www.rforge.net/rJava/ http://www.ugo.com/games/strategy-games-top-50?page=5 http://www.cs.uiuc.edu/~jeffe/teaching/algorithms/ http://www.nlp-class.org/ http://www.security-class.org/ COLT: http://acs.lbl.gov/~hoschek/colt/ http://weka.sourceforge.net/doc.dev/weka/classifiers/bayes/BayesNet.html http://apache-wicket.1842946.n4.nabble.com/Wicket-Session-grows-too-big-real-fast-td1875816.html http://www.keysbotzum.com (public) http://www.cell-auto.com/ http://bayfiles.com/ http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/ http://linuxproblem.org/art_9.html http://www.mitpressjournals.org/doi/ab...

Thirty second review of top modern TV shows

This is a short review of about a dozen top TV shows that have appeared in the last decade or so.   I advise you purchase the DVD TV sets and watch them based on your own schedule. These aren't sorted in any particular order but the better shows will normally appear at the top. The Wire (10/10) - (Urban gang land violence) So far the best TV show I have seen.  It was getting predictable and dry towards the end of the series but I don't think there is any better show that feels "real".  It is dark and gritty and highly watchable. Dexter (9.9/10) - (Almost comical look at a serial killer do-gooder) Dexter is the show about the serial killer that also happens to be a blood splatter analyst in the police department.  Normally he finds another bad guy or serial killer and does away with him.  It is also a dark series with lots of gore and sometimes it can be serious.  But I tend to find some of it comical.  The Wire is not comical at all, Dexter ca...

Python matplotlib plotting setup for cygwin

Matplotlib is a popular python library for generating plot graphics.   It works with cygwin win32 but some non-intuitive steps are required. Install cygwin: CYGWIN_NT-5.1 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin I am using cygwin with setup 2.7.3 Install python through cygwin: This document describes installing python and matplot with cygwin.  For most windows users and cygwin users, normally you would use the external python executable.  I tend to prefer all of my script oriented applications running through cygwin including python. Python 2.6.5 (r265:79063, Jun 12 2010, 17:07:01) [GCC 4.3.4 20090804 (release) 1] on cygwin In the cygwin setup.exe installer, install: The freetype libs, python-gtk, python-tk, libpng Download matplotlib from sourceforge: I am using the latest version matplotlib-1.1.0 as of 1/2012. Issues with standard python install and cygwin: The typical 'python setup.py install' will not work with cygwin.  You...

2012 Campaign, help from political science community

After this race is over, I wish a fair politic science group could look at the media's handling of this race. Here are some BIG missteps in how the media handled this race: Sarah Palin, why prop her up at all? Rick Perry enters the race and within two weeks, he is a front runner Herman Cain, once again, why prop him up? And then Newt's rise Look at the criticism against Ron Paul. Someone could just look at the timing and wording of discussion on the candidates. It is obvious they have their favorites. ... CNN and Fox didn't campaign for Ron Paul 24/7 like they did with other candidates. But they did have Ron Paul on their programs. Ron Paul had to defend his own platform. But CNN, Fox did the campaigning for the other candidates. And it is easy to spot, just look at the amount of coverage, wording and discussion.

DNA seen through the eyes of a coder, my take

Image
Several years ago in 2008, a programmer researched DNA and  how the cell works. He gave a software related analogy on how it operates.  It was a great overview of the process with the biology language translated for engineers.  I constantly thought about the article and wanted to add my own spin on it.  The author didn't really do anything wrong, and it really is a great article, but I personally wish he would have given a one paragraph software analogy.  (With the core content, I am not a scientist so I can't really refute his research). http://ds9a.nl/amazing-dna/ I enjoyed the last view paragraphs at the end, "Now, DNA is not like a computer programming language. It really isn't. But there are some whopping analogies. We can view each cell as a CPU, running its own kernel. Each cell has a copy of the entire kernel, but choses to activate only the relevant parts. Which modules or drivers it loads, so to speak. If a cell needs to do somethin...

Lorenz Attractor 3D View

Image
Resources: [1]  http://jvmnotebook.googlecode.com/svn/trunk/blog/java/Lorenz [2]  http://en.wikipedia.org/wiki/Lorenz_attractor [3]  http://berlinbrown.github.com/newpages/applet2/applet2.html [4]  http://berlinbrown.github.com/  - Github projects ---- Human life faces the same alternatives that confront all other forms of life—of adapting itself to the conditions under which it must live or becoming extinct. You have an advantage over the sagebrush in that you can move from your city or state or country to another, but after all that is not much of an advantage. For though you may improve your situation slightly you will still find that in any civilized country the main elements of your problem are the same.

A Physics Example in Java: A Projectile Fired from a Cannon, 2D Particle Kinematics

Image
Here is an example program that shows how to implement kinematic equations for projectile motion using Java and the Swing 2D graphics libraries. Equation used to plot projectile path along the X and Y axis The Java code for these equations are simple, here is the current implementation of the doSimulation routine. The routine calculates the X and Y positions of the projectile over time.  The project only consists of two classes, the class for rendering the simulation and initializing the application.  The other class contains logic for calculating the X and Y positions. Java code, DoSimulation routine, see s.i and s.k for the X/Y positions Java 2D Cannon Physics Simulation Java Source https://jvmnotebook.googlecode.com/svn/trunk/blog/java/SimpleCannonPhysicsJava Based on code from: physics for game developers, David Bourg http://berlin2research.com/dyna/berlinbrown_java_resume/ ---- So today we see man a highly evolved creature who not o...