-
Archives
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- January 2010
- December 2009
- November 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- June 2005
-
Meta
Monthly Archives: October 2006
hibernate and component querying
Well here is some interestingness with querying for components using the 3.2.0cr5 version of hibernate. (FYI using accessor methods is the way the code was actually written. Direct references to properties in this example used just for clarity.) Components in … Continue reading
Posted in hibernate
Leave a comment
equity splitting
So I read this really interesting blog by Noam Wasserman. As someone who is trying to make a go of his first company, one of the problems I face is how to give up equity in a way that makes … Continue reading
Posted in starting a company
Leave a comment
rail speed records and the effect on airplane travel
September 2, 2006 Siemens used the recently-opened Nuremburg-Ingolstadt high-speed line in southern Germany to set a new world record for an electric locomotive. The Austrian Federal Railways class 1216 locomotive reached 357 km/h or 221mph December 2, 2003 a manned … Continue reading
Posted in sierraclub, transportation
Leave a comment
what is the rail advantage in CO2 emissions over an equivalent air flight?
This week there was a news release by the Eurostar company about the comparative emissions of a Eurostar trip vs. the same trip via airplane. each passenger on a return flight between London Heathrow and Paris Charles de Gaulle generates … Continue reading
Posted in sierraclub, transportation
5 Comments
notes on building a “Super Railroad”
I got this information from a Sierra Club email list I am on that has some useful technical information about how to build a really first class railroad. This comment was posted by Clyde L. Anderson, Treasurer, Nebraska Chapter – … Continue reading
Posted in sierraclub, transportation
1 Comment
How to do redirects in tapestry
How to do client-side redirects-after-post (taken from someone else’s sample code): public abstract class somePage extends ATapestryPage { @InjectObject(“engine-service:page”) public abstract IEngineService getPageService(); public ILink theListenerMethod() { /* Redirect to next page. SECURITY NOTE – do not use simple page … Continue reading
Posted in tapestry
Leave a comment
Hibernate nastiness using the one-to-one mapping.
Hibernate nastiness filed as bug HHH-2128. When reading this please notice that this situation arose from the most minimal definition. Using the ‘defaults’ is what caused this issue! Steps: define two classes (Primary, Secondary) that have a one-to-one relationship. use … Continue reading
Posted in hibernate
Leave a comment
Hibernate’s event system
So I just had an interesting realization, Hibernate uses various default listeners in it’s poorly documented event system to do all of its persistence work. For example, saving an object through a Hibernate Session object quickly goes to the Session.fireSaveOrUpdate, … Continue reading
Posted in amplafi, help notes, hibernate
6 Comments