Tuesday, November 01, 2005

ajax

Found this tutorial on Ajax through del.icio.us, the tagged bookmarks website

http://dhtmlnirvana.com/ajax/ajax_tutorial/#

(my del.icio.us page is here)

The tutorials starts from the basics and builds it up - have'nt gone through it completely but seems to be one of the best tutorials on the subject yet

Ajax is an acronym given to a collection of existing technologiesan which are intended to improved the user's web surfing experience by reducing the time taken between a click-button -> page submit -> page refresh with new data - Ajax reloads the data in a table or an image in a div etc. without an annoying page refresh

Ggl uses Ajax extensively including in maps, personalized home and gmail

Some other very good examples of Ajax usage are protoPage and start.com, supposedly the MSN portal for people with a normal aesthetic sense

Wednesday, October 26, 2005

get your war on

Get You War On is a comic strip highly critical of US foreign and domestic policy following the war in Afghanisation - think of it as Doonesbury meets South Park meets whitehouse.org - it's vitriolic, incisive and takes a jab at everything the Bush government and it's stoolies are supposed to believe in



© get your war on

It's highly readable from the start - but be warned, it's not for kids or the faint hearted - the humor may seem off to people who think Everybody Loves Raymond is cute and The Simpsons is too rude

Monday, October 17, 2005

quake stricken areas

On Saturday, Oct 8, 2005, Pakistan was struck by a major earthquake measuring 7.8 on the Richter scale

Google Earth now has imagery and other data available with respect to the quake stricken areas


© Google Earth - Margalla Towers, Sector F10, Islamabad

The kmz file for this imagery is located here

Here is the link for updated data availability on current events

Updates on the Google Earth maps database are available here

Monday, October 10, 2005

big brother


© peanuts.com

Friday, September 30, 2005

piri reis map

In 1929, a group of historians found an amazing map drawn on a gazelle skin.
Research showed that it was a genuine document drawn in 1513 by Piri Reis, a famous admiral of the Turkish fleet in the sixteenth century.


The Piri Reis map shows the western coast of Africa, the eastern coast of South America, and the northern coast of Antarctica. The northern coastline of Antarctica is perfectly detailed. The most puzzling however is not so much how Piri Reis managed to draw such an accurate map of the Antarctic region 300 years before it was discovered, but that the map shows the coastline under the ice. Geological evidence confirms that the latest date Queen Maud Land could have been charted in an ice-free state is 4000 BC.

link

Tuesday, September 13, 2005

notpr0n

Updated 11/01/05 - Sweet, this post is top of Ggl's search results for notPr0n passwords

It is what the name implies, not pr0n!!

This is a web based game similar to... i don't think it has a precedent

You need to go from one screen to the other by giving a username/password or changing the url or clicking in a "special way"... it's very difficult sometimes and the creator of the game could have designed a couple of levels in a better way, imho but it's very interesting and when you pass a level, it's very satisfying :)

It's easier if you have some basic knowledge about how url's work and how a web page looks like in the web page source...

Unlike puzzle based games like the Monkey Island series, I found it easier to do without anyone looking over my shoulder

[WARNING!! MAJOR SPOILERS FOLLOW - do not read below unless u r stuck on a level and pulling hairs from your head... there are not hints, just answers...]

below is a list of the username, passwords for all the level I have done.. I will keep updating as I go along (notpr0n keeps changing passwords frequently since they come up in forums etc so I cannot confirm if these still work)

(level - username/password - url)
1 - click door - http://www.deathball.net/notpron/levelone.htm
2 - change level2 to level3 or open door quickly - http://deathball.net/notpron/not/level2.htm
3 - change false to true in url - http://www.deathball.net/notpron/false/gototheothersite.htm
4 - voodoo/power - http://deathball.net/notpron/true/gototheothersite.htm
5 - simple/songs - http://deathball.net/notpron/google/shestheoneforme.htm
6 - kill/hour - http://deathball.net/notpron/nothing/hesgotitall.htm
7 - http://deathball.net/notpron/sdrawkcab/tieman.htm - rename to http://deathball.net/notpron/sdrawkcab/rediar.htm
8 - inverted/levelten - http://deathball.net/notpron/sdrawkcab/rediar.htm
9 - turnmeon/deadman - http://deathball.net/notpron/luv2music/paulisdead.htm
10 - grey/world - http://deathball.net/notpron/wrong/roawr.htm
11 - funcking/pans - http://deathball.net/notpron/reality/mystery.htm
12 - remote/control - http://deathball.net/notpron/blame/crossview.htm
13 - devil/hell - http://deathball.net/notpron/ps/afterdeath.htm
14 - déjà vu - http://deathball.net/notpron/neo/beenthere.htm
15 - random/shit - http://deathball.net/notpron/rusty/board.htm
16 - doom/murder - http://deathball.net/notpron/zoo/mznvh.htm
17 - change pron.htm to lamp.htm - http://deathball.net/notpron/finale/pron.htm
18 - change lamp to deaf - http://deathball.net/notpron/finale/lamp.htm
19 - weird/stuff - http://deathball.net/notpron/finale/deaf.htm
20 - really/unfair - http://deathball.net/notpron/windows/something.php

Friday, September 02, 2005

Monday, August 29, 2005

Monday, August 15, 2005

"killer mountain" resue attempt

Tomaz Humar is one of Slovenia's best-known mountain climbers

Recently he attempted to climb the treacherous Nanga Parbat, located in Northern Pakistan. It is popularly referred to as the "killer mountain" since many mountaineers have died attempting to climb it.


© humar.com

He got stuck on the way there and was rescued in a daring attempt by the Pakistan Army pilots. Please note that flying in a chopper, in the thin air at 6000 meters, is a very difficult thing to do

Tomaz has posted pictures and videos of his resuce attempt. Do check it out, they are really amazing

Monday, August 08, 2005

linus rules!!


© comics.com

click photo if u cannot see all 4 cells

Thursday, August 04, 2005

Daily Dose of Imagery is a photoblog by Sam Javanrouh, a Canada based Iranian. He takes a photo every day when walking or cycling to or from work. All his photos are truly fantastic and help to take off the burden on a working day.


"Old reflected on new" © Sam Javanrouh 2005

In my opinion, his is the best photoblog by far on the web... keep it up, Sam!

Tuesday, August 02, 2005

I really wanted to do this since I joined my present workplace...

There were interesting patterns in the seismic images taken of the earth's subsurface (to detect cavities, potentially for oil; very basic process in oil exploration)... and I wondered if a portrait could be made out of these seismic images... so here is my first attempt at making a seismic portrait of Jinnah, founder of Pakistan.


(688 X 1024) © sami jan

It was made using 17 tiles cut from a seismic image and fed to easyMosaic2005... the greyed areas were introduced by the software, they were necessary to bring out the features... maybe if someone spends more time on making better tiles for the seismic image, there will be no need for this greying

A print-out on A-4 sized paper looks pretty good

Monday, July 18, 2005

halfway up the eiffel tower



See a panorama image of paris from half-way up the eiffel tower, really amazing, almost feels like you are there yourself - link

tapping into creative people

Harvard Business Review ran a feature recently on SAS, a privately held business software company that has revenues in excess of $1 billion, 3-5% employment turnover, sells its products to 90% of the Fortune 500 & has a 98% subscription renewal rate

The article tells us that SAS is successul mainly because:

a. it makes an effort to nurture creativity of its employees, from programmers to sales support to managers (sounds like an oxymoron, "creative managers" ;) by providing an obstacles free environment, and a team of supportive and creative middle and upper-level management

b. and it really focuses on providing the best support as possible to customers by delivering almost bug-free software and quick customer support

Highlights include:

"Help employees do their best work by keeping them intellectually engaged and by removing distractions. Make managers responsible for sparking creativity and eliminate arbitrary distinctions between “suits” and “creatives.” And engage customers as creative partners so you can deliver superior products."

"In all cases, form follows function. As much as leaders at SAS value technology, they strongly believe that it’s people who make technology useful, not the other way around. If a tool is constrictive or makes people change their preferred ways of working, then it gets scrapped. The goal is always the same—to help workers be great. "

"On campus, it has medical facilities for employees and dependents. Additionally, there’s a Montessori day care center, and children are welcome in the company cafeteria, so families can eat lunch together."

"Not only do the benefits make workers more productive, but they also help retain those workers, reducing the company’s expenses for recruitment and replacement. SAS saves about $85 million a year in such costs"

"The corporate philosophy is, if your fifth grader is in his first school play, you should be there to see it. SAS has earned a spot on Working Mother’s list of best companies so many times that professionals are lining up to apply."

"The importance of that point cannot be overstated. Knowing that your boss thoroughly understands and respects the work you do—because he or she has actually done it—has many positive outcomes. In addition to feeling that your contributions are appreciated, you’ll probably be less hesitant to ask questions, because you know your manager “gets it,” and you’ll have more faith in your boss’s decisions. Business life abounds with stories about managers who’ve failed to earn the respect of professional, technical, and other creative employees: the university president with no scholarly credentials, the law school administrator who’s not a member of the bar, the movie studio executive who provokes a rebellion among directors, actors, and other talent."

"That’s not to say that SAS never has difficulties with employees. With its enticing array of benefits, SAS is bound to attract a few people who would rather enjoy the perks than do the work. The company uses rigorous hiring practices to prevent such candidates from getting in the door; applicants may have to wait months for a decision while the company conducts a thorough vetting."

About the customer aspect of the company :

"Day in and day out, SAS gathers—and acts on—customer complaints and suggestions through its Web site and over the phone. The company also solicits feedback once a year through its Web-based SASware Ballot, which asks users about additional features they would like."

"Additionally, SAS collects feedback at an annual users’ conference, which is quite unlike the usual sales-pitch-in-disguise event. Imagine for a moment the vast creative potential of millions of users—highly intelligent professionals hailing from diverse disciplines and 110 countries. According to SAS’s marketing creative director, Steve Benfield, it’s difficult to develop software “when you don’t have some external validation of one particular set of ideas over another…. But finding out what resonates with those beyond the office walls—that’s gold!” "

"In large part, SAS can thank its subscription-plan business model for these regular interactions between employees and customers, and for its relatively stable revenue flows in a volatile industry. Customer loyalty is so high that the company saves money on advertising and other sales efforts. As a result, fully 26% of SAS’s budget gets channeled directly into research and development. The average for high-tech companies is 10%. A well-funded R&D department leads to better products, which leads to happier customers, which leads to—you can see where this is going. "

link

Thursday, July 14, 2005

wanna be a manager?

a lot of people i meet in real life dream of the day they are promoted from coder to manager (i live in pakistan... great talent here but 50 years of a beuracracy led country has many kids dreaming of becoming a "babu", or "suit-wearing, platitude-speaking, looking-busing-doing-nothing kind of no-gooder" )


img © dilbert.com

i had the misfortune of working for a manager long time back who was the real-life version of dilbert's PHB, so i know what dilbert feels like.... i was also "manager" (coder/team lead/product manager/program manager) for a while so i know also why it's such a droll job, specially when you hate writing code higher-level than the windows API and you have to manage a web-based (JSP, Oracle, Javascript) web application !!! EEyucch!!!

Being a coder rocks because, as many of our taxi cabs say on their bumpers, "no tension"... design, code, unit test.... that's it, gimme coding any time of the day

Wednesday, July 13, 2005

Pakistan cheer for the Indian side

Another example of the good spirit of Pakistanis, this time the military boxing team of Pakistan cheered and supported the Indian team in the Military Boxing Championships at Pretoria, South Africa link

Neither team won a gold at the championship but "friendship came out as the winner", as they say

In March 2004, India toured Pakistan in a cricket series and the reception Indian fans and team received surprised and overwhelmed everyone from across Wagah - the tour was won by India but the spirit shown by Pakistani fans was fantastic. The winning Indian team were cheered and given standing ovations and Irfan Pathan, the bowler, was cheered loudly in Peshawar as he bowled to the Pakistani batsmen. Top Indian actors, former sportsmen and politicians turned up for the historic series, even the two scions of the Kennedys of India, Rahul and Priyanka Gandhi


img © tribuneindia

In March 2005, the Pakistani team returned the visit and it left the Indians wondering if their countrymen could reciprocate Pakistani hospitality. Even though the Indian people were found to be generally supportive off the field, in the streets and markets, in the stands it was a different story. Eyewitness accounts of Pakistani fans sitting in the crowd tell how they started to feel hostility when the Pakistani bowlers started putting the pressure in Delhi and only singing we-love-delhi ditties created in run-time could helped them sit through them match

The biggest winner for Pakistan would be if the Indians could forget the previous Indian governments' propaganda that Pakistan is the Big-Evil and both countries could have a culture of hospitality and friendliness to match and even exceed that within the EU... england, france and the others forgot their centuries old tribal wars, why not the peoples of one of the richest and most ancient cultures in the world?

Friday, July 08, 2005

cartoon laws of physics



full list: link

Cartoon Law I
Any body suspended in space will remain in space until made aware of its situation.

Daffy Duck steps off a cliff, expecting further pastureland. He loiters in midair, soliloquizing flippantly, until he chances to look down. At this point, the familiar principle of 32 feet per second takes over.

Cartoon Law VII
Certain bodies can pass through solid walls painted to resemble tunnel entrances; others cannot.

Cartoon Law Amendment D
Gravity is transmitted by slow-moving waves of large wavelengths.

Their operation can be witnessed by observing the behavior of a canine suspended over a large vertical drop. Its feet will begin to fall first, causing its legs to stretch. As the wave reaches its torso, that part will begin to fall, causing the neck to stretch. As the head begins to fall, tension is released and the canine will resume its regular proportions until such time as it strikes the ground.

Thursday, July 07, 2005

googleEarth - how to see NY in 3D

Download the free version of googleEarth from here

Start the application, it should login automatically or select "Free version"

In the menu on the top left, select "Fly To" and write "New York, NY"

Wait a little while and data is streamed, when the progress meter at the bottom shows 100%, all the satellite imagery has been loaded

In the toolbar at the bottom, click on the button that says "Tilt down"



The view should tilt and you can see the city of New York in perspective - only the earth is flat



In the "Layers" menu on the left, scroll down and select "3D buildings"

Wait a little and the earth will be populated with the skyscrapers of NY!! They are not texture mapped yet, maybe Google will fix this in the near future....


(Click to see large view)

You can navigate now using the toolbar at the bottom, try flying above the NY landscape...

Tuesday, July 05, 2005

wacky dude face thingy...

found this on worldwind, an application similar to googleEarth...



here is a gmap link, in all its fullcolor glory

USAF toystore

where they keep all their surplus planes, all shrink wrapped and ready to fly.... also have redundant planes like the B-52 bomber, these were mercilessly destroyed in large number after the cold war ended...



This is SE of Tucson, Arizona

more googleMapping

I've been experimenting with Google Maps and it turns out that you can go to a location directly by giving a lat/long... could not decipher the url googleMaps generates when you click "link to this page", (solved it later) so tried it out in the edit box itself and it turns out you can specify lat/long in this form:

115 44 00 W 37 38 30 N -or- 45.9820 N 63.5560 E -or- 45.9820 , 63.5560

...don't need to give the tuntuna for degree, and hypehns etc, spaces will do.. you *do* need to specify W/E & N/S though...

so I googled for an Area 51 location (what ARE all those green thingies?) and the Baikonur Comsodrome, Kazakhastan and the Nazca Lines in Peru using lat/long values

since a google map search for these phrases would turn up nothing, my approach was to web search for: MY_PLACE latitude longitude - and someone had always had it listed somewhere, and then map search for that lat/long

- More Area-51 lat/longs here

While googling for this post, I came across this page... are they just bombing targets or is there something more sinister here?....

More sinister Area-51 GoogleMap images here... God bless google & gis, sniff sniff

mould the prez's face

http://www.colonize.com/warp/warp04-2.php

a caricaturist's dream come true... loads of fun...

Monday, June 27, 2005

rock tha party (& how to record audio streams in xp)

"rock tha party" is a really cool new song by a danish/indian group called bombay rockers...



homepage at bombayrockers.com

i could not find an mp3 so i recorded the stream on my pc...

this is a how i recorded the media stream into mp3 format:

1. Do volume control->options->properties->recording->click OK. Select "Wave Out Mix"

2. Start Start->Programs->Accessories->Entertainment->Sound Recorder & Start Recording - (before you do that, you need to work around the SR 60 second limit, here is a tip how to do that - link (is there a better way to do this? maybe change a reg value)

3. Play stream. It's recorded by Sound Recorder as a wav file. (You can cut out start and end silence, increase/decrease volume inside of SR)

3.5 Save this to disk as wav file for later conversion by winamp or set option to "mpeg3" in the "save as" dialog box and save as mp3 here

4. Right click Winamp bar -> options -> preferences -> output -> disk writer -> click configure button -> convert to format -> mpeg 3

5. Click play (make sure cycle/repeat is off)

TIP: keep the "Wave Out Mix" volume low, keeping it high introduced noise for me..

Thursday, June 23, 2005

flying with baloons... real ones

"Anyone who’s ever been eight years old has wondered the same thing: How many balloons would it take to carry me up into the sky? John Ninomiya knows the answer. He’s logged 32 flights—and ascended as high as 21,400 feet—dangling beneath clusters of between 40 and 120 helium balloons."


img © popSci

link (opens in new window)

Wednesday, June 22, 2005

Google maps gone global

Now googleMaps shows almost all of the world, albeit without maximum zoom... Islamabad looks OK... Rawalpindi looks like a dump...
Moscow is really beautiful from in the sky...

I zoned into Gwadar, a hot topic of interest these days in Pakistan, the government and other "intellectuals" predict it to become another dubai.....

maybe this snap gives an inkling to why it's so important...check out the beautiful coastline and the apparently strategic land shape


© google