Migrating a Hibernate Bag to a Hibernate List
We ran into an issue recently where we needed to move from a Hibernate bag to an explicitly ordered list. Our root entity is a TaskSchedule, which has many Task(s). We needed to add a list_index column to the Task table, populate the new column and then update our code to use it. Because Hibernate… Read more
Experience of serializing financial domain objects in database
I found myself often having to make serialization design choices to persist financial data in database. The kind of financial data I’m referring to are domain objects describing stocks, stock quotes, stock fundamentals, corporate actions and so on. For example, a typical stock object has about 20 ~ 30 fields describing its static information: country,… Read more
Relaxing visibilities using Javassist
I personally like to restrict the visibility of my classes and members as much as possible. However, package-private classes get quickly annoying when used in an interactive environment such as the Scala interpreter. When we encountered this problem with one of our internal tools, we decided to generate derived versions of our JAR files with… Read more
Live Broadcast for Lean Startup for Geeks at Wealthfront with Eric Ries
About a month ago, when we announced the second meetup of our “Lean Startup for Geeks at Wealthfront with Eric Ries” series, we couldn’t imagine the extraordinary demand for attendance. Our headquarters in Palo Alto, Calif. couldn’t accommodate everybody who wanted in, and we had to turn down over 20 people and stop accepting requests… Read more
Wealthfront track at the Silicon Valley Code Camp
This year’s Silicon Valley Code Camp was the largest and greatest so far. Like last year, Wealthfront (then kaChing) had few packed presentations. This year we had a full Wealthfront track, focusing on software quality starting with the first line of code through testing to production. As requested, here our our presentations. A well-typed program… Read more
jQuery the Right Way
jQuery has changed the way we write Javascript by abstracting out much of the painful cross-browser implementation details that used to plague developers, but to use it correctly still requires a little knowledge about what’s going on under the hood. In this post we’ll take a good look at jQuery’s selectors and how to use… Read more