Beust - beust.com - Otaku, Cedric's blog
General Information:
Latest News:
Chrome and passwords 7 Aug 2013 | 08:22 pm
An innocent blog post demonstrating that it’s trivial for anyone to see passwords in clear in Chrome is slowly building up into a whole scandal. The Chrome team was quick to respond but unfortunately,...
Email tips 7 Aug 2013 | 07:36 am
Email tips which I thought were common knowledge. Avoiding embarrassing forwards Problem: You receive an email (say from a customer), you pass it along internally with a few comments and… you accide...
Bringing down servers, one character at a time 5 Aug 2013 | 03:46 am
Last week, I mentioned a bug that I caused and a few people asked me details about it, so here is what happened. The code in question is parsing a calendar and processing meetings. Before showing the...
Branching logic 18 Jul 2013 | 06:53 am
How does the following code make you feel: ? Me? Annoyed. I wish we could do away completely with this kind of code but I’ve come to the conclusion that such calls are unavoidable for a simple reas...
Flexible configuration with Guice 13 Jul 2013 | 07:54 am
There are quite a few configuration libraries available in Java, such as this one available from Apache Commons, and they usually follow a very similar pattern: they parse a variety of configuration f...
The time that never was 30 Mar 2013 | 08:32 pm
I spent some time tracking down a funny bug yesterday, which suddenly starting clogging our logs with the following error message: If there are two things I have learned about Joda-Time these past ye...
A small step for Jebediah, a giant step for Kerbinkind 11 Mar 2013 | 03:58 am
This is Kerbal Space Program, a sandbox space simulator created by a small team of passionate space programmers. I never really thought that designing rocket ships an aligning orbits could be fun, but...
Answer to the “School” challenge 17 Feb 2013 | 05:44 am
I’m happy to see mostly correct answers to the School coding challenge. To make things more interesting, let’s start by looking at a naïve (and wrong) solution: Let’s create two School objects, make...
Coding challenge (“light” edition) 14 Feb 2013 | 12:19 pm
This coding challenge is a bit different from the previous one ([1] [2]) because it is shorter and also a bit more closely tied to Java. A School has either a name (“Stanford”) or a nickname (“UCSD”)...
A humble suggestion to protect your important information 13 Jan 2013 | 04:48 am
When you create a new account on a web site, it’s pretty much the norm to be asked to enter an email address. Why aren’t there more (any?) web sites that ask me for an additional email address that wi...