May 01, 2008»

A sure sign that I've hit the big time:

dilbert on folksonomy GTA IV

March 31, 2008»

While I might occasionally notice interesting inconsistencies in the structure of the world and phrase them into semi-witty banter, I know in my bones that I am not a funny person.

So when I realized that tomorrow's imminent arrival of Stupid Internet Joke Day (was: April Fool's Day) would require the avoidance of all unnecessary internet contact, it also occurred to me that I may as well point out some common Funny Anti-Patterns. But that's been done to death - thank you, internet hipsters.

I merely wish to remind you all that elaborate hoaxes (press releases involving small company acquiring a large one, switching stylesheets with someone, etc) are immediately and transparently stupid. Instead, try to actually do something surprising. The ha you save might just be your own.

January 22, 2008»

When scaling from a single web server to multiple web servers, the typical practice is to put a load-balancing reverse HTTP proxy in front. This is a web server that forwards incoming HTTP requests to other internal web servers and thus distributes the load across all the different HTTP servers, allows for failover, and all sorts of good things.

However, a simple trick I learned early on is that even if you have only a single web server, a proxy in front can help out performance significantly. Through the simple expedient of buffering the communication with slow web clients, your potentially heavyweight (especially when mod_perl meant that each process was dozens or even a hundred megabytes apiece) and/or expensive Apache processes don't have to waste time serving every request for the entire length of time the client is connected. This allows you to run vastly fewer Apache processes.

In the past, I've used pound and perlbal. Pound is fast and lightweight, and allows routing based on the HTTP query; for example, everything under /img/ got routed to a high-speed thttpd instead of the Apache itself. Perlbal is much more configurable but slightly harder to get running, and the documentation was sparse.

These days, I'd also investigate nginx and varnish. Pen, a generalized TCP load-balancer with server affinity (connections will go to servers they've gone to recently in the past) is also quite interesting but will not help with the slow client problem. Finally, a second set of apache processes, configured to reverse-proxy via mod_proxy, will also do the trick. A

October 30, 2007»

Chris Anderson is fed up with PR folks spamming him.

Me too.

unsubscribe

These were sent to the email address listed on my blog; I use tear-off addresses for subscribing myself to things.

August 28, 2007»

I find myself lately re-entering everyone I know into the system every year or two; I remember Six Degrees, Friendster, Linkedin, (I skipped MySpace -- I'm too old,) Facebook, Dopplr, Flickr, and so on. Brad Fitzpatrick seems to agree that this is an annoying waste of time, and says so in his thoughts on the social graph.

Most social systems never forget anyone. Given that recent behavior appears to send friend requests to anyone you've ever met even briefly, I find my contacts list ends up filled with people I don't really know. In many systems, removing someone from your list is either buried or simply impossible. Further, since these systems make implicit relationship information explicit, deleting someone becomes a loud signal. In real life you would merely back off a bit, but the systems only allow you to express a binary sort of relationship.

Therefore, switching networks becomes a way to regularly cleanse your contact list. There is evidence that younger internet users regularly start new instant messaging IDs; this likely serves a similar purpose.

So perhaps frequent switching is less a function of fashion but instead a coping mechanism to deal with the mismatch between reality and software.

August 02, 2007»

ouch

July 31, 2007»

The elevator in my apartment building opens to the outside, and on clear, sunny days, a brief picture of the world snaps into focus on its brushed metal interior. The narrowing elevator doors focus the image, counteracting the blurring of the vertically brushed metal; in one dimension, a mirror, and in the other, a camera.

I'd like to thank the tender ministrations of the Northern California Kidney Stone Center and the resulting painkillers for allowing me spend a happy afternoon attempting to capture the effect. I tried using a fancy DSLR, but none of the photos really came out; the short video embedded below works quite well, though.


by joshua schachter | projects |