April 2011
31 posts
That’s What She Said
How To Safely Store A Password →
Basically… Use bcrypt!
Java version here.
Ubuntu 11.04 (Natty Narwhal) is here!
Unity is now the default Ubuntu desktop session. The Unity launcher supports drag and drop re-ordering of icons, full keyboard navigation support, right-click context menus, and more.
Updates to the Ubuntu One control panel and support, including faster file syncing speeds.
The Ubuntu Software Center lets users “rate & review” apps.
Firefox 4.0...
PHP Client can break `less` →
HAHA, I read this as PHP can break less… as it, not more then say Python or Java.
“When you pipe php through the command line with less (i.e. `php somescript.php | less`), this has the possibility of breaking the functionality of /usr/bin/less. To exit you need to type ‘q’ then hit enter.”
iOS 4.3.2 Software Update →
A small update to iOS just came out.
Fixes an issue that occasionally caused blank or frozen video during a FaceTime call
Fixes an issue that prevented some international users from connecting to 3G networks on iPad Wi-Fi + 3G
Contains the latest security updates
Just updated… worked for me :)
Improving SSL Certificate Security →
The Google Certificate Catalog is a database of all of those certificates, published in DNS. So, for example, if you wanted to see what we think of https://www.google.com/’s certificate, you could do this:
openssl s_client -connect www.google.com:443 < /dev/null | openssl x509 -outform DER | openssl sha1
depth=1 /C=ZA/O=Thawte Consulting (Pty) Ltd./CN=Thawte SGC CA
verify...
Anyone can invent a security system that he himself cannot break. I’ve...
– Schneier’s Law
She’s Too Good For Everyone
… but I might have a chance :) HAHA.
SSL And The Future Of Authenticity →
A cool article talking about the authenticity problems of SSL. He points out a few flaws with SSL and how DNSSEC should NOT be the solution, and we need a more “Trust Agile” solution.
He’s done some stuff, so I kind of believe him ;)
ANTI-SUBMARINE WARFARE CONTINUOUS TRAIL UNMANNED... →
ACTUV is a game from DARPA, you try and track down an enemy sub that uses real evasive maneuvers to try and escape you.
CAN YOU COME UP WITH A WAY TO KEEP TRACK OF ELUSIVE SUBMARINES THAT HAS NEVER BEEN THOUGHT OF BEFORE?
CAN YOU OUTSMART AN ENEMY SUBMARINE COMMANDER AND KEEP HIM FROM ESCAPING INTO THE DEEP?
DOWNLOAD AND PLAY THE ACTUV TACTICS SIMULATOR AND SUBMIT YOUR RESULTS TO DARPA TO...
Easy, simple to use LRU cache in java →
Have you ever needed a quick Least Recently Used (LRU) cache algorithm? Well here’s a simple one in Java.
// Create cache
final int MAX_ENTRIES = 100;
Map cache = new LinkedHashMap(MAX_ENTRIES+1, .75F, true) {
// This method is called just after a new entry has been added
public boolean removeEldestEntry(Map.Entry eldest) {
return size() > MAX_ENTRIES;
}
};
// Add to...