Auto-imported from old gallery:
Hiatus Reloaded
If you glance over at the sidebar, the photolog is now italicized, which can only mean one thing. It’s back! Over two hundred new pictures, eleven new albums, and more captions than you can shake a stick at. Go check it out, and be sure to leave comments. It’s going to be another summer of photos, so be sure to check the photolog regularly. I’m going to see now if I can do anything about the horrid HTML there.
I Know Nothing
“Their daily utterances, even on topics they know nothing about, are generating high traffic from search engine queries.” — Search Results Clogged by Blogs, Joanna Glasner. At least most bloggers admit when they know nothing about their subject, unlike say, journalists.
Happy Ending to a Long Story
If any of you have been following in the counter on my sidebar, you know that as of today my laptop has been under Best Buy repair for 31 days now. That’s a very long time to go without a laptop when you’ve become quite accustomed to one, and I went in to the store today with every intention of talking to them quite harshly. When the service man checked the status of my repair though, he said, “Oh, that’s been marked for replacement. Go pick a new one out.”
Sweeter words have never been spoken. I went to the car to get my receipt information. A quick glance in the laptop section revealed they had the exact model I was hoping for, the Vaio Z1A. The exchange still had some credit left over, so I picked up a nice case for it and they renewed the service plan to cover another 3 years and another replacement. I might regret that later, but right now I couldn’t be happier.
This new laptop is everything I could want. It’s light, which my previous powerful but heavy (10 pounds with power supply!) companion wasn’t. It’s faster, the 1.3ghz Centrino processor feels as snappy as my faster clock speed desktop, and benchmarks seem to put it on par with at least a 1.8ghz Pentium 4-M. Integrated WiFi is a must for all future laptops. 512MB of memory gives my programs room to breathe, and the ginormous 60GB hard drive will let me carry my entire music collection around with room to spare.
Best of all, it’s really beautiful. Most PCs are really not well designed, but with this one I can sit in a circle of Powerbooks at SxSW next year and not feel like the ugly cousin. My faith in Sony has been restored. All is forgiven. Pictures are most definitely forthcoming. Maybe an entire gallery worth. 🙂
Red Button Meeting
Those of you who know what the Red Button is, and those who are curious, should come to today’s meeting of the Red Button Fan Club at Tropioca at 12:30. The Creator of the button will be in attendance.
Matrix Reloaded
No spoilers here. I liked it, but several people I talked to either flat out didn’t or were on the fence. Not what I was expecting. Tek suggested elaborate preperations and such (contrast mine), but overall the showing I was at seemed pretty laid back. Theatres all over town had it, generally with at least one show starting every twenty minutes, and tickets were relatively plentiful. We got there early and they had already opened the theatre and were letting people choose the seat, overall the opening of X-2 seemed more crowded.
The truth is I really liked it, and after Tantek’s two day blackout (which I think is an excellent idea, and I hope it sets a precedent) I’ll be happy to discuss it with anyone who thought otherwise. What was really fun about the night though was hanging out with the gang of Joe, Kyle, and Rene. With Rene in Boston and Joe and Kyle busy with their senior year, plus my obligations, I didn’t really see much of them for a while. Hopefully this summer we’ll be able to catch up.
Gallery: 5-15-2003
Auto-imported from old gallery:
Double You
Just a reminder: I love all the links that have been coming in recently, but if you link to something here, save yourself four keystrokes and leave off the “www.” It’s three months now, all the useful search engines (except Blogdex) have figured it out, why are two thirds of the HTTP responses from this site still 301 Permanently Moved? It’s going to take years to shake that thing.
Take the —— Pill
If you would like to see the new Matrix with me and a few others tomorrow, here’s what you do.
- Go to Fandango.
- Enter your Houston zip code. (77035 works for me.)
- Choose the 10:20 showing at “Edwards Houston Marq*e 23 & IMAX.”
- Buy tickets.
- Call, email, or comment, and I’ll tell you where we’re meeting up and such.
I can’t wait. In others news Tantek recommended a number of books to me (some of which he’s posted about) and I’ve started it out with Neuromance and I haven’t been able to put it down. Finishing it tonight. Thanks for the recommendations! (To the certain person who has seen Reloaded already, shhhhhhhh.)
Gallery: 5-14-2003
Auto-imported from old gallery:
A Minor Fix
Many thanks to Mr Zeldman for sharing the random image script I put together. (Twice in about a week, I’m starting to blush.) Shortly afterwords Charles Dietlein (who also has one) dropped an email suggesting that I seed the random number picker for users of old PHP distributions. Done, and thank you for the heads up. I still believe that letting the web server do the grunt work is the most elegant method available.
I have received several questions asking how the individual images may be cached but it still “rotates” on every reload. Well, it’s all in HTTP. The response from the PHP script is never cached because it sends a 302 Temporary Redirect header, which by specification should not be cached by the browser or caching servers. The images themselves, once served, are just like any other static file, and they are server with Etags and Last-Modified headers that allows a browser to check later if anything has changed. If the browser receives a 304 Not Changed header in response, it knows it can go on its merry way and return the image from cache. There you have it.
I had to go back and edit this post because I was dropping in and out of the editorial we. What you read really influences how you write.
Gallery: 5-13-2003
Auto-imported from old gallery:
Birthday Wishes
CSS: The Gathering
So the other day I was over at Josh’s house helping him out with some CSS for his new site, fatalifswallowed.com. Now I know what you’re thinking, what’s an “alif,” why is it overweight, and why are they wallowing around? I wish I had the answers, but I don’t. Maybe there will be answers on the site, so you should go check it out.
Anyway, as a bit of friviolity to start your week with, here is the official Matthew Charles Mullenweg Magic the Gathering card, available in limited quantities only. What really cool is he did it so it’s on actual Magic card paper, and there are also a lot of nice details. Go Josh.

For those wondering, it’s a black card because apparently deep down I’m evil. That is all.
Summer Cleaning
Trying out something a little different. Comments welcome.
Gallery: 5-12-2003
Auto-imported from old gallery:
A Better Image Rotator
The Hiveware Image Rotator, shared by Mr Zeldman, does one thing and does it fairly well: it shows a random image on each reload. However, the approach the script takes is slightly flawed, and could be improved as detailed below.
My first issue with the script is that it is really only set up to handle two types of files, GIF and JPEG, and then only with the file extensions of .gif or .jpg, so something like .jpeg (fairly common) would not be included. Not to mention the noble PNG is left out entirely. Fixing this, however, leads us to a more fundamental problem: the images are served through the script. This means that the script has to handle the content-type header, something that is messy to do. A better method, I propose, is for the script to merely serve a temporary redirect header, which sends the browser with a minimum of overhead to the actual location of the file, which has a number of tangential benefits including that it allows the image itself to be cached properly, either by a caching server or the browser itself, and it delegates content negotiation and such to the web server, which is most likely infinitely better at it.
So now what we have a script which reads files in a directory, grabs the ones with a user defined set of file extensions, and sends a simple Location header to whichever file is randomly chosen. The complication now that the location of the image is now important in terms of the web server document root. One bonus of Dan Benjamin’s method is you can use images outside of the web root, though I don’t know why anyone would want to do this. The script could ask for two variables to be defined, the absolute path to the images and the path to the images through the web server, but I would like for this to be as ridiculously easy to setup as possible. Another option would be to subtract the $DOCUMENT_ROOT variable from the absolute path given and use that, but that would require people to know the absolute path of the directory they’re using, and like I said I’d like this to be easy as humanly possible. The best solution is to use a relative path; if the users enters nothing it’s assumed that the images are in the same directory as the script but if they aren’t the path can be entered in a relative manner, like “images/random” or “../rand-img”. Easy peasy.
Finally, instead of the plain rand() we’ll use mt_rand, which is about four times faster and slightly more random. What do you get? The Photo Matt Random Image Script. I’ve tested it thoroughly, but if you have any problems don’t hesitate to let me know. It’s just standard HTTP though so I don’t foresee any trouble. Something neat about this is that with the code we just wrote, you can also serve random anything—from zip files to MP3s—just by changing the extension line. Enjoy! Here’s an example of it in action, you should recognize some of the images as the delightful graphics Jeffrey has been putting up, the rest are snips of photographs I haven’t uploaded yet.
Keeping the Faith
If you’re like me, you’ve been very concerned about the direction XHTML 2 has been heading. Very recently I’ve thought to myself that I won’t develop a commercial XHTML 2 site this decade. (Look how long it took them to get simple stuff right!) Only time will tell, but Tantek’s XHTML Considered Hopeful brings back that warm fuzzy feeling that promising new technologies give. Yes, it was going in a bad direction. Yes, it’s coming back.
I’ve lurked on www-html for several months now, maybe it’s time (and I finally have the time) to start seriously reading working draft and lend my voice to the process. That’s assuming of course I have anything cogent to say. I think the lesson to be learned here is if you’re concerned with where the spec is heading, let people know. As Tek says, they’re listening.
(My personal favorite new element so far? Gotta be <l>. Lots of possibilities there.)
All Done
Free at last, free at last. I took my last final and now I am done with school for at least a couple of months. Now it’s time to dive back into projects I have been neglecting due to school. I have been very much looking forward to this summer.
A Hoax Risk
A Flight Risk, blog of a “twentysomething” “international fugitive.” A good read if nothing else. Hat tip: Wired. Is it just me or does it seem like all the best stuff at Wired comes from Leander Kahney? Incidentally, he’s the author who used one of my photos in a Wired story a few months ago. I’m still giddy about that.