The New Foursquare

Yeah, but do you have them all in a spreadsheet on google docs? A hard core of Foursquare users love to checkin. I am one of them. I want to database my life, the places I go, and what I see and do there. I have checked in a total of 6,342 times since I started using Foursquare. via The New Foursquare – AVC.

August 6, 2014 · 1 min · chetan

Goodnight. Sleep Clean. - NYTimes.com

We’ve known for some time that sleep is essential for forming and consolidating memories and that it plays a central role in the formation of new neuronal connections and the pruning of old ones. But that hardly seems enough to risk death-by-leopard-in-the-night. via Goodnight. Sleep Clean. - NYTimes.com.

January 12, 2014 · 1 min · chetan

S3 enabled disks?

Sounds interesting, but no mention of OpenStack.. Yesterday Seagate introduced its Kinetic Open Storage Platform, and I’m simply blown away by it. It’s a truly elegant design, “as simple as possible, but no simpler”. The physical interconnect to the disk drive is now Ethernet. The interface is a simple key-value object oriented access scheme, implemented using Google Protocol Buffers. It supports key-based CRUD (create, read, update and delete); it also implements third-party transfers (“transfer the objects with keys X, Y and Z to the drive with IP address 1.2.3.4”). Configuration is based on DHCP, and everything can be authenticated and encrypted. The system supports a variety of key schemas to make it easy for various storage services to shard the data across multiple drives. ...

October 25, 2013 · 1 min · chetan

The US government has betrayed the internet. We need to take it back

We’ve had enough of lawyers and politicians not fully understanding technology; we need technologists at the table when we build tech policy. via The US government has betrayed the internet. We need to take it back - Bruce Schneier.

September 6, 2013 · 1 min · chetan

N.S.A. Foils Much Internet Encryption

Unlike some classified information that can be parceled out on a strict “need to know” basis, one document makes clear that with Bullrun, “there will be NO ‘need to know.’ ” via N.S.A. Foils Much Internet Encryption - NYTimes.com.

September 5, 2013 · 1 min · chetan

A human way to define regular expressions?

Dear lord, I hope no one is actually using this in production. pattern = Hexpress.new. start("http"). maybe("s"). with("://"). maybe { words.with(".") }. find { matching { [word, "-"] }.multiple }. has("."). either("com", "org"). maybe("/"). ending pattern.to_r #=> /^http(?:s)?:\/\/(?:(?:\w)+\.)?([\w\-]+)\.(?:com|org)(?:\/)?$/ via Hexpress by krainboltgreene.

September 5, 2013 · 1 min · chetan

Resetting the chronograph on the Tissot PRC 200

The large seconds hand (#6 in the diagram above) on my watch somehow got screwed up; when resetting the chronograph, it would always rest on 56 instead of zero. Apparently fixing this is an undocumented feature, though really quite easy to do. Simply pull out the crown (#12) to the second position as if setting the date. Now, when you press the reset button (#11) the seconds hand will advance by one. Just keep pressing it until you reach zero and you’re all set! ...

November 5, 2012 · 1 min · chetan

Creepy voicemail

I got this creepy voicemail today on an unused Vonage number that I have: Your browser does not support the new element. You can download the file instead. Vonage transcription: “Good morning and good morning and good more and then I’m. I’m alone. So in the shower. I am gonna be more than any card board boat races in my dreams. Swimming in the lake trip the water” PS. this is just an excuse for me try out the new HTML5 tag, which apparently doesn’t work in Firefox 3.6.x. ...

February 11, 2011 · 1 min · chetan

Classmates.com just earned a spot on my blacklist

Just fixed another longstanding pet peeve of mine: I finally added classmates.com and cmates.com to my email server’s blacklist. How these guys have managed to stay in business for so long is beyond. They don’t even try to hide the fact that they’re spammers. They even sign all their messages with a valid domain keys signature! DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; d=classmates.com; s=prod20081009.key.pem; t=1248374724; bh=PH2W8/WWF0Eq5UeHS7xrebJL9l g=; h=Date:from:to:Subject:Mime-Version:Content-Type:Message-Id; b=IMICZJvpMfW9pEWFSGX9gnScTOsQb0sI3edRgw7jHekqAK8OuJoFkmGBYcLC8IhpD mnoepYufrgbzzCEUWiYwpqCNSJ7PkqiyDs5n9upo4qtyEa29vgv6rXb39vQ+FjymKV+ E39Tuzsm2MuXTTO+e0C7LlOozzqnSfh30yovIOI= Gotta love the sheer audacity of it.. ...

July 23, 2009 · 1 min · chetan

Fixing SquirrelMail's weird reply behavior

After years of being annoyed by the fact that SquirrelMail, an otherwise fine product, doesn’t include the date and name of the sender when replying to emails like just about every other email client on the planet, I finally broke down and fixed it. Below is the simple 1 line patch against SquirrelMail 1.4.19. It will most likely work on older 1.4.x versions as well. Download patch (squirrelmail-1.4.19-reply_body.patch) --- squirrelmail-1.4.19/src/compose.php 2009-05-14 06:26:29.000000000 +0000 +++ squirrelmail/src/compose.php 2009-07-23 16:09:59.000000000 +0000 @@ -856,7 +856,7 @@ $rewrap_body = explode("\n", $body); $from = (is_array($orig_header->from) && !empty($orig_header->from)) ? $orig_header->from[0] : $orig_header->from; sqUnWordWrap($body); - $body = ''; + $body = "\n\n\nOn " . getLongDateString( $orig_header->date, $orig_header->date_unparsed ) . " {$send_to} wrote:\n"; // MOD BY chetan $cnt = count($rewrap_body); for ($i=0;$i<$cnt;$i++) { sqWordWrap($rewrap_body[$i], $editor_size, $default_charset);

July 23, 2009 · 1 min · chetan