guitarist > writer > coder

May 27, 2014
Comments Off on Why we use Alt tags

Why we use Alt tags

I like people who use Alt tags. Here is an example of an Alt tag doing what Alt tags do best:


Alt tag

Alt tag

And here’s what an Alt tag wasn’t designed to do (mock up of an old version of IE – newer versions are better!):

Title Tag

That’s what Title tags do.


Anyways, this from talk Idlewinds gave on May 20, 2014, at Beyond Tellerrand in Düsseldorf, Germany. Well worth reading.


February 12, 2014
Comments Off on Fixing bugs and building walls

Fixing bugs and building walls

Bizzeh writes “Today my boss came to me with what he thought to be a valid point and analogy. A builder builds a wall. A week later, bricks begin to fall out of the bottom, but he continues to build the wall higher. In most cases, he would have to replace those lower bricks at his own expense and on his own time. Comparatively: A software developer writes a piece of software. When bugs are discovered, the developer is paid to fix them by the employer and on the employer’s time. I didn’t know how to refute the analogy at the time, but it did make me think: why are bugs in software treated differently in this way?” – Ask Slashdot: Should Developers Fix Bugs They Cause On Their Own Time?

When you are tasked to build a wall you generally know in advance how high, how long, and with what it will be built.


To use the wall building analogy for a webdev build: you begin with a deadline and a sketch. And because the deadline won’t budge and time is ticking you begin building a rough wall that that will occupy the space you expect the final wall to take.


Perhaps you use a wooden framework to get up and running quicker so that people can get an idea of what the wall might look like, and hopefully speed up their decision on final design.


Once the mock wall is up and in place, people begin testing it, and when a picture falls off they point out that they will need to be able to hang pictures on the wall, and you explain that this isn’t the finished wall, its a mockup, so they say finish it, so you begin building the wall with bricks.


But then the request for a door arrives, and you request the size and dimensions of the door, and they say they’ll let you know, but in the meantime hurry up with the bricks so they can test hanging pictures.


So you rush the brick building according to your wooden framework. But then the dimensions of the wall arrive, and they’re not the same as the wooden framework you built, so you make the changes, knocking out some of the bricks you built to extend the wall. And telling the picture hanger to hold off hanging pictures because the cement is still wet.


And the wall built of bricks is taking shape when the guy turns up unannounced with the door and asks where it will go in the wall. And you tell him you have know idea, you were told there might be a door coming but nothing else. And he says that it needs to go in today as the client wants to test the door in the wall tomorrow.


So you knock out a door shaped hole in your nearly complete brick wall and try and sort out the finish while the door is fitted. Which is when the client arrives and says the wall is okay, but really not what they expected, and where is the space for the window?


And you tell them a window can go anywhere, but the wall would have been far better if you had known a window was going to go in earlier, and they tell you obviously a wall will have a window, and are you planning to paint and plaster the wall?


And a picture that was hung on the wall falls of while they are there because the cement is still wet, and they ask if the finished wall is going to be safe to hang pictures on, because their boss is big on pictures, and while the door and windows – yeah, we need more than one window – are must haves, the picture hanging will be what the wall is all about in the end.


And you rush to finish the wall with the window and door, and plaster it and paint it, and while it isn’t perfect, its not bad. Not a wall you’re proud of, but given the deadline and everything, you’re not ashamed of it.


And then their boss comes and says it looks great, can we move it to the final location now? And you say, yeah, but it won’t be as sturdy as if you had built it there in the first palce, and when it’s moved sure enough, it’s a bit shaky. And a brick falls out. And they look at you and say that really isn’t acceptable, bricks shouldn’t fall out of wall, and you sigh and say you know.


And sure, you’ll fix the brick.