July 2011
1 post
Sneak: Fixing the background 'bleed' →
I recently came up against an issue in Safari where the background colour of an element seemed to ‘bleed’ through the edge of the corners when applying both borders and a border-radius (see the image above). After seeing David Cole tweet about the same issue I resolved to find a solution,…
April 2011
2 posts
November 2010
1 post
Badass JavaScript: Face Detection in JavaScript... →
badassjs:
You have probably seen face detection at work in programs like iPhoto and Picasa, but what if you could do that performantly in JavaScript? Chinese developer Liu Liu has done the honors, and implemented the algorithm using the canvas element.
The algorithm is implemented on top of a JS port of a…
September 2010
5 posts
myNoSQL: MongoDB and Auto Increment →
nosql:
Chris Shiflett shares a solution to emulate the MySQL auto_increment with MongoDB. While you should read his post, the proposed solution is:
…
Kenny Gorman warns that the above solution is not exactly optimal:
…
I remember Twitter has tried to solve a similar problem — probably at a…
MongoDB: Tips & Tricks & Hacks
nosql:
Nice collection of (probably) not so well know MongoDB tips and tricks:
MongoDB: tips, trick and hacks
Looks like this one for storing dates and group by day in MongoDB is not included.
Do you have any others that you can share?
Original title and link for this post: MongoDB: Tips & Tricks & Hacks (published on the NoSQL blog: myNoSQL)
August 2010
3 posts
OMG Revolver: Dribbble Etiquette →
At first Dribbble - or Drivvvle as I thought of it - seemed like a useless waste of my time. An exercise in self-aggrandizing.
But all the sudden I saw a great community arise inside that site. I started using it, and found some really great people on there, and I realized the community I…
Troy Mcilvena: jQuery Retina Display Plugin →
A simple way to add Retina Display support to your website.
The jQuery Retina Display plugin will substitute high resolution versions of your images (if they exist) for high resolution displays (such as iPhone 4) only.
This plugins requires no client-side changes , other than the inclusion and…
Marco.org: More ideas than time: Logarithmic... →
I’ve been sitting on this idea forever, but the chances that I’ll ever do anything with it are close enough to zero that I’m letting it go. (It’s not original, either, but it has yet to make it into a widespread calendar product.)
The basic premise is obvious: Calendar software overdoes the…
June 2010
1 post
Tim's Daft Junk: Post to Tumblr from Textmate →
I am a big fan of TextMate and use it as a general text editor, for Ruby development, and whatever else I can shove into its interface. And that now includes blogging. Surely there are many ways to achieve the nirvana of posting to Tumblr from TextMate but I did not find one readily available with…
May 2010
1 post
Into The Forrst: On Forrst's architecture →
I’ve been getting a few requests for a write-up like this from curious Forrst’ers, so here goes nothing.
Hardware:
We’re on three MediaTemple (ve) boxes: one database, one staging, and one web frontend. They’ve each got 2GB RAM, 10,000 RPM RAID-10 disks, and all of that good stuff. I recommend…