Thursday, March 04, 2010

The java.util.logging package includes a handy way to send log message out a port to a server. This is done by replacing the usual log handler with an instance java.util.logging.SocketHandler. The provided SocketHandler, by default, uses java.util.logging.XMLFormatter to create an XML message that will be send out a socket to the host of your choice, and to your own server code.

Suppose you need to do this with an SSL connection, rather than a normal socket?

This is simple to do using a alternate handler which functions similarly to SocketHandler, but creates an SSL connection.

Tuesday, March 02, 2010

"Kansas City Federal Reserve President Thomas Hoenig reiterated . . . that the Federal Reserve should not guarantee zero-percent interest rates for an extended period. "We're going to have these days throughout the year, when investors get hit with the idea of eventual tightening," said Owen Fitzpatrick, head of U.S. equity group at Deutsche Bank. But the reaction is largely a knee-jerk one that's bound to dissipate, Fitzpatrick added"

Proving Hoenig correct, as he (shockingly reiterated) that interest rates might not stay near zero forever, the indexes dipped sharply on these words at about 10:30 eastern time this morning - only (of course) to climb right back up again.

So... I'm just wondering what traders expected him to to say? Maybe something like "I absolutely guarantee that interest rates will remain near zero from now until the end of times, for sure, no matter what." Ya, that would make sense. But since he didn't say that it's all OMG! Sell! Sell! Sell!