Archive for August 2009

Moving to another cloud

We are in the process of migrating one of our backend dataprocessing servers from a legacy hosting company in NYC to Contegix.  What’s unusual about this transition is that we’re moving the machine onto Contegix’s new cloud platform rather to a traditional server.  We’ve noticed a few things already.  When we were copying over a […]

Warning of the Day

I would like to nominate this stack trace for the Warning of the Day award: java.lang.NumberFormatException: For input string: “Fuck” at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Long.parseLong(Long.java:403) at java.lang.Long.valueOf(Long.java:491) at java.lang.Long.decode(Long.java:634) … It was caused by the following IP address from the request header of an actual StyleFeeder user: Fuck.You.Iran.Government, 10.94.117.124 The latter IP address (masked here to […]

final

I saw this blog post referenced on Hacker News today and thought I’d pounce on one of Stephan’s opinions, which is that the final keyword in Java shouldn’t be used except on fields. I can’t disagree strongly enough with this. I first came across this advice in the O’Reilly Hardcore Java book about five years […]

doing a tail on rotating log files

We learned something today, not something new, but new to us. If you do a tail -f to view the end of a log file, it all goes great until your logging system rotates out the file. Then you’re stuck wondering if the program has halted or if your ssh connection died or if you […]

The wasteland between Harvard and MIT

While sitting at my desk, if I turn my head to the right, I can see the famous MIT dome and part of the roof of the Stata Center.  If I turn my head to the left, I can see parts of the Harvard empire.  StyleFeeder is located between two of the most famous universities […]