This post originated from an RSS feed registered with Java Buzz
by dion.
Original Post: Links for 2008-11-15 [del.icio.us]
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Extending Firebug, customize Net panel (part VII.)
"One of the new features introduced since Firebug 1.4a2 is possibility to extend Net panel with additional info. There are new APIs that allow to create a custom info-tab for network requests (like Headers, Params, etc.) from within a Firebug extensions.
This post is intended (a) to show how these APIs should be properly used by Firebug's extensions and also (b) to gather some feedback about the architecture."
Asynchronous MySQL Client in Perl
Asynch in data is hard, but are we seeing the world going in that direction? E.g. javascript db apis.
Cron in the Container
Bob is quietly going about doing cool things with Rails on JBoss.
jQuery solar system
Fun example visualization of the universe and how you can power it :)
JavaScript: Instance private, class private, package and friends
When Arv talks, I listen: "A lot of people try to apply known concepts from languages like Java and apply them to JavaScript. If you really need to be able to hide the state then I would use the instance private pattern first used in this post. It is easy to write and easy to understand and does not have a lot of boiler plate code. However, I would only use it where hiding the state really matters. In most cases it doesn’t. For example, Gmail was written without any true private members. We just use a naming convention."
Public Object: Guice punches erasure in the face!
Java 5 Type Erasure is frustrating. I'm coding along, enjoying the glorious type safety of generics. And then I try to do a little more with the Ts, and erasure shows up, "You can't do that!" I can't test an object if it really is a T. I can't inspect T.class using reflection. And I certainly can't new up a T. Yuck.
We're in a unique situation with Guice. Its type literals and injection points have complete generic information.