Twitter: too tired to do any more work. sleep.
Subscribe via RSS or email  #7,178


PSTAM.com: Behind the Scenes

Over 300 people have suggested via Skribit that I chime in on what’s involved with maintaining, writing and developing for this blog. With this post I aim to cover every aspect of how I work and keep PaulStamatiou.com rolling. Some things might be common sense while others might make you wonder. Enjoy.

Workspace

As part of my 2008 new year’s resolution, I plan on maintaining a clutter free workspace. When I got back to Atlanta for the new semester I threw out things I didn’t need, sent home several boxes of clothes I didn’t wear, gear I didn’t use and stuff I just didn’t need at this point. You can see what I’m left with in this quick video below. If you’re reading this in an RSS reader, you might want to click through if the video doesn’t show up here.


Video is 20.85MB with an original resolution of 720×405. It’s kinda cheesy too.

Some of you might be asking what happened to my 30-inch Dell display. It’s still boxed up in my closet from finals week when I put it away to reclaim my desk. I’m actually in the process of selling it. After reassessing my needs, I think it’s just too big for what I do (however, it was great for watching movies from my bed). I have been doing well on just my MacBook Pro’s screen with Spaces in Leopard. At most I’ll sprout for a 24-inch Dell that has multimedia inputs so it can serve multiple purposes (Vudu, Blu-ray player, et cetera) as the older 30-inch only has a single DVI input.

Personal Technology

As I’ve mentioned many times here and there, my main and only computer is a 2.2GHz Core 2 Duo 15-inch (glossy) MacBook Pro with 4GB of OCZ DDR2 and OS X Leopard. I’ve ditched my Logitech MX Revolution mouse for my older Logitech G5 mouse. The MX Revolution battery life was slowly getting worse and the charger was just thing to add clutter.

I have two chargers for the MacBook Pro - one stays wired up in my desk and the other is wrapped up and ready to go with me should I find the need to head out with the MacBook Pro. For long flights to California and road trips I also have another battery. On trips, I always bring a Nikon D80 digital camera with a 4GB SDHC card and if necessary a Panasonic HDC-SD5 camcorder with an 8GB SDHC card. Unfortunately, the SD5 is now out of date.. blasted CES salting my game.

While I can live with the resolution on the MacBook Pro, I can’t make due with the internal speakers for too long. Whenever I’m back in my room I always plug in my Logitech Z-2200 2.1 speakers (discontinued). I’ve had them for 5 years and they have been working well ever since and were very affordable. The same goes for my trusty HP LaserJet 1012 (discontinued). It prints fast, doesn’t take up too much space and was cheap. I recommended its replacement in my realistic back to school guide for college students.

I have an old external FireWire Maxtor OneTouch 300GB drive for storing media only, with most of this being purchased TV episodes and movies from the iTunes Store that I no longer need taking up space on my MacBook Pro. There might be a hundred gigs of Top Gear and Fifth Gear episodes on there too. I only access my external drive maybe once every 3 months so things on there are not really vital.

The Online Life

Everything else not on my external drive is in an Internet cloud. I don’t keep much, except for things I am currently working on, on my local machine. All of the pictures I take are immediately uploaded to my Flickr account and then deleted from my computer. To date I have around 9,300 photos on Flickr.

I have roughly 24.4GB of personal documents, server backups, iTunes music and more on my Amazon S3 account. Of course, an Amazon S3 account is only as secure as the password on the Amazon account tied to the AWS account, so my Amazon password changes very often.

Amazon S3 via Transmit - PaulStamatiou.com
This particular S3 bucket on the right is where I store my miscellaneous school-related work.

I interact with Amazon S3 exclusively with Panic’s Transmit app. As you might imagine, the problem with storing files online is that it will take some time to upload. Most documents I have on S3 are small and several megabytes at most, with the larger 100MB+ zip and media files I have on there being uploaded from campus with a much faster Internet connection. Music is backed up to S3 with the help of Bandwagon, although people with large media collections will probably be better off just backing up to an external disk occasionally.

I keep the same online mentality with my email. I have Google Apps Premier edition for my email account and write emails with the web interface only. I’ve tried using Mail and Thunderbird, but I’m just too used to the web interface. One of the things people might have an issue with Google Apps is remembering the longer URL to check email: https://mail.google.com/a/[DOMAIN]. You can get around this by setting up a CNAME record for your domain - for example, mine is http://m.pstam.com. The only problem with that is it just redirects to the longer URL which takes some time and it goes back to using HTTP and not HTTPS. Regardless, it’s not too big of a deal.

Google Apps - PaulStamatiou.com
I spent a few days replying to email to clear out my inbox for the new year.

I have IMAP enabled with Google Apps so I can use the same account from my iPhone easily. I also have the Google Apps setting that allows me to have the newest version of Gmail first. As for organization, I make use of several labels and have filters setup to automatically sort emails. Steve Rubel has a few articles dedicated to living the online life by keeping organized online.

Just as I enjoy the web interface for checking email, I also use the WordPress admin panel rather than OS X blogging software. I also enjoy the clutter free feel of not having to install extra software on my computer.

WP Admin Panel - PSTAM

OS X Things I Can’t Live Without

I’ve mentioned Spaces in Leopard numerous times and this post is no exception. Spaces has honed my productivity quite a bit. Back in the summer of 2006, I wrote an article called Why I’m More Productive on a Mac that got around quite a bit. If I had to add one thing to that article since its publication, it would be Spaces. I still use Exposé just as much, but Spaces let me setup playpens for various tasks and keep related items in their proper place.

Leopard Spaces
Safari, iTunes, Development Env (Firefox, Textmate, Terminal)

Spotlight in Leopard is like lightning. I actually stopped using QuickSilver for it. I know QuickSilver can do a billion and a half things but I only ever used it for changing songs in iTunes and launching apps. Spotlight can launch apps just as well and I can use Spotlight as a spell-checker of sorts. Going along with my whole clutter free ideal, QuickSilver one less application that needs to be running.

OS X - Spotlight
Type a word in Spotlight and you’ll be greeted by the dictionary entry if spelled correctly.

The Inquisitor plugin for Safari 3 is quite dandy as well.

Inquisitor 3 for Safari
Ron Paul messed up my #2 Google spot. I wonder who’s not getting my vote.

This seems to be turning into a more of why I love Leopard piece but QuickLook and its hacks are also massive timesavers. And of course I need all of the regulars: Adobe CS3 Suite, TextMate, Transmit, Adium, Firefox for Firebug debugging, Safari 3 for browsing and Google Notifier for checking my Google Apps email 24/7.

Server & Blog Stuff

PaulStamatiou.com has been hosted by Media Temple for over 2 years on their dedicated-virtual box. It gives me the control I need to tinker with the OS to my liking. I have written a script to backup server files and databases to a backup bucket on Amazon S3. Updating the blog CMS I use, WordPress, is as easy as a single command with SVN.

Last year I left Mint stats tracking for Google Analytics for speed issues - particularly database lag.

Google Analytics on PaulStamatiou.com

However, Google Analytics only updates stats every midnight PST so I don’t get the live information I did with Mint. Fortunately, all that information is stored in the Apache web server’s log and is easily accessible if you know a lick or two of Linux.

Before going into the details, I’ll say that a lot of the server maintenance and tinkering I do is over the SSH protocol. That is, I fire up Terminal in OS X (PuTTY for Windows users) and enter in something like

ssh username@domain.com

and then the password. Upon a successful connection, I have the command line for my server at my disposal - basic stuff for anyone that has messed with a server at least once. After a while, typing out username@domain.com gets annoying which is why I edited the local SSH config file for OS X.

By adding an alias to ~/.ssh/config I no longer have to type out my long username and domain name and can just type in something like ssh ps. If you want to try it out for yourself, open up the Terminal in OS X and run:

vi ~/.ssh/config

and add an alias in this form:

Host aliasname
HostName yourdomain.com
User yourusername

If you were to save that in your local SSH config file, you would be able to ssh into your server with just ssh aliasname instead of ssh yourusername@yourdomain.com. With a long name like mine, it saves quite a bit of time in the long run. It’s also a good idea to disable root login via SSH and enable key-based SSH authentication for security.

Once I have a command line for my server, I can run a small script to show the top 20 referrers in the day so far (logs are rotated everyday automatically). This script also takes out certain referrers like bloglines that would otherwise dominate the top 20, and unlike JS analytics services it shows all requests making it helpful for finding hotlinkers. (Note: the script is only 2 lines should you paste it and it be broken into more. Also, the location of your access_log will vary.)

#!/bin/bash
sudo awk ‘{print $11}’ /var/www/vhosts/paulstamatiou.com/statistics/logs/access_log | grep -v ‘paulstamatiou.com’ | grep -v ‘bloglines.com’ | grep -v ‘”-”‘ | grep -v ‘feedburner.com’ | sort | uniq -c | sort -rn | head -20

The same goes with another frequently used script that shows the number requests for the past day:

#!/bin/bash
TODAY=$(date +%d/%b)
sudo grep “$TODAY” /var/www/vhosts/paulstamatiou.com/statistics/logs/access_log | awk ‘{print $1}’ | sort | uniq | wc -l

Mike Malone has an article detailing how to grep through your web logs. However if it’s live stats you want, I’ve come to like apache-top. It’s like the Linux command “top” but for Apache as you’ll see.

apache-top on PaulStamatiou.com
Apache-top shows pretty much everything and you can cycle through screens with “d”.

I usually don’t fire up apache-top unless my site makes it on digg or del.icio.us popular and I want to see requests/second or other such metrics. I used to login to SSH so frequently that I wanted to maintain my sessions and began using the screen command that David Ulevitch showed me how to use.. but I’ve since forgotten all the keystrokes and only SSH in nightly or so.

WordPress

Back-tracking to my WordPress setup a bit, I’ve received numerous questions about what plugins I use. I try to keep it light but there are several plugins I’ve become accustomed to using.

Images in Posts

Most images I publish are slightly touched up in Photoshop CS3. If an image seems slightly blurry and could benefit from “crisping” up a bit, I’ll run an unsharp mask filter under Filter » Sharpen » Unsharp Mask…. I usually set the amount to anywhere from 50 - 100% depending on the degree of “crispness” desired with a radius of 0.5 pixels and a threshold of 0. This is for images only as it can make screenshots look worse.

Photoshop Unsharp Mask

I also tinker with Levels and Brightness/Contrast. I often resort to using Auto Levels, Auto Contrast and Auto Color but sometimes their results are too dramatic and I’ll go in manually and fine tune things. For very dark photos, I will increase the brightness while decreasing contrast. However, this result can be achieved better in Levels if I have the time to accurately play with the sliders.

Keeping Up with Tech News

One of the most frequently asked questions I get is how I manage to keep up-to-date with all of the tech news out there. Do I spend all of my time reading feeds? Nope. This might be a shock to some of you, but I hardly use RSS. I have many RSS subscriptions in Google Reader that I might check if I am absolutely bored and/or can’t think of anything to write about.

Google Reader Trends for Paul Stamatiou

Instead, I follow a handful of influential tech news websites and manually visit the blogs of friends and so on. However, if you’ve been reading for a while you have probably noticed that more and more of my content is less news-based and more original content like this post and other reviews. I don’t like being one in a pack and would rather differentiate myself from what everyone else is talking about. Although there are those big tech stories from time to time that my geekdom can’t help but cover.

Here are some of the larger sites I follow regularly.

I also get wind of interesting articles from people that send them my way on del.icio.us by tagging them for:pstamatiou or through people I follow on Twitter. And not to mention through the press releases that land in my inbox from time to time.

I follow too many blogs to list so here’s my OPML, which you can easily import into Google Reader or your preferred RSS aggregator. Is your awesome blog missing from my subscriptions? Leave a comment and I’ll be sure to check it out.

What Else?

Is there anything else you’d like to know about what is involved with running PaulStamatiou.com? Now to get back to the OLPC..

OLPC with PaulStamatiou.com

OLPC Story: My friend Mike Wozniak (who knows enough about Linux to reverse engineer router firmware and cross compile the kernel) got in on the Give One Get One OLPC deal. On Saturday we went out to a bar with the OLPC obviously left back in his room. He checked Twitter later on to see that his roommate twittered “Just kernel panic’d an OLPC“. The moral of the story being that you need to hide your OLPC from your computer science major roommates.

If you enjoyed this post, let me know by leaving a comment.

No one has saved this post on del.icio.us. Why not bookmark it?



61 Comments

  1. Very interesting, I thought i did a lot of stuff. Well paul your hard work shows and you have an awesome blog.

  2. Nice HD player

    is that a plugin’?

  3. you don’t have to use sudo to edit ~/.ssh/config btw…

  4. Hey Paul,

    I would like to get off the quicksilver sauce too as I only use it to launch apps and change songs in itunes.

    I really like the universal control of itunes, searching, changing playlists, and notification via growl.

    What are you using instead after deleting quicksilver?

  5. @mike - good call. I’ve updated the post.

    @Ian - For now I haven’t really found anything, I just move over to the Space I have for iTunes. I might consider going back to Menuet or another one of those menu bar apps.

  6. Great post! I envy your ability to keep your local files and applications to a minimum; I simply cannot cope with the 80GB internal drive in my own MacBook Pro. The machine is only used for basic school work, watching movies,, watching TV shows and internet browsing these days, yet I’m at the point where I’ve got two external 250GB drives and a 120GB portable drive to hold all my crap, and the two larger drives stay on 24/7 (the portable will soon be iTunes only). Because of these drives and my older model MBP, every single USB connection, including those made available through a USB hub and my old style Apple keyboard are taken; simply plugging my iPod Touch in to sync is more of a chore than ever.

    They need one of those nanny 911 shows but for digital lives… Ungh.

  7. So what do you think about the recent ruckus regarding inquisitor?

  8. I’m glad to see that Skribit suggestions are actively addressed on your site. I just added it to my site, truebluetitan.com, a little bit ago and really hope that it increases the amount of user interaction/direction on my site.

    I always like how you manage to cut through the fat and write in an interesting factual way. Over the years I have started to read less and less from my RSS feed, but I look forward to your posts.

    Like you, Paul, I abandoned Quicksilver for Spaces and haven’t really missed it at all. Every app that I frequently use has a space and I hop around constantly. Works like a charm.

    Thanks for the lil tour.

  9. @gt - Thanks for the comment and Skribit suggestion. I actually didn’t know about it until just searching for it.

    http://www.tuaw.com/2008/01/07/inquisitor-raises-some-questions/

  10. If anyone’s looking for an iTunes controller, might I suggest SizzlingKeys. I’ve been using it for as long as I’ve owned a Mac, and it works great. It’s probably the fastest way to control iTunes using just a keyboard, and you can customize the hotkeys to your liking.

  11. Paul, I would reconsider Inquisitor. I loved it, but this news really worries me.

    http://www.tuaw.com/2008/01/07/inquisitor-raises-some-questions

  12. it has been an honor knowing you and following your blog and flickr. Great post.

  13. what is your video hosted on? looks great. I want to say it’s vimeo, but is it?

  14. I was someone who voted for this - glad to see it was so comprehensive! Plenty of ideas and inspiration for streamlining my own workflow!

  15. For people like me is good to see your stuff to see if I miss something important, specially because it’s hard to find our professional profile on some countries/regions. I understand in SV and Atlanta is easier. Nice post and thanks for sharing.

  16. Paul, you might want to use a different short form for your Google hosted email ( http://m.pstam.com ) since the prefix “m” has become a pseudo-standard for mobile-based sites (stripped back + bare bones). Just an idea :)

    Other than that, your writing has definitely improved over the time you’ve been blogging, so congrats.

  17. Great article Paul. The SSH and Wordpress sections were spot-on for me since I’m restructuring into a shiny (mt) dv-base. And the longer I wait to MacSwitch the more I think about the apps and tricklets everyone knows, but I’ll need to learn. Filed under “Reference for 2009.”

  18. Jesus Christ. I suppose I’ll have to come back to this one–

    looks thorough, to say the least.

  19. Great overview of your setup. An example of a very streamlined physical setup. I can see how great that is for travel especially.

    Now I’m ready to switch from a desktop to notebook system. Might still use a larger display at times.

  20. Paul, I think the launch of Leopard must have reduced the number of Quicksilver users quite a bit. I, like you, dont use Quicksilver anymore as I find that Spotlight is quite quick enough as an app launcher and thats all I ever really used Quicksilver for ( despite trying to be more clever with it ).

    Great blog btw !

    Cheers


    Scott
    http://ukmac.net

  21. Just letting you know that I liked the post ;)

  22. Paul, this is a mighty fine post. Thank you for sharing all of this.

  23. Great Overview, thanks for the insight Paul!

  24. @Paul: To get your Google Analytics stats for the current date, just change the date range. While the previous day shows up as default, you are able to get current day stats just by changing the date to the current one. I use the default range of a month and just change the end date to the current day (e.g. Dec 8 - Jan 8th; for today).

  25. Would have thought you would have gone with the Tiger Admin skin on wordpress :-)

    Good to hear that you actually speak at a normal rate :-)

  26. What happened to the dell 30″ display?

  27. Good stuff, Paul, I’ve grabbed lots of ideas I’m going to implement, like using S3 more for offline backups.. Thanks.

  28. Awesome post, as usual, Paul. Love the suggestions and you’ve inspired me to do Flickr Pro. They should pay you for that stuff but they’d probably make you do an affiliate program…

    I can’t bear to part with QuickSilver yet. The app launching saves a step over Spotlight for me (down arrow) and I also launch all my browser bookmarks from there (which are sync’d across multiple computers–foxmarks).

  29. Excellent post, Paul. Very detailed and thorough, and I read the whole thing! Interestingly enough, this post has actually made me strongly consider putting Skribit on my blog. It was a great idea, and it turned into one of your best posts. Well done.

  30. This was really interesting, Paul.

    But aren’t you at all worried you might lose your Flickr photos? I upload my pics there, but manage them offline using Picasa for peace-of-mind purposes.

    Also, the video isn’t working…maybe it’s just my comp?

  31. So we can describe something “salting” as “just not cricket”.

    I had no idea about the Inquisitor debacle either, but in my dealings with Mr Watanabe, I have found him to be an incredibly rude and discourteous individual when dealing with his paying customers. Has anyone got any thoughts on an Inquisitor replacement? In fact, anyone know of a developer who would knock up a similar plugin, with some transparency on how it works? I think most people would be happy to donate a bit towards removing Watanabe from the otherwise honest pool of Mac Developers. Newsfire is in the bin due to today’s discovery of http://code.google.com/p/readomatic/ which uses Jon Hick’s css replacement for Google Reader… Sadly Vienna never got the design together.

    As for replacing Quicksilver, I respectfully announce my port of the “Extra Scripts” Plug-in for Quicksilver- which lets you use Spotlight to restart, sleep, shut down, empty recycle bin… and more:

    http://wilcosworld.co.uk/2008/quicksilvers-extrascripts-spotlight-port/

    Sorry for the blatent self promotion Paul, I understand that I lose my entire amassed Stammy points.

  32. Some info that would be nice for pstam.com:

    1. What are the specs of the web server machine?
    2. Do you run your wordpress and db on the same machine?
    3. What kind of traffic does your setup handle?
    4. What kind of hosting costs are we looking at for a blog with your traffic?

  33. Great post Paul!! I like so much to use SSH on my server, thanks for the advices about how to see your traffic using some bash scripts. :)

  34. Paul,

    Thanks for sharing your setup and methods, it’s very interesting to see how different people complete similar tasks.

    I do have a few questions.

    1. You say that you’ve take your movies/TV shows off your MBP and put them on the external harddrive. Do you store your music on the external as well? How does your music travel with you or TV shows that you may want to watch on the road? I struggle with that conundrum trying to figure out the best solution as I am on the road 50% + of the time.

    2. Do you perform any other backup of your photos other than Flickr? What about if you want to edit a photo before it goes on Flickr? Do you keep the original?

    3. How exactly is your e-mail setup? Does every message flow into one inbox or do you manage multiple inboxes? I’m looking into the Google tools and trying to decide what would work best for me.

  35. Awesome post, Paul. Skribit is really pulling through. Right on.

  36. Paul:

    Is it some kind of Freudian slip that meant you posted the Engadget link actually linking to Ars Technica? :)

    Liam.

  37. thanks for the catch Liam.. typing out link after link becomes fatiguing to say the least.

  38. Wow Paul, this is a top notch post and very informative. every post of yours pushes me ever closer to starting up my own blog.

    Shame I haven’t got anything interesting to say.

    Keep up the good work.

  39. I was an avid user of QuickSilver on any Mac I was using until I read this post. I re-enabled the Spotlight shortcut and it does EXACTLY the same thing as QS did (I used it mainly as a launcher) but quicker and doesn’t have to load at startup which always took a bit long for me. GREAT tip! I uninstalled it right away.

  40. Amazing post Paul. This is both entertaining and awe-inspiring! Keep up the great work. :)

  41. Paul,

    Awesome writeup.
    However can you explain a bit on why you chose Gmail for apps instead of say @mail on MT or Roundcube or something.

  42. Hi Paul. I just wanted to give you an little advice about Flickr stability for your photos, because you delete every photo you upload, as you said up here. A flickr user I know suddenly got his photos deleted because of an “irrecoverable” server error at Flickr. Because of this I wouldn’t do what you do, specially if you have some important family photos and so on.

  43. This is a great post. I loved it.

  44. Thanks for sharing! Clutter-free workspace. Nice!

  45. BTW your twitter link in the header “[...]” links to [removed by paul b/c too long]
    which is a 404.

  46. BTW, you can use http://sunkencity.org/flickredit/ to get all your pictures from flickr.

  47. Can I just say, as someone who’s been reading you for about a year, that this might be my favorite post of yours. So much info. Thanks to the 300 people who suggested this on Skribit and inspired you to write this because I’ve found it very interesting and informative. I tip my cap to you sir.

  48. Great post.

    I think it is interesting that a post that was suggested on skribbit is a very commented post. Seems to be increasing reader interaction on other blogs, perhaps this one is included.

  49. i’ve been saving this post for when I had some time to really digest it. I thoroughly enjoyed it. I am going to look into Amazon S3 for backing up all my school docs as well.

  50. Thanks for sharing this. Also, I am impressed you are the third Paul in the list of ’suggestions’ ahead of McCartney :)

  51. What embedded video player is that?

  52. Great overview!
    In these days I’m thinking about moving all my mail to Google Apps, but I still have some doubt, especially when moving without internet connection (on the train, just to give an idea). Today I’m using that time to write mail and reply to messages, but if I move everything to Google Apps I should be always-on to do that…
    I like Gmail, but this is blocking me ;)

  1. [...] Stamatiou gives a behind-the-scenes look at his blog. While this will be of interest mostly to fellow bloggers, there is a lot of good stuff [...]

  2. [...] morning while reading an article about someone’s set up, I stumbled across a Safari plug-in called “Inquisitor.”  It purports to be an [...]

  3. [...] readers asked him for a peek behind the curtain of the Wizard of Oz. He obliged in a post entitled PSTAM.com: Behind the Scenes. This is like a candy store for those wanting to become more productive using cool technology [...]

  4. [...] set of posts on Glenn Wolsey’s site are his Famous Mac User Setups. Paul’s recent article on the behind the scenes info for PSTAM.com was a great read. Point being: I am a gargantuan [...]

  5. [...] Paul Stamatiou had an interesting article about his blog and the feeds he reads. This is where the idea sort of came from to share my feeds with you. Paul had some good suggestions of sites I didn’t know: [...]

  6. [...] would love to do this. Anyone else interested in going on this journey with me and leading a more minimalist life? I could use support as I go into [...]

Post a comment, receive Stammy points.


Send a trackback.


  • If you plan on posting code, run it through Postable first.
Copyright © 2005 - 2008 PaulStamatiou.com  Privacy Policy - Terms of Service Can't spell my name? Use PSTAM.com. Go back up ↑.