Wednesday, September 16th, 2009
When working with user provided images in PHP you run into a problem. Lets say that you want to generate thumbnails of uploaded JPEGs for users. This is a fairly common use case where you would employ PHP and GD (the most prevalent php image extension.) But when you generate the new, smaller, image what [...]
Tuesday, March 25th, 2008
Lets say you have a relatively complex php web application, like wordpress. You have it running under apache (which is common.) You have good control of your site via .htaccess (which is common — permalinks and all.) And something happens to your blog (e.g. someone is exploiting some unknown vulnerability to compromise your content), which [...]
Wednesday, October 10th, 2007
We’ve been asked how we manage serving files from Amazons very cool S3 service at WordPress.com… This is how. (covering a requested image already stored on S3, not the upload -> s3 process) A request comes into pound for a file. Pound hashes the hostname (via a custom patch which we have not, but may, [...]
Saturday, October 6th, 2007
this is amazing: http://jan.kneschke.de/2007/10/7/wormhole-index-reads and I cant wait to try it somewhere!
Tuesday, October 2nd, 2007
This handy little bot keeps track of RSS feeds, and announces in the channel when one is updated. (note: be sure to edit the path to the datafiles) Each poller runs inside its own ruby thread, and can be run on its own independent schedule require ‘thread’ require ‘rss/1.0′ require ‘rss/2.0′ require ‘open-uri’ require ‘fileutils’ [...]
Tuesday, October 2nd, 2007
This bot is perfect for anything where you need to easily build IRC channel notifications into an existing process. It’s simple, clean, and agnostic. Quite simply you connect to a TCP port, give it one line, the port closes, the line given shows up in the channel. eg: echo ‘hello’ | nc -q 1 bothost [...]
Congrats to http://claudiacanals.wordpress.com/ which happens to be our one millionth hosted blog. This happened around 11:38pm PDT, and weighed 7lbs 6oz
I began looking at divshare a few days ago as a way to stor, save, and share my personal photo collection. The idea of auto-galleries, unlimited space, flash video, and possible FTP access was… enticing. But it’s tough to tell how something like this is going to work on a large scale… So… after messing [...]
I know, I know, I’ve been silent for quite some time. Well Let me assure you that I’m quite all right! Are you less worried about me now? Oh good. (Yes I’m a cynical bastage sometimes.) So life has, as it tends to do, come at me pretty fast. I’ve left my previous employer, Ookles, [...]
Monday, February 5th, 2007
If there’s one thing that the OpenFount guys have shown me is that they’re serious about the Infinidisk product. Mr. Donahue gave me a quick call this evening (seems my e-mail server and his e-mail server aren’t talking properly, so while I get his communications) he has not received mine (probably explaining the lack of [...]