Thursday, October 29, 2009

Memcached telnet interface

Memcached telnet commands

Reads a value
get mykey
Set a key unconditionally
set mykey 0 60 5
Add a new key
add newkey 0 60 5
Overwrite existing key
replace key 0 60 5
Append data to existing key
append key 0 60 15
Prepend data to existing key
prepend key 0 60 15
Increments numerical key value by given number
incr mykey 2
Decrements numerical key value by given number
decr mykey 5
Deletes an existing key
delete mykey
Invalidate specific items immediately
Invalidate all items in n seconds
flush_all 900
Prints general statistics
Prints memory statistics
stats slabs
Prints memory statistics
stats malloc
Print higher level allocation statistics
stats items

stats detail

stats sizes
Resets statistics
stats reset
Prints server version.
Increases log level
Terminate telnet session

Wednesday, October 28, 2009

Tennis Pros: Hilarious Replies and One-Liers

Over the years, we have watched great tennis players who have played some beautiful tennis. But they have also given us great replies and one-liners. So, here we take a look at that.

Andy Roddick will definitely contribute to the list. Go A-Rod.

Hilarious Questions and Replies

After Wimbledon win, Roger Federer had this conversation with an interviewer:

Interviewer: 'After you had won Wimbledon, you were given a cow called Juliette when you returned to Switzerland. Is there another Juliette waiting for you?'

Federer: 'I hope not. By the way, Juliette is expecting a calf.'

Interviewer: 'Congratulations!'

Federer: 'Thanks, but I’m not the father.'

Before US open '05, Roddick was asked:

Interviewer: 'What are your chances in the US Open?

Roddick: 'As good as anybody not named Roger.'

Another Roddick gem:

Interviewer: 'You have a very fast serve.'

Roddick: 'It killed a small dog.'

After which comment, he claimed he was joking because she was not laughing at all...

Roddick: 'I'm joking, I am joking...The dog was huge.'

The press conference he did after losing to Roger in the Aussie '07 SF...had some interesting transcriptions...

Reporter: 'What was it like for you being on the end of that?'
Andy: 'It was frustrating. It was miserable. It sucked. It was terrible. Besides that it was fine.'

Reporter: 'What did Jimmy (Connors—his coach) say after?'
Andy: 'He gave me a beer.'

Reporter: 'Take us from 4-4, because up 'til then you were in the match. Then you got broken.'
Andy: 'Then I broken three more times. And two more times in the third set, and it was over 26 minutes later. Is that about what you saw too?'

Reporter: 'How do you rate Haas's or Gonzalez's chances in the final?'
Andy: 'Slim.'

Reporter: 'You're performance on here is better than on court.'
Andy: 'No shit. If there were rankings for press conferences I wouldn't have to worry about falling out of the top five I hope.'

Reporter: 'After a defeat like this do you sleep well?'
Andy: 'Depends how much I drink tonight.'

Reporter: 'How much would you have paid in order to not have to come to the press conference tonight?'
Andy: 'That's about the best question that's been asked. Well, I can't really say an amount because I would have gotten fined $20,000 (for not coming to the press conference). So, it would have to be less than that, right? If we're thinking logically. But it wouldn't be about the money. It would be about running away and not facing it. I would pay a lot of money if people would make stuff up and pretend I said it. But my dad didn't raise me like that, so here I am.'

The last one of his replies; Roddick was invited to some show, and the conversation with the host was like this:

Host: 'Do you have any hint for me? Did you bring me present of any sort?'
Roddick: 'A present?'
Host: 'Yeah'
Roddick: 'It's compulsory?'
Host: 'Ya, Great Agassi came to the show, and he gave me the racket he won the Davis Cup with.'
Roddick: 'Really!!'
Host: 'You didn't bring me anything?'
Roddick: 'I CAN'T BRING YOU SHIT...'

Reporter: 'What did Jimmy say? US Open he got on a real roll too. Did you talk about what to do if Roger got on a roll, change strategy, slow it down?'
Andy: 'There's a lot of strategy talk. But not if you're down 6-4 6-0 2-0. We didn't really talk about that. Oops.'


Now, some good one-liners:

'It's just unreal, I'm shocked myself. I've played good matches here, but never really almost destroyed somebody. It's a match for him to forget...and for me to remember!'
—Roger Federer, after defeating Andy Roddick in the AO '07 SF

'Hey—you guys with the ladder. If you come here I'll buy you pizza.'
—Andy Roddick, calling out to firefighters in the process of rescuing Roddick and other hotel guests from a fire in Rome.

'I've got to feel good because (Djokovic) has got about 16 injuries'
—Andy Roddick on Djovokic's injuries.

Roddick: 'Isn't it both of them? And a back? and a hip? And a cramp... bird flu... anthrax. SARS, common cough, and a cold.'

'My hobbies include underwater fire extinguishing.'
—Andy Roddick

“If Pete’s child is a girl, my son will like her; if he’s a boy, my son will defeat him.” —Agassi.

Asked what it feels like to be the World No. 1, Roger jokingly replied:

'It's great. Everybody suddenly rates my good strokes as outstanding, and my poorer strokes as almost outstanding.'

'When I was 40, my doctor advised me that a man in his 40s shouldn't play tennis. I heeded his advice carefully and could hardly wait until I reached 50 to start again.'
—Hugo L. Black

'I did my job, got a beautiful cup and a beautiful cheque. That’s it. I didn’t change the world'
—Marat on his Slam wins

“Yeah, I choked, but shit happens”
—Marat Safin

'I'd like just one time to see you guys step up and do something for us.'
—Andy Roddick venting on ATP Supervisor Gayle Bradshaw after getting no love from the chair umpire at the ATP Scottsdale event.

'I don't go out there to love my enemy. I go out there to squash him.' —Jimmy Connors

'I am the best tennis player who cannot play tennis.' —Ion Tiriac

'Winners aren't popular, losers often are.' —Virginia Wade

'If you put two monkeys on to play you'd still pack the centre court.' —Neil Fraser, commenting on Wimbledon's popularity

'One day when a linesman starts to laugh, I swear I will hit the guy over the head with my racket. I think it will be the end of my career, but I will be happy.' —Ilie Nastase

'When I won Wimbledon, I said to God: Just let me win this one tournament and I won't play another match. Maybe God's telling me to go home, but I don't want to go home. We are negotiating at the moment.' —Goran Ivanisevic

'If I can't serve on grass, I can maybe help cut the grass, paint the lines, and serve some strawberries.' —Goran Ivanisevic

'The best doubles pair in the world is John McEnroe and anyone else.' —Peter Fleming

'I can't believe he is dumping me, his buddy for seven years, for a kid he's never seen before.' —Paul Haarhuis complaining about his doubles partner Jacco Eltingh flying home from the US Open for the birth of his son

'How to shake hands.' —Bettina Bunge, on what she had learned from a series of rapid defeats to Martina Navratilova

'Experience is a great advantage. The problem is that when you get the experience, you're too damned old to do anything about it.' —Jimmy Connors

'I love Wimbledon. But why don't they stage it in the summer?' —Vijay Amritraj during the rain-drenched 2007 Championships)

'If you want to talk, it's okay with me. I sit and relax.' —Gael Monfils taking a seat while Nicolas Almagro debated with umpire and match referee, Australian Open 2009

'I'm gonna have to start winning some of the matches to call it a rivalry!' —Andy Roddick on being asked whether he and Roger Federer had a rivalry that would last for years

'Pete is a step and a half slower.' —Greg Rusedski after losing to Pete Sampras in the US Open)

'Against him I don't need to be a step and a half quicker.' —Pete Sampras responding to Greg Rusedski's criticism—he went on to win the title!

'Umpiring, the only job in the world where you can screw up on a daily basis and still have one!' —Andy Roddick

'She doesn't sleep. At night she seems to turn into a vampire.' —Goran Ivanisevic on the joys of fatherhood

'Look, Nastase, we used to have a famous cricket match in this country called Gentlemen versus Players. The Gentlemen were put down on the scorecard as 'Mister' because they were gentlemen. By no stretch of the imagination can anybody call you a gentleman.' —Wimbledon umpire, on being told to address Ilie Nastase as 'Mister'

'Thanks, but no. I want to be a winner.' —Maria Sharapova on being compared to Anna Kournikova

'Going to the dentist. On second thought, I would rather have a root canal than play Santoro.' —Marat Safin, on being asked his biggest fear

'If I don't win tonight, I guess the sun will still come up in the morning.' —Arthur Ashe

'I had a feeling today that Venus Williams would either win or lose.' —Martina Navratilova

'The difference between night and day is, er, night and day.' —Tim Henman

Andrew Castle: 'Where are all these Serbians from?'
Greg Rudseski: 'Serbia?' (during Wimbledon 2007)

'There are no excuses. I could blame it on a lack of match practice time, or on playing the world No. 10...I had a sore stomach as well.' —Sania Mirza, Australian Open 2009

'I broke all my rackets. I didn't have a racket for the fifth set. I broke four. Now, I hold the record. Now, I go home. No rackets. I really don't like these rackets.' —Nikolay Davydenko, US Open 2008

'You're on live TV, you know. You look like a real moron right now.'
—The lovable Andy Roddick, yelling at a chair umpire at Indianapolis

'You're an idiot! Stay in school kids, or you'll end up being an umpire.'

Xbox 360 Games

Checkout the latest Xbox 360 games here and pre-order the upcoming Xbox Games here

Ballmer Peak (Blood Alcohol Concentration Vs Programming Skill)

Ballmer Peak

Tuesday, October 27, 2009

Holidays 2009 Toy List

Apple iPod touch 64 GB, Age 12 and up
Bakugan 7 in 1 Maxus Dragonoid, Ages 5 - 15
Barbie Pink 3-Story Dream Townhouse, Ages 3 - 10
Bop It, Ages 8 - 18
Crayola Crayon Maker, Ages 8 - 15
D-Rex Interactive Dinosaur, Ages 8 - 12
Eyeclops Mini Projector, Ages 8 - 15
Fender Starcaster Strat Pack Electric Guitar with Amp and Accessories, Age 12 and up
Fisher Price Elmo Tickle Hands, Ages 2 - 6
Harry Potter and the Half-Blood Prince, Age 8 and up
Huffy Green Machine 2, Age 6 and up
Infantino Twist and Fold Activity Gym, Ages 1 - 12 months
Kodak Zi8 HD Pocket Video Camera, Age 12 and up
LeapFrog Zippity High-Energy Learning System, Ages 3 - 5
LEGO City Corner, Ages 5 - 12
Liv Fashion Doll Sophie, Ages 4 - 8
Manhattan Toy Baby Stella Doll, Age 12 months and up
Matchbox Mega Rig Pirates Ship in Amazon Frustration-Free Packaging, Ages 4 - 12
Maxell M&M Earbud, Ages 12 and up
Mindflex Game, Ages 8 - 15
Monopoly City Edition, Age 8 and up
Monsters vs. Aliens, Age 5 and up
Nerf N Strike Elite Bundle, Ages 8 - 11
New Super Mario Bros, Ages 8 - 11
Nintendo DSi, Ages 8 - 11
Playskool Chuck My Talking Truck, Ages 3 - 6
Razor A Kick Scooter, Age 5 and up
Razor Rip-Rider 360 Drifting Ride-On, Age 5 and up
Scene It? Twilight Deluxe Edition, Age 13 and up
Schwinn Roadster 12-Inch Trike, Ages 3 - 6
Scribblenauts, Ages 8 - 11
Snow White and the Seven Dwarfs, Age 5 and up
Speakal iPig 2.1 Stereo iPod Docking Station with 5 Speakers, Age 12 and up
Sprig Toys Eco Recycling-Truck in Amazon Frustration-Free Packaging, Ages 3 - 6
Transformers Movie 2 Combiner Construction Devastator, Ages 5 - 12
Up, Age 5 and up
Wii Fit Plus with Balance Board, Age 12 and up
Zune HD 32 GB Video MP3 Player, Age 12 and up

Internet rules and laws

Here are the rules in short:
  1. As an internet discussion grows longer, the probability of a comparison involving Nazis or Hitler approaches certainty.
  2. Without a winking smiley or other blatant display of humor, it is impossible to create a parody of fundamentalism that someone won’t mistake for the real thing.
  3. If it exists, there is porn of it.
  4. 'Any post correcting an error in another post will contain at least one error itself' or 'the likelihood of an error in a post is directly proportional to the embarrassment it will cause the poster.
  5. In any discussion involving science or medicine, citing as a credible source loses the argument immediately, and gets you laughed out of the room.
  6. If you have to insist that you’ve won an internet argument, you’ve probably lost badly.
  7. A person’s mind can be changed by reading information on the internet. The nature of this change will be from having no opinion to having a wrong opinion.
  8. Anyone who posts an argument on the internet which is largely quotations can be very safely ignored, and is deemed to have lost the argument before it has begun.
  9. Whoever resorts to the argument that ‘whoever resorts to the argument that... ...has automatically lost the debate’ has automatically lost the debate.
  10. The more exclamation points used in an email (or other posting), the more likely it is a complete lie. This is also true for excessive capital letters.

Amazon Relational Database Service (Amazon RDS) Launched

Amazon Relational Database Service (Amazon RDS) Amazon Relational Database Service (Amazon RDS) is a web service that makes it easy to set up, operate, and scale a relational database in the cloud. It provides cost-efficient and resizable capacity while managing time-consuming database administration tasks, freeing you up to focus on your applications and business.

Amazon RDS gives you access to the full capabilities of a familiar MySQL database. This means the code, applications, and tools you already use today with your existing MySQL databases work seamlessly with Amazon RDS. Amazon RDS automatically patches the database software and backs up your database, storing the backups for a user-defined retention period. You also benefit from the flexibility of being able to scale the compute resources or storage capacity associated with your relational database instance via a single API call. As with all Amazon Web Services, there are no up-front investments required, and you pay only for the resources you use

Monday, October 26, 2009

SuperFreakonomics: Global Cooling, Patriotic Prostitutes, and Why Suicide Bombers Should Buy Life Insurance

SuperFreakonomics by Steven D. Levitt and Stephen J. Dubner is a really good read. Here are the highlights of the book on Amazon

Four years in the making, SuperFreakonomics asks not only the tough questions, but the unexpected ones: What's more dangerous, driving drunk or walking drunk? Why is chemotherapy prescribed so often if it's so ineffective? Can a sex change boost your salary?

SuperFreakonomics challenges the way we think all over again, exploring the hidden side of everything with such questions as:

* How is a street prostitute like a department-store Santa?
* Why are doctors so bad at washing their hands?
* How much good do car seats do?
* What's the best way to catch a terrorist?
* Did TV cause a rise in crime?
* What do hurricanes, heart attacks, and highway deaths have in common?
* Are people hard-wired for altruism or selfishness?
* Can eating kangaroo save the planet?
* Which adds more value: a pimp or a Realtor?

Levitt and Dubner mix smart thinking and great storytelling like no one else, whether investigating a solution to global warming or explaining why the price of oral sex has fallen so drastically. By examining how people respond to incentives, they show the world for what it really is – good, bad, ugly, and, in the final analysis, super freaky.

Types of Cache Explained

Inline cache: A memory cache that resides next to the CPU, but shares the same system bus as other subsystems in the computer. It is faster than lookaside cache, but slower than a backside cache.

Backside cache: A level 2 memory cache that has a dedicated channel to the CPU, enabling it to run at the full speed of the CPU.

Lookaside cache: A memory cache that shares the system bus with main memory and other subsystems. It is slower than inline caches and backside caches.

More info here Intel Cache Overview

Monday, October 19, 2009

Steve Jobs more popular than Jesus

Source: Is Steve Jobs more popular than Jesus?

New Michael Jackson Song Unveiled Online : Music : Entertainment :

Michael Jackson's new song, "This Is It," is now available on his official website. The single is from MJ's upcoming documentary and "will appear on a two-disc set due October 27 that features master versions of some of Jackson's biggest hits in the sequence they appear in the film," reports MTV.