Panasonic Youth rob sanheim writes about software, business, ruby, music, stuff and things



Posts from July 2005

Posted
19 July 2005 @ 4pm

Tagged
Java

Notes on synchronzied methods and code blocks

Just making some notes on the use of sychronized.
PLAIN TEXT
JAVA:

public void synchronized doStuff() {

// do stuff

}

..is equivalent to:
PLAIN TEXT
JAVA:

public void doStuff{} {

  synchronized(this) {

  // do stuff

  }

}

The lock is on the object instance. Any synchronized instance methods will be locked out while doStuff() processes. For static methods:
PLAIN [...]


How can you tell a fake Master Shake from the real one?

Question: How can you tell fake Master Shake from the real one?
Answer: The real Master Shake thinks that the blood drive is a pyramid scheme perpitrated by Dracula and his night slaves.


Its not so much the heat, its the humidity

I had big plans for this last weekend to clean up a bunch around the house and work code for upcoming presentations, since wife was planning on being out of town. Those plans fell through so I ended up doing a bunch of family stuff instead, which was fun anyways. Its just hard [...]


Posted
15 July 2005 @ 10am

Tagged
TDD

should you really be writing that code?

Courtesy Keith Ray on the TDD mailing list:
"If you're not smart enough to test the code you're writing, what
makes you think you're smart enough to be writing it?"
Anytime I think I can't test something, I should think of this.


Why I switched from Roller to Wordpress

I'm a Java developer, and going with Roller for my first blog seemed like a logical choice. It was quick and easy with JRoller, and I liked the idea of being able to mess around in the source if the spirit moved me. I've been blogging for only about six months now, but [...]


Tech Talk with Dave Thomas on the ‘knowledge portfolio’

The Server Side has a tech talk up with Dave Thomas, author of the Pragmatic Programmer and the forthcoming Agile Web Development with Ruby. Thomas is the man, and if you haven't read Prag. Programmer yet you should. Read the discussion or go right to the interview. Note that the interview is [...]


Converting to Wordpress

I've converted from Roller to Wordpress. Huzzah.
It looks like the domain name change for robsanheim.com has completed, also. Old entries are available at the old Jroller blog, at least until I get the converted.


After →