Archive for the 'Java' category
November 16th, 2006 / Catalyst, Code, General, Java, Languages, Perl, Ruby, Useless Information /
It is pretentious for me suggest my own name be attached to something. Therefore I will not request that this be named in my honor, but I would like to release this law to the world.
As a discussion related to speed, efficiency or convenience of a ‘program’ grows longer, the probabilty of someone telling [...]
→ Read the article
March 6th, 2006 / Code, Design, General, Java, Languages, Life, Perl, Ruby, Useless Information, Work /
I’ve been doing the computer thing for over 10 years now. I’ve been programming for most of them. I know a bunch of languages, technologies and other doodads.
To this day almost nothing can compete with the feeling I get from creating an efficient, elegant computer program. Well, some things can. We’ll [...]
→ Read the article
February 22nd, 2006 / Code, General, Java, Languages, Perl, Ruby /
Marcus recently said some things about languages that I agree with whole heartedly: Pick your weapon and go to town!
It’s the tools that make languages useful. Rails is always an example because it’s Ruby’s killer app. The tools don’t make the language, but they certainly draw moths to the flame.
So here’s to linguistic [...]
→ Read the article
December 28th, 2005 / General, Java, Languages, MacOS, Operating Systems /
Slashdot had an interesting story few days ago about Apple still clinging to Objective-C. After a bit of thinking I decided it was good that Apple were sticking to their guns concerning languages. The third-party apps are rich and vibrant. Why should they pull a Microsoft and start pushing their developers into [...]
→ Read the article
October 9th, 2005 / General, Java /
Just when it seems I’ve decided I dislike Java for real, I find something that changes my mind. Now I have some ammunition to use when people ask me how the JVM is able to be faster in certain situations that a traditional program.
→ Read the article
October 4th, 2005 / Code, General, Java, Operating Systems, Ruby /
I try to like you, I really do. I want to use your phenomenal cosmic power to make my life easier. Disclaimer: I’m on OS X w/the default 1.8.2 install.Today, I installed Rails and said: “During lunch, I’m gonna start porting my app to Ruby On Rails!” I already have Postgres installed, [...]
→ Read the article
September 30th, 2005 / General, Java, Languages /
Gavin King mentioned today that Hibernate 3.1 is going to have Pluggable Session Management. Session management is probably one of the most irritating parts of Hibernate. This could open the door for a significant improvement in this area. I’m excited!
→ Read the article
September 26th, 2005 / Code, General, Java, Languages /
R.J. Lorimer put up an article today reminding Hibernate users that caching doesn’t ‘just work’. The article gives some insight into Hibernate’s second-level and query caches.
The real lesson here is to read the caching section of Hibernate’s documentation.
My latest project uses Hibernate but has completely avoided the cache. I plan on integrating it [...]
→ Read the article
September 22nd, 2005 / Code, General, Java /
My current project utilizes Hibernate to abstract away the database access. I’m very happy with it, as any performance sensitive spots can easily be implemented with straight JDBC.
Anyway, there is one thing that I’d like to clear up. When you represent an object’s relationships with a Set, you add something like this to [...]
→ Read the article
September 11th, 2005 / General, Java, Languages /
Tested this and it’s compatible with Perl’s Digest::MD5:
StringBuilder hexString = new StringBuilder();
byte[] bytes = digester.digest();
for (int i=0;i < bytes.length; i++) {
hexString.append(Integer.toHexString((bytes[i] >>> 4) & 0×0F));
hexString.append(Integer.toHexString(0×0F & bytes[i]));
}
// hexString.toString() will give you your hex string!
→ Read the article
September 10th, 2005 / General, Java, Languages /
As part of a Top Secret project I’m working on, I’ve been thinking really hard about the quality of the code I am writing. I’ve noticed something that I thought I’d mention out loud: equals() and toString() in Java are tricky.
It seems easy, right? You’ve got a User object and you want [...]
→ Read the article
September 6th, 2005 / Code, General, Java, Work /
Telemetry 1.2.2 is available.
Fixed bug in adding Annotations from the web interface.
Added a missing column in the annotations table create script.
Implemented caching for the result sets used in charts.
Reduced font size.
→ Read the article
August 31st, 2005 / Code, General, Java, Languages, Work /
Telemetry 1.2.1 is now available.
Annotations can now be added via XMLRPC.
Resources are now ordered by index when viewed from a Resource Group
Charts default to 640×480
Follow the link above if you don’t know what Telemetry is.
→ Read the article
August 30th, 2005 / Code, General, Java, Languages /
Tuesday night is Laundry Night at the crib. Jeremy comes by to do his laundry. While that is happening, he breaks out my Powerbook and we play WoW. Despite this distraction, I managed to get some work done on Telemetry. You can now add Annotations via XMLRPC, the chart defaults to [...]
→ Read the article
August 30th, 2005 / Code, General, Java, Work /
Telemetry is now running at the office. I’ve ben lazy and neglected setting it up until today.
I found some things that need to be changed. Nothing is broken, but some things could have fewer sharp edges. These will be fixed sometime in the next few days. I’ve got to get my [...]
→ Read the article
August 29th, 2005 / General, Java, Languages, Perl, Work /
I spend most of my day hacking Perl at work. We have to side projects that are written in Java. One was developed in house and the other was developed by an outside company. Today I was mucking around in the latter’s source looking for a way to hack in a small [...]
→ Read the article
August 29th, 2005 / Code, General, Java, Perl /
For those of you just tuning in, Class::Mapper is my half-ass attempt to bring the wonders of something like Hibernate to Perl. It does a lot of neat things, and is probably completely useless in a real environment.
For some reason I decided to tie up a loose end in Class::Mapper this weekend. 0.6 [...]
→ Read the article
July 13th, 2005 / General, Java /
I encountered a very interesting account of a bug in some software that used Hibernate and Oracle: Hibernate, Oracle and Dates. A Story.
The part of the article that really got me was at the end, when he quoted Joel:
Code generation tools which pretend to abstract out something, like all abstractions, leak, and the only way [...]
→ Read the article
July 10th, 2005 / General, Java, Languages /
Wow. I must be crazy! Two releases in one day! Telemetry 1.2.0 hits the shelf.
What’d I do? I added an XML-RPC interface. You can find it in the documentation. Now Telemetry is ready to be used…
→ Read the article
July 10th, 2005 / General, Java, Languages /
Telemetry 1.1.1 is out. For those of you just joining us, Telemetry is an application for visualizing, analyzing, and trending whatever data you see fit. Visit the link above for screenshots.
What’s different in 1.1.1? I removed a ton of code that was really unnecessary in the DAO. I fixed some problems [...]
→ Read the article