On February 23rd I gave a talk at PANMA’s Mobile App Development Demystified event. My talk was titled Mobile App Development from a Web Developer’s Perspective. Here are my slides:
Continue reading “Mobile App Development for Web Developers” »
Every once in a while I run the following command on my servers to hunt out the largest files to make sure nothing’s taking up too much space. For example, it’s been very useful in hunting down over sized log files or email accounts. It searches everything over 20MB and outputs the list to bigfiles.txt ordered by size (in MB) descending.
find / -type f -size +20000k -exec ls -la {} \; | sort +4 -nr | awk '{ printf "%-20s %s\n", $5/1048576, $9 }' > bigfiles.txt &
You can exclude a path by adding a little more to the command. The following will do the same as above but exclude the /backup directory:
find / -path '/backup' -prune -o -type f -size +20000k -exec ls -la {} \; | sort +4 -nr | awk '{ printf "%-20s %s\n", $5/1048576, $9 }' > bigfiles.txt &
You can also change the 20000k to whatever you want the smallest files to be.
It’s a fantastic little command and I just thought I’d share it with the world.
“I’m not going to do [a] because I need to get [b] right first.”
I, like most people, am a master of procrastination. I clean my desk, file my e-mail, make a few phone calls, write a blog entry, etc, just to avoid whatever it is I should be doing. Recently I discovered a new*, and troubling form of procrastination: “getting it right.”
For the past few months I’ve been working on a major restructuring of one of InterNACHI’s core web systems. Lately I’ve found myself not moving forward because I want to make sure the architecture is right, or I have some concerns about how certain decisions will affect search rankings, or I’m not sure if it will perform well, etc. So instead of sitting down and finishing the project, I pull out a pad of paper and start outlining or graphing or whatever it is I convince myself I need to be doing.
Now that’s not to say that preparation isn’t important, but I’m starting to think that the agile guys got it right: build early and build often. And I realize that this is nothing new. Heck, nearly all of “web 2.0″ is built on the constant “beta” principal. But I also know that as businesses grow, there’s a tendency to add unnecessary formality to otherwise simple things; at least I know that’s what we’ve done. It’s almost like you get into this mentality of “this is how the big guys do it,” when it’s the little guys who are more compelling and innovative.
And on top of it all, “getting it right” is just a fiction. There’s no such thing. Today’s “right” is tomorrow’s “what was I thinking?” I might as well get something “close” today, and “better” tomorrow.
So where is this post going? I’m not really sure… I think I’m done, but I really don’t feel like getting back to work ![]()
So what do you guys think? Am I the only one who procrastinates this way, or is this a common thing?
* By new, I mean newly identified. I’ve been doing this for years.
Oh man… here goes.
Microsoft Passport was a good idea. OpenID is a better idea. Gravatar is a good idea. Pavatar is a better idea. I think whenever a system can be open and decentralized, it should be (see my upcoming post on decentralized Twitter). For those of you who like the idea and want to use it, here’s a quick and dirty PHP method to get the Pavatar image for a given URL (supports all three Pavatar techniques)…
Continue reading “Simple PHP Pavatar Method” »
Please fill out this form to discuss a new web design/development project.
I’m trying to update the theme on this blog… right now it’s a little screwed up. I’ll get to it in a bit.
Recent Comments