Sunday, November 23, 2008

Failed eHarmony

Thursday, November 20, 2008

Subversion Inconsistent line ending style error message

While trying to do an import of jboss 4.2.3.GA tonight, I've come across this error about 4 times so far.

svn: File 'jboss-4.2.3.GA/server/default/deploy/jbossws.sar/jbossws-context.war/index.html' has inconsistent newlines
svn: Inconsistent line ending style
svn: Your commit message was left in a temporary file:
svn: 'svn-commit.tmp'
Seriously, what the hell? Don't kill the entire commit with fail. Just give me the option to either fix the problem myself, fix the problem for me (default option and pick unix linefeeds) or finally give up. Additionally, why can't the client just do this check before getting 100 files into the commit? Grumble, why do you software developers make my life so difficult sometimes?

Tonight's fix:
Install dos2unix since OSX doesn't come with it (assuming you have MacPorts installed): sudo port install dos2unix
Then run it against any suffixes that need to be converted: find . -name \*.html | xargs dos2unix

Tuesday, November 18, 2008

The Big Three (Losers)

I'm sorry for the people who will lose their jobs as a result of the total fuckups that have happened at the big three automotive companies. But, I do have to say that this is a long time coming and it is only going to get worse. I also have no desire to bail these companies out.

This CNN article asks some hard questions and instead of answering them truthfully with some semblance of humility, Ford Motor Company chief executive Alan Mulally defends his companies total disregard for the environment and the current economic situation that they helped create. To say that you have been concerned with fuel efficiency from day one is a total lie, otherwise you would have actually delivered on your words or even better, been in a position to not need to be bailed out with my hard earned tax dollars.

I say that it is time to fire this guy and put someone with some real concern for the environment (first) and economy (second) into his position.

Update: One down.

Saturday, November 15, 2008

Controlling Spam using Gmail

I had an idea for controlling spam that works really really well for me. I modified my email forwarding to look like this:

jon@latchkey.com -> ABC@gmail.com -> XYZ@gmail.com

XYZ@gmail.com is the only account that I actually read on a regular basis.

I just had a case where a spam message to jon@latchkey.com which can be viewed in my Inbox on ABC@gmail.com. In other words, it wasn't auto filtered to ABC's Spam folder. Well, that message never got forwarded to XYZ@gmail.com. I can't explain why and so far, all of the valid email has gotten forwarded.

So, my Spam folder on XYZ@gmail.com stays clean except for spam that was sent directly to XYZ@gmail.com. Thus, there is barely anything that I need to skim over when purging my Spam folder on XYZ. Very handy.

jon@latchkey.com has been around since 1996. It gets a lot of spam.

Thursday, November 13, 2008

Loader constraints violations

During development, on application redeploy, I was seeing an error like this:

Java5:
15:27:34,647 WARN  [ServiceController] Problem starting service jboss.j2ee:service=EJB3,module=heart-biz.jar
java.lang.LinkageError: loader constraints violated when linking com/kink/heart/biz/admin/i/LiveShowData class

Java6 (it seems they tried to improve the error a bit):
15:15:46,205 WARN  [ServiceController] Problem starting service jboss.j2ee:service=EJB3,module=heart-biz.jar
java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "com.kink.heart.biz.content.ContentMgrBean.getLiveShow(Ljava/lang/Long;)Lcom/kink/heart/biz/admin/i/LiveShowData;" the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) of the current class, com/kink/heart/biz/content/ContentMgrBean, and the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) for interface com/kink/heart/biz/content/i/ContentMgr have different Class objects for the type com/kink/heart/biz/admin/i/LiveShowData used in the signature

Well, after finding this JBoss FAQ page, I followed the directions on it. They were really helpful!

Once I looked up the offending class (LiveShowData), it became instantly clear what the problem was:

### Instance0 found in UCL: org.jboss.mx.loading.UnifiedClassLoader3@8f036f{ url=file:/Users/jonstevens/checkout/jboss-heart/server/default/tmp/deploy/tmp54117z-ads.ear ,addedOrder=40}

### Instance1 found in UCL: org.jboss.mx.loading.UnifiedClassLoader3@d19a10{ url=file:/Users/jonstevens/checkout/jboss-heart/server/default/tmp/deploy/tmp54118heart.ear ,addedOrder=41}

Sync up the two jar's which contain my EJB3 interfaces and suddenly everything is working again.

Monday, November 10, 2008

Protesting This Crap

Friday, November 7, 2008

Sharing

Sunday, November 2, 2008

TimeMachine via AFP (netatalk) to a DroboShare

This rainy weekend, I turned the hardcore geek on so now I get to brag about it a little.

On my MacBook Pro, I used an Ubuntu vmware image to cross compile netatalk , dbus , avahi , openssl , expat , libdaemon and berkeley db to the embedded Marvell-Linux (arm-gnueabi) running on the DroboShare. Anyone who has experienced cross compiling knows it is an extremely complicated thing to do and not for the weak. Especially when dealing with so many different products which all have to integrate together. It is also amazing that I can use two different operating systems to compile code for a third operating system.

After getting all of those projects compiled, configured and started, I can now say that I'm the first person to successfully perform a Time Machine backup to the Drobo connected to the DroboShare over AFP. This is something that Apple has put a lot of effort into making very difficult to perform because they are trying to sell more of their proprietary and expensive TimeCapsule devices and now I've beaten them at their game. =)

Time to put this project down and next weekend I'll package things up and make it available to other owners of DroboShares.

Update: I've created a Google Code project called DroboCapsule and put up a binary package for you to download and install. Enjoy.

Gear's heart

Friday, October 31, 2008

Vote

Tuesday, October 28, 2008

I'm a dreamhost'er

In an effort to simplify my life, better the world and add some redundancy to my setup, I've recently done two things with regards to my usage of computers. First off, I got rid of my home backup server and purchased a Drobo. Not only does this give me a massive amount of mirrored storage, but I get to turn off an old G4 500mhz box that I was using strictly to backup the laptops and my private server at home.

Second, after a recommendation from a friend, I have bitten the bullet and signed up for a dreamhost.com account. The part that pushed me over the edge is that they are having a special offer with lifetime unlimited diskspace and unlimited bandwidth. I purchased a year subscription to try it out and used the Promo50 $50 discount code. Total price for a year $69.40. The benefit here is that I will be able to migrate all of my email, websites and domain names off of my home server (an old G4 dual 500mhz) and be able to turn that off as well. I can then mirror the entire contents of my Drobo up to dreamhost as an additional offsite backup.

I estimate that the yearly power savings alone will pay for this service, but I will also be able to sell off the two servers and the money from that can go towards the hosting. I really welcome not having to manage these services any longer. It was fun for the last 15 years, but I'm over it now.

Monday, October 27, 2008

LookFirst™

It seems the special people at Cynergy Systems decided to trademark the word "LookFirst" on their website. This word happens to be my domain name. Looking in the whois database to see when their domain was registered, I see it was in June 19th, 2000. My commercial domain name was registered in January 2nd, 1998. A full two years earlier. The funny thing about all of this is that they also need to compete against the actual company who has gone and paid the extortion money to actually register the trademark with the USPTO. Needless to say, that domain (lookfirst.net with a copyright that hasn't been updated since 2006) has only been around since April 19th, 2003. Given that I squatted over the domain shitter first, I think I win and all of you can stop using my word to advertise your lame ass products. Ha.

Do The Math

Obama's 'socialist' tax strategy has zero impact on me. How about you?

Sunday, October 26, 2008

4 year fix

A relatively simple bug that I found and reported in Mozilla almost four years ago, just got resolved. Woot.

Saturday, October 25, 2008

MacBook Pro Inconsistent Clicks

I just recently picked up one of the new MacBook Pro's. I absolutely love it. It is my first new laptop in about 4-5 years and the lack of Java6 for the original 32bit Core Duo chips was really starting to put a hamper on my development. I have also decided that I want to learn how to write iPhone apps, so my full hard disk just wasn't cutting it anymore.

That said, the new glass trackpad misses clicks. I click and it just doesn't register as a click. This is starting to drive me nuts. One blog posting suggests that it is a software issue. I'm going to use it for a little while longer, but I think this week I'm going to call Apple Support and see what the deal is. Anyone else having these same problems?

Update: Found some discussion in the Apple forums . Seems a lot of people are having these problems. Sigh.


Update2: This is definitely a software issue. All clicks get registered when I run Windows XP in vmware fusion for Mac.

Friday, October 24, 2008

Kink.com Leads Public Tour in SF

Nobody Fucks with John McCain!

Tuesday, October 21, 2008

I heart Google Code project hosting




Google just recently announced that you can now embed Gadgets in your Google Code wiki pages. This is a major feature for this service! The reason is simple. Before this feature was implemented, you couldn't embed anything other than wiki markup. Adding the ability to put Gadgets on the pages enables one to resolve a long standing issue which was that you couldn't embed Google Adsense in your project pages. So, I believe I can now claim that I'm the first person to do this. Woot!

Fun Little Math Problem

Thanks to Mr. Hellman (and Diffie and Merkle) we have public key cryptography. I was just browsing Mr. Hellman's website and came across this fun little math problem. I really appreciate how he took something complicated an explained it in simple clear terms.

Sunday, October 19, 2008

Lost in Translation

From the Quickly website:

Due to Yang's father is a medical doctor and her mother is extremely hygiene, she also followed this good practice. Yang is very strict on having her franchisees keeping their sores spic and span.

Saturday, October 18, 2008

SimCity for the Economy

I feel like someone is playing a game of SimCity with the economy and losing.

Somali Pirates

Looks like some Somali Pirates picked on the wrong Iranian ship and got more than they bargained for. There is some interesting analysis that suggested the ship was going to spread some radioactive powder all over Israel just in time for Yom Kippur. However, another analysis is that the ship was really only carrying fuel for rockets. Regardless, it sounds like an interesting story that only a few people will ever know what really happened and I'm glad that nobody (except the pirates) got hurt.

Friday, October 17, 2008

Frightening Prospect

 

Great Tat!

A simple rule dictates my buying

Be fearful when others are greedy, and be greedy when others are fearful. -Warren E. Buffett

Does she plumb?

No, she does not plumb!

Thursday, October 16, 2008

The Real Joe

No wonder McCain mentioned his name so many times. It was a total staged event and he was cashing in on his investment! Fucking pathetic.

CERN Porn

The forces on the vacuum barriers attached to the quadrupoles at the subsector ends were such that the cryostats housing these quadrupoles broke their anchors in the concrete floor of the tunnel and were moved away from their original positions, with the electric and fluid connections pulling the dipole cold masses in the subsector from the cold internal supports inside their undisplaced cryostats.
The paragraph above came from the CERN press release where they describe in fairly low level detail each event that caused the recent failure in the LHC. They do it in a way that makes you feel smart even if you have no clue what a quadrupole is. On top of it, look how eloquently they describe a massive event where an expensive technical piece of hardware just ripped itself out of some beefy anchors in the floor. I just love the geeky talk, what a turn on!

Wednesday, October 15, 2008

La Pequeña Sarah Palin

La Pequeña Sarah Palin

Sunday, October 12, 2008

Snowed Over

This is such a bad idea on so many different levels. It seems that unicode domain names are starting to appear that will snow us over...

http://☃.net/