Monday, September 29, 2008

What do synchronized functions mean exactly?

I was trying to write thread-safe code on Java 1.4 with its pre-JSR 133 broken memory model and everything, and I thought synchronized function just synchronized that function, but it doesn't! Synchronized function synchronizes across all synchronized functions of the same instance.


synchronized void function()
{
int two = 1+1;
}

is really just short for

void function()
{
synchronized(this)
{
int two = 1+1:
}
}

same thing with synchronized static functions, except they synchronize on Foo.class

Sunday, September 28, 2008

Code Geass 25



The final episode was going pretty good, and this scene was pretty serious, but it didn't take me more than a second to be reminded of this:
AoMM: Impalement! Friends running oversized novelty swords through friends never happens in a Sunrise series! Never!





And this, of course

Saturday, September 27, 2008

Letterman minus McCain

September 24th


September 25th

Macross Frontier 25

Macross Frontier ended today, and it really felt more like a tribute than an ending. Highlights include:

- Michael cameo played by micronized Klan
- Visor-shattering burning shounen passion
- Double Minmay defense singing Frontier OST megamix
- Missile contrails
- Asymmetrical Docking

Everybody except Leon and Grace are happy at the end, even the Vajiras. And Sheryl just didn't die.

Friday, September 26, 2008

Live Debate Analysis

8:00: well I didn't find PBS, but apparently NBC has it, in HD!

8:01: Jim Leher's got pretty shiny eyes

8:02: No applause, good, I hated applause taking up damn time.

8:03: Whoa, we're just starting the debate right away, no opening statements

8:04: Obama looks blacker than normal?

8:07: McCain coughing sure isn't boosting confidence

8:08: I wonder how this talking to each other thing will work out. Obama is still addressing Leher atm.

8:14: Rheeeeeeeeeeetoriiiiiics. What did I expect. I think they're both wrong and the government needs to keep its hands off the economy. Not that I know, but I think it sounds good. Capitalism should work itself out.

8:22: The dynamics of the debate is frankly more interesting than the substance. Lehrer's trying to get them to talk to each other, and they're still taking turns with monologues, and Obama likes to motion to Lehrer for his turn to talk.

8:29: there should be no subsidies, let capitalism decide

8:37: This ORGY of spending? hahahahaha (Obama's words)

8:41: THERE IS NO EXIT STRATEGY

8:42: Obama has a US flag pin, McCain doesn't. Hard hitting analysis from Grazing Hitbox

8:45: lawl WMD

8:50: no commercial break, I guess I'll go microwave dinner now

8:59: McCain speaks slower than Obama, that's why McCain seems to be getting less time.

9:00: McCain: "I got a bracelet!" Obama: "I got a bracelet too!"

9:04: McCain has now paused twice before answering a question. Haven't prepared enough because he suspended his campaign?

9:07: "Democracists" instead of "Democrats", discuss.

9:11: North Korean got nukes? Is that proved? wiki wiki.

9:33: I've lost interest in paying full attention to the debate. Lego Batman? These Lego games are, um, odd ideas. I heard the star war ones were good, but the premise of Lego is still weird.

9:37: Debates's over, McCain's wife's hot too? At least well-decorated.

What do I want to write about?

Bleach anime is taking 2 weeks break again!? Bleach chapter 327 didn't have much in it.

Looks like we'll have a presidential debate after all. Trying to find out what channel it's on at what time. Surely it's televised. I have a feeling it'll be on PBS, let's just go to their website. Yep, PBS 8pm central. Maybe I'll blog it real time. Saw this National Budget flash game on PBS's website , seems like it's trying to tell me budget management is hard stuff, which I already agree, so I'm not playing it.


arbitrary post dttm test

And can I set my time zone?