Nikhil Dev

All about Beer, Biking, Bajana, Bheja fry and Bullshit
  • rss
  • Home
  • About Me

Rules of thumb by Matt Cutts

Nikhil Dev | June 7, 2006 | 9:33 am

Being a regular reader of matt Cutts’ blog, I happened to notice something really interesting that most of the people have not noticed. Scraped with respect from his blog.

Software:-
- When you take user input, allow as much leeway as possible. Let people do things like add spaces or other whitespace to the beginning or ending of their input. Or if you’re expecting a domain name, allow users to type in a url; just extract the domain from the url.

- If you have output files with dates, you should name things in the order YYYY-MM-DD, not MM-DD-YYYY. That way, whenever you sort a list of filenames, they’ll be in chronological order.

- If you think you’ve found an issue or bug, when you tell someone about it, give them enough info to recreate the problem.

- If you get bitten by a bug or an issue, fix the immediate problem. Then ask yourself “How could I keep this bug or problem from ever happening again?” Maybe it’s as simple as adding monitoring so that things don’t fail silently. Maybe a poor UI causes bad input. Maybe your code needs to do more safety checks or stricter input checking. Don’t just fix a problem–try to go to the root cause and make it impossible for that problem to reappear.

Email:-
- When you’re sending out an email that several people are reading, don’t use pronouns. “He should be able to tackle this afterwards” may make a ton of sense to you, but don’t assume other people will know who “he” is, what “this” is, and what “afterwards” refers to.

- If you’ve got a file you want to show that’s less than 100,000 lines or so, put it into a web directory and just send out the url. Then people can access the raw file if they want, or look at the file in their browser.

- If you email many people and ask for someone to do something, no one’s responsible. It’s better to ask one specific person to take the action.

- If you’re sending out an email with links in it, check your links by clicking on them before you send that email.

- As soon as you type “I’m cc’ing (someone)” in an email, go up and cc them right then. You look silly when you say you’re cc’ing someone and then you don’t.

- Try to keep hyperlinks short enough so that they don’t wrap around or get cut off by someone’s mail program.

Misc:-
- It can be difficult to keep a secret on the web. If you are working on some innovative, amazing product that no one has ever seen before, strip your referrers. Also, sanitize any PowerPoint you make available. You probably shouldn’t change how you handle new subdomains or urls either. Remember, if a url is supposed to be private but anyone can access it on the web by visiting the url, someone will stumble across the url; use an .htaccess file to provide password protection on Apache servers. Because if people are interested enough, they will dig through your source code, monitor your robots.txt, and study which domains you buy, even if you buy them through another company. Plan according to how much scrutiny you expect.

Share and Enjoy:
  • Digg
  • Google
  • Technorati
  • del.icio.us
  • StumbleUpon
  • Live
  • Reddit
  • Slashdot
  • Facebook
  • TwitThis
  • YahooMyWeb
  • Search for torrents with GoogleTorrents
  • My personal recommendation on the best music player software available today
  • The easiest way to record online radio
  • Online file conversion with Zamzar
  • How to install Windows Xp Service Pack 3
Categories
Technology
Tags
Software
Comments rss
Comments rss
Trackback
Trackback

« 90% work done Lots of thinking »

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Recent Posts

  • 32 killed in Goutami Express mishap, sify news plays bullshit, big time goof up in news, it sucks
  • The agony of a really busy schedule continues
  • The beginning of lazy days
  • Gyula’s Disaster
  • Looks like life is not worth living for love

Tags

Android Apple Audio Band Beta browser Compaq Control Controller Counter Strike Cue download Extensions Firefox God Google guitar Gustavo Gustavo Guerra Guy Head Tracking Instant Internet Explorer iPhone Laptop Linux Mac Metal Microsoft Mobile OS Mobile Phone Music Nintendo Nirmal City Numark Quake Rock Software system Total Traktor Unix Vista Wii Windows

Friends

  • Albert Wang
  • Amaltas Bohra
  • Amrita Kamat
  • Cecile Bauza
  • Hari Shankar
  • Jayashree
  • Mazhar
  • Pintoo and Pallavi’s Album
  • Raghu
  • Sasidhar Akkiraju
  • Syed Abbas
  • Vivek Kumar

Categories

  • Browser War
  • Computing Tips
  • Digital DJing
  • DTuned
  • Gadgets
  • General
  • Google
  • Hardware
  • Humanity
  • Internet
  • Linux
  • Mac
  • Misc Music Artists
  • Music
  • News
  • Software
  • Technology
  • Thoughts
  • Wanderer
  • Windows

Archives

  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • September 2006
  • July 2006
  • June 2006
  • May 2006
  • April 2006
  • March 2006
  • February 2006
  • January 2006
  • December 2005