Annoying Java.Blogs Bug

Hopefully some of you are coming to this page from the daily Java.Blogs update e-mail that shows up in your inbox every night.  And maybe someone that maintains the site will see this and figure out why this bug happens.

On entries where the name of the blog is a domain name (i.e. dzone.com) the anchor tag terminator for the link to the blog entry does not terminate at the end of the link but rather it continues to consume the domain name of the blog as well which means the only way to get to the link is to copy paste it into my browser window.  Annoying!

Basically you get something like this:

<a href=”http://www.javablogs.com/Jump.action?id=123456″>http://www.javablogs.com/Jump.<wbr>action?id=123456<br>dzone.com</a>

when you really should get the </a> tag after the ID number and not the domain name.  Like I said, though, it’s fine if the blog’s name is not a domain name.  Can one of you guys fix this??  :-)

Also, when looking at the source for this problem I came across the <wbr> tag.  I spend a lot of time on the front end these days I can honestly say I’ve never seen that tag before but lo and behold it is real:  http://www.quirksmode.org/oddsandends/wbr.html.  I guess I learned something new today.

Sending obscure HTML in an e-mail is probably not the best idea anyways.

Start Slide Show with PicLens Lite PicLens
Posted in software | Leave a comment

This Is The Biggest Load Of Crap

Read this article at the Wall Street Journal.  This has got to be one of the biggest loads of crap.  I might as well have gone and bought a huge house I couldn’t afford, transfer all my assets to someone in my family, then declare bankruptcy and ask the judge to lower the principal on the house to something I can afford.

I will admit I don’t know the details and the limits of the bill but this is just ludicrous.  My wife and I bought a house that was within our means in 2001.  We could have gone and upgraded a few years back to a bigger house or one that was more expensive but we decided to stay put, do a little work on it and keep paying it off…like responsible people.  We didn’t go out and speculate and buy multiple houses or a bigger house than we needed or could truthfully afford.  And now, people that did the irresponsible will get a break while people like me will have to pay more taxes in the long run to subsidsize this travesty.

Why should someone that was dumb enough to buy a house that has lost 45% of its value from its peak get a bailout (I know people in this situation)?  Seriously, how can you even try to justify this any longer.

The America I grew up reading about doesn’t exist anymore.  Just call us the handout country now.

Posted in general | Tagged , | Leave a comment

When Voice Recognition Goes Bad — Horribly Bad

I was grocery shopping the other day and wanted to find out what a hothouse tomato is so I spoke the words “hothouse tomatoes” into the Google Mobile App for the iPhone and it returned “penthouse letters”. Not exactly what I was expecting.

Normally this app is amazing in how well it figures out what I said but I can’t figure out how it got this one so wrong. Strange indeed.

Posted in software | Tagged , | Leave a comment

What annoys me most about Flash…

Is that it doesn’t pass Alt-D (or any other hotkey for that matter) to the browser. Like most developers, I use hot-keys as much as possible. It slows me down if I have to reach for the mouse all the time. And when I’m browsing I hit Alt-D a lot to get to the address bar. It’s faster for me to start typing a domain name and have Firefox autofill it rather than getting into my bookmarks.

This is just yet another way that Flash breaks the browser experience (back button anyone?).

Posted in general | Tagged | Leave a comment

You know your anti-virus software is a POS when..

It needs 100MB to run effectively.  How does McAfee need 100MB to run?  Seriously.  I’m not even running the firewall or other tools.  This is the biggest resource hog/POS.

And let’s not even go there on why the OS needs a 3rd party AV package to keep it safe.

Well, at least I don’t have to use Mac hardware…I couldn’t keep my prior attempt at running a Mac from locking up on me at random times.

Update:  I have actually switched to Mac now.  I still was unhappy with the fact that my old laptop kept locking up but my new one has been run happily for a while now.

Posted in computers | 3 Comments

A Great Video to Show Undecided Folks

Posted in politics | Tagged , | Leave a comment

Ternary operators in JSP

Every now and then I come across things I haven’t used before but should have been using.  The ternary operator in JSP is one of them.

It makes it so much easier to write out some text based on a conditional without having to put it in a request attribute explicitly or do an if/then conditional with a possible set operation using the JSTL core library.

Example:

${booleanTest ? 'output if true' : 'output if false'}



This came in really handy for adding an additional css class to a div based on a condition in the JSP in this particular case.

Posted in software | Tagged , , | Leave a comment

Are the Olympic Medals Made in China?

And do they say “Made in China” on the back?  I was just thinking that while I watched Michael Phelps get his 7th gold medal today at the 2008 Beijing Olympics.  That would be pretty damn funny if they were stamped with that on the back.

Posted in general | Tagged , | Leave a comment

Finally Picked Up An iPhone

Most of my friends were surprised I took as long as I did to get an iPhone but I finally pulled the trigger.  Well, it was more Myleene that did, but I went along for the ride.  I was willing to wait a week for the hype to die down but she had us stand in line for one on the Saturday of launch weekend (more on that later).  I had been reluctant to get any phone with a data up until now because, quite frankly, they sucked at what you got for what they cost.  See any of the first Treos or other Windows mobile phones as an example of this.

The first iPhone was the first phone I considered getting with a data plan because it was truly useful in my eyes (or at least how I woudl use it).  But alas, when it came out I still had 7 or so months on my Verizon contract plus I really didn’t like the idea of having to commit both 2 years AND $500-600 plus the cost of the plan for a first generation product.  By the time my contract was up I already saw rumblings of the new iPhone that was being rumored so I decided to wait….and wait…..and wait.

The process of buying the phone was relatively easy except for the fact that the Walnut Creek Apple store was completely underestimating how long their lines were.  By 1/2.  Seriously…they bordered on incompetent in this area.  They told us the line was about 90 minutes long when we called…it took more than 4 hours.  And this wasn’t a one time thing.  We called the day before and they said it was about 2 hours and it was the same length that night as it was on Saturday.  Someone in line had known someone that was in the back of that line the nigh before and they said it took 4 hours to get into the store.

The process of activating was pretty straight forward.  They brought out the phones, did the accessories, AppleCare, and MobileMe pitch.  Then the guy collected our personal information.  By the way, the guy who took us through the process turned out to be pretty hilarious especially considering he had done an 18 hour shift the day before.  During the approval process our account got snagged for review.  I was expecting this because we have fraud alerts on our accounts through LifeLock.  Apple called us on our numbers listed on the fraud alert, asked a LOT of questions to verify we were who we said we were (bravo Apple!) and then approved us.

Next up was activation which means just plugging into a laptop at the front desk.  We were able to access the Internet and make calls right away but not receive them.  We expected this a little because we ported numbers from Verizon.  The next day we still weren’t receiving calls so we made a call to AT&T and it turned out something got screwed up on their end so they completed the porting process while we were on the phone and then we were fully up and running.

Favorite apps so far?  The built-in Maps, the built-in E-mail (when paired with work and the VPN connectivity), Enigmo, Yelp, Pandora, Bloomberg, and Safari since it works great with Google and Meebo.  Tap tap is running a close second.  And how can I forget iTunes?  It rocks.  I’ve already ripped some of my DVDs into iPhone format and moved over some movies that I downloaded from iTunes for watching on BART during my commute.  Dr. Horrible and his Sing-Along Blog is hilarious so far.  Check it out!

I’ll discuss more about how I’m using it in another post.  Needless to say I’m quite pleased.  There are a few gotchas and things that could still be improved but almost all are things that are software related which means they’re fixable.  Just as long as Apple decides they’re a priority to fix/improve.

Posted in iphone | Tagged | Leave a comment

Hudson As A Service On Vista

I thought I’d setup a new continuous integration server at home tonight and had heard good things about Hudson lately so I gave it a try.  I downloaded the war and ran it as directed and got it configured pretty quickly to pull my source from my hosted subversion repository.  The build ran fine, my unit tests ran fine, it published my javadoc into the workspace and all was good in the world.  Then I tried to install it as a service on my system which just happens to run Vista (please, no comments regarding Vista).  Crap!  (well, I had worse thoughts but this is a relatively family friendly blog)

According to the docs it should work.  I am running as a user with administrator privileges and so forth.  Apparently creating a service in Vista requires you start the process as administrator (i.e. root).  That requires you to open up explorer, right click on the install batch service and click “run as administrator”.

You’re not done yet.  Then you have to go in and change the user you want the service to run as in the service configuration in the services control panel module.  It will then grant the user run as a service privileges and it will actually allow you to now start it as a service.

I also recommend changing the port it runs on by default since most of you probably run your JBoss or Tomcat instances on 8080 when you’re developing.

Overall I think Hudson is great so far but this is just a little gotcha you should be aware of when running it as a service on Vista.

Posted in software | Tagged , , , , , , | 1 Comment