Jared

MySQL Unicode Escape Sequences

While debugging some character encoding issues today, I decided it would help to directly populate a database table with some test strings containing non-latin characters. I hoped the mysql client would, by chance, support C-, Java- or Ruby-style Unicode escape sequences. Alas, it does not. A couple of searches later, all I’d found was my […]

October 27, 2009

Adam Rosien

Easy to get burned by Hibernate

I got burned by Hibernate the other day. This code throws a ClassCastException; can you see what the trouble might be? return (Integer) session.createSQLQuery( “select count(*) ” + “from trades ” + “where date >= :from and date < :to”) .setParameter(“from”, converter.toString(from)) .setParameter(“to”, converter.toString(to)) .uniqueResult(); Under the covers Hibernate infers the result of the query […]

October 22, 2009

Eishay Smith

New kaChing is live! time to invest like a Genius

  Most Emaild article at NYT! CNet NY Times LA Times Forbes Reuters Mercury News Investment News Prolx Gigaom MarketWatch Number one at Goolge Businesses Section  

October 18, 2009

Pascal-Louis Perez

TGIF at A.G. Ferrari Foods

A big thanks to the A.G. Ferrari team for hosting us for TGIF last week! We’re in the middle of a major release, and bit of fresh air, good food and wine sweetens the long working hours. For Palo Altian out there, check out the kaChing sandwich on Monday the 19th. Breasoala on foccaccia bread. […]

October 16, 2009

Eishay Smith

Unifying Type Parameters in Java

At kaChing, we’ve designed from the ground up using services. We have many servers clustered into services which respond to simple queries such as “give me Alice’s watchlist”, “buy 10,000 shares of Google for Ted” and quite often “give you $10M for inviting a friend”. At the lowest level in our platform, we’ve decomposed our […]

October 12, 2009

Eishay Smith

Speeding up with Voldemort and Protobuf

In order to supply some of the analytics behind kaChing we have a some nice number crunching processes working over piles of financial data. The end results are displayed on the site (e.g. the find investors page). The post is about one of such services which for the sake of this post we’ll refer to […]