Monday, August 21, 2006

Portals

TechCrunch points to a screencast by Kris (on Flickr, ironically) showing an upcoming feature on Zoomr called Portals. It's pretty neat. Would've been perfect for some notes I added to some pictures on campus (e.g. this one) a while back.

Hibernate Mapping Diagram

If your hibernate.mapping.xml file is the most up-to-date documentation you have, try this XSL document to get a visual feel for how your database tables are related. Put the <?xml-stylesheet ... ?> directive in your mapping file and try opening it in a browser. I'd be surprised if it works in anything other than Firefox 1.5 (it needs to have canvas and XSL support). The XSL is pretty nasty because I wanted to include some portions of scrip.taculo.us to enable you to position the tables manually. Once the tables are in place, try hitting the '#' link in the top-left corner to connect everything together with "arrows".

Facebook RSS

They still don't support it, so here's an attempt to make that happen with the newly launched API. I wish it would at least expose the time a profile was last modified but that's probably like asking for them to publish emails and mobile phone numbers too. If you're daring, just login with your Facebook email/password. I don't know how/if other RSS clients handle HTTP authentication, but NetNewsWire does it very well.

[...]

Just the basics. What would be useful? Photos? Wall postings? Thanks goes to Ken K. for some help with the login procedure.

Update: the script is broken so I removed the link to it. I suspect the 'News Feed' feature is 10 times more useful anyway. See comments for more.

Thursday, August 17, 2006

Not sure how I missed this in the 2 or so years of Java web programming I've done, but it's pretty huge: http://www.javaworld.com/javaworld/jw-07-2004/jw-0712-threadsafe.html. Basically, never use instance variables in a servlet!

Wednesday, August 09, 2006

The moderators at work will sometimes send out outrageous reviews they come across. This is my all time favorite:

MA STAR VANS R REAL SNEAKERS PIMPEN!!!!

By JHANAY AKA NAY-NAY BKA BOSSY CHICA(unverified) from RANCHO CODOVA on 7/3/2006

Pros: Comfortable, Durable, Stable, Warm
Cons: Stains Easily
Best Uses: Cold Weather, Travel, Casual Wear "JHANAY HARRIS GOT A PAIR", "GO DUMB USA BY JHANAY", "GET HYPHY IN THEM"

THEY R SO COMFY WHERE EVER U GO EVEN ON BUSSINESS TRIPS AND I WHERE THEM WHEN IM AT A SIDE SHOW GOIN DUMB U FEEL THEY NOT ONLY 4 ROCKERS THEY 4 PPL WHO LIKE HIP HOP LIKE E-40 KEAK DA SNEAK TOO $HORT MAC DRE(REST IN PEACE)ECT.
(0 of 0 found this review helpful)

Mad props for being able to throw "hyphy" and "bussiness trips" in the same post.