Mar
16
30

iPad 3 Launch Experience

Filed under: Meta

I’m in New Orleans for a few days and, long story short, although I pre-ordered the New iPad it’s arriving to an address I won’t be at for a while, so since I was up early this morning thought I’d go to the nearest Apple store in Metairie and see if I could pick one up, or at least be part of the excitement that always accompanies Apple launch mornings.

The store had opened at 8, but I arrived at about 8:55, and the scene was not at all what I expected. There was a crowd outside the Apple store, but it was of blue-shirt employees, I walked up and said I was there for a 64GB white AT&T iPad, the fellow handed me a card, and 5 minutes later I was checked out. No line, no waits, no anything! Here’s a picture of the front of the store, at 9:20am.

Line at Apple Store

The woman who checked me out said there had been a bit of a line that morning at 8, but just about 20-30 people and she thought that most people didn’t know they were opening at 8 that morning instead of the normal 10.

I walked back outside and grabbed a water bottle from the big pallet they had of them (for the expected line) and a Verizon employee accosted me to show ask if I had gotten AT&T or Verizon. When I replied “AT&T” he said “oh man!” and showed me the speed tests he was getting on his iPad 2 tethered via wifi to a Droid device he had, an impressive 20mbps down. “Think how fast it’d be going direct to an iPad.” (I agree, but I already have a Verizon Nexus device, a T-Mobile Blackberry, a Sprint iPhone, so I wanted to complete the quartet with another carrier and ensure I could have coverage anywhere.) I decided to celebrate with some beignets across the food court from Cafe Du Monde:

Celebratory Breakfast

So why the lack of a line? Perhaps it was mix up about store opening time, as they suggested. Maybe New Orleans is a Samsung town. Perhaps Apple just did a better job with the pre-orders arriving on launch day, so people didn’t feel the need to go to the store. Maybe people weren’t as excited as I was about the new launch. All in all, it doesn’t matter to me. The screen is gorgeous, it’s restoring now from iCloud backup, and I’m pleased as punch to have one on launch day and I’ll probably spend far too much time today staring at the amazingly high resolution. If you were waiting because you thought the stores might be crazy today, maybe head to them half an hour after open time and skip the queues.

Dec
31
16

Introducing Jazz-Quotes.com

Filed under: Meta

I attended an interesting high school called the High School for the Performing and Visual Arts, or HSPVA for short. More than computers my main passion when I joined was the saxophone, particularly jazz, and that’s what I studied for 4 years alongside many talented friends who would later become professional musicians.

As a result of this interest, almost from the beginning of this website (then photomatt.net) I had a section of my site for jazz quotes. It’s actually remained frozen in that old design for four years or more, and it was one of my resolutions for 2011 to relaunch it.

Well, with minutes to spare, I’m happy to share with you guys the new Jazz-Quotes.com.

There is a lot of work left to do on it to turn it into the more of a community-driven site that I envision, but there’s no reason the few hundred people a day that come to my site looking for jazz quotes shouldn’t get to enjoy them in this fresh new design on a dedicated domain. (Powered by WordPress, natch.)

Happy new year, everybody! I think 2012 is going to be an amazing year. Now to put another log on the fire.

Jul
13
34

10 Million

Filed under: Meta

Earlier today this blog passed 10 million pageviews since the WP.com Stats plugin started tracking it in May 2007. I would like to take this opportunity to express a special thanks to each of my readers, old and new, especially those that take their time to leave comments. Over the years this blog has begotten numerous features such as clean permalinks, galleries, and asides that have driven core WP development, and I hope that it can continue to serve as a testbed and playground for what WordPress can do.

Jun
25
108

New Summer Design

Filed under: Meta

As has become the tradition around here, today I’m launching a new design to celebrate the new year. (See also 2006, 2008, 2009.)

As you can tell, it is very inspired by the pop art of Roy Lichtenstein, an idea that came to me while visiting the Hirshhorn Museum in Washington D.C. last year, and again at SFMOMA in November. The idea was beautifully executed by designer Nicolò Volpato (who has now done 3 of the past 4 designs for Ma.tt) and coded up by Otto.

The header is a lot smaller, the graphics should load much faster since they’re simpler, and there have also been a few tweaks throughout the site to make it feel a bit speedier. Instead of image hacks like I’ve used in my past few designs I’m now using Typekit for pretty much everything, which feels nice.

Please take a look around, stroll through some of the recent photo albums, and generally make yourself at home. Let me know what you think in the comments. On to the next one…

Nov
11
16

Published on CNN

Filed under: Meta

Today a short piece “10 blogs to make you think” I wrote for CNN.com was published. I’m pretty excited about this and I also hope it drives a new audience to the blogs I mentioned, though to be fair if you’re not fascinated by how technology is changing society my picks might not be interesting. It’s a short piece in a “top ten” format, but I put a lot of thought into curating the picks.

I started blogging because I love writing. While the nature of Automattic is such that I’m writing all day long to communicate with my colleagues but writing for communication is different from the state of mind you’re in when you sit down to tell a story or change someone’s perspective. (Though perhaps it shouldn’t be.)

I started blogging for writing, I kept blogging for comments. It turns out what I love isn’t the act of writing itself, which has never come easy to me, but the conversation that happens afterward. Collectively in tech we become infatuated with each new medium be it blogs, widgets, social networks, micro-blogs, but in the end it always comes back to people talking to each other and eventually the novelty of the format fades.

As a final note when I write now I go into the WordPress editor because I know the auto-save will make sure my text is always safe, it produces clean and simple HTML, and I lean on After the Deadline. (Which now helps you rock the diaeresis New Yorker-style.)

Jun
19
220

The Way I Work, annotated

Filed under: Essays, Meta

pna I was fortunate enough to be featured in the July issue of Inc. magazine’s “The Way I Work” column. (Page 114, the one with Paul Graham on the cover.) The article is great and the photography very flattering, but it’s a little misleading. All TWIW articles are written in the first person, but not directly authored by the subjects, and we’re not allowed to see them before they’re published. These bizarre rules have some unexpected outcomes, and I’ve taken the liberty of rewriting the article in my own words and with lots of extra links. (You can read the original here.)

On a good morning there’s no alarm clock. I wake up with the sun and do my best to resist the instinctive urge to look at the computer or check email for at least an hour.

My vice of choice isn’t coffee, but the Kindle. Its electronic shelves are filled mostly with the business books  I read in order to grow up to be a real businessman (before someone figures out I’m not). At any point in time I have about 120 books downloaded. Interspersed between Drucker, Godin, and Buffett are classics like Seneca, which I wish I could read more often but only get to a few times a year.

Automattic, the holding company behind WordPress.com, finally got an office late last year at Pier 38, a beautiful open-floorplan space right on the Embarcadero. It’s about a five-minute walk from my apartment, but my preference is to work from home. We’re very much a virtual company where everyone primarily works from home (or their coffee shop of choice). The half dozen of us in the Bay Area will go in on Thursdays to have a little company, but six days out of the week the space is usually empty. But we throw some great parties there.

The team communicates mostly via P2, something a little like Twitter but password-protected, with real-time updates and threaded inline conversations. P2 is almost like a chat channel, but structured like a blog, and we’ve evolved to have almost a dozen across the 40 people at Automattic – serving a variety of purposes. We fill any gaps in communication by IRC, Skype, and, in a pinch, email.

In my home office there are two 30-inch monitors — a Mac and a PC. They share the same mouse and keyboard using Synergy so I can copy and paste between them. The Mac is mostly used for email and chat, while web stuff and coding happen on the PC. The keyboard is, of course, Dvorak, a more efficient keyboard layout that I switched to 10 years ago. I also have a Sony Z90 laptop with me all the time, whether I’m going overseas or just to the doctor’s office. I’m pretty rough on laptops, sometimes going through two a year. At home I like to geek out with home servers and networking, and sometimes find myself doing IT support for family, friends, and colleagues.

One of my favorite programs that we didn’t make is RescueTime, so much so I invested in the company. Hackers all know that you have to profile before you can optimize, and RescueTime runs in the trap of my computers and tracks how much time I spend on different things, sometimes with surprising results. My biggest time-suck is email, and to help out I wrote a WordPress plugin that filters people into folders based on their email address and priority settings which helps keep my inbox relatively clean. Tim Ferriss, author of The 4-Hour Work Week, advocates checking email only twice a week but that’s too severe for me. I’m currently trying Leo Babauta’s approach from The Power of Less, which suggests small steps like checking email five set times a day instead of constantly. It’s like dieting: People who binge diet gain it all back. That happens to me with email.

Music is my muse and I listen to it all day. There’s a lot of jazz — Dexter Gordon and Sonny Rollins — but I’m also a big fan of Jay-Z, Beyoncé, and Method Man. I have an analog Shindo stereo that was hand built in Japan and the aural experience is mind-blowing. When you’re coding you really have to be in the zone so I’ll listen to a single song over and over on repeat, hundreds of times. It helps me focus. The other best way to focus is to turn off email and instant messenger. The moment that little toaster pops up and says “you’ve got mail” you’re taken out of the flow. You’re juggling variables and functions and layouts and the moment you look away it all falls to the ground — it takes you 10 minutes getting it back in the air again.

A big part of my job is to manage the support, usability, and product development people who are scattered all over the globe, from Alabama to Ireland to Bulgaria. My management strategy is centered on hiring: find extremely self-motivated and curious people and then give them the autonomy to succeed. There’s no manager looking over anybody’s shoulder, so everyone needs to be self-directed. For every person we hire there are hundreds of applications. We always start people on a contract basis first; that way we mutually understand what it’s like to work with each other. One of the most important things I look for in résumés is a history of contributing to Open Source projects, because I know these people will understand our ethos.

For four years I was the only developer on Akismet, our anti-spam service. It started because my mom had wanted to start a blog but I was scared she’d be bombarded by spam for Viagra and worse, think that’s what I looked at all day. We finally added a second engineer to the project at the end of 2008, which was weird for me but was necessary for growth, especially as I’m pulled in more and more directions.

I go out for lunch whenever I can, which fits well with my preference for no meetings before 11 AM. There’s something very personal about sharing food with someone; it’s a deeper connection than shaking hands in a boardroom. Often when I’m in town I’ll have lunch with Toni Schneider, my CEO. He and I get along super well which is one of the reasons I think the business has worked. He brings gravitas because he’s a digital native but also has great startup experience including being the CEO of Oddpost, a webmail company Yahoo acquired in 2004. Sometimes we’ll go to lunch at 12:30 and stay until 5.

In general, I’m pretty darn disorganized, late as often as not, and really bad at keeping a schedule. My PA is now focusing on office and event tasks so I’m in the market for someone new. Last year I was on the road 212 days and clocked 175,000 miles, which is seven times around the globe (according to Dopplr, a great travel journal I use). The bulk of my travel is to WordCamps, which are educational and networking events that celebrate blogging. Automattic held our first annual WordCamp in San Francisco in 2006, thrown together just a few weeks before the event happened. Now they’ve exploded all over the world and I’ve been to over 30 community-organized events from South Africa to the Philippines. I say they’re a great bargain: a full day of quality speakers, BBQ lunch, a cool t-shirt, and a party for $25. We just wrapped the largest WordCamp ever here in San Francisco with over 700 people.  Though I’d love to, if I went to every WordCamp I wouldn’t have any time to actually build WordPress, so I’m cutting back and trying to go to every other one. They are great fun, though; it’s a chance to be a rockstar for a day. In the Philippines after the conference was done I stayed almost two hours afterward taking pictures and autographing badges and laptops. I’ve even been asked to sign body parts. Really.

To document my experiences when I travel I use my Nikon D3 camera. My photos are autobiographical — my memory is so bad (and the travel pretty grueling) that I’ll forget everything about a trip, and the photos help trigger my memories. On the plane ride home I’ll process and edit the photos as a narrative of each day, a visual diary. On my trip to Vietnam last February I took 2-3 thousand photos. I’ve heard that the difference between an amateur photographer and a pro is that the amateur shows you everything they shoot. I’m somewhere in between — I’ll post maybe a quarter of what I take.

I used to think constantly about building an audience for my blog but now my attitude is that if I’m not blogging for myself it’s not worth it. I don’t force myself to post once a day, I just do it when it feels natural. Sometimes people complain — “Write more about WordPress; we don’t want to see photos of kids in Vietnam” — but I don’t really care. For my 25th birthday in January I published a list of 2009 goals on my blog. It included learning Spanish, learning how to cook, and posting 10,000 photos. Cooking has been a total fail so far; I go out for every meal. If you open my refrigerator you’ll find Girl Scout cookies and barbecue sauce. Photos are blazing along, half-way through the year and I’ve taken 20,000 photos and posted about 4,000 of them.

My blog is fortunate enough to get lot of comments and I read and manually approve each one. I think the broken windows theory — a broken window or graffiti in a neighborhood begets more of the same — applies online. I’ll happily approve a comment from someone who completely disagrees with everything I believe in, but if I get a positive comment with a curse word in it I’ll edit it out. My blog is like my living room: If someone was acting out in my house, I’d ask that person to leave.
I look at our numbers every day, usually after 5 PM PST when GMT goes into a new day. We have an internal dashboard where we track 500 to 600 statistics about everything from how often people are logging in to WordPress.com to how many words they’re pressing per day. Almost all of the numbers are real-time.

I do my best work mid-morning and super late at night, from one to five in the morning. Some people don’t need sleep, but I actually need a ton. I just sleep all the time, catching naps in the afternoon or a 20-minute snooze in the office. Our business is 24 hours — folks in Australia start their day around 4 PM my time and our guys and girls in Europe get going around midnight. Sometimes I’ll go out at night, come home from the bar at 2 or 3 AM, and then go back to work.

For WordPress we’re trying to set up a community that will be around 10 to 30 years from now, one that’s independent from the whims of the market. My role is somewhat like Linus for Linux or Shuttleworth for Ubuntu, affectionately referred to as BDFL, and it’s my responsibility to meet as many users as possible and direct the software in a way that reflects their interest. Last year I probably met 5,000 or 6,000 WordPress users, about half of them who make their living from it. We want to be like Google, eBay, Amazon — they all enable other people to make far more money than the company captures. That’s ultimately what we’re trying to do, we’re trying to create a movement.

My Mom started a blog a couple of months ago. Six years into this, and we finally made it easy enough for my Mom to use. (She hates it when I say that.)

If you ask questions in the comments, I’ll do my best to answer them.

Mar
5
246

New Spring Design

Filed under: Essays, Meta

Time to break out of your RSS readers: there’s a new design on Ma.tt! Recommended only for the high-bandwidth and the open-minded. There was nothing wrong with my old theme, I just get an itch for something new every now and then and wanted a totally different direction — especially now that every site has copped the worn paper look / colorful flourish. Also it’s refreshing to be able to have a design where the only person in the world it needs to please is me. Here’s a before and after:

For fans of the old design, I’m going to abstract it into a regular WordPress theme — gallery features and all — that will be available to the entire world, including WordPress.com. It’s amazing to me how many great designs are thrown away, never to be used again, when as a WP theme they could live forever.

I wanted to thank Julien Morel, the creative mind behind this iteration, and Brian Colinger, who turned the vision into HTML, CSS, and PHP.

If I could I would redesign the site every season: Winter, Spring, Summer, Fall. It just always takes longer than I planned (this was supposed to launch in Winter). The cobbler’s sons go shoeless.

What do you think?

Apr
21
215

New Spring Design

Filed under: Meta

Time to come out of your RSS readers and visit the site. In celebration of Spring, Summer, the new domain, and WordPress 2.5 I’m launching a new version of Photo Matt / Ma.tt. Here’s a before and after picture:

Old and new ma.tt

A couple of functionality changes you’ll notice:

  • Thumbnails and photos are now much larger. (Especially photos, now 840px wide.) Imagine it like going HD, you’ll definitely enjoy it more on broadband.
  • I’ve brought back the photo tech details like aperture and focal length.
  • In addition to posts and asides, I’m now doing new post types: galleries, quotes, videos, and highlight photos.
  • You can now click on a photo to go to the next one, making  browsing galleries easier.
  • The header is a lot shorter, so you get to the content faster. You can’t say I have a big head anymore. :)
  • I’m starting to use the new taxonomy bits in 2.5 to tag people, places (geotagging), things, and concepts in the various photos. (More on this later, still a bit broken.)
  • This is the first iteration of this site that is powered entirely by WordPress. (I know, 5 years late. The cobbler’s children go shoeless!) Before it was a cobbled together set of PHP includes and software like Gallery. Now 100% WP.
  • Gravatars are much more prominent. I wonder if there’s a way to only allow comments from people with Gravatars? It looks so much better.
  • Name has changed from Photo Matt to Ma.tt, tagline is the same.

The fine design was executed by Nicolò Volpato, the same talented fellow who did the last design. My concept was to evoke Spanish talavera, inspired by my trips to Spain and Argentina and pottery at my parents’ house like this, this, and this. It was a lot of fun to work with Nicolò on and I already have a few ideas for Fall. :)

I’ve been noodling on the implementation for months now. Last night I had just arrived from New York and it turned out the Jay-Z/Mary J Blige concert in Oakland got postponed so I found myself with a bit of time on my hands and decided to tie up all the loose ends. There are still a ton of things broken like the photo border on portrait images, I still have 15k old photos to import, and you may see the old design on some older pages, but I wanted to get it out there. There are also some weird things, like Firefox seems to back the background image blurry while it’s razor-sharp in IE and Safari. I feel like I’ve seen that somewhere before.

Finally I’m hoping to release a lot of the work I did here, including a version of the old theme, the plugin + script I’m using to resize all my old images on the fly, the taxonomy stuff, and some core improvements to WP to make some of the things I’m doing here easier. (I got lazy and did some direct SQL queries, etc.)

Nov
13
154

New Blog Design

Filed under: Design, Meta

It is now official get out of your RSS reader day. Take a few minutes to check out the new photomatt.net and browse around a bit. This is, I believe, the fifth major iteration of the design here but it’s the first one since 2003. When I last freshened the paint around here it got a link from Zeldman saying “lucky in redesign” and I figured I would never be able to top that, so I left the design the same for years. The only major change was the introduction of Asides in 2004.

Well I couldn’t top the last design, but Nicolò Volpato had no trouble creating something beautiful I started coding up earlier this weekend. Nicolò is still working on mocking up a few of the pages, and in the meantime I’ve been working on a little additional functionality around the site, particularly with photos.

Here are a few things you might notice so far: related posts on entry pages, recent entries shown in the sidebar on entries older than 2 weeks, when a blog is from the same day as a photo album random photos from that day are shown at the bottom, and likewise a photo will show when there’s a post that day.

The main goals of the photo integration were to enable a little more serendipity. There are a lot of other little Easter eggs, but those will remain an exercise for the reader.

May
8
2

I’ve been pretty behind on my photolog, but I’ve updated it now with pictures from my last trip in December and a couple of days from this trip. More photos to come! The pictures from Blarney Castle this time should be an interesting contrast, as in December the sky and weather was pretty chilly but yesterday we had beautiful and sunny weather.

Aug
31
6

To the (literally) hundreds of you who wrote in about the broken photos the past few weeks, I’m happy to say that the photolog is back online. It broke because while 95% of Gallery works fine with register_globals off, apparently some bit of code somewhere doesn’t. If you haven’t been to the photolog in a while there are some fun pictures from Dallas, Seattle, and New York.

Nov
28
2

New Interview on Digital Web

Filed under: Meta

There’s a new interview with me up on Digital Web that covers a lot of ground. The questions come from the lovely Meryl. As it tends to work in these things, most of the answers are actually a few months old, for instance it’s all from before I announced I’d be working at CNET. This is mostly my fault because I got so swamped after the move I didn’t have a chance to sync up with Meryl again. I’m willing to try something a little different though, something along the lines of the old Under the Iron model. If you have any questions you’d like to ask just leave them in the comments section for the article and I’ll do my best to answer everything there. Blogging is all about empowerment, right?

Sep
12
24

Random Photo Returns

Filed under: Meta, Photolog

The random photos are back. I wrote a quick hack to loop over every photo in every album and read its relevant info into a MySQL table. Now instead of taking a few seconds to get a random photo using the Gallery data stores, it uses a single query and takes a millisecond. Long-time visitors to the site remember that the random image in the corner has always been one of my favorite things about this site, but as the photolog grew to a thousand, two thousand, and then nine thousand images it slowed down more and more. I had to start caching it so it would change once every 15 seconds, then every minute, then every 5 minutes, and then I just manually rotated it for a while. Finally I put the random image out of its misery.

Now it’s fully dynamic, every page you view is completely unique, just like you.

(There goes my bandwidth.)

Jun
19
23

Well That Was Fun

Filed under: Meta

I said I would take it down, I never said for how long. Thank you to everyone for taking a little time out with me in celebration of the big day. I was as surprised as everyone else, and watching the reactions come in was pretty interesting. The emails ranged from shocked to congratulatory to incredulous to angry. Thank you to everyone who wrote in. Many people linked to the site being down which should help solidify the #1 position in the eyes of the fickle mistress Google. Thank you all as well.

You’d think it would be cooler here in Houston, with hell freezing over and all, but it is as hot as ever. At the same time I’m told in San Francisco I need to dress in “layers.” I packed all my layers up months ago! Might have some <div>s around though…

I was able to get some of the work I was planning to do on the site done, mostly tweaks to the look and layout of things. I wouldn’t call it a redesign, more like a summer variation on a theme. Many of the changes are very subtle, but in my eyes important. The most obvious change, the sun in the corner, looks nothing like I want it to, so I’m not sure what will happen to that. (If you have any ideas, send them in.) Many other things still need attention, so expect to see occasional breakage and constant tweaking over the next week. I finally closed the comments on the mosaic. So it will stand at 1,017 comments,. The page is still huge, so I’m going to move the comments to a separate page just for that entry. The jazz quotes need some cleaning up, and I’d like to add a little information about each player to each page, including at least a picture. The photolog is being overhauled, and the long-promised classics section is almost done. Finally I promise that photo will be random again, any day now.

It was just a little over a day, but it feels good to be back. Let’s not do that again though. I really missed writing here.

I’m going to be in San Francisco next week, so if you are too I’d love to meet up. Drop me a line.

May
19
203

On Asides

Filed under: Meta

As you may have noticed on this page or in your aggregator my normal entries are now interspersed with smaller link and commentary entries represented in an unordered list. These fall in chronological order with my other entries and are real posts with permalinks, comments, categories, trackbacks, and pingbacks. I have been wanting to do this for a long time and there was a flood of entries when I first got this working. I fully expect to post in this category with a much higher frequency than my normal posts. I come across things all the time that I want to link so badly but I just don’t have the time to write an entry about. Now every interesting tidbit I come across is just a click of a favelet away from my readers. It’s liberating.

The format of a weblog dictates its writing. There is no getting around this. Ever since my redesign I’ve had these big important titles that—as a writer—are intimidating. Everything I write has to be worthy of its 32-point Dante banner. This was a deliberate to force myself to put more thought and effort into my entries and it has worked; some of my best writing has been since the redesign. It has been stifling as well. To express what I want to express these days I need something more dynamic.

This type of linklog is nothing new. I first saw it at Kottke and since have enjoyed it at Charles Gagalac’s site. Charles was the first person I know of to do it in WordPress. This inline style fits my requirements very well, the biggest being that I wanted to use my existing post taxonomy so a second weblog would have been inconvienent. I also get the benefit of a combined RSS feed and combined update pinging. More than all of that though, I don’t want to limit myself to one type of post in a new weblog, or in this one. I already have plans to use this feature to not only highlight interesting links, but comments I make on other sites, upcoming gigs I have, photolog updates, and various activities and writing I now have spread out over a half-dozen blogs. It’s a perfect application for WordPress‘ multiple sub-categories feature. Technically, the whole thing was very easy to implement.

First I made a new category all of these posts would be a part of, it was late and I couldn’t think of anything too clever, so I went with “Asides.” This may have been subconciously inspired by Movable Blog. So I created the category in WordPress, and it had an ID of 33. Next it was simply a matter of telling my template that if a post was in the Asides category to lay it out a little differently. I wrote a quick function, in_category() that does this with no additional DB queries that is now in the WordPress CVS and will be in the 1.2 release. The function takes a single argument, a category ID, and it returns true if the current post is in that category. Here’s what I have in my post loop:

<?php if (in_category(33) && !$single) { ?>
<ul class="asides">
<li id="p<?php the_ID(); ?>"><?php echo wptexturize($post->post_content); echo ' '; comments_popup_link('(0)', '(1)', '(%)')?> <?php edit_post_link('(e)'); ?></li>
</ul>
<?php } else { ?>

So basically what this is saying is that if the post is in category #33 and we’re not on a permalink page to format it using that code, otherwise do our normal thing. We have a simple unordered list with a uniquely ID’d list item. (The ID is a throwback to about two years ago when I had a heavily hacked version of b2 with monthly archives. Can’t let those permalinks break.) I get the post content directly because I didn’t want to mess with the normal filters (like autop) applied to the_content(). I run it through texturize to keep everything pretty. Then I have a simple comment link, and finally a link that only I see that allows me to easily edit any entry. This worked great, but you can see that I have a separate unordered list for each entry, which isn’t what I want; I want all consectutive aside entries to be part of a single list. This gets tricky because you have to start the list when the current entry is an aside but the newer entry and stop it when the next entry is not an aside. Tricky tricky, and I don’t want to think what would happen if someone decided to reorder my content. I had only allocated myself ten minutes for this entire project and I was at minute number eight, so it came time for ugly code:

function stupid_hack($str) {
return preg_replace('|</ul>\s*<ul class="asides">|', '', $str);
}
ob_start('stupid_hack');

I swear that’s the actual code in my template. Put it somewhere around the top of the template, it really doesn’t matter where. It’s a hack, but it’s been working great. Simon says it is “ugly as sin,” and that’s what I thought when I wrote it. Since then, however, it has grown on me a bit. It’s like the supermodel who goes out every day dressed to the nines relaxing at home in a bathrobe, slippers, and no makeup. I keep the pretty code elsewhere, here at home I’m a little more casual. Perhaps when I have a little free time I’ll put in the more complicated logic I described above but if it ain’t broke…

Apr
27
13

0wn3d

Filed under: Meta, Personal

I’m not sure if I’m one of the “six prominent webloggers” Brad mentions in his post Gmail major security flaw, but when I got a mail from him saying that I was guilty of exactly what he described, I thought it would be a good time to change my secret question and password. I guess he was really anxious to get a Gmail account. He could have asked though, I let Adam poke around mine.

My thoughts on Gmail? It’s really well-done in terms of how the interface works. It’s faster than Thunderbird for common tasks and I could see using it full-time. But I wouldn’t even consider it until they provide a good way to import and export everything. Email is the lifeblood of everything I do, and I’ve been burned too many times to trust it to a third party—even if it’s non-evil Google. When I put my address out there in a previous post I was pleasantly surprised to get emails from a number of people I’d never corresponded with. Unfortunately soon after that the spam started coming in. It’s more than I get on my “real” account, but I can’t expect a beta product to compete with a finely-tuned SpamAssassin installation and 22MB bayesian database.

Speaking of passwords, a few months I switched to using 8+ characters of random junk for everything, and different passwords for everything. You can use the random password generator to get a few of your own. Throw in SSH tunneling, a great VPN through my university, and consistent rotation schedule and I’m feeling pretty secure. (Knock on wood.) I just need a fingerprint scanner.

In other news, the place of residence has been spruced up a bit with surround-sound speakers, a cut-glass-hanging-thingy, and some additional lighting. Pictures forthcoming.

Finally, the mosaic thread currently stands at nearly 669 comments, and soon there will be more comments on that post then there are posts on this site. I don’t generally talk about traffic in public because I think it’s bad taste, but the numbers this month have been intimidating. In terms of bandwidth photomatt.net used a few dozen gigabytes last month, mostly in photos. So far this month the usage stands at 305 gigabytes for this domain alone and I’m at a loss for words, except to say it’s nice to know I have that sort of scalability. I think I’ll go back to posting pictures of my cat.

Update: Final usage for April on photomatt.net was 511 gigabytes.