Thursday, July 26, 2007

Japanese may buy much more oil

Japanese officials agreed to work with UN inspectors after a powerful earthquake shut down the country’s largest nuclear plant and raised fresh concerns about its nuclear sector.
I dont care about the safe of the plants. I care about the oil price.
The earthquake caused radioactive spills and other problems reportedly compounded by employee error.
All fifty-five Japanese nuclear plants have this kind of vulnerability,” a Kobe University seismologist told USA Today.
So, the 50 plants may be closed very soon.
The incident follows last year’s order from a judge to shut down Japan’s second-largest plant because it was not earthquake ready.
A series of other high-profile nuclear accidents, including in 1999 and 2004, create a growing quandary for Japan—the world’s third-largest consumer of nuclear power behind the United States and France.
Japanese are using a lot of nuclear power.
If japanese change to use oil instead ...
Environmental advocates were quick to assert that the latest incident means nuclear power is unsafe.
Japan is not the only country in the world that has built nuclear power plants on or near fault lines.
The Philippine government pays $155,000 a day in interest on a nuclear facility never put into operation because it was built near major fault lines.
Energy-starved Armenia continues to run its Metsamor nuclear plant despite a nearby fault line and the safety concerns of European Union and U.S. officials.
A 1988 quake in the region killed twenty-five thousand people.
Oil price will keep on going up...all over the wrold ..
In the United States, two watchdog groups want to close a Michigan nuclear plant, which they believe fails to adhere to the Nuclear Regulatory Commission’s earthquake safety regulations for waste handling.
Concerns about earthquakes also threaten U.S. plans to build a nuclear waste repository in Nevada’s Yucca Mountain.
and, dont forget, China will use much more oil in the coming years.
Buy oil ....

Gas Facility Explosion

this is not on TV ...
For Dallas residents it seemed like the end of the world: stacks of highly flammable gas cylinders exploding, one after the other.
such a big fire..
Wednesday, a series of explosions at the Southwest Industrial Gases Facility sent flaming debris raining onto highways and buildings near downtown Dallas, seriously injuring at least three people.
do u see any plants near in your area?
Beyond these large plants, there are smaller facilities that can also be dangerous.
Beware if you find such big and dangous plants newa your.
In October 2006, terrified residents in Apex, N.C., fled their homes as thunderous explosions from a much smaller industrial waste plant filled the night sky with an eerie yellow haze of chemical poison.
Good luck .....
And in 2005, a deadly chemical train derailment in Granetville, S.C., showed how hazardous chemicals can become when they're traveling through neighborhoods.

surfing online

this is a internet user' story, a girl who sits in front of her PC all the time..
internet world is a magic world, there are so many interesting things, people, and stories.
no matter it is earlyy in the morning, or late night, you can find a lot of people surfing online.
if you are lucky, you may find a group of friends, surfing together with you.
but if want to surf by yourself, it is up to you.

you may have friends in States, UK, Japan, Hong Kong, Thailand..
You dont need to drive, no need to buy air ticket, but you can go anywhere over the world.

know more of Taleban

The world first became aware of the Taleban in 1994 when they were appointed by Islamabad to protect a convoy trying to open up a trade route between Pakistan and Central Asia.
Now, Taleban is fomous all over the world.
But, how much do you know about Taleban?
The group - comprised of Afghans trained in religious schools in Pakistan along with former Islamic fighters or mujahedin - proved effective bodyguards, driving off other mujahedin groups who attacked and looted the convoy.
They went on to take the nearby city of Kandahar, beginning a remarkable advance which led to their capture of the capital, Kabul, in September 1996.
The Taleban's popularity with many Afghans initially surprised the country's warring mujahedin factions.
As ethnic Pashtuns, a large part of their support came from Afghanistan's Pashtun community, disillusioned with existing ethnic Tajik and Uzbek leaders.
But it was not purely a question of ethnicity. Ordinary Afghans, weary of the prevailing lawlessness in many parts of the country, were often delighted by Taleban successes in stamping out corruption, restoring peace and allowing commerce to flourish again.
Their refusal to deal with the existing warlords whose rivalries had caused so much killing and destruction also earned them respect.
The Taleban said their aim was to set up the world's most pure Islamic state, banning frivolities like television, music and cinema.
Their attempts to eradicate crime have been reinforced by the introduction of Islamic law including public executions and amputations.
A flurry of regulations forbidding girls from going to school and women from working quickly brought them into conflict with the international community.
Such issues, along with restrictions on women's access to health care, have also caused some resentment among ordinary Afghans.
The Taleban now control all but the far north of the country, which is the last stronghold of the ethnic Tajik commander Ahmed Shah Masood.
With 90% of the country under their control, the Taleban have continued to press claims for international recognition.
But the Afghan seat at the United Nations continues to be held by former President Burhanuddin Rabbani.
The UN sanctions which have now been imposed on the country make it even less likely that the Taleban will gain that recognition.
The sanctions are intended to force the Taleban to hand over the Saudi-born militant Osama Bin Laden, who is accused by the United States of plotting the 1998 bombings of US embassies in Kenya and Tanzania, which killed more than 250 people.
The Taleban say that Osama Bin Laden is a guest in their country, and they will not take action against him.
Afghanistan has suffered 20 years of war, and this year has brought the worst drought in decades.

DNA

DNA..a common term..but, do you know what exactly DNA is ...?
Deoxyribonucleic acid, or DNA, is a nucleic acid molecule that contains the genetic instructions used in the development and functioning of all known living organisms.
Bio-chemical teams ...ok, go on..
The main role of DNA is the long-term storage of information and it is often compared to a set of blueprints, since DNA contains the instructions needed to construct other components of cells, such as proteins and RNA molecules.
Simple structure, with great secert behind.
The DNA segments that carry this genetic information are called genes, but other DNA sequences have structural purposes, or are involved in regulating the use of this genetic information.
Chemically, DNA is a long polymer of simple units called nucleotides, with a backbone made of sugars and phosphate atoms joined by ester bonds.
Attached to each sugar is one of four types of molecules called bases.
It is the sequence of these four bases along the backbone that encodes information.
This information is read using the genetic code, which specifies the sequence of the amino acids within proteins.
The code is read by copying stretches of DNA into the related nucleic acid RNA, in a process called transcription.
Most of these RNA molecules are used to synthesize proteins, but others are used directly in structures such as ribosomes and spliceosomes.
Within cells, DNA is organized into structures called chromosomes and the set of chromosomes within a cell make up a genome.
These chromosomes are duplicated before cells divide, in a process called DNA replication. Eukaryotic organisms such as animals, plants, and fungi store their DNA inside the cell nucleus, while in prokaryotes such as bacteria it is found in the cell's cytoplasm.
Within the chromosomes, chromatin proteins such as histones compact and organize DNA, which helps control its interactions with other proteins and thereby control which genes are transcribed.

Wednesday, July 25, 2007

Taliban is going to kill..

Afghanistan's Taliban threatened to start killing 23 South Korean hostages Wednesday if their demands were not met, and claimed responsibility for kidnapping a German journalist.
Taliban is a group of killers.
The reporter, whom officials said was seized with his translator in eastern Afghanistan while investigating civilian casualties in NATO air strikes, is the third German national in a week to be abducted in the war-torn country.
Even I dont like the way US handle the Taliban people, but Taliban are not good guys.
The Islamist Taliban said talks to free the Christian aid workers from South Korea had stalled and vowed to kill some of them later Wednesday if eight jailed insurgents were not released by the Afghan government.
Taliban is going to Korean people this time.
The deadline has already expired. Those Korean will be killed 2:00 pm.
Ahmadi charged that the government of President Hamid Karzai was "not honest in negotiations.
We have given them the list of eight Taliban prisoners for exchange for eight Koreans but they are dealing with the issue carelessly.
The deadline passed with no further claims from the militants about the fate of the Korean hostages.
The fresh threat came despite frantic negotiations by South Korean and Afghan officials who have travelled to the insurgency-hit southern province of Ghazni to lead the efforts to save the hostages, who are mainly women.
The South Koreans are the biggest group of foreigners to be abducted by the Taliban since US-led forces toppled the hardline regime in late 2001 after the 9/11 attacks on the United States.
Waheedullah Mujadadi, the chief negotiator for the Afghan government, said he was unaware of the new deadline but added that authorities were still studying the idea of freeing the jailed insurgents.
911 was a sad story, will be in people's mind forever.
Any prisoner exchange would run counter to Karzai's pledge not to allow the practice after his government in March freed five Taliban militants in exchange for an Italian reporter.

US Presidential Debate

Even Mr Clinton is not a good guy, but he was a successful president.
Monday night's CNN Democrat presidential debate for the first time used video questions submitted by the public via the Web site YouTube.
YouTube, another great internet business.
The result: A serious question on global warming asked by a snowman, another on gun control asked by a man cradling his "baby" --- an automatic rifle --- and some unique questions some candidates may have never heard before.
You can attend the debate even you are just a little kid.
CNN will host a YouTube debate for Republican presidential candidates on Sept. 17.
Despite the democratization of the format, some people online criticized CNN for screening the questions, instead of allowing people to vote for the questions they wanted asked.
Former Black Hawk County Democrats chairman E.J. Gallagher III, who watched the debate at Monica's Piano Bar at an event organized by the campaign of Democratic presidential hopeful Sen. Joe Biden of Delaware, said he enjoyed the format and the serious questions asked.
Anyway, it is just a show.
Nick Powers of Waterloo was concerned that candidates outside the top-tier would be given the short shrift, but in the end, those at Monica's thought all the candidates were given nearly equal time.
Current county Democratic Party chairwoman Pat Sass agreed that organizers did a good job of including all the candidates.
USA, a big show state for all of us.
But she sees room for improvement: Sass thought CNN should have given all candidates the same questions and the same amount of time to answer, all the while switching up the order in which candidates answer.
In fact, she plans on implementing those rules for the presidential debate hosted at Waterloo West High School in October.
Of the 3,000 questions submitted, 39 made the cut, including one from a pair of Iowa brothers, Mark and Joel Strauss of Davenport.
They were beamed across the nation when they asked about Alzheimer's disease as part of a montage of questions about health care.

29,000 sex offenders removed from MySpace website

Wo, so many sex offenders in MySpace.
The operators of MySpace have identified and removed more than 29,000 registered sex offenders with profiles on the hugely popular website, according to the US authorities.
but, any one knows how much are still in MySpace?
The figure is more than four times higher than that announced by the social networking site earlier this year.
It has been obtained by the authorities in North Carolina, which demanded that MySpace provide data on how many registered sex offenders were using the site, as well as information about where they live.

DIY Cancer test

Hope you dont have cancer, but do a DIY test may help you.
Widespread use of a simple DIY test kit for bowel cancer could save thousands of lives a year.
The kit is being sent to men and women in their 60s throughout the UK as part of a national screening programme.
Cancer Research UK has calculated there would be up to 20,000 fewer deaths over the next 20 years if 60% of those who receive the test make use of it.
Yes, just a DIY test, may save great money.
If 80% used it, another 5,000 lives could be saved over 20 years, figures from a pilot scheme suggest.
"In both cases thousands of deaths could be prevented."
There are about 35,000 cases of bowel cancer diagnosed each year in the UK, and more than 16,000 people die from the disease.
Bowel cancer is the second most common cause of cancer death in the UK.
If you know how to do this DIY test, it may save your life.
The testing kit - the Faecal Occult Blood Test - is designed to allow people to take faecal samples in the privacy of their own home and send them for testing.
Yes, you can do it by yourself.
If any blood is found they are then invited for a colonoscopy.
...save money and your life...

Sport Car

Single-seater (open-wheel) racing is a popular form of motorsport with cars designed specifically for high-speed racing.
The wheels are not covered, and the cars often have aerofoil wings front and rear to produce downforce and enhance adhesion to the track.
The best-known variety of single-seater racing, Formula One, involves an annual World Championship for drivers and constructors of around 18 races a year featuring major international car and engine manufacturers such as Ferrari, Mercedes-Benz (McLaren), BMW (Sauber), Toyota, Honda, and Renault in an ongoing battle of technology and driver skill and talent. Formula One is, by any measure, the most expensive sport in the world, with some teams spending in excess of $400 million per year. Formula One is widely considered to be the pinnacle of motorsports, with the F1 Drivers' Championship being one of, and the oldest among, only three World Championships awarded each year by the FIA (the others being the World Touring Car Championship and the World Rally Championship).
In North America, the cars used in the National Championship (currently Champcars and the Indy Racing League) have traditionally been similar to F1 cars but with more restrictions on technology aimed at helping to control costs. Other single-seater racing series are the A1 Grand Prix (unofficially often referred to as the "world cup of motorsport"), GP2 (formerly known as Formula 3000 and Formula Two), Formula Nippon, Formula Renault 3.5 (also known as the World Series by Renault, succession series of World Series by Nissan), Formula Three, Formula Palmer Audi and Formula Atlantic.
There are other categories of single-seater racing, including kart racing, which employs a small, low-cost machine on small tracks. Many of the current top drivers began their careers in karts. Formula Ford represents a popular first open-wheel category for up-and-coming drivers stepping up from karts.

Red Cross to raise money to help flood victims

It is time to raise money again...
THE Red Cross is set to launch a national appeal to raise money for the victims of the worst floods to hit Britain in modern history.
This time is for people in Britain.
The charity said it was finalising plans for a fundraising effort that would benefit the "most vulnerable individuals and communities" including a telephone hotline for donations.
Usually we raise money for people in China or Asia, this time...is for Britain.
News of the appeal came as flood waters began to recede in the worst hit parts of Gloucestershire.
Dont know why, just strong rains....
There had been fears that floods would swamp the county's Walham substation, cutting power and water to 250,000 people.
But there was relief early today as water levels peaked just two inches below the main wall which protects the station and Gloucester city centre.
UK was a kindom..some times ago....now is a ...
Emergency services also managed to restore electricity to more than 48,000 houses plunged into darkness after Castlemeads Substation was deluged by the River Severn.
But around 350,000 homes are still without running water and 50,000 without power as the flooding crisis continued.
some times ago, UK was a great country, the strongest country country ovr the world.
Severn Trent Water warned that some 150,000 households could be without water for between seven and 14 days because of the flooding of its treatment plant.
I believe, UK is ....history ...

FireFox extension

Mozilla Firefox browser can be improved with additional functions for better browsing experience. Firefox browser supports third party extensions that can be added to enhance its functionality.
Firefox extensions or plugins provide additional features for Mozilla browser, improving the way it works or adding absolutely new functionality to use while serfing the Web.
Firefox extensions can add anything from a toolbar button or menu item to more complex feature as auto login or web search.
Custom Firefox extensions allow to personalize Mozilla Firefox Web browsing experience to create more suitable user interface and build in new specific features to better organize work environment.
Online communities or businesses can provide their customers with such Firefox extensions as customized toolbar or sidebar.
These extensions will let Mozilla Firefox users get direct access to the “remote” website resources and services wherever customers may be online, performing a complex task in few clicks with help of custom buttons, dropdown and right-click menus, boxes, or other specific features. These custom Firefox extensions will serve as “bookmarks” to hot website pages or as “shortcuts” for web services using.
Custom Firefox plugins and extensions allow create convenient user interface, put the brand on the toolbar, add custom buttons and menus, auto login function, RSS reader, website search, Google or other search engines searchbox, quick access to Yellow Pages, news, mail, stocks, weather or other information on Web from within Mozilla Firefox browser, and other individual functions needed to work more convenient and productive while using Firefox browser.

DNA ...

My teacher told me what was DMA when I was small..
a vry simple structure, but big secert behind.
A DNA sequence is called "sense" if its sequence is the same as that of a messenger RNA copy that is translated into protein.
The sequence on the opposite strand is complementary to the sense sequence and is therefore called the "antisense" sequence.
Since RNA polymerases work by making a complementary copy of their templates, it is this antisense strand that is the template for producing the sense messenger RNA.
Both sense and antisense sequences can exist on different parts of the same strand of DNA (i.e. both strands contain both sense and antisense sequences).
In both prokaryotes and eukaryotes, antisense RNA sequences are produced, but the functions of these RNAs are not entirely clear.
One proposal is that antisense RNAs are involved in regulating gene expression through RNA-RNA base pairing.
Basically our DNA world is very simple ..
A few DNA sequences in prokaryotes and eukaryotes, and more in plasmids and viruses, blur the distinction made above between sense and antisense strands by having overlapping genes.
In these cases, some DNA sequences do double duty, encoding one protein when read 5 to 3 along one strand, and a second protein when read in the opposite direction (still 5 to 3) along the other strand.
In bacteria, this overlap may be involved in the regulation of gene transcription, while in viruses, overlapping genes increase the amount of information that can be encoded within the small viral genome.
Another way of reducing genome size is seen in some viruses that contain linear or circular single-stranded DNA as their genetic material.

Tuesday, July 24, 2007

Deep DNA Memory

Do you know why you can remember?
Do you know how your brain works?
Here are some of the secrets..
Let’s say you have always had a significant fear of bears since you were a child. Even Smokey the Bear and other friendly Hollywood bears could not convince you to regard bears with anything but anxiety and fearful feelings.
Maybe it is possible that deep, deep within your DNA memory banks, your great-great-great-great-grandmother or great-great-great-great-grandfather had a very bad experience with a bear two hundred years ago. Maybe they saw someone be killed by a bear. Maybe they had to climb a tree to save themselves from being eaten by a bear.
Would a life-changing experience like this, resulting in knowledge very useful for survival, possibly be encoded in the DNA and passed on to future generations and you?
If there were a way to go deep down into your mind and consciousness, and into your genetic history, maybe through some kind of altered state like a dream or through some kind of trigger, could you recall and experience that event?
Could you relive and re-experience in some way great-great-great-great grandma’s or grandpa’s harrowing and hair-raising close encounter with a hungry bear two hundred years ago?
What about some similar “peak experience” or life-changing event of an ancient relative five hundred years ago? What about five thousand years ago? After all, we know that at least some part of that history is inside all of us, right in the DNA in every cell of our body, right now.

Harry has broken the record again

Even I dont like harry very much...but I have to tell you ..
Harry Potter and the Deathly Hallows has broken records in the US, selling 8.3 million copies in its first 24 hours on sale.
why so many people like harry??
It also sold 2.65 million in the UK, becoming the quickest seller out of the entire series.
2.65 mil just in UK..my god..
The previous high was in 2005 for Harry Potter and the Half-Blood Prince, which sold 2 million in its first day of release.
The long-awaited finale to JK Rowling's international best-sellers hit shops on Saturday, and it was released simultaneously around the world.
More than a thousand fans queued at the Waterstones' bookshop in the centre of London, where many were dressed as wizards for the midnight launch.
dont tell me u are one of them in the queue...
Another 1,000 waited at Asda's superstore in Pudsey, near Leeds, where the 17.99Pd books were being sold for a mere fiver.

Memory and DNA

Scientific researchers are gradually uncovering the secrets of our DNA. They have identified the functions of and relationships between some of this material. Many genes remain a mystery and their purpose is unknown.
Sometimes, these mystery genes are called “junk DNA.” According to some researchers, this may be an inaccurate label. Because the purpose and nature of this DNA material is not understood, it certainly does not mean it is useless junk.
As is often the case in scientific discovery, the more we know, the more we realize how little we know. Each question answered can raise many new questions.
For some, our human overconfidence and even arrogance can sometimes trick us into believing that we know all of the answers.
However, in the field of genetics research, there seems to be so much that is not known, that for an open-minded person, these kinds of theories about deep DNA memories cannot be ruled-out.
To conduct our own personal research and to find out for ourselves, maybe all we need to do is listen to our inner DNA.
Listen to the voices, feelings, sights and experiences of our ancestors. Their lives, joys and fears are within us. In that way, they are with us always.

Elvis - a super star

Do you know Elvis, may be only in the history.
Elvis AaronPresley (January 8, 1935 – August 16, 1977), was an American singer, musician and actor.
Elvis past before I was borned.
He is a cultural icon, often known simply as Elvis; also "The King of Rock 'n' Roll", or simply "The King".
Presley began his career as one of the first performers of rockabilly, an uptempo fusion of country and rhythm and blues with a strong back beat.
His novel versions of existing songs, mixing 'black' and 'white' sounds, made him popular - and controversial - as did his uninhibited stage and television performances.
He recorded songs in the rock and roll genre, with tracks like "Jailhouse Rock" and "Hound Dog" later embodying the style.
He developed a versatile voice and had success with other genres, including gospel, blues, ballads and pop.
To date, he is the only performer to have been inducted into three separate music 'Halls of Fame'.
Presley made thirty-three movies, the majority during the 1960s, but he made a critically-acclaimed return to live music in 1968, followed by performances in Las Vegas and across the U.S. Throughout his career, he set records for concert attendance, television ratings and records sales.
He is one of the best-selling and most influential artists in the history of popular music.
His premature death, at age 42, shocked his fans worldwide.
But many people believe ..Elvis is still alive ..believe it or not ..up to you..

Deep DNA Memory

Research into the nature of DNA has revealed that this material within each cell of our bodies has important implications for who each one of us is, on many levels.
In addition to determining our physical characteristics, our vulnerabilities to certain diseases, and maybe even our personality, is it possible that the DNA helix holds some of the important memories of our ancestors?
Theories that suggest that we can tap into the deep nature of DNA to uncover ancient memories are not new. In the 1960s, some psychological researchers claimed that there may be keys that unlock our DNA, revealing experiences of generations of our relatives who lived long before our present time.
These ideas are similar in a way to the concepts of past lives and reincarnation. However, this DNA-related line of thinking focuses on the previous lives within us that are based on genetic memories, encoded on the DNA helix within us.
BLUEPRINT, MEMORY BANK, INNER SPACE
The DNA within all living things is the blueprint for what each organism becomes, subject to the environmental influences that can also have significant effects.
For humans, recent discoveries about DNA are rapidly changing our views about the importance of this material. DNA may affect us much more significantly than we imagined. And, it may hold keys to further discoveries.
It has long been known that our physical appearance is determined by the combination of DNA from our mother and father. Now, researchers are confirming that certain diseases and disorders have direct links to our DNA. Our health may be programmed to some degree by our genetic history.
Our IQ and aptitudes, musical skills, athletic ability, even our psychological and emotional traits may be significantly affected by the DNA within us.
It has been demonstrated that experiences necessary for survival of a species are learned and that this knowledge is passed on to subsequent generations. In some cases this is mostly likely at least partially through DNA and the unconscious “instinct” that results. Even tiny and simple organisms learn crucial survival skills and pass these on.

xul Post method

I just found this guide this morning..how to do a "post" (not a get httpRequest) in xml.
hope it is also useful to all of you.

Preprocessing POST data
var dataString = "name1=data1&name2=data2";
// POST method requests must wrap the encoded text in a MIME
// stream
const Cc = Components.classes;
const Ci = Components.interfaces;
var stringStream = Cc["@mozilla.org/io/string-input-stream;1"].createInstance(Ci.nsIStringInputStream);
if ("data" in stringStream) // Gecko 1.9 or newer
stringStream.data = dataString;
else // 1.8 or older
stringStream.setData(dataString, dataString.length);
var postData = Cc["@mozilla.org/network/mime-input-stream;1"].createInstance(Ci.nsIMIMEInputStream);
postData.addHeader("Content-Type", "application/x-www-form-urlencoded");
postData.addContentLength = true;
postData.setData(stringStream);

// postData is ready to be used as aPostData argument

Monday, July 23, 2007

xul loadURIWitthFlags exception

if u failed to run loadURIWithFlags, check if u have created your referrer (referer) correctly.

var nsIWebNavigation = Components.interfaces.nsIWebNavigation;
var aref1 = browser.contentDocument.referrer;
var aref2 = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService).newURI(aref1, null, null);

dont just use a string object as the referrer (referer).
by the way, referrer is wrong, should be refer ....

The Apache Software Foundation Projects

This site is a catalog of Apache Software Foundation projects.
It is designed to help you find specific projects that meet your interests and to gain a broader understanding of the wide variety of work currently underway in the Apache community.

onr of the project is called Struts.
The Apache Struts Project offers two major versions of the Struts framework.
Struts 1 is recognized as the most popular web application framework for Java.
Struts 1 is the best choice for teams who value proven solutions to common problems.

Struts 2 was originally known as WebWork 2.
The 2.x framework is the best choice for teams who value elegant solutions to difficult problems.

Saturday, July 21, 2007

DNA .. the chemical secert

In living organisms, DNA does not usually exist as a single molecule, but instead as a tightly-associated pair of molecules.
These two long strands entwine like vines, in the shape of a double helix.
The nucleotide repeats contain both the segment of the backbone of the molecule, which holds the chain together, and a base, which interacts with the other DNA strand in the helix.
In general, a base linked to a sugar is called a nucleoside and a base linked to a sugar and one or more phosphate groups is called a nucleotide.
If multiple nucleotides are linked together, as in DNA, this polymer is referred to as a polynucleotide.
The backbone of the DNA strand is made from alternating phosphate and sugar residues.[8] The sugar in DNA is 2-deoxyribose, which is a pentose (five carbon) sugar.
The sugars are joined together by phosphate groups that form phosphodiester bonds between the third and fifth carbon atoms of adjacent sugar rings.
These asymmetric bonds mean a strand of DNA has a direction.
In a double helix the direction of the nucleotides in one strand is opposite to their direction in the other strand. This arrangement of DNA strands is called antiparallel.
The asymmetric ends of a strand of DNA bases are referred to as the 5 (five prime) and 3 (three prime) ends. One of the major differences between DNA and RNA is the sugar, with 2-deoxyribose being replaced by the alternative pentose sugar ribose in RNA.
The DNA double helix is stabilized by hydrogen bonds between the bases attached to the two strands. The four bases found in DNA are adenine (abbreviated A), cytosine (C), guanine (G) and thymine (T).
These four bases are shown below and are attached to the sugar/phosphate to form the complete nucleotide, as shown for adenosine monophosphate.

Japanese Pop Music

J-pop can be traced to jazz music which became popular during the early Shōwa period (i.e. the reign of emperor Hirohito). Jazz introduced many musical instruments, previously used only to perform classical music and military marches, to bars and clubs.
It also added an element of "fun" to the Japanese music scene.
As a result "Ongaku Kissa" (音楽喫茶 – lit. "music cafe") became a very popular venue for live jazz music.
Under pressure from the Imperial Army during World War II, the performance of jazz music was temporarily halted. After the war ended the United States soldiers—who were occupying Japan at the time—and the Far East Network introduced a number of new musical styles to the country.
Boogie-woogie, Mambo, Blues, and Country music were performed by Japanese musicians for the American troops. Songs like Shizuko Kasagi's "Tokyo Boogie-Woogie" (1948), Eri Chiemi's "Tennessee Waltz" (1951), Misora Hibari's "Omatsuri Mambo", and Izumi Yukimura's "Omoide no Waltz" became popular.
Foreign musicians and groups including JATP and Louis Armstrong visited Japan to perform.
1952 was declared the "Year of the Jazz Boom" but the genre itself demanded a high level of technical proficiency and was difficult to play.
As a result many amateur Japanese musicians turned to country music, which was far easier to learn and perform.
This in turn led to a proliferation of country-based music.
In 1956 the rock-and-roll craze began thanks to a country music group known as Kosaka Kazuya and the Wagon Masters and their rendition of Elvis Presley's Heartbreak Hotel.
The rock-and-roll movement would reach its peak in 1959 with the release of a movie featuring performances by a number of Japanese rock-and-roll bands.
Some performers attempted to merge traditional Japanese pop music with rock-and-roll. One of few musicians to be successful in this effort was Sakamoto Kyū with the song "Ue wo Muite Arukō" (lit. "Let's Look Up and Walk"), known in other parts of the world as "Sukiyaki".
The song was the first Japanese song to reach #1 in the United States (four weeks in Cashbox Magazine and three weeks in Billboard magazine) in its native language in America and also to receive a "Gold Record" for selling one million copies.
Other performers learned to play the music and translate the lyrics of popular American songs, resulting in the birth of "cover pop."
However, the popularity of these acts faded as radio and television gave every household the opportunity to watch the original musicians perform. The concept of karaoke and its subsequent popularity can arguably be attributed to the cover pop phenomenon.
From the early 1970s to the mid-1980s the emphasis shifted from simple songs with a single guitar accompaniment ("folk") to more complex musical arrangements known as New Music.
Instead of social messages, the songs focused on more personal messages, such as love. Takuro Yoshida and Yosui Inoue are two notable New Music artists.

Mozilla as Platform

The Mozilla project was started in March 1998 with the goal of developing the successor to Netscape's Communicator 4.x browser suite. Today Mozilla is used by developers as a platform for creating applications that can be installed locally or run remotely over the Internet.
The difference between the Mozilla project's original goal of creating a browser suite and its current use as a cross-platform development framework is not as strange as it may sound at first. A web browser might not seem like an application development framework, but it is. Browsers allow people using any type of computer to access applications such as Yahoo! Mail to send and receive email, Amazon's book ordering service, or eBay's online auction house.
Mozilla has expanded the idea of using a browser to access applications by building on some of the technologies that are used to create web sites, such as CSS and JavaScript. A comparison of web technologies to Mozilla technologies is presented in this chapter and is helpful in explaining how the Mozilla project has turned into a platform for creating cross-platform applications.

Most Profitable Keywords in AdSense system

KeywordBidClicksProfit
selling structured settlements$64.810.1$0.00
cash for structured settlements$63.870.1$0.00
auto insurance quotes florida$62.570.1$0.00
california auto insurance quotes$57.340.1$0.00
auto insurance quotes california$57.010.1$0.00
student loan consolidation interest rate$56.860.1$0.00
lendingtree .com$56.353.5$197.22
consolidate loan refinance student$55.860.1$0.00
audio conference calling$55.320.1$0.00
arizona divorce attorneys$53.560.1$0.00
dui attorney los angeles$52.750.5$26.37
business conference calls$52.410.1$0.00
personal injury attorneys chicago$51.590.1$0.00
mesothelioma treatment options$51.310.1$0.00
copper repiping$50.940.1$0.00
conference calling services$49.651.0$49.65
houston criminal lawyer$49.590.5$24.79
criminal houston lawyer$49.590.5$24.79
corporate conference calls$49.350.1$0.00
sell annuity settlement$49.110.1$0.00
student loan consolidation rates$48.800.1$0.00
irs tax attorney$48.781.0$48.78
california criminal defense lawyers$48.380.1$0.00
universal life insurance quote$48.342.0$96.68
san diego criminal lawyer$48.300.1$0.00
irs help$48.274.5$217.21
web based conferencing services$47.800.1$0.00
american tax relief$47.370.5$23.68
criminal defense attorney los angeles$47.340.1$0.00
pacific coast pillows$47.241.0$47.24
chicago personal injury lawyers$46.810.1$0.00
sell annuity payments$46.730.1$0.00
san diego criminal attorney$46.610.1$0.00
los angeles criminal defense attorney$46.590.1$0.00
data recovery seattle$46.590.1$0.00
student loan consolidation rate$46.292.0$92.58
college loan consolidation$46.292.5$115.72
dui attorney san diego$46.040.1$0.00
consolidate school loans$45.940.1$0.00
federal criminal defense attorneys$45.860.1$0.00
irs problem$45.681.5$68.52
mesothelioma lawyers$45.482.0$90.96
chicago injury lawyers$45.220.1$0.00
federal criminal lawyer$45.180.5$22.59
white water rafting maine$45.180.5$22.59
maine white water rafting$45.180.5$22.59
best home equity loans$45.141.5$67.71
universal life quote$45.112.5$112.77
consolidate college loans$45.090.5$22.54

Friday, July 20, 2007

Most Expensive AdWords keywords

Keyword / Phrase CPC
(US$)
  ditech $46.32
  mesothelioma $44.23
  consolidation $37.50
  consolidate $26.87
  letterhead $22.71
  Mortgages $22.43
  refinance $21.41
  insurance $21.19
  protonix $20.51
  acid reflux $20.08
  dwi $19.27
  phone systems $18.79
  mailing lists $18.21
  credit report $17.37
  Mortgage $16.43
  lawyers $16.37
  Dui $16.28
  loan $15.78
  business cards $14.64
  web hosting $14.64
  settlement $14.36
  lawyer $13.55
  equity $12.98
  loans $12.75
  adwords $12.61
  attornies $11.17
  credit $10.72
  interest rate $10.23
  attorney $9.76
  bipolar $9.39
  depression $9.03
  asbestos $8.13
  skin care $6.14
  anxiety $5.93
  sexual harassment $5.56
  lawsuit $4.20
  Maritime $3.03
  law $3.01
  lawsuits $2.55
  laws $1.36

Squid - free proxy server

Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more.
It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages.
Squid has extensive access controls and makes a great server accelerator.
It runs on Unix and Windows and is licensed under the GNU GPL.
Squid is used by hundreds of Internet Providers world-wide to provide their users with the best possible web access.
Squid optimises the data flow between client and server to improve performance and caches frequently-used content to save bandwidth.
Squid can also route content requests to servers in a wide variety of ways to build cache server hierarchies which optimise network throughput.

Thousands of web-sites around the Internet use Squid to drastically increase their content delivery.
Squid can reduce your server load and improve delivery speeds to clients.
Squid can also be used to deliver content from around the world - copying only the content being used, rather than inefficiently copying everything.
Finally, Squid's advanced content routing configuration allows you to build content clusters to route and load balance requests via a variety of web servers.

XPCOM interfaces for preferences system -setup proxy

Mozilla exposes its preferences system through a few XPCOM interfaces.
Look in the Resources section below for the link to list of preferences-related interfaces.
Three used interfaces are nsIPrefService, nsIPrefBranch and nsIPrefBranch2.
They are frozen and will not change.
It's worth noting that there also is an nsIPref interface.
Despite it being used in some places, it is deprecated and should not be used.
The preferences service is instantiated in the same way you instantiate any XPCOM service; see the article Creating XPCOM Components at XULPlanet for details.)
To get an nsIPrefBranch, either QueryInterface() the pref service (that will give you the root branch) or call nsIPrefService.getBranch() to get a sub-branch.
Here are two examples:
// Get the root branch
var prefs = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);

// Get the "extensions.myext." branch
var prefs = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService);
prefs = prefs.getBranch("extensions.myext.");

to setup proxy, try this ..
var prefs= Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService);
prefs = prefs.getBranch("network.proxy.");
prefs.setIntPref("type",1);
prefs.setCharPref("http","localhost");
prefs.setIntPref("http_port",3128);

X-Forwarded-For (XFF) HTTP header

today i have to setup squid, and this is what I learn about XFF..
The X-Forwarded-For (XFF) HTTP header is a de facto standard for identifying the originating IP address of a client connecting to a web server through an HTTP proxy.
XFF headers are supported by most proxy servers, notably Squid, Apache mod_proxy, Blue Coat ProxySG, Cisco Cache Engine, and NetApp NetCache.
In this context, the caching servers are most often those of large ISPs who either encourage or force their users to use proxy server for access to the World Wide Web, something which is often done to reduce external bandwidth through caching.
In some cases, these proxy servers are transparent proxies, and the user may be unaware that they are using them.
Without the use of XFF or another similar technique, any connection through the proxy would reveal only the originating IP address of the proxy server, effectively turning the proxy server into an anonymizing service, thus making the detection and prevention of abusive accesses significantly harder than if the originating IP address was available.
The usefulness of XFF depends on the proxy server truthfully reporting the original host's IP address; for this reason, effective use of XFF requires knowledge of which proxies are trustworthy, for instance by looking them up in a whitelist of servers whose maintainers can be trusted.

The general format of the header is:
X-Forwarded-For: client1, proxy1, proxy2
where the value is a comma+space separated list of IP addresses, the left-most being the farthest downstream client, and each successive proxy that passed the request adding the IP address where it received the request from.
In this example, the request passed proxy1, proxy2, and proxy3 (proxy3 appears as the client).

Thursday, July 19, 2007

a black day in New York 7/19

An underground steam pipe explosion tore through a New York street near Grand Central Terminal yesterday, swallowing a tow truck and killing one person as hundreds of others ran for cover amid a towering geyser of steam and flying rubble.
Mayor Michael Bloomberg said the explosion was not terrorism, though the blast caused a brief panic about a possible attack.
Eighteen people were taken to local hospitals, officials said.
One person was pronounced dead from an apparent heart attack. Two were in critical condition and another two were seriously injured.
The others suffered minor injuries.
The explosion caused widespread chaos as residents and commuters heard a huge blast -- and feared for the worst.
Thousands of commuters evacuated the train terminal, some at a run, after workers yelled for people to leave the building.
A titanic geyser of steam and mud shot from the centre of the blast, generating a tremendous roar.
The initial burst of steam rose higher than the nearby 77-storey Chrysler Building, one of Manhattan's tallest buildings.
The air near the site was filled with debris.

Mozilla extension

A Mozilla extension is an installable enhancement to the Mozilla browser that provides additional functionality.
This tutorial walks you through the process of building a Mozilla extension that adds an icon to Mozilla's status bar showing the current status of the Mozilla source code (i.e. whether or not the latest version of the code is compiling successfully and passing tests).
The extension will access Tinderbox, mozilla.org's webtool for tracking source code status, to get the status of the code.
Completing this tutorial will give you a basic understanding of how Mozilla's user interface (UI) is constructed, how to find the source code for the UI you want to extend, how to make an installation of Mozilla modifiable, how to use Mozilla's network library to load and parse web pages in JavaScript, and how to use dynamic overlays to package a Mozilla extension for installation by others.
link

Tinderbox is a web tool for tracking the status of the Mozilla source code.The tool enables mozilla.org to be immediately notified of changes to the code that prevent Mozilla from compiling and running (or compromise performance and footprint) so they can get someone to fix the problem or reverse the changes.Mozilla engineers regularly check Tinderbox before changing the code because changes are prohibited while the codebase is broken. The Mozilla sheriff, a rotating position responsible for watching the code and getting engineers to fix breakage, checks Tinderbox even more regularly.
While it isn't difficult to load the Tinderbox web page or sidebar, it would be useful to have an even quicker way to check tinderbox that doesn't require going to a web page, changing sidebars, or even having the sidebar open.
Although there are multiple tinderbox clients machines doing different kinds of builds (f.e. different platforms), most people only care about the overall situation, i.e. whether or not any clients have failed. By checking for build failures first and test failures second, we make sure to show users the worst possible situation, i.e. if any clients have failed to build, we will display a red icon that signifies a build failure; if all clients built successfully but some failed tests we will display an orange icon that signifies a test failure.
Only if all clients reported both successful builds and successful tests will we display a green icon that signifies all is well with the code.

Mozilla, javascript and XUL

thanks for mozilla, it is easy to build your own browser.
Geoke and xul are what you needed
and you can find a simple browser example code
even tabbed browser is only 100 lines.
of course, u need to learn xul and javascript is your base.

Monday, July 9, 2007

in order to do a embedded Geoke project, I found XUL and XULRunner

XULRunner is only around 5M at this moment and very easy to use ...

XULRunner is a Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications that are as rich as Firefox and Thunderbird. It will provide mechanisms for installing, upgrading, and uninstalling these applications. XULRunner will also provide libxul, a solution which allows the embedding of Mozilla technologies in other projects and products.

Deploying XULRunner 1.8
XULRunner 1.8 is a stable developer preview release; here's how it can be used to deploy standalone XUL applications in a production environment.

Enabling Password Manager

These preferences seem to be the default in Firefox, however, they are missing in XULRunner. Without these settings Password Manager will not store login details.

pref("signon.rememberSignons", true);
pref("signon.expireMasterPassword", false);
pref("signon.SignonFileName", "signons.txt");

Sunday, July 8, 2007


i m a java programmer, but only a non-qualified one ...

i love java, i like the open idea of java

java 1.6 wih javascript engine, is what I am using ..

java is open, so i can use it free of charge.

also i like javascript ..web2.0 is based on javascript ..

jus 1 HttpRequest changed the world, and bought the web2.0 to all the internet developers.

jetty - is the embedded http server i like ...

i also like tomcat, jboss, jxxx ..many may j-xx and not start with j ...