Archives for the Month of January, 2009

javafx and mutability

There seems to be some misconceptions about mutability rules with JavaFX sequences (see here for example).
We can see what is going on under the hood by using the java disassembler (javap).

// seq.fx
var mylist = [1..3];
insert 4 into mylist;

compiling using javafxc seq.fx and then disassembling it with javap -c seq shows us what goes on under [...]

Binding UI representations of Data to Data in JavaFX

I’ve been playing with JavaFX, trying to figure out how to write applications which fetch a list from a database and represent them graphically.
For example, let’s say I’ve fetched a list of numbers from the database, and I wish to represent each number like so:
where the radius becomes bigger the bigger the number is.
There are [...]

Speechcrafting

Did Obama use polyptotons and chiasmus in his inauguration speech?
Geoff Nunberg dissects a speech.
(via NPR)

Python Grep

From ZazzyBob
Occasionally I have to wade through log files on sites running Windows, since our program is python based, it’s useful to be able to have these tools on hand without downloading exes. I’m hosting a copy here just in case it gets lost in the interweb.

#!/usr/bin/python
#< PYTHON – simple grep through a file – [...]

Toowoomba PCYC

This page: Toowoomba PCYC desperately needs some link love. It probably never got indexed since they introduced the crazy javascript menu. In fact, Toowoomba scrolls off the bottom of the screen.
Address: 219A James Street, Toowoomba QLD 4350
Phone: 07 4632 8316

UI Design Patters

Designing Web Interfaces: 12 Standard Screen Patterns
… full set of principles and patterns I use for RIA design
more at Design Genie.org

2005 Bush Inaugural vs 2009 Obama Inaugural

Source: http://71.6.151.230/prez/diff.php
Can you figure out which is whose?

In Good Company

So, it appears that John Howard, ex Australian PM is now in good company with failed ex-CIA chief George Tenet, in being awarded the Congressional Medal of Freedom.
News Link

The story of the bank robber

When a bank robber was asked why he robbed, he said
“the money belongs to nobody, so I took it”.
When pointed out to him the money actually belonged to somebody, he argued,
“the other banks have plenty of money, why don’t the other banks give these people some instead?”
When pointed [...]