Archive for December, 2008

Losing your identity in the tubes with google

December 25th, 2008

5 Years ago, when I googled myself for the first time, the main result that came up was “Charles M.A. Stine”, a material engineer who made explosives. Today, I find 52,900 results on google with unique people ranging from a dentist, an Inventor, an associates, an IT manager and about 20 others here. Indeed names are too common a tool for identification when you have more than a few hundred people not to mention the hundreds of millions on the internet.

Randall Munro originally used the 4 letter string ‘xkcd‘ to uniquely identify himself on the internet before his webcomic became famous. I though, “maybe it’s time I found a short meaningless unique identifier too”. I wrote a script to try and do just that:

import urllib
import re
#returns the string representation of the number
#note that strings of the form [a]+ will be skipped since numbers of the form [0]+ is equivolent to 0
def numToStr(num):
   str = ''
   while num <> 0:
      l = num%26
      str += chr(97 + l)
      num = num/26
   return str

#the page will have this string when no results are found
schstr = 'did not match any documents'
url = 'http://www.google.com/search?q='
for n in range(26**3, 26**4):
   str = numToStr(n)
   f = urllib.urlopen(url+str)
   for line in f
      if re.match(schstr, line):
         print str
         exit(0)
   f.close()

But evidently that’s against googles terms of service section 5.3

Google Error when doing searches with a script

5.3 You agree not to access (or attempt to access) any of the Services by any means other than through the interface that is provided by Google, unless you have been specifically allowed to do so in a separate agreement with Google. You specifically agree not to access (or attempt to access) any of the Services through any automated means (including use of scripts or web crawlers) and shall ensure that you comply with the instructions set out in any robots.txt file present on the Services.

I’m still looking for an answer: What is the shortest english alphabetic string for which google returns no search result. Of course the answer to this question this can’t be googled because as soon as the answer to this question ends up on googles search results, the result becomes invalid.

The high cost of now

December 6th, 2008

As a follow up to ‘why I’m not an early adopter’ in the previous post, Seth Godin’s recent post, “The high cost of now” explains it most clearly.

http://sethgodin.typepad.com/seths_blog/2008/12/the-high-cost-o.html

“Sometimes, in our quest for the new, we overpay. Most of the time, moving down the curve will decrease your costs dramatically, without hurting your ability to make smart decisions.

I bet you are overspending on now. Not everywhere, just in the wrong areas. Worth an audit, probably.”

It’s common sense, but it’s an irrational thing that a lot of us do.

Grand Theft Auto 4 PC, DRM, and why I’m not an early adopter

December 4th, 2008

It’s been at least a year since I last purchased a video game for the PC. Call me picky, but I don’t have much time for video games anymore, and if a game doesn’t grab my attention like finding an Asian who holds political office in Australia, I won’t spend more than a couple hours playing it. I’m sick of the sci-fi, alien-invading, zombie-infested distopia that has plagued the popular first-person-shooter genre, fuck half life 2.

Rockstar Games’ recent title ‘Grand Theft Auto 4′ did just that. To me it is like the entire Australian parliment being over run by Asians…ok, bad analogy. In the words of Dr. Kelso from scrubs, “there’s nothing like scoring a Caddie and mowing down street hoes”, and sometimes, that’s all I want to do in life; I don’t want to kill zombies or aliens. It’s a game that fulfills fantasies. Needless to say, I bought the game as soon as it was released on PC.

Commercially, GTA4 had been a huge success on the xbox 360 and PS3 receiving perfect scores from several reviews while breaking many sales records. It’s release on the PC yesterday (December 3, 2008) had be widely anticipated. I’m not normally an early adopter when it comes to new techology (which includes software), because technology today is very complex, and there’s an internal conflict between the marketers pushing for release dates and developers trying to meet quality assurance guidelines. In the case of GTA4 for the PC, marketers won the battle. The prospect of releasing just before the celebration of a few days of extravagant consumerism that we call christmas is too great an opportunity to miss. Thus, this release date was much too early. The game is plagued with bugs. A list of common ones with possible solutions can be found here.

Rockstar has quickly responded with some possible fixes and a statement stating that they are working on the problem.

An interesting bug that I’m experiencing is the “missing textures” bug, ironically it occurs on the video card listed as the card that meets the official minimum requirements for the game to be reasonably playable. This is alleged to be a problem with Nvidia’s drivers and Nvidia is “working on the problem”.

My guess is that many disappointed PC gaming fans of the series won’t be playing this for another couple weeks.

On another note, it’s sad to see PC games being over run by DRM. Not only do you have to install the game, but you have to authenticate online, get an account on something called social club, which needs to connect to a windows live account for online play. compare that to “put the disc in the drive and play” for a console game.

I understand that piracy is killing PC gaming, but having such complex and error prone DRM schemes is not a good solution. Those who pirate games will find a way to crack it, because it only takes one person to crack the game and release it for mass piracy to occur, and any computer security expert knows, nothing is secure, especially if you have physicall access to the machine running the software. Those who do the right thing and purchace the game legally are punished with a 10 step installation guide that takes about an hour to complete even for the tech savvy gamers.

I should have listen to my anti-early adopter voice and let the brave early adopters bare the risk. Maybe I should get an xbox 360, it’s been out for a while and they’ve fixed most of the kinks.

Is it all about the end result?

December 2nd, 2008

The magician’s masked assistants handcuffs the magician’s hand’s behind his back and locks him inside a barrel.  A pulley raises the barrel to a height of 200m before releasing it. The barrel accelerates towards earth at 9.8m/s^2(minus air resistance) just before it plunges into the ground and shatters into shards of wood flying in every direction, but where’s the magician? One of the magician’s assistance unmasks and reveals himself to be the magician.  The dumbfound audience hails him as a master of illusion. How did he do it?

How does any body do it? When an artist creates a master piece, when a computer scientist designs a revolutionizing multi-touch screen, when an athlete becomes the fastest man to run 100m, how did they do it? The audience only saw the finished masterpiece, the functional multi-touch screen, and the sequence of flawless executions of leg movements that broke the 100m world record. Most of them will never learn of the painstaking hours of practice and preparation, the crushing failures in trials, and the determination and drive for perfection in these individuals.

I had a conversation with a friend recently about whether an artist, engineer or anyone who creates things should reveal their creative process (often not as pretty as one would think). The conversation quickly led to whether any individual or organization who has worked hard and did something amazing should reveal how they got to where they are. After all, people tend to respect those who do amazing things and making it look easy more than those who look like they’ve tried and worked hard (probably because the former is more ‘impressive’). I think having a work ethic is undervalued in this culture, alas that could lead me into another unrelated rant which I will spare my readers.

I’m making the assumption that doing something great requires hardwork and determination. There are cases where great things were achieved by talent alone or great inventions invented through “devine inspiration”, but I think they’re very rare. I believe that for the most part, talent isn’t enough. Don’t get me wrong, if you’re talented at something, whether it’s logical problem solving, being organized, writing or speaking eloquently, it’ll be much easier for you to do impressive things related to that talent. But to do something really amazing, and becoming the next Mark Zuckerberg, Chris Gardner,  Barack Obama (strangely enough he hasn’t actually done anything that amazing other than being many times more qualified than the previous president, yet it seems like he should be on this list because people expect him to do amazing things as president) or someone who fits the profile that Seth Godin is looking for in this ‘intership’, it takes not only natural talent, but also determination to succeed, obsession with the fields of interests, and the drive to achieve perfection (and probably a bit of luck).

Now back to the original question: Is it all about the end result? Let’s say after a lot of hardwork at university, you won an academic prize, or you started a successful business. You’ve probably spent quite a bit more time doing uni work than most people in the former case (and have the talent to be in the pool of potential prize winners), and in the later case, you might have had business ideas before that failed, you might have done a significant amount of research and gathered enough evidence to make it successful(and keep it that way). Would you prefer to say(publically), “I’m awesome and did this so effortlessly”, or “My hard work has finally paid off”?

Now imagine that you put in some effort and didn’t succeed, would you lie(if only a little) and say, “given that I put in so little effort, I got what I deserve”, or have some self pitty and say, “I worked so hard, yet acheived so little”?

I think that depending on the outcome and also depending on the type of person you are, you’ll chose to say one or the other whether it’s true or not.

how to disable g-talks Remember Password option

December 1st, 2008

I recently checked the “remember password” box when I signed into g-talk. I didn’t want to do that because I was using a work computer that might be used by others. There seems to be no obvious ways to uncheck that option once it’s ticked since once you start g-talk, you are automatically signed in. There have been a couple posts on this in the google support forums, the answers suggested are not very helpful because either they don’t solve the problem or the instructions aren’t clear. One person’s advice was to uninstall and reinstall, which I think is too much trouble for such a small issue to fix.

http://www.google.com/support/forum/p/Talk/thread?tid=7643a9633f70a5d1&hl=en

http://www.google.com/support/forum/p/Talk/thread?tid=264c17af8235957e&hl=en

So here’s the solution:

1. Sign out of g-talk

2. Uncheck the remember password box

Done, simple as that. The solution just wasn’t very obvious, and the support forums were next to useless.