pratham RSS

Home
Archives
Random
Contact

Search Site

Powered by Tumblr
Sep
25th
Thu
permalink
Sep
7th
Sun
permalink
Identify these default avatars. (Answer Key)

Identify these default avatars. (Answer Key)

Sep
6th
Sat
permalink
Jul
24th
Thu
permalink

Reddit gets descriptive URLs.

Reddit has rolled out descriptive search-engine friendly URLs to their story pages.

old : http://www.reddit.com/comments/6t3mm
new : http://www.reddit.com/comments/6t3mm/Ask_Programming_What_language_did_you_first_start/

Tumblr did the same some time back.

Jul
5th
Sat
permalink
A-Z of Technology. (via Florencio)

A-Z of Technology. (via Florencio)

Jun
26th
Thu
permalink

“Web 2.0” in just under 5 minutes.

Jun
23rd
Mon
permalink

Twitter PHP script without cURL.

This is a simple PHP script to interact with the Twitter API and update the user’s status. Unlike most other samples, it does not use cURL or any other dependency.

$msg = 'Your message here';

$out="POST http://twitter.com/statuses/update.json HTTP/1.1\r\n"
  ."Host: twitter.com\r\n"
  ."Authorization: Basic ".base64_encode ('username:password')."\r\n"
  ."Content-type: application/x-www-form-urlencoded\r\n"
  ."Content-length: ".strlen ("status=$msg")."\r\n"
  ."Connection: Close\r\n\r\n"
  ."status=$msg";

$fp = fsockopen ('twitter.com', 80);
fwrite ($fp, $out);
fclose ($fp);

Note that this script does not store or process the response.

Jun
18th
Wed
permalink
Jun
1st
Sun
permalink

The Infinite Monkey Theorem put to test.

Ourownbook, a user-edited book, has decided to put the Infinite Monkey Theorem to the test.

An infinite number of monkeys with an infinite number of typewriters and an infinite amount of time could eventually write the works of Shakespeare.

The book is about Srijan, a rags to riches to evil and back story. The draft makes for an interesting read with some interesting adjectives,

He didn’t know why but he started following her to her home, spellbound, impressed and surprised !

physical impossibilities,

As the night gave way to dusk ..

logical flow of ideas,

His father wanted him to be a great person. He himself was a nice person

classic Indian English,

His nights were going sleeplelss [sic].

profound wisdom,

Choices make people and people make choices.

Ralphesque English,

Now, he had realised that any obstacle in life can be overcomed [sic] easily.

more profound wisdom,

Girls always fall for smart dudes.

fancy disease names,

The doctor got the confusion.

and some crisp deduction.

The sun is classified as an alternative energy resource. That means it will never end.
May
28th
Wed
permalink
May
20th
Tue
permalink
May
19th
Mon
permalink
.. Americans watch close to 200 billion hours of TV a year, .. By contrast .. Wikipedia required about 100 million hours of thought.
— via SFGate
May
7th
Wed
permalink
Airtel vs Youtube logos.

Airtel vs Youtube logos.

May
1st
Thu
permalink
Apr
28th
Mon
permalink