A pat on the back

November 1st, 2005 1 comment

Jen’s been working really hard to get her disertation work done as well as apply for internships, so I just wanted to publicly give her a pat on the back! Last night we overnighted the first application since it was due earlier than the others. Way to go Jen! (And maybe now she won’t always post a comment saying I’m a tool since I’ve only been posting techy stuff!)

Categories: life Tags:

Going down the wrong PATH

October 19th, 2005 1 comment

For the most part, I love my development environment. I really like the J2EE platform and using MyEclipse/Eclipse/Subclipse/JBoss/Subversion is a great combination and works really well most of the time.

Today I had one of those user errors that is a pain to track down. I redeployed a custom J2EE app to our production JBoss server that I just updated and suddenly JDom breaks. Worked fine on my local box. Scratch head…

So I start by “cleaning” my local projects… Now my JSPs are coming up saying “bad class file” when referring to my classes included from my other project. Scratch head…

Tried a bunch of different things… Bang head against wall…

Finally after hours of searching the web and recreating the projects, etc… I come across a post that mentions that the JSPs use javac from the path…

Crap! I had put the old 1.4 jdk/bin directory in my path to make it easy to run javac before I was using Eclipse. So now that I’m using 1.5 (aka Java 5) the JSPs were still being compiled with the 1.4 javac causing my problem.

Once I removed the 1.4 reference in my XP environment vars the JSPs compiled fine.

Of course I’m still getting the originally JDom error on production, so I still have to track down what’s causing that! Doh!

References: Bad class file, Error running javac

My JDom error is this:

org.jdom.Element.addContent(Lorg/jdom/Content;)Lorg/jdom/Element;; nested exception is: java.lang.NoSuchMethodError: org.jdom.Element.addContent(Lorg/jdom/Content;)Lorg/jdom/Element;

I’m including JDom 1.0 jar in the EAR file and I don’t see any other jdom.jar files in the classpath. Ideas? Oh, production is using JBoss 4.0.1RC2 and my laptop is using 4.0.3. I found this post, but I’m pretty sure I’m using JDom 1.0 for compiling and running!

UPDATE: After upgrading our production box to JBoss 4.0.3 and JDK 1.5.0 (update 5) the JDom errors went away.

Categories: code Tags:

Torrents anywhere!

August 30th, 2005 1 comment

I really dig the Azureus BitTorrent client. It’s an awesome little Java application that’s got a ton of great features – including plugins. Now I haven’t played around with too many of the plugins, but the Swing Web Interface (aka WebUI) has to be about the greatest!

With this plugin I’m able to upload .torrent files to my Azureus client at home from anywhere – well, anywhere with Internet access that is. If I’m at the office and something happens to catch my eye, I can quickly start downloading from my client at home! (Don’t want to use up the office bandwidth now, do I?) Or just post a URL to a torrent and off you go! Oh yeah, it supports SSL and basic authentication for security and UPnP for port forwarding if your router supports it – I just have port forwards configured on the router. Also you can run at as a stand alone app too! Sweet!

Categories: internet Tags:

aacPlus – Streaming audio sweetness!

August 24th, 2005 Comments off

Forget mp3 streams that take up 128kbps of your bandwidth! aacPlus is here! I don’t know how all this works, but it sounds great to me!

I first heard of aacPlus on woxy.com while checking out their streams. I quickly downloaded the latest winamp to get aacPlus support and was really impressed when I connected! Very nice quality even at 24kbps! And great at 48kbps!

So download winamp (Windows) and check out the streams! Also, VLC (Win/Mac/Linux) works great too – and plays just about anything, audio or video.

My favorite aacPlus stations:

- woxy.com (The Best Ever!)
- woxy.com vintage (Oldies but goodies)
- soma fm (Groove Salad and Secret Agent are sweet!)
- wksu (classical, npr – WKSU 3, The Classical Channel is great!)

Wanna stream aacPlus yourself, I guess you need this.

(side note: Google Video‘s player plugin is based on VLC.)

UPDATE: A few more aacPlus links…

tuner2 – aacPlus stream directory
kplu – Jazz
stream guys – Wanna stream?

Categories: internet Tags:

OS X on x86

August 19th, 2005 Comments off

This isn’t a new thing, but just thought it’d be cool to try out. The developer version of OS X Tiger for Intel got leaked (of course!) and so the geeks wanted to run OS X on thier PCs now, and so they did!

When I heard you could do it in VMWare, I figured I didn’t have anything to lose!

This is running in VMWare 5 on my Dell Inspiron 9100. I gave 512M of the 1GB RAM to OS X. It’s still slow and seems that networking in VMWare isn’t working yet.

To speed up things I found this post: “Want to speed up the performace under vmware? 1) Use ‘Linux, Other Linux’ as the Guest OS type, not Other or FreeBSD. 2) From inside the VM’s BIOS, disable the floppy controller and the two serial ports.” That did help speed up the system.

Can’t do too much as a serious system, but cool to play around with!

If you want more info check out the OSx86 Project.

Oh, and if you happen to get “tiger-x86.tar.bz2″, be sure to use a good decompressor. At first I couldn’t get the 6GB tiger-x86-flat.img file to expand past 2GB – IZArc didn’t give any errors, just only 2GB file. I tried WinRAR 3.5 and that did the trick!

Categories: tech Tags:

New Depeche Mode single “Precious”

July 27th, 2005 Comments off

I didn’t want to do it…

A “leaked” rough mix version of Depeche Mode’s new single, “Precious”, not set for release until September/October has been circulating around the ‘net for a week or two. I’ve been good resisting the tempation, but my weakness for new dm got the best of me and today I download the rough single version, video and five remixes!

This song is great! Most posts on the dm mailing list were saying that and I totally agree! Now I really liked Ultra and Exciter which many fans didn’t like. Most seem to think Violator was tops – and “Precious” is very “Enjoy the Silence”-ish, but darker. I’m totally psyched for the new album – and tour! And the remixes rock! People that didn’t like some of the remixes over the past few years will like these!

Oh… and I don’t care if it was the record company that leaked it.

Read more…

Categories: music Tags:

Cool regex stuff…

June 28th, 2005 1 comment

I was playing around with some regex (regular expression) stuff today and learned about “lookahead” and “lookbehind”.

This expression (?<=\{\{).+(?=\}\}) will return all the characters, numbers and spaces between two curly brackets, but not the brackets themselves.

For example, the string This is {{a test}} of regex returns just a test when the regex is applied.

I also found the Regex Coach which was a great help in debugging the regular expressions.

Categories: code Tags:

Getting Fedora Core to work on old Dell box

June 23rd, 2005 Comments off

We have an old Dell Precision 610 workstation that I’m working on setting up as our Asterisk VoiceMail/VoIP box and ran into a snag with Fedora Core 4.

The Fire GL 1000 Pro is detected (correctly) as a 3DLabs Permedia 2 chip, but the DCC probe is screwed up, so I couldn’t set it to more that 800×600 with 256 colors – that blows!

After some Googling, I found that running this command:

system-config-display --set-videoram=8192 --forceui

that lets you tell X that your card has 8MB ram and then I had lots of options. Works great!

References at RedHat’s Bugzilla: Entry 1, Entry 2

Categories: tech Tags:

I’m a “Cultural Creative”

June 12th, 2005 Comments off

Just as Aaron posted, I too will use the “World View Quiz” to post something!

cultural-creative.jpg

You scored as Cultural Creative. Cultural Creatives are probably the newest group to enter this realm. You are a modern thinker who tends to shy away from organized religion but still feels as if there is something greater than ourselves. You are very spiritual, even if you are not religious. Life has a meaning outside of the rational.

Cultural Creative

69%

Romanticist

69%

Existentialist

56%

Idealist

56%

Postmodernist

56%

Materialist

50%

Fundamentalist

44%

Modernist

38%
Categories: bloglife Tags:

Woo-hoo! I’m an iPod owner!

May 19th, 2005 Comments off

Sweet! Jen just got me an iPod shuffle! I won’t go on about how small it is, etc., since it’s been out a while, but it’s really cool! I really wanted something to put podcasts and some music on – burning a mp3 cd doesn’t cost a lot, but it’s a pain. (My car stereo plays mp3 cds.) Anyway… that’s all for now, but I hope to post more soon!

UPDATE: I better add that Jen gave it to me for our 2 year dating anniversary which was on the 17th! Woo-hoo for that too! 2 years – how can she put up with me! ;-)

Categories: tech Tags: