Watch, Read, Listen
-
I was thinking the other day that it would be useful to have a select option that people could also put their own options into on the fly. Obviously you wouldn’t do this if you wanted completely normalization, but many times I have made selects with an “other” option, and then below put a text…
-
Need to curtail your surfing during certain time periods? I’ve tweaked Gina Trapiani‘s original code to make it a little more tolerant. Put a few numbers into the “surfHours” array and you’ll be able to access your “blocked” sites for one hour after each hour listed. As an example, if surfHours = [9,13,17] you can…
-
I’ve been very frustrated recently with the fact that in facebook groups, if you press enter while typing a post, it submits the post. If you just want to make a line break you have to hit shift-enter. Fortunately we don’t have to live that way any more. I’ve made a greasemonkey script for people…
-
I just read this intriguing piece in the Times: http://www.nytimes.com/2010/11/28/opinion/28rich.html?_r=3&hp What’s great about this article is that I think the means that it describes and ends we would all find desirable: a government that votes it’s conscience. We differ greatly as to the means. I’ve been thinking recently that the problem is lack of accountability.…
-
I’ve been an anti-flash guy for a pretty long time now but I’ve been “ok” with running flash on machines when I had flashblock installed. Today however I ceded to Adobe’s nag and installed the latest upgrade to Flash — bringing me to Flash Player 10.1 It ran mostly in the background, and I had…
-
I wrote this in summer of 2008. My gang of friends had all come down to Woods Hole, and Mark Z. had brought a sweater he had found in his apartment. All the girls we knew were assembled, yet no one claimed the sweater. After the weekend, emails flew among the group trying to decide…
-
I’ve had some issues with pushing strings in JSON to a browser and having the browser parse them correctly. Some browsers will take strings as argument, some want numbers — it’s a bit confusing. To avoid all confusion, I recommend making a new date and then setting the values, rather than using the ambiguous constructors,…
-
Using vi as a hex editor – linux instead
-
I’ve been playing around with Voldemort recently for a robust enormous datastore at Esped.com. One of the frustrating things I found in getting into it was the lack of complete existing code samples, so I thought I’d contribute one to the community. This is a bit more than simple put/get because I need versioning associated…
-
I seem to always get this backwards, so I’m writing it down as a mnemonic. The correct ln syntax is ln <target> <linkname> e.g. ln /usr/bin/shutdown shutdown