Search

Thursday, July 29, 2010

Know about Torrent

This is the original Bit Torrent logo
What is a torrent?

Torrent is a small file (around few kilobytes) with the suffix .torrent, which contains all the information needed to download a file the torrent was made for. That means it contains file names, their sizes, where to download from and so on. You can get torrents for almost anything on lots of web sites and torrent search engines.

    Torrent is the most popular way of downloading large files, including movies and games (remember legality of downloading)

Downloading with a torrent is advantageous especially when downloading files, which are momentarily very popular and whitch lots of people are downloading. Because the more people download the file, the higher speed for everyone (see torrent principle).

    * torrent is a file
    * with torrents you can download almost everything on the net
    * every file (or set of files) need to have an unique torrent file to download it
    * to download anything through a torrent you need a torrent client

You probably already tried another ways of p2p sharing - torrent is just another method. The original BitTorrent client was written in Python and it has been made open-source. Thanks to that, we have a large variety of torrent clients today. Just choose which one you like.


How to download files with a torrent?

Downloading with a torrent is actually very simple. You just need a rightly set torrent client (setting your connection speed is usually all you need to set). Then you open the torrent file inside your client, set a place where you want to download desired files and then just wait till it's downloaded. Downloading with a torrent is no more complicated than using any other p2p application, but even simpler.

    Newest client versions:
    uTorrent - 1.7.7(220 KB)
    Azureus - 3.0.5.0(7,5 MB)


 Download your copy of bitTorrent or uTorrent

Monday, July 19, 2010

Google now selling its last shipment of Nexus Ones

The phones will still be available through some carriers and to developers

Google, which broke mobile industry practice by offering the Nexus One smartphone for sale exclusively on its website, has received its last shipment of the device for online sale.
Once the fresh inventory is sold out, the Nexus One won't be available anymore from Google, though it will still be sold by some mobile operator partners, according to a post on the official Nexus One blog on Friday.


The phone will still be sold by some carrier partners, including Vodafone in Europe and KT in South Korea, and Google will continue to provide support for existing devices, the blog post said. Developers will still be able to buy a Nexus One by logging into Google's Android Market Publisher site and going through a partner company, Google said.
Google introduced the Nexus One on Jan. 5, calling it a showcase for the Android software it was developing. Made in close partnership with Taiwan-based hardware vendor HTC, it featured a 3.7-inch OLED display, a 1GHz Qualcomm Snapdragon processor and the Android 2.1 operating system.
But possibly the most innovative thing about the Nexus One was how it was to be sold. Google offered it unlocked for US$530 or with a T-Mobile USA service contract for $179. Either way, customers could only buy it online, without being able to touch or try out the phone in a store. They had to have a Google login and use Google Checkout to buy the Nexus One.
Soon after the phone went on sale, Google's support forums were hit with numerous complaints from buyers who said they hadn't been able to get prompt assistance from Google, T-Mobile, or HTC when they had problems with the phone. Complaints also cropped up about the cost of getting out of the T-Mobile contract early. The terms of service listed early termination fees imposed by both Google and the carrier, adding up to as much as $550. In the first weeks after the introduction, Google began responding to more customer complaints, and the company later reduced its termination fee.
Versions of the Nexus One also became available for other mobile operators, including AT&T, Vodafone, and South Korea's KT. But on May 14, Google said it would shut down the e-commerce functions of the Nexus One site because sales had fallen short of expectations. "It's clear that many customers like a hands-on experience before buying a phone," and more service plan options, Google Vice President Andy Rubin wrote in a blog post then. The company said it would expand retail availability of the phone through partners.

 

PHP development comes to Google Android

Spanish open source venture provides tools and documentation for PHP developers who want to create Android apps

Developers at an open source company in Spain are leading an effort to boost PHP application development for Android-based phones.
Called PHP for Android (PFA), the project supports Google's Scripting Layer for Android (SL4A) project, formerly called Android Scripting Environment (ASE).

"PFA aims to make PHP development in Android not only possible but also feasible [by] providing tools and documentation," said PFA founder and developer Ivan Mosquera Paulo, a software engineer at Irontec, near Bilbao, Spain, in an email on Friday. More information and releases are found at PFA's website.
PHP support would follow the availability of Android interpreters for Python, Lua, and JavaScript, Mosquera Paulo said.
"I thought that there was no reason why PHP support couldn't be added, so I started to work on it with my team at Irontec. We were really interested in achieving this because we had already worked in Android development (in a project for Vodafone) but our favorite tool is PHP," said Mosquera Paulo. "We thought that it would be great having PHP available.
"We thought that this project would be really interesting for any PHP developer. And we have had far more than 10,000 unique visits, so this proves that we were right. We want this project to be a chance for a lot of people for whom there was a huge development wall: Java," Mosquera Paulo said. The Java language is the primary means of authoring Android applications.
Currently, it is possible to run PHP scripts on Android via PFA's unofficial ASE build or its PhpForAndroid application.

"Our current APK (Android app) provides support to SL4A," Mosquera Paulo said. "Thanks to this, PHP developers can run scripts and test their PHP code on their Android phone or emulator. Our APK installs a PHP version compiled for Android phones and a few extra needed files."
Soon, it will be possible to distribute that PHP code as an Android application.
"We're working on this, and this will mean that PHP developers will be able to sell their apps like Java developers do," said Mosquera Paulo.
The success of the project depends on community feedback and support, Mosquera Paulo said: "We have seen a lot of interest, so we hope that more and more people get involved."
SL4A brings scripting languages to Android by allowing developers to edit and execute scripts and interactive interpreters directly on the Android device, according to Google Labs.

 

Mozilla raises bounty for security bugs to $3,000

The reward for finding eligible security vulnerabilities will increase from $500, and the program extended to cover more Mozilla software

Mozilla, the organization behind the Firefox Web browser, has upped the amount it will pay security researchers for information on security bugs in its products from $500 to $3,000.
The change is part of what Mozilla calls a refresh of its Security Bug Bounty Program, which launched in 2004.

"A lot has changed in the six years since the Mozilla program was announced, and we believe that one of the best ways to keep our users safe is to make it economically sustainable for security researchers to do the right thing when disclosing information," wrote Lucas Adamski, director of security engineering, in a blog post.
Mozilla has also expanded the scope of the reward program, which will continue to apply to Firefox and the Thunderbird email client, and also to the Firefox mobile browser and other services the products rely on. Release and beta products are also eligible.
"These are products we have traditionally paid bounties for in a discretionary basis anyway, but we wanted to make that explicit," Adamski wrote.
Mozilla can deny a reward to a researcher, however, if the organization deems the person has not acted in the best interests of users, Adamski wrote.
Other parts of the program will be retained, however. A reward will still be paid even if a researcher has published information on the vulnerability or if the researcher doesn't have time to work closely with Mozilla's security team.

How to use HTML5 on your website today

Don't wait for the Flash-iPhone war to end: InfoWorld's hands-on guide tells you how to get your websites ready for HTML5 now

 There's been lots written about the politics and process of the emerging HTML5 specification (see "What to expect from HTML5" and "How HTML5 will change the Web," as just two examples), but what working Web developers primarily want to know is: What can I do with HTML5, and when can I start using it? The good news is that there's a lot you can do with HTML5. The better news is that there's a lot that you can do with HTML5 today.

But first, one major caveat: You need to know your audience, though, of course, this is true whether or not you want to start using HTML5. If the majority of your site's visitors still use Internet Explorer 6, then you have no reason to rush. On the other hand, if your site is primarily for mobile browsers on iPhones and iPads, what are you waiting for? But if your site falls somewhere in the middle -- as most do -- here are some handy guidelines to ramping up to HTML5.

What HTML5 features you can use now
Although the HTML5 specification is still a draft being worked on by a standard committee, significant portions are already deployed in Apple Safari, Google Chrome, Mozilla Firefox (with more to come in Firefox 4), and Opera -- and the forthcoming Microsoft IE9 is expected to adopt much of the draft HTML5 specification as well. The When Can I Use site is a great resource, providing detailed breakdowns of what each major browser supports for HTML5 and related emerging Web standards.
Another site, The HTML5 Test, displays compatibility scores, based on the number of supported HTML5 capabilities (out of 300), for each browser (you need to visit the site in each browser you want scored). As of June 12, 2010, the scores were:
  • Apple Safari 5.0: 208
  • Google Chrome 5.03: 197
  • Microsoft IE7: 12
  • Microsoft IE8: 27
  • Mozilla Firefox 3.66: 139
  • Opera 10.6: 159
There's clearly a core of HTML5 features that all the major non-IE browsers do support, which could allow "draft HTML5" websites to be deployed to a large segment of the Web-using population.

Starting from the top. You can use HTML5's doctype now; there's no reason not to. You can even do a mass find and replace throughout your site, looking for (for instance):

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Which can be turned into:

Isn't that considerably clearer and more straightforward? If browsers rendered your pages as standards-compliant before, they will still do so afterward.
Get moving with video. Much of the press about HTML5's video tag has been about the current format battles. There are four competitors -- Flash, H.264, Ogg, and WebM -- all of which hope to be the format of the future, and none of which play in all browsers on all platforms. Sadly, it doesn't appear that browser vendors will agree on a common future format any time soon.
Given that news, it's perfectly reasonable to jump to the conclusion that the video tag isn't ready for prime time. But wait: The bright folks behind HTML5 foresaw this and made video format-independent. In fact, because video can contain multiple source tags, it ends up working out rather well. If your browser doesn't support the first option, it tries again with the second, then again with the third, and so on. It's even valid to fall back to Flash and again to a single image.
The HTML needed to handle this can be found at Video for Everybody, an open source project to support Web-based video using no JavaScript and no browser sniffing.
Semantically speaking. One of the biggest changes coming in HTML5 is semantically meaningful tags. Chances are, your site is full of tags like

Saturday, July 10, 2010

Five reasons why China will rule tech

Recent development points to growing concern in Washington about China's tech moves, but here's why it may be unstoppable

China's focus on science and technology is relentless, and it's occurring at all levels of its society. Its labor pool is becoming increasingly sophisticated, its leadership is focused on innovation, and the country is adopting policies designed to pressure U.S. firms to transfer their technology.

The trend is causing increasing worry in Washington, but there are five reasons why China may yet succeed in its goal to achieve world dominance in technology.

1. China's leadership understands engineering
In China, eight of the nine members of the Standing Committee of the Political Bureau, including the Chinese president, Hu Jintao, have engineering degrees; one has a degree in geology.

Of the 15 U.S. cabinet members, six have law degrees. Only one cabinet member has a hard-science degree -- Secretary of Energy Steven Chu, who won the Nobel Prize in physics in 1997, has a doctorate in physics. President Barack Obama and Vice President Joe Biden have law degrees.

2. China's leadership wants to out-innovate the U.S.

China's political leadership has made technological innovation a leading goal in everything from supercomputers to nanotech. One highlight of this is China's investment in clean energy technologies.

In March, the Pew Charitable Trusts reported that China led the U.S. in clean energy investments. Last year, the country invested $34.6 billion in clean energy, nearly double the U.S. total of $16.8 billion, Pew said.

"It's very sad that Americans spend more on potato chips than we do on investment in clean energy R&D," said John Doerr, a partner at venture capital firm Kleiner Perkins Caufield & Byer, at a forum in June with Microsoft Chairman Bill Gates. He warned of a threat to U.S. future if the country doesn't increase its contribution to clean energy research.

3. China's science and technical talent pool is vast

The technical labor pool in China is so large that Shanghai-based offshore outsourcing company Bleum Inc. can use an IQ test to screen applicants, with a cutoff score for new computer science graduates in China of 140. Less than 1% of the population has a score that high.

Bleum has started hiring a U.S. workforce but sets an IQ score of 125 as a screening threshold because of the smaller labor pool. The company employs 1,000 people in China.

One data point to note: In 2005, the U.S. awarded 137,500 engineering degrees, while China awarded 351,500, according to a workforce study last year.

4. The U.S. is failing at science and math education

A stark assessment of the U.S. failure in science and math education was made by U.S. Sen. Kay Bailey Hutchinson (R-Texas) at a Senate hearing in May, when she compared the performance of students in Texas to those in China.

"In my home state of Texas, only 41% of the high school graduates are ready for college-level math (algebra), and only 24% are ready for college-level science (biology)," said Hutchinson. "Furthermore, only 2% of all U.S. 9th-grade boys and 1% of girls will go on to attain an undergraduate science or engineering degree. In contrast to these troubling numbers, Mr. Chairman, 42% of all college undergraduates in China earn science or engineering degrees," she said.

5. China is getting U.S. technology, all of it

In 2008, Sony Corp. closed what was identified as the last television manufacturing plant in the U.S., in Westmoreland, Pa. It shifted work to an assembly plant in Mexico, but the vast majority of TVs' electronics components are made in Asia. (Dell sources $25 billion annually alone in components from China, for example).

One year prior to the television plant's shuttering, Alan Blinder, a professor of economics at Princeton University and former adviser to the Clinton administration, told lawmakers at a congressional hearing that TV sets had become a commodity and that the loss of the manufacturing jobs was an indication of economic success, since it demonstrated that the U.S. had moved on to the production of higher-value goods.

"If we are to remain big exporters as the rest of the world advances, we must specialize in the sunrise industries, not the sunset ones," he said.

But Andy Grove, co-founder of Intel, wrote in an article this month for Bloomberg that he believes Blinder got it wrong.

The loss of the TV manufacturing wasn't a success, Grove contended. "Not only did we lose an untold number of jobs, we broke the chain of experience that is so important in technological evolution," he wrote.

China's goal is not to just build TV sets and computer components. It has established what it calls an indigenous innovation policy, meaning it wants Chinese-origin technology that is owned by Chinese companies.

This policy, "designed to encourage technology transfer and force U.S. companies to transfer R&D operations to China, will force U.S. companies to transfer technology in exchange for access to its markets," U.S. Commerce Secretary Gary Locke testified at a Senate hearing in June.

China's indigenous innovation policy may be showing results.

One Chinese-owned company, Dawning Information Industry Co., which makes servers for China's market and some foreign markets, just built the world's second-fastest supercomputer. The company includes a photo on its Web site of President Hu Jintao during a visit, illustrating the attention China's government is giving to supercomputing.

China built this system, which it called Nebulae, using Intel chips, but China has its own developing chip technology, and if it follows through on its innovation policy, it's only a matter of time before a Chinese-origin chip is used in future supercomputers.  

Google, China look for way to coexist after six months of public battles

With renewal of ICP license, Google can once more do business in China, but questions about privacy and censorship remain

The Beijing government's decision to renew Google's license to do business in China could be a big step in a long process of negotiations between Google and China to find a way to coexist.

Google announced Friday that China had renewed the company's Internet Content Provider (ICP) license, which enables the search giant to do business in the country. There was widespread speculation over whether the Chinese government would renew Google's license after the public battles the two have been have been waging over censorship and privacy in the past six or seven months.

[ For a less reverent view on Google-China relations, check out what InfoWorld's Robert X. Cringely has to say in "Google's Chinese troubles are over -- for now" | Discover what's new in business applications with InfoWorld's Technology: Applications newsletter. ]

"This implies that relations are warming between [Google] and China," said Rob Enderle, an analyst with the Enderle Group. "Actually I think this reflects concessions Google has probably made that we don't know of yet. China is historically very rigid ... Google will need to learn to cooperate with the country if they want to continue there."

According to Google spokeswoman Jessica Powell, Chinese authorities informed Google of its decision to renew the license early Friday. "We are very pleased that the government has renewed our ICP license, and we look forward to continuing to provide Web search and local products to our users in China," the company said in a blog post.

Hadley Reynolds, an analyst with market research firm IDC, said this step is another chess move in the back and forth of negotiations between the two superpowers.

"I think the Chinese authorities have shown that they are open to exercising some restraint when dealing with non-Chinese businesses," Reynolds said. "This will be an ongoing process, and this could be a short-term compromise from the Chinese perspective. The terms of Google's Internet Content Provider license give the Chinese multiple opportunities to revisit the terms of this relationship."

Google applied for renewal of its ICP license on June 29, a day before the cutoff for submission. The license expires in 2012 but must be renewed every year. Google cannot do business in China without the license.

Industry watchers have questioned whether China might drag its feet or even deny the license as part of its ongoing feud with Google.

The first salvos between China and Google were fired in January when Google threatened to halt its operations in China after contending that an attack on its network from inside China was aimed at exposing the Gmail accounts of Chinese human rights activists. At the same time, Google said it was reconsidering its willingness to censor the search results of users in China as required by the government.
After several months of negotiations with Chinese officials, Google announced in March that it had stopped censoring search results in that country. Chinese users would be redirected to Google's Hong Kong-based site, where they could receive uncensored search results in simplified Chinese.

However, Google made a concession to China late last month when it announced just two days before the deadline for its license renewal submission that the company would no longer automatically redirect search traffic from China to its Hong Kong search engine. The company said it hoped the move would placate Chinese officials, who had threatened to revoke Google's ICP license if the company did not stop redirecting search requests from Chinese users.

It's not clear how much that compromise played a role in getting the license renewed.

Regardless, Enderle said the license renewal is great news for Google's financial end. Google may not be getting a big chunk of its revenue from the Chinese market today, but since the country is an economic and digital powerhouse, the company can't afford to be locked out of it.

"Not being able to compete in China implied a weakness that Google could ill afford," Enderle said. "Being unable to compete in what may become the largest economy in the world would leave an impression of coming obsolescence that no company wants to create."

Augie Ray, an analyst with research firm Forrester, however, was quick to caution that too much shouldn't be read into China's renewing Google's license.

"I think too much could be made of China's actions here," he said. "The country certainly has not changed its stance on Internet control. And with Google's license requiring renewal every year, issues of censorship and control are still likely to be contentious ones in the future. China's actions are good news for Google and demonstrate a desire on the part of the country to work with foreign corporations, but this by no means resolves the many substantial discussion points that remain between China and Western companies."

First look: Firefox 4 Beta 1 shines on HTML5

Sure, Firefox 4's new Chrome-like UI is nice, but the real story is under the hood
While it's impossible to sum up the thousands of enhancements and bug fixes both big and small, the Firefox 4 beta version brings the browser that much closer to taking over everything on the desktop. There are fewer reasons for anyone to interact with an extra plug-in or the operating system. Remember when people cared about whether a machine was Windows or Mac or a Commodore 64? Remember when software needed to be written in native code? Those days are fading away quickly as the browser is more able than ever before to deliver most of the content we might want.
You've no doubt heard about or even seen Firefox 4's new Chrome-like interface. More important are the many new features generally lumped together under the catchall standard HTML5, a specification that's still a draft but has become more of a rallying cry for AJAX, JavaScript, endless tags, and life beyond plug-ins.
[ Also on InfoWorld: HTML5 will spawn richer, more sophisticated websites while also easing development. Read about the nine ways HTML5's impact will be felt in "How HTML5 will change the Web." Learn how to take advantage of HTML5 in "What to expect from HTML5." ]
Many of the enticing new features open up new opportunities for AJAX and JavaScript programmers to add more razzle-dazzle and catch up with Adobe Flash, Adobe AIR, Microsoft Silverlight, and other plug-ins. The CSS transitions, still "partially supported" in Firefox 4 Beta 1, give programmers the chance to set up one model for changing the CSS parameters without writing a separate JavaScript function to do it. The browser just fades and tweaks the CSS parameters over time.
There are plenty of other little parts of HTML5 that have been slowly arriving in previous versions of Firefox but are now being more fully integerated. MathML and SVG data are now a bit easier to mix right in with old-fashioned text. The Canvas and optional WebGL layers can create custom images at the browser without waiting for a server to deliver a GIF. A handful of new tags like
and
offer a more document-centric approach, so the browser can present information more like the data on the printed page. The
tag can be matched with a
tag and the browser will keep the two together and try to put the results near the tag.
These are just some of the options that programmers can use to add more zip to static text. Firefox 4 also adds an implementation of the Websockets API, a tool for enabling the browser and the server to pass data back and forth as needed, making it unnecessary for the browser to keep asking the server if there's anything new to report. If there's a need to store some of this data locally, the JavaScript programmer now gets access to indexed databases. They're not exactly flat files, but they're useful if you want to store and index name/value pairs data.
Converting this information to the HTML tags is becoming more fluid. The Mozilla release notes, for instance, brag that Firefox 4's parser is 20 percent faster at interpreting the innerHTML calls generated by dynamic JavaScript. The frames are supposedly going to be evaluated in a lazy manner so that the page resembles its final form a bit sooner. And now plug-ins are running in separate threads, offering so-called Crash Protection against glitches.
Some of this is clearly paying off. Firefox 4 Beta 1 scored 3,573 on the Peacekeeper benchmark, much better than 2,470, the score produced by Firefox 3.6.4 on the same machine. These values, though, still lag behind the competition. Other browsers, including Chrome, Opera, and Safari, score between 5,000 and 7,000. There is a similar gap in the JavaScript-centric SunSpider benchmarks: 970ms for Firefox 4 Beta 1 versus 750ms for Chrome.
Are these differences notable during normal browsing? Not really. I felt like the latency of the Internet was the real bottleneck, not whether some complicated JavaScript loop was finishing 10 percent faster; after all, I don't see many complicated loops on the Web pages I visit. Most JavaScript does little more than dutifully fetch information and render it. The amount of memory in the computer is probably a bigger killjoy than the measured speed. Version 4.0 is just a beta, of course, and the best JavaScript engine still isn't included yet. Mozilla's release notes say that a better JIT (Just In Time) compiler for JavaScript and layered rendering engine are "coming soon."
There are areas in which Firefox still leads. Firefox's collection of extensions and plug-ins is still broader and more developed than any other. Firefox 4 nurtures this advantage by making it possible to turn the different extensions on and off without restarting. Firefox is also taking the lead by implementing Google's WebM video standard, a wise decision given that Firefox is largely supported by ad revenue from the Google search box. Chrome's own support for WebM is found through the early release version, but that should change soon.
Many people may come away from this beta feeling that Firefox is still catching up with the other browsers. The speed doesn't leapfrog the competition. The tabs are now arranged across the top of the window more like Chrome. Some of the buttons feel just like Opera's versions. It's clearly a competitive market these days, and the best innovations are quickly copied. The browser programmers are taking the best from each other, and this is competition at its finest.