free hit counter

Wednesday, July 27, 2005

Getting the cover art into my id3 tags

Tuesday, July 26, 2005

Strategies for getting around impossible problems

Saturday, July 23, 2005

PowerPoint Remix

Nothing I love more than an experiential lesson. Case in point:

PowerPoint Remix (Aaron Swartz: The Weblog)

Koders - Source Code Search Engine

A search engine for examples of Java code. Also has an ballpark price for what the software would cost to write yourself.

Koders - Source Code Search Engine

PMD- tool to find cruft and dead code in your Java


Calculating the True Price of Software

Interesting artical on the price of software. It's the maintenance that kills you.

I gleaned this insightfull comment from slashdot:
"The theory of labor would set the price of software somewhere below the cost of writing the software yourself." Calculating the True Price of Software

Monday, July 18, 2005

Java Logger

I can't quite control the logging properties from a file, but I should be able to. Needs more experimentation.

LogManager (Java 2 Platform SE 5.0)

Friday, July 15, 2005

Capacitor Tolerances

Note: Does not apply to temperature compensating types such as NPO, COG, N150, N750, SL, etc.

1st Letter = Low end operating temperature
X= -55�C (-67�F); Y= -30�C (-22�F); Z= 10�C ( 50�F)

2nd Digit = High end operating temperature
2= 45�C ( 113�F); 4= 65�C ( 149�F); 5= 85�C ( 185�F)
6= 105�C ( 221�F); 7= 125�C ( 257�F)

3rd Letter = Maximum Capacitance change
D= �3.3%; E= �4.7%; F= �7.5%; P= �10%; R= �15%; S= �22%
T= 22 to -33%; U= 22 to -56%; V= 22 to -82%

Z5U: Operating Temperature 10�C to 85�C. Max. Capacitance Change - 22% to -56%.
X7R: Operating Temperature -55�C to 125�C. Max. Capacitance Change - �15%"


BC= ±.02%; A= ±.05%; B= ±.1%; C= ±.25%; D= ±.5%
F= ±1%; G= ±2%; J= ±5%; K= ±10%; M= ±20%

Capacitor Technical Information

Wednesday, July 13, 2005

Tools of the Java trade

It feels like I'm breaking the rust off my brain, but I'm fully embracing JAVA and its tools.


Tuesday, July 12, 2005

no magic numbers in Java

Have to say I miss #define and his shady friends. But this is a nifty trick to lose the magic numbers by putting them in an interface.

The key is to have your class implement the interface so you don't have to prepend the class name before the constant. When I have time I'd like to learn how to scope them to the file, and to the package.

Java Tip 5: Java constants

It's an object dummy!

That's been the answer to several of my Java holdups.

First, I had a hashmap holding Strings keys to Integer prices. When I was getting the prices back out I had a little difficulty. They had to be explicitly downcast to Integer from Object, then to assign them to an int primitive I had to use the .intValue() method.

Then when trying to compare two strings I quickly realized that == compares to references. Strings are objects, not primitives, so they logically have a comparisson method, equals().

Friday, July 08, 2005


Thursday, July 07, 2005

“make simple things easy, and difficult things possible.”

Found in Bruce Eckel's Thinking in Java, 3rd ed.

Book is chock full of goodness worth reading even without the Java.

succinct definition of exceptions

I'm always interested in sussinct, complete definitions. This is one of the better I've seen:

"An exceptional condition is a problem that prevents the continuation of the method or scope that you’re in. It’s important to distinguish an exceptional condition from a normal problem, in which you have enough information in the current context to somehow cope with the difficulty. With an exceptional condition, you cannot continue processing because you don’t have the information necessary to deal with the problem in the current context. All you can do is jump out of the current context and relegate that problem to a higher context. This is what happens when you throw an exception. "
Thinking in Java, 3rd ed. Revision 4.0

Tuesday, July 05, 2005

Pentium M chart

The dizzying array stats when buying a new computer after being out of the market for a blissfull three years.

Tom's Hardware Guide PCs & HowTo: The Next Generation of Cool: AOpen's 37 Watt Pentium M Desktop PC - Pentium M: The Unrecognized Genius