background

Archive for January 22nd, 2010

Banning Internet Explorer

Posted in Shared on January 22nd, 2010 by herkulano – Be the first to comment
Whenever I work on a html/javascript experiment I usually test it on Chrome. Once I'm done, I test it on Firefox and Opera. There is no Safari for Linux so I don't have an easy way for testing it so I usually assume it works as it's very similar to Chrome. The interesting thing is that the same code usually works directly on the other browsers. Just special cases like adding custom css properties (like -webkit-transform, MozTransform, OTransform...).

Of course, that's not the case with Internet Explorer. And to be honest I never really tried to make anything work on it. I believe that browser has made humanity lose a lot of time and money so making my experiments work will be like helping it to stay alive.

But I wasn't showing any error message. My experiments will just not work and people will mention it and complain. I really didn't want to add Javascript browser checks in each experiment either. However, there was a much simpler and efficient solution, add a rule on the .htaccess to redirect all the request from that browser to this page.

By banning all the request of that browser, not only I'm happier when developing but also I may move some of these users to a better browser, and at the same time, other developers won't have to suffer from these users.

Imagine if all the major websites did this. Wouldn't that fix the problem?

If you find the move interesting and you would like to stop supporting IE too, this is the code you'll need to put in you .htaccess file:

RewriteEngine on

RewriteCond %{REQUEST_URI} !/projects/ie/index.html$
RewriteCond %{HTTP_USER_AGENT} MSIE [NC]
RewriteRule ^(.*)$ /projects/ie/index.html [L]

Just change the /projects/ie/index.html parts with wherever you put your own message/page.

Sketch, sketch, sketch

Posted in Shared on January 22nd, 2010 by herkulano – Be the first to comment

I’ve heard it so many times: “I can’t sketch a stick-figure to save my life.”

Some people are afraid of showing their drawing to others. They think they’ll be ridiculed if their sketch looks like it was drawn by a five-year old.

In truth, it doesn’t matter if you are good at sketching. The less formal the sketch, the better. In fact, avoid the urge to use a pencil as it leaves too much room for you to ponder, erase, re-draw, second-guess…

But a permanent marker, now you’re talking. A nice big, fat Sharpie is the perfect tool because it requires you to really think through your idea before you put the pen to the paper. “What if it doesn’t work or the layout’s all wrong? ” Great! Grab a new piece of paper and start from where you left off, having learned something valuable in a matter of minutes.

The sketch is not the end goal. The end goal of the drawing process is what you learn while sketching. So don’t worry if you can’t sketch. In fact, if you’re too good you might just fool yourself into thinking your sketch is a deliverable. It’s not. The real value of sketching is that it allows you to explore and refine ideas in a quick, iterative and visual manner with little overhead or learning curve. Rapid ideation around flow and interaction, layout and hierarchy, can be quickly established, rearranged or discarded wholesale—all without ever touching a computer.

One added benefit to sketching your ideas is the ability to share, collaborate and improve upon an idea. Show a stakeholder the sketch and then encourage them to mark it up. You can even give them the red pen and let them revel in the power!

In the end, you will gain a deeper understanding of the problem you are trying to solve, and a head-start on implementing a great design!