Archive for Geek Speak

Programming is like Sex because…

// November 1st, 2009 // 10 Comments » // Geek Speak

Sex is usually considered the most enjoyable practice on earth, programming comes in a close second or maybe shares the same spot with sex.

Here are some of the similarities between the two practices that I’m copying from different sources on Internet. One or two may be my own here, while you can add your analogy in the comments.

Programming is like sex because:

  • Once you get started, you’ll only stop because you’re exhausted.
  • It often takes another experienced person to really appreciate what you’re doing.
  • You can do it for money or for fun.
  • One little thing going wrong can ruin everything.
  • Beginners do a lot of clumsy fumbling about.
  • Both are better at night. *
  • You’ll miss it if it’s been a while.
  • Everyone who’s done it pokes fun at those who haven’t.
  • Some people are just naturally good.
  • It doesn’t make any sense at all if you try to explain it in strictly clinical terms.
  • It’s not really an appropriate topic for dinner conversation.

*My own analogy. Others are copied from various sources that I didn’t bother to quote.

  • Share/Save/Bookmark

One-Click AND Drag-and-Drop Attachments in Gmail!

// January 1st, 2009 // 13 Comments » // Geek Speak

Attaching files using the web-mail interface can be, and surely is, a painful task especially if you have an obsession of keeping files in deep multiple levels of hierarchy. The most arduous part is extracting the file from that tenth level deep folder while browsing and selecting file to upload. It is especially redundant when that particular folder is already open in your Windows Explorer with the file starting in your face, but you can’t attach by clicking on the file.

As a user of Gmail, one should believe with conviction that there exists all sorts of add-ons to grease the skids and make our lives as easy as possible. With that in mind, I googled the web looking for some sort of software using which I could just right click on the desired file to be attached and the rest be taken care of. I easily found gAttach! which did everything I was yearning for except that it didn’t work for me. (Do let me know if it works for someone) [Update] gAttach! works wonders!! The developer of this gem, Chris, was kind enough to work with me to pinpoint my problem which was resolved after I cleaned up my registry!

So the quest continued. As with any problem, there are always two solutions: the simple and neat straightforward one, and the workaround.

It is this workaround (I’d rather call it improvisation) that I present here to do exactly the same thing – attach files in Gmail with a right-click file option. (more…)

  • Share/Save/Bookmark

My First WordPress Plugin! [Comment Replacement]

// September 16th, 2008 // 8 Comments » // Geek Speak

Last night someone posted a profane comment and I was forced to replace that comment with a warning that the comment has been removed for so and so reasons.

A friend (Awais Karim) then commented asking whether I modified that original comment or was it a feature of the blog? With an empty stomach and a lot of time for Iftar, an idea of automating this process with the help of a WP plugin rushed through my mind. And believe me, without knowing much of PHP, I actually DID manage to create this plugin (within fifteen minutes) which I am proud to announce :D

So what does the plugin do? An array of unwanted words is maintained in a list. If the comment contains any of those words, the WHOLE comment is replaced by text of the webmaster’s choice.

For example, the list contains the following words: shit, sex, bitch

Someone comments: shoaib akhtar is a son of a bitch

Comment that appears on site: Shut Up!!

It’s not very intelligent, but hey I made it myself!!! A very useful video tutorial of making your own plugins is here.

I will put it up tonight (after eating something!!) together with a guide of how to use it.

BTW, I don’t know if such plugin is already available. Also, I haven’t named it yet [abhi abhi paida hua hai] so all suggestions are welcome!

  • Share/Save/Bookmark

Set Firefox 3 to Launch Gmail for mailto Links

// September 16th, 2008 // 4 Comments » // Geek Speak

How many times have you cursed Outlook for opening up when you click on an e-mail address linked on a website? In fact, I began to wonder if those mailto links were of any use if someone doesn’t use an e-mail client like Outlook or Thunderbird??

But the problem is solved now! Clicking on those mailto’s will open up your Gmail with the intended address in the To field in your Firefox 3.

Here is the step-by-step guide of how to do it:

1) Enter about:config in the address bar and hit the enter key. Scroll down to find gecko.handlerService.allowRegisterFromDifferentHost and double click on it to set it to true.

2) Enter the following in your address bar:

javascript:navigator.registerProtocolHandler(’mailto’,'https://mail.google.com/mail/?extsrc=mailto&url=%s’,'Gmail’);

You will now be prompted to add Gmail as an application to mailto links, which you should add by clicking the button.

3) Now go to Tools->Options->Applications. Scroll down to find mailto and using the dropdown list select Use Gmail and hit OK.

4) That’s it, now repeat step 1 to set gecko.handlerService.allowRegisterFromDifferentHost back to false.

  • Share/Save/Bookmark

Yes, This Is You!

// September 16th, 2008 // 2 Comments » // Geek Speak

Gmail is known for many of its top features including labels, filters and search. But did you know that you have an unlimited number of aliases in addition to your primary address? Consider the following:

If your email address is username@gmail.com, then user.name@gmail.com, us.er.n.ame@gmail.com, u.s.e.r.n.a.m.e@gmail.com, etc. are all yours as well. The number of dots can be unlimited, the system just strips out the dots so the whole string of text (with any number of dots) belongs to you.  See the image below.

That’s not all, all those usernames are equally valid on the domain googlemail.com i.e. gmail.com and googlemail.com can be used interchangeably. Why? Read here. The image below shows a test mail.

It’s not yet over! Any thing can be appended to your primary username after a plus sign as well. For example, username+school@gmail.com, username+work@gmail.com, etc. and filters can be made to apply different labels to these and route them to different folders.

With all this and more, how can we not love Google?!!

Read the links below for more info:

http://www.makeuseof.com/tag/1-awesome-gmail-tip-you-dont-know-about-seriously/

http://somegirlwitha.com/2008/04/17/the-dot-plus-and-googlemail-gmail-hacks/

http://mail.google.com/support/bin/answer.py?hl=en&ctx=mail&answer=10313#

  • Share/Save/Bookmark

Google’s Web Browser CHROME Features

// September 2nd, 2008 // 8 Comments » // Geek Speak

Google has surprised the world yet again with its very own super web browser’s beta scheduled to be released today. A comic has been released by Google (download PDF here) which showcases some of the features in this innovative browser. Some screenshots have also been leaked which can be found here. I must say that I’m more than impressed by the set of features packed with this browser and can’t wait to get my hands on its beta release. It may be a bit early to say, but I do feel confident enough that I will be switching my loyalty from FF to Chrome very soon. The best part about the browser is that it is OPEN SOURCE!

A brief list of features that I was able to collect is listed here.

  • Task Manager like the one in Windows, which can be used to determine which web sites or apps are using more computer/browser resources and hence can easily be eliminated.
  • Each tab is treated as a separate process, in complete isolation with the other having its own memory and global data structures, which means that if there is a browser bug due to a certain website, only that particular tab will be needed to close and NOT the whole browser. This has to be awesome! Also, the tabs can be easily detached from the window.
  • OMNIBOX. This is the name given to the address bar, which is sure to give a tough time to FF’s Awesome Bar. It offers suggestions, top pages you’ve visited, pages you haven’t visited but are popular (wow) AND a full text search over your history!!
  • PRIVACY MODE – You can browse in the so-called INCOGNITO window and leave no trace what so ever.
  • SECURITY – Surely, this is the most important issue with all the browsers. They claim to have done enough with SANDBOXING, such that each process is stripped away of their rights and hence can’t right files to your hard drive or read files from sensitive areas. The browser will also warn you of possible phishing. Google chrome is continually downloading lists of harmful sites and a visit to any such site will be notified with a warning.
  • Something that hasn’t been mentioned but is obviously apparent that all of the Google’s applications including Reader, Calendar, GMail, Talk, etc. will have some sort of association with the browser and will be easily accessible.
  • Memory efficient. There is a great deal of detail of how this is achieved in the comic. A simple example is that when you navigate from Site A to Site B (which are not at all linked with each other), the data stored with the previous site is tossed out recycling the whole process.
  • When you open a new tab page, it doesn’t show up as blank. Instead it shows your nine most visited pages. There is also a sidebar that shows the sites you search on most

The download page will be updated anytime now. So the wait isn’t long enough to test-drive all these features, and more.

  • Share/Save/Bookmark

Homo Nerdus

// July 28th, 2008 // 5 Comments » // Geek Speak

“Nerds are the ones who don’t go to the party so they can stay home and do homework; geeks bring their homework to the party.” —David Anderegg, Nerds: Who They Are and Why We Need More of Them (2007)

Is the word nerd an insult or not? Until recently, there was no doubt; in fact, most dictionaries call nerd an offensive term, used to insult a person’s appearance, hygiene, or social skills. That sense of the term has been around since at least the early 1950s. The 28 October 1951 issue of Newsweek tells us that “in Detroit, someone who once would be called a drip or a square is now, ­regrettably, a nerd.” The word nerd also appears in the 1950 Dr. Seuss story If I Ran the Zoo, but he was referring to a ­fictional animal, not a socially inept person.

Now, however, most reference guides also include a second definition for nerd that’s practically a compliment. For example, Encarta defines a nerd as a “single-minded enthusiast: somebody who is considered to be excessively interested in a subject or activity that is regarded as too technical or scientific.” The phrases “excessively interested” and “too technical or scientific” still give the definition an odor of insult, but that bit about being a “single-minded enthusiast” doesn’t sound bad at all. Wikipedia’s ­definition is similarly ambiguous: “a person who passionately pursues intellectual activities, esoteric knowledge, or other obscure interests that are age inappropriate rather than engaging in more social or popular activities.”

Some folks are taking the positive aspects of the word’s definitions and running with them. That is, people are enthusiastically embracing their inner (and outer) nerd. For example, the online merchandiser Cafe Press has a Geek and Nerd Gifts section where you can buy T-shirts and other items with slogans like “Talk Nerdy to Me,” “Nerd Girl,” and “I [Heart] My Nerd.” There’s even a Nerd Pride Day (also called Geek Pride Day), which is celebrated on 25 May, the day the first Star Wars movie was released, in 1977.

All this pro-nerd feeling is spilling over into the language, too, with nerd-related coinages popping up like pocket protectors at a comic-book convention. For example, the population of nerds taken as a whole is called nerdom, and a person’s nerdy traits and characteristics represent their nerdity. The latter term is used often by the psychologist David Anderegg in his engaging book Nerds: Who They Are and Why We Need More of Them [Tarcher, 2007]. The whole nerd-is-cool meme is often summarized in the formerly oxymoronic phrase nerd chic.

Any long and nerd-oriented activity is known as a nerdathon, and if that activity happens to be a computer game or a LAN party (a gathering where people bring their own computers, connect them together into a local area network, and then play games against one another), it’s called a nerdstorm.

As yet another example of the digital DIY movement I talked about in my column last June, nerds are embracing crafts of various kinds. For example, some nerds are baking cakes in the shape of Sonic the Hedgehog or an Xbox 360 console. These are known as gamecakes, and the people who bake them are gamecakers. The desserts are examples of a larger genre called nerdcraft, and the people who engage in such activities are called nerdcrafters.

On the music front, there are artists who specialize in a form of rap music with lyrics relating to computers, technology, and engineering (I am not making this up), a genre known as nerdcore (from its original association with the hard?core music genre), though many people prefer the term geeksta (a play on gangsta).

Nerds are even starting to congregate in the same areas (outside of Silicon Valley, that is), a trend first recognized by the urban analyst Joel Kotkin. He uses the term nerdistan to refer to any upscale and largely self-contained suburb or town with a sizable population of high-tech workers employed in nearby office parks that are dominated by high-tech industries. Those employees with vested stock options in successful tech start-ups are known as millionerds or, if they started the company, entreprenerds.

All these nerdologisms can’t hide the fact that, for nongeeks, the word nerd is still something of an insult (more so than the now almost neutral term geek but less so than the truly insulting terms dork and dweeb). The difference is that now the nerds simply shrug their shoulders, push up their glasses, and go back to whatever they were obsessing about. They’re proud of their nerdhood, and they know that living nerdily is the best revenge.
This article is reproduced, as is, from the June 2008 issue of IEEE Spectrum. (Link)

  • Share/Save/Bookmark

What Kinda Nerd Are You??

// July 26th, 2008 // 3 Comments » // Geek Speak

Put on Abba Gold, get out the pistachio nuts and crack open the ginger beer – it’s time to celebrate! Nerds are back in fashion! Goodbye George Michael, goodbye P. Diddy, goodbye Liam Gallagher …. Hello Graham Norton, hello David Walliams, hello Bill Gates and hello Sir Andrew Lloyd Webber! Geek is the new sleek.

Nerd is the new world. Songs from the musicals, ballroom dancing and weird talents were once the domain of the nerds – now it’s prime time Saturday night compulsive viewing! The nations gone nerdy. Geeks used to be the butt of everybody’s jokes. Now they’re heading the way in becoming the new billionaires of our time!

Remember – Geek and you will find!

Homonerdus: What kind are you?

There’s one in all of us that’s itching to come out! Every one of us have nerdy tendencies and a stack of nerdy potential. Amongst the species of Homo-nerdus are families of nerds, each with their own unique mannerisms, quirks and abilities.

There are 5 families:
1. Nerdus Practicus
2. Nerdus Technicus
3. Nerdus Anorakus
4. Nerdus Brainus
5. Nerdus Dumbus

Nerdus Practicus

Nerdus practicus are like adult boy scouts – always ready for any eventuality. Everyone needs to know and befriend one. They will come in handy when a giant avalanche is heading in your general direction.

1. More often that not, you carry a man-sized handkerchief in the front pocket of your trousers. (You regularly wash that handkerchief while remaining in the pocket of your trousers – Not you but your handkerchief. If it was you, you would be a very small geek indeed.)

2. You regularly check the next day’s weather the night before to work out your clothing requirements for the morning.

3. Before a long road trip, you usually plot your journey beforehand on a road atlas and look for refuelling spots along the way.

4. You always carry an assortment of pens with you and when someone asks if they could borrow a pen, you ask, ‘What colour?’

5. You keep some butterscotch, some boiled sweets or even genuine Werthers in the glove box of your car for emergency situations.

6. You have a drawer that is dedicated to the god of light bulbs and is stocked up regularly. (You also have a second drawer dedicated to the battery god.)

7. Your Christmas shopping is done well in advance to avoid the Christmas rush. You have been known to buy presents as far back as August to save money in the mid year sales.

8. If you find that there is a fair quantity of food still left on the table at a restaurant, you always ask for a doggy bag (even if it is boiled vegetables).

9. You’ve thought about getting a mini fire extinguisher for your car just in case of an electrical fire or crash. (You already have the first aid kit.)

10. When boarding an airplane, you always study the emergency exits and your evacuation plan in case of serious emergency.

Nerdus Technicus

Nerdus technicus is the family of nerds that love to fiddle. The jobs they do are functional and meticulously dull to the non nerdy world. They love a good manual, a good argument and good natter even if no one is really listening.

1. You have an obsessively keen interest in things that are not really noticed by the greater public and, wow, are they missing out!

2. You are pretty good at converting kilograms to pounds, kilometres to miles and metres to feet as well as American dollars to British pounds.

3. You don’t like newspapers and magazines that don’t give you all of the facts and details you are looking for in order to be properly informed.

4. You love to dismantle things, and sometimes take special care so as not to avoid the warranty.

5. Before you power up your new mobile phone, you look carefully through the instruction manual.

6. When boarding an aeroplane with family or friends, you’ve mentioned on more than one occasion how the plane successfully stays up in the air without crashing.

7. Whenever you drive past or over a bridge, you always wonder how it stays up.

8. If there is a problem with the plumbing, the dishwasher or the washing machine, you would try to fix it before asking for assistance.

9. You have actually corrected a shop assistant about the technical spec of an item being displayed.

10. You feel a little bit of a power surge when someone asks you to fix something at the office or in their home that’s stopped working. That includes people with financial problems.

Nerdus Anorakus

Nerdus anorakus is the family of nerds that have no dress sense and are not really interested in conforming with mainstream society. They are pleasantly oblivious to fashion, personal space and smell. At some stage every student becomes one and many never return from whence they came.

1. The shirt you are currently wearing is more than three years old – why buy new when you can wear old.

2. You have a total of less than 4 good friends and every now and then you go to the movies on your own.

3. You are often in bed by 10pm and occasionally like a nice hot chocolate drink to make you a little sleepy.

4. There’s no way you’re going to spend over £2 on a Starbucks when you own a perfectly good thermos.

5. Your wardrobe consists almost entirely of beige, khaki green and grey clothing. (If war came to our country, you would not be spotted by the enemy.)

6. When you see someone flying a model plane, your pulse rate increases and you react like a man addicted to crack cocaine.

7. Right now, the socks that you are wearing almost match, but don’t. (Your drawers are full of lonely socks that were separated at birth never again to be reunited with their next of kin).

8. You have a biohazard or a warning sign in your bedroom. (Not to mention a heavy metal poster and a more than revealing female celebrity poster.)

9. Your collections mean more to you than family, friends or life or death. Cursed is anyone who plays with it without express prior permission.

10. Your collections are fully itemised, categorised and analysed. You’d sell your kidney if you could get your hands on that one missing item. (Seriously, you’ve thought about it.)

Nerdus Brainus

Nerdus brainus is the family of nerds that are so smart that they’re prone to little obsessions. Everything they see, read and hear is called data, ready to be evaluated, categorised and challenged! Watch out!

1. Sometimes your brain is that big that some people wonder where your heart is. (You sometimes wonder where their brain is!)

2. When you hear a statistic on television, you enjoy disagreeing with it and compare it with other statistics you have.

3. When someone’s telling you a story, you just want them to get to the end of it and tell you what happened.

4. When someone’s telling you a joke, you find it hard to concentrate on it and by the time the punch line comes you’ve totally missed it. You laugh as authentically as you can.)

5. You enjoy listening to viewpoints you don’t agree with as well as listening to people talk about things you’ve never heard before. It’s all good food for thought.

6. You regularly bring to light (or think about) factual discrepancies in close friends accounts of things that took place when you were actually there as well. This really annoys people but it was their fault for making up the facts.

7. You rarely read fiction. The closest you get to it is science fiction. You love a good, hard fact.

8. When you’ve noticed a double crease in your trousers or shirt (or even a small spot of something) it really annoys you. (Unless you have a big helping of Nerdus anorakus as well.)

9. When you walk into a room, you become aware of all of the background noise including what music is being played. Sometimes it’s a song you haven’t heard for ages and it gets you really excitable.

10. When someone listens to you, you need them to stop everything they’re doing and look you in the eyes. That way you know you have their full attention.

Nerdus Dumbus

Nerdus dumbus is the family of nerds that are particularly clumsy and unco-ordinated. Don’t blame them – they can’t help it. You wouldn’t pick on a blind person, would you now?

1. If there’s a drink left on the ground next to a sofa, you’re the one likely to knock it over.

2. It is impossible for you to go 12 months without scraping your car against something. (If there is an extra high curb, you are likely to hit it.)

3. At first you think they’ve been stolen, then the reality sets in, you’ve lost another set of keys (not to mention your bank cards.)

4. You say the first thoughts that come into your head which seemed brilliant at the time. After the innuendo was pointed out you wished you could swallow your words.

5. Your teeth are in need of some urgent attention but eating only on the left hand side of your mouth has given you some breathing and space (and eating space).

6. When you sing a song, you only actually know the first line. The rest of it you’ve just made up and tried to make it look like you really knew it. (This amuses all who watch on.)

7. You are a brilliant Dad dancer, but you are actually attempting to seriously dance! (You also love a bit of air guitar when everyone’s gone out.)

8. When you go on holiday, you usually forget one very important item – like your swimmers, a towel, toiletries or your passport.

9. When people are gathered around and you try to share a really funny joke you often forget the punchline.

10. You tell everyone you’re not keen on golf because it bores you. The real reason is because the golf course needs major reconstruction after you’ve been.

The content above and the banner image are reproduced from:

Fly Like A Nerd – Geek is back for good!


  • Share/Save/Bookmark

Speech Recognition in YouTube Search

// July 15th, 2008 // 1 Comment » // Geek Speak

This is huge. Google has added speech recognition capability in some YouTube videos that enables you to search for text spoken in these videos.

youtube speech recognition

To try speech recognition in YouTube yourself, add this gadget to your Google homepage. The search is currently limited to some political videos only but a good hint of what is yet to come in Google search.

speech text

If your search query match some YouTube video, the positions are indicated by yellow markers – hover the mouse to read the transcribed text as in the screenshot.

Like Blinkx search, Google uses their own speech recognition technologies to listen to the audio portion of the video and then transcribe speech into text.

And this happens real fast – Google can search and transcribe text from new videos with hours after they get uploaded on YouTube.

Imagine how useful Google search will become when it expands their video speech recognition to other video content like TV clips, news videos, video podcasts, etc.

This article is copied, as is, from Digital Inspiration.

  • Share/Save/Bookmark

Browsing With Firefox 3

// July 3rd, 2008 // 8 Comments » // Geek Speak

While I’ve been reading lots of pre-release goodies about this great browser, and following the post-release enthusiasm as well, I kept my opinions somewhat reserved. I’ve been an avid IE fan for most of my 10-years in cyberspace. I reluctantly switched Firefox 2 on a friend’s recommendation and found the tabs very convenient together with slight increase in speed. But the release of Internet Explorer 7 got me back to IE mainly because they had the tabs as well, and a nice interface to go with it.

I downloaded FF 3 on the D-day, and used it since then for maximum possible time. The remarkable change in browsing speed is only one of the small attractions in this version. The best thing for me is address bar, or the Awesome Bar. The advantages are revealed once you get to visit many websites and the adapts to your typing habits. Keying in the title of the page (or just a word, or letters of it), part of an address, or just a keyword from it invariably brings up the right result. I’m in love with it. The adaptability is just incredible. I’m sure, with time, the love will increase to a deeper extent as the Awesome Bar gets to know more of me and provide me with even better results. :)

I’m NEVER going back to IE again!

  • Share/Save/Bookmark