Algorithm For Hiring At TaraganaOctober 12th, 2006 It is hiring time again! Srini has devised an algorithm for hiring at Taragana which I think very appropriately describes our hiring funnel:
if (isClueless()) {
goToIBM();
} else if (runOfTheMill()) {
goToWipro();
} else if (thinkUMLIsDesign() && bigAmbitionToBeADesigner() &&
chooseVariableNamesLikeTheLengthOfThisOne()) {
goToAccenture();
} else if ( appreciateDesign() && (knowJava() || knowPHP()) && isTrueDeveloper()) {
welcome();
}
If that looks like you and you are located in India (or willing to relocate) please send your resume to hiring[at]taragana[dot]com.
Note: No animals or companies were harmed in the making of this algorithm.
Clean Room Implementation of Google Page Rank AlgorithmAugust 17th, 2006 Finally a clean-room implementation of Google's Page Rank Algorithm in Java, reverse-engineered from their numerous commentary on Page Rank (or is it Pigeon Rank?). public static int getPageRank(url) {
// start off with a random low PR
int pageRank = rand.getInt(0, 3);
if ( isHostedOn('google.com', url) ) {
pageRank++;
} else if ( isHostedOn('microsoft.com', url) ) {
pageRank--;
}
// Support valid pages
if (isValidPage(url) ) {
pageRank += 1;
}
tag_value['b'] = 1;
tag_value['h2'] = 2;
tag_value['h1'] = 3;
tag_value['strong'] = -1; // W3C sux!
pageRank = calculateTagsPR(tag_value, pagerank);
// Sergey said good news sites have
// lots of nested tables
tablesOnPage = getTagCount('table');
if (tablesOnPage >= 50) {
pageRank += 2;
}
if (pageRank >= 5) {
pageRank = 4; // helps selling AdWords
}
if (linksFrom('mattcutts.com', url) >= 4) {
// I link to "clean" sites only
// ? Matt, Feb 2006
pagerank += 2;
}
pagerank += countBacklinks(url) / 10000;
blacklist1 = getList('c:\chinese-government-censored.txt');
blacklist2 = getList('c:\larry-page-hatelist.txt');
if ( inArray(blacklist1, url) || inArray(blacklist2, url) ) {
pageRank = 0;
}
d = dashesInUrl(url);
pageRank = (d >= 3) ? pageRank -1 : pageRank + 1;
if (inString(url, "how to build a bomb")) {
// added on request.
How to Program intelligent (AI) Lego Mindstorms robots with JavaMay 18th, 2005 A good article from JavaWorld which describes how you can build intelligent robots that can learn and show emergent behavior. It uses artificial neural networks.
Bush Still A "Miserable Failure"?January 30th, 2007 Google announced that they have devised an algorithm to defuse Google bombs like "Miserable Failure" pointing to the current President of USA - George W Bush. Currently "miserable failure" in Google points to a BBC article explaining the hoax.
Top 12: Best of Humor in Simple ThoughtsSeptember 24th, 2007 Simple Thoughts has always been about technology. However occasionally I like to post something humorous.
Tips on Java Enhanced For LoopNovember 14th, 2005 After enhanced for loop was introduced with J2SE 1.5.x aka J5SE, I made it a delightful habit to use it. You know what I am talking about, right?
For example previously I used to write:
private gbWay() {
....
3 Ways To Cancel AOL Account in 3 MinutesAugust 8th, 2006 Cancelling an AOL account can become a royal pain. As easy as it is to get an AOL account, they make it extremely hard to get out of it.
Ruby Development Using jEditJuly 31st, 2006 jEdit is a popular Java based code editor. I have used it extensively and highly recommend it.
How to Sanitize Blog Title, to use as Permalink, in JavaJune 12th, 2005 Most Blog software provides an option to use a sanitized version of the post title as part of permalink url. Thingamablog, a Java based offline blogging software, doesn't do it.
Linux / Fedora Core: How To Use rdiff-backup To Pull BackupsMay 26th, 2007 rdiff-backup is a popular, free, open source mirroring and incremental backup system for posix based operating systems like linux & Mac OS X. It uses rysnc algorithm through librsync but it doesn't use rsync.
Pitfalls of Software & Java Education in Engineering SchoolsFebruary 9th, 2006 I have been interviewing several freshers who were taught Java in engineering schools under computer science curriculum. Interviewing them highlighted serious problems with their education as well as with the system.
US versus India Broadband Connectivity Comparison - 50 Times Slower But CostlierSeptember 20th, 2008 In India I can get 1Mbps from Tata Indicom / VSNL for Rs. 2500 (~ 55.55$ / month with 45Rs-1$ conversion rate) + Tax which brings it to Rs 2800 per month.
Schwarzenegger Voices for Green Gadgets at Hannover Tech Trade March 4th, 2009 When you and we are talking so much about the need of green gadgets and how it can be achieved, Gov. Arnold Schwarzenegger took the best platform to voice his concerns about global warming and how we should really focus on the green gadgets at the world's largest technology trade show in Hannover this week.
How to Get a Palm Pre for $99.99 August 4th, 2009 Here's a pretty cool revelation, check it out and if you need a stimulus check, how did you spend it? Voila! I STRUCK GOLD, your beloved Palm Pre is out for $99.99. It's a real deal at LetsTalk, if you can afford Palm's touchscreen sensation.
How To Post Long Meaningful URL in TwitterAugust 20th, 2008 Twitter (you can follow me here) has the annoying habit of shortening your long and meaningful url to a short meaningless jumble using tinyurl, even when the full url and accompanying text fits into their 140 character limit. For example I posted this article on how you can include multiple jar files in a single jar file in Ant build tool.
September 3rd, 2006 at 1:00 pm
As someone who pays the bills annoying you (sorry) I can tell you these things don’t work but they do entertain us….remember we rebuttal for a living…we have heard it all….if it’s a new hire though….you may get them pretty rattled.