There is a story about a man who was walking around all day with his donkey. At mid day he was tired and decided to nap under a tree. Only, when he looked in his bag, he had forgotten the rope to tie the donkey to the tree. If he slept, he risked waking up to a missing donkey. A stranger passing-by saw his frustration. "Why don't you pretend to tie the donkey with an invisible rope?" the stranger said. "The donkey will not know the difference." So the man, who was too tired, followed the stranger's advice and fell asleep. To his surprise, when he woke up, the donkey was still there by the tree. He then decided to continue on his journey, but the donkey wouldn't move. Try as he may, the donkey just refused to move. So he went around the tree, untied the invisible rope, and the donkey finally followed.
I was working on a web app recently and I noticed that every time I clicked on a link, I couldn't tell if the next page was loading or not. On desktop browsers it was obvious enough with the browser queue, but not so much on mobile. So I decided to add a loading bar to let the user know.
If you count just the lines of code, CSS is probably the language I type the most in. Yet, it is also the language I share the least about on this website. So this is an attempt to fix that. I created a set of three state buttons that you can customize to your liking.
A few years ago, a meeting was held about an issue the QA team was facing. The JIRA work-flow had become too overwhelming. It was tedious to create the hundreds of sub-tasks that sometimes accompanied each feature development. The summer was approaching, so the decision was made to use the resources from the summer internship programs to snatch one of those under graduate and have him build a new system, independent of jira, to solve the problem.
There is a moment in programming where you have to make the transition. From incompetent to competent, from worst to better, from junior to, well, less junior. Unfortunately there is no specific time when it occurs. For some it comes very early on, for others it comes very late. Some never even experience it. But the realization comes suddenly and often it is followed by shame. That moment is when you realize that you are the problem.
Only others can use the word "Smart" to describe you. They have to do it with their own will, in their own time. You can't force it. The smarter you feel, the more you want to use it. As you perform great deeds, the closer it comes to your lips. But you know you can't use it, because the more you want to say it, the less it describes you. And when you say it, you are no longer smart.
When was the last time you needed to buy a new PC? Two years ago? Three years ago? The last PC I built was in 2009. I had to upgrade because I pushed the previous one I built to the limit and that was in 2004. A 2009 desktop is old in computer years, but not so much in processing power. It maybe true that there are a zillion new processors out in the market and their benchmark show exponential improvement. But to me benchmarking is just a marketing gimmick. PC sales are plunging but they are the wrong indicator to determine the advancement of the technology. The reason we are not buying PCs anymore is because those we have are already pretty amazing.
If you've used WordPress, then you know that it has a nice little folder called upload where all the pictures and videos you upload get stored. This is all fine and dandy, until people start accessing those assets.
Search is an important feature on a website. When my few readers want to look for a particular passage on my blog, they use the search box. It used to be powered by Google Search, but I have since then changed it to my own home-brewed version not because I can do better but because it was an interesting challenge.
Tip of the day
Recently, I needed to create a function that fades from one color to the other. CSS3 makes the job very easy by making use of the transition property. However I…
Every little corner has a story. Sometimes a camera tells the story and a picture is worth a thousand words.
There are professional photographers and then there is me who happens to have a camera on my phone. Here's to what came out.