Category: tEcHnO BuZz


2013 Fireworks…

The WordPress.com stats helper monkeys prepared a 2013 annual report for this blog.

Here’s an excerpt:

A San Francisco cable car holds 60 people. This blog was viewed about 1,100 times in 2013. If it were a cable car, it would take about 18 trips to carry that many people.

Click here to see the complete report.

In the last session, we had discussed about the IDE functionality.We came to know that an IDE can compile,debug,interpret etc.Come on lets study these aspects separately so as to get close to the sequence of the processes that follow after a program has been coded.

The program that we write in the editor of an IDE is called the Source code. This source code is stored as .java file.this file is then compiled by the compiler  which then converts the Source Code written in high level language to machine level language.After compilation the machine code is stored as .class file in the same folder where the .java folder resides,until or unless any specific path is specified.This .class file stores the byte code for the interpreter.Lets have a look  at the following,this will help us to elaborate the above discussion.

Compilers

Grace HopperBy the end of the 1950s, both computers and interpreters had become widely entrenched in the business community. Interpreters and virtual assembly languages such as Speedcode, and Shortcode, allowed programmers to become much more productive. These much more productive programmers did what all productive people do–they produced more stuff; in the programmers’ case they produced bigger and better programs.

Well, bigger anyway.

As programs got bigger, the weaknesses of the interpreter approach became obvious. Because so much of the interpreter’s time was spent translating from “pseudo instructions” into machine language, interpreted programs ran much slower than hand written machine language programs. And, in those days, people were cheap, but computers were expensive.

A programmer named Grace Hopper is credited with an insight that seems obvious in retrospect. Instead of translating Speedcode into machine code every time you run the program, just do the translation once. Save the translated code on disk or tape and reuse it every time you need to run your program. This invention was called the compiler. Today, most programming languages use some form of compiler.

Hopper’s language, called Flowmatic, was the last and greatest, of the 2nd generation languages.

Machine Language

The key to understanding these early stored-program computers–as well as the computers we still use today–is to realize that every CPU understands only one language. This language is called machine language .

  • First, all machine language is a numeric language, because the memory inside your computer can only store numeric data. Even when you work with text [such as viewing this web page], the computer is working with binary numbers. Because of this, writing machine language programs is very slow, tedious, and error-prone.

The process of writing machine language programs. [click to enlarge]

  • Second, every different CPU family uses a different machine language. The machine language for the Intel Pentium is entirely different from the machine language used on the Macintosh or the Sun SPARC.

Interpreters

Computers completely lack intuition and common sense. They follow their programmed instructions in a literal–in fact, mechanical–way. You can’t just tell your computer to “print the budget report”; you have to explain every single step.In machine and assembly language, things are even worse. Something as simple as printing a sentence on the screen can take half a page of code; and often, it’s the same half page of code that you’ve written a dozen times already.

To lessen the burden of repetition, and to increase productivity, programmers started to create libraries of code that performed common tasks. Along with these libraries, they also started inventing “higher-level” versions of assembly language. In these higher level languages you could:

  • Combine many lines of assembly code into a single instruction, called a macro. Instead of writing 50 lines of code to print a single line of output, you’d use only one.
  • Avoid having to translate your program into assembly or machine language.

Even with these “high-level” assembly languages, the computer still only understood machine language. Instead of using an assembler, however, these systems used a second program running on the computer to read each “psuedo instruction” and produce machine code. This second program, called an interpreter, only generated machine code when the program actually ran.

The Process of Programming 

When programming with a high-level language, there are certain operations that must be followed. This mechanical process is called the 

edit-compile-run

 cycle of programming. Learning this process is not the same as learning how to program; you must master the process–that is necessary–but mastering the process doesn’t mean you’ll write good, or even acceptable programs.

The Edit-Compile-Run cycle [click to enlarge]

Here are the steps in the process:

Edit

When you write a program in a high-level language, you write your instructions–in the form of programming language statements–using a text editor. The document you produce at this stage is called 

Source code

Compile

Once you’ve written your program, you 

compile

it by using a software program called a compiler. The compiler turns your source code into machine language and produces another document called 

object code If your program fails to compile, (if you have “grammatical” or 
sytnaxerrors in your source code), then you must re-edit the code until it compiles correctly.Once a program compiles without errors, it is syntactically correct. It still may contain runtime errors, or logic errors, however.

Run

Once your program compiles, you 

run

it. All high-level languages require a significant amount of additional machine-language code–in addition to the code you’ve written–before your program will actually run. How this additional code is added to your program varies from language to language and from system to system. Generically, this is called 

linking

. Today, this often happens behind the scenes, and you don’t really have to worry about it.

When you run your program, the first thing you’ll want to do is to verify that it runs as you expect it. This process is called testing. It is not uncommon to find that your program has some logic errors that can only be discovered when the program runs. These errors may even make your program “crash”. These kinds of errors are called runtime errors.

To fix a runtime error, you go back to the very first step–your source code–and make changes there, repeating the edit-compile-run cycle until the program runs correctly.

San Francisco: Facebook is on a spree to clean up fake ‘Likes’ that are posted by spammers or black marketers who seek to make some businesses on its social network platform.

“We have recently increased our automated efforts to remove Likes on pages that may have been gained by means that violate our Facebook terms” of service, the Facebook security team said in a blog post on Friday.

“These newly improved automated efforts will remove those Likes gained by malware, compromised accounts, deceived users or purchased bulk Likes.”

“A Like that doesn’t come from someone truly interested in connecting with a page benefits no one,” Facebook said.

“The cleanup will benefit both users and companies that maintain pages on the network, by giving a more accurate measurement of fan count and demographics”, added Facebook in the post.

Facebook said the number of Likes, or endorsements by users, on corporate pages is likely to drop by less than 1 per cent, on average, after the crackdown.

A new technology has been developed that will make it possible for viewers to enjoy three-dimensional programmes without those bothersome 3D glasses.

Though prototypes of these TV screens already exist, consumers will not have to wait much longer for the market introduction of these autostereoscopic displays.

Nevertheless, the content might be a bit problematic – the 3D movies currently available on Blu-ray are based on two different perspectives, i.e. two images, one for each eye.

 

However, autostereoscopic displays need five to ten views of the same scene (depending on the type). In the future, the number will probably be even more.

This is because these displays have to present a three-dimensional image in such a manner that it can be seen from different angles – indeed, there is more than one place to sit on a sofa, and you should be able to get the same three dimensional impressions from any position

Researchers at Fraunhofer Institute for Telecommunications, Heinrich-Hertz Institute, HHI in Berlin recently developed a technology that converts a Blu-ray’s existing 3D content in a manner that enables them to be shown on autostereoscopic displays.

“We take the existing two images and generate a depth map – that is to say, a map that assigns a specific distance from the camera to each object,” Christian Riechert, research fellow at HHI said.

“From there we compute any of several intermediate views by applying depth image-based rendering techniques. And here’s the really neat thing: The process operates on a fully automated basis, and in real time,” he said

Previous systems were only capable of generating such depth maps at a dramatically slower pace; sometimes they even required manual adaption. Real-time conversion, by contrast, is like simultaneous interpretation: The viewer inserts a 3D Blu-ray disc, gets comfortable in front of the TV screen and enjoys the movie – without the glasses.

Meanwhile, a hardware component estimates the depth map in the background and generates the requisite views. The viewer is aware of nothing: He or she can fast forward or rewind the movie, start it, stop it – and all with the same outstanding quality.

The flickering that could appear on the edges of objects – something that happens due to imprecise estimations – is imperceptible here

The researchers have already finished the software that converts these data.

In the next step, the scientists, working in collaboration with industry partners, intend to port it onto a hardware product so that it can be integrated into televisions.

Nevertheless, it will still take at least another calendar year before the technology hits department store shelves.

The technology will be unveiled at the IFA trade show in Berlin from August 31 to September 5.

Changes are coming soon for how third-party applications can use Twitter’s application programming interface (API), the software tool an app uses for accessing Twitter content.

Despite a warning in June that changes were coming, the switch is drastic enough to raise debate from software developers and critics. Instapaper developer Marco Arment said the changes will make him think twice before adding any Twitter-based features to his software. Others argue that at least Twitter is giving clear guidance to developers about how to use Twitter.

But are Twitter’s changes anything for users to worry about? If you’re happily using Twitter through the service’s own client apps to check your tweet stream and send out tweets, then no. But if you are using a third-party application to access Twitter, here’s some good news and, possibly, some bad news for the future.

Better Refresh

If you access Twitter through a third-party application such as Hootsuite, Seesmic, or UberSocial, two major changes are likely. First, you will soon be able let your app refresh the Twitter stream more often than before without running up against Twitter’s rate limit. The rate limit is the number of times an app can request data from Twitter per hour or day, depending on the type of data your app requests.

Twitter’s current limits only allow apps to grab data 350 times per hour for all data types including direct messages, profile information, and new tweets. That rate will now change to 60 times per hour (once per minute) for each type of data, and up to 720 times per hour for the more popular data requests including new tweets.

As a result, you should see fewer error messages saying that your tweet stream can’t be refreshed or a search can’t be carried out and suggesting you try again later.

Artificial Limits

Twitter is also clamping down on third-party apps by imposing a 100,000-user limit on Twitter client software. Let’s say a company called Awesome Apps Inc. launches Big140, a brand-new Twitter client, on Friday. Big140 could never have more than 100,000 users unless Twitter gave Awesome Apps permission to expand Big140’s user base. Considering that Twitter in March 2011 warned developers to stop making Twitter clients, I am guessing the company will rarely, if ever, allow third-party Twitter clients to expand.

The problem is there are already third-party Twitter apps with millions of users. App maker OneLouder, for example, has between 5 and 10 million installs on Android alone for its Twitter client, Tweetcaster, according to stats Google Play.

Twitter will soon cap apps like Tweetcaster at 200 percent or double their current user base as of August 16. So if we imagine Tweetcaster had 20 million users on Thursday, then the app would max out its user base at 40 million users. As with newer apps, Twitter could give OneLouder permission to expand its user base beyond the imaginary 40 million user limit.

Doubling your user base is no easy feat, especially with the vast array of third-party Twitter clients to choose from, so it’s unlikely these apps will max out anytime soon. At some point in the future, however, a few Twitter clients may have to start offering wait lists before accepting new users or figure out some other remedy to deal with the new user cap.

Twitter plans a few other changes, such as how applications must authenticate with Twitter, but for the most part rate limits and a potential freeze on third-party Twitter clients are the ones with the direct effects — and biggest concern — for users. Twitter’s API changes could also cause developers to be wary of adding Twitter integration to apps or cautious about adding features that use Twitter data. Then again, the improved rate limits and Twitter’s attempt to move developers away from third-party client software could spark new ideas for how to use Twitter beyond simply sending and receiving tweets.

Twitter’s new API will launch in the coming weeks, and once released developers will have six months to comply with the new rules.

Sunny outlook for cloud computing

Cloud computing should be tagged as ‘infrastructure’ to spur growth and establish India as a data management hub.

Cloud computing has become a buzz word in the last few years. The idea of having easy access to powerful IT solutions without the huge cost implications of IT infrastructure is indeed an impelling value proposition. The technology allows storage of data and access to software on a pay-per-use model, thus helping companies cut costs. It also promises to revolutionise e-governance initiatives and fast-track healthcare and education delivery in the country.

The chief information officers, or CIOs, of global companies are already planning ‘asset-light IT architectures’ for the future. IT majors such as IBM and SAP are investing heavily in developing cloud infrastructure and capabilities.

The think-tank of Indian IT industry should ensure that we do not lose our sheen and rest on past laurels. The Government should take a holistic view of this sector and formulate policies to safeguard its interests by enabling a level playing field.

The Government has been mulling ways to deliver e-governance services through cloud-based IT services. This has opened up a whole new market for IT players. As cloud projects can enable quick and easy delivery of IT resources, it can help accelerate growth in the SME segment and generate employment.

A carefully deliberated cloud strategy is a must to ensure the country accrues maximum benefits while minimising risks. In essence, the Government should play a pivotal role in helping Indian entities take advantage of the cloud revolution for economic growth. One of the biggest challenges posed by the cloud’s fluid architecture is data security, which calls for amendments in current laws to prescribe security measures. Another key factor for the success of cloud-based products and services is the availability, location, security and quality of data centres. This is a key requirement for projecting our capabilities to global clients.

To develop the sector further, cloud should be categorised as ‘infrastructure’ — similar to telecom and education. Infrastructure development should become a key government initiative that will provide the land, power, technology and human resources to establish India as a data management hub. Currently, India lags developed countries in data centres. The economic benefits of hosting data management centres are huge, and the cloud policy should provide the vision for it. It should also take into account data sovereignty and governance issues, and study global practices in resolving jurisdictional conflicts. It should look into the changes needed in an organisation’s security practices to facilitate periodic review/ audit of critical cloud infrastructure.

The policy should also formulate a suitable mechanism allowing law enforcement agencies to collect and analyse personal and electronic data under existing laws. It should cover aspects such as access, storage format and information sharing, retention period, content regulation and regular reporting.

Last but not the least, the Government should focus on accelerating the adoption of cloud computing in India, especially for e-governance projects, by providing tax breaks or other incentives to cloud players. This will enable Indian companies to develop an effective cloud ecosystem and prove our credentials to the world.

 

[Clint Boulton]Clint Boulton

Reporter

While some CIOs may be waiting for a Windows 8-powered tablet to take on the iPad, the Samsung Series 7 device is unlikely to be a contender. However, this device—which can be connected to a docking station and an external keyboard—just might be a viable alternative to the laptop.

The Series 7 weighs about twice as much as an iPad, but less than many full-featured laptops. That lightweight form, the ability to boot up quickly, and a new operating system designed for touchscreens of all sizes, mean that this device might be the only computing device that some people need. And the Series 7 also might be appealing to CIOs who are looking for an easy-to-administer Windows computer.

After testing the software–officially, the “release preview” code, or the version directly before Microsoft shipped its “gold code” iteration to manufacturers–on Samsung’s Series 7 tablet for the last week or so, I was struck by how much the software maintained the usability of desktop versions of Windows, albeit designed for the touch screen experience

The opening Start screen does away with the traditional Start button long associated with the Windows platform. Instead of moving around the screen with a cursor and mouse, I tapped on small, square tiles like those found on the Windows Phone, and moved swiftly from calendar application to desktop programs, photos and maps. I enjoyed the dynamic tile icons Microsoft has introduced with the Windows 8 Start screen. They display live information. When a new e-mail arrived, a notification popped up on the tile to notify me. When the local weather report changed, the live weather tile updated accordingly.

My test unit came with Office Pro Plus installed, affording me access to 2010 versions of Microsoft Outlook, PowerPoint, Excel, and SharePoint, essential tools for modern office productivity. I navigated these applications and created documents with them smoothly, evidence that Microsoft had successfully transferred the Windows experience to a larger touch screen device. It felt a little strange to use finger gestures to navigate programs that I’ve accessed for the last decade with a mouse. But I got used to it soon enough.

Typing on the Windows 8 tablet was a pleasant experience. The character keys were wide enough to reduce my typos. And on the numeral page, Microsoft has separated the punctuation keys, which are on the left, from the number keys, which the company situated on the right. Separating these key sets on halves of the screen sped up my typing considerably. Creating an efficient typing experience is crucial for the success of Windows 8 on a tablet. CIOs considering Windows 8 tablets will want to make sure that employees type as effectively on the tablets as they can on laptops. For those who aren’t comfortable typing on a tablet, Microsoft has included a docking station and Bluetooth keyboard with the review units to approximate the user experience of a laptop.

As pleasantly shiny and new as Windows 8 feels, my recommendation comes with some caveats. First, logging in to use the tablet and its apps was cumbersome. I haven’t been a user of Microsoft’s online services for years. Consequently, to use the tablet I had to create a Hotmail account to associate myself with the device. When I tried to access Microsoft PowerPoint I had to enter a 25-digit product code supplied by Microsoft, which granted me access to PowerPoint and the rest of the Office Pro Plus suite. Other apps asked me for things like my SkyDrive password, which is essentially the Microsoft Live Web mail password.  To be fair, this set-up process is no different than when you buy a new Windows PC and enter software keys to download new software, but it slowed me down a bit.

Organizations with Active Directory network administration software should have a reasonably easy time configuring Windows 8. Seton Hall University CIO Stephen Landry, who has deployed roughly 450 Samsung Series 7 machines to faculty and students with the same software I’m testing, told me his process was much smoother because the school’s faculty, staff and students have been using Microsoft Live for e-mail since 2009. “We found provisioning very easy,” Landry told me Wednesday. He said he has a server on campus so that when students register at the school, they are assigned a Live account within minutes. Once joined to the Seton Hall domain, the tablets are enabled with WiFi access by Microsoft’s Active Directory network administration software.

The Samsung Series 7 weighs close to 2 pounds, or nearly double the weight of the iPad. Therefore, users may perceive this machine as more of an alternative to the laptop than other tablets. That may not cut it for some CIOs who like to carry their tablets from home to car and office. But if the reports from Microsoft are true, come October there will be a flood of Windows 8 tablets on the market, some of the lighter and some of them heavier than this Series 7 machine.

Microsoft has successfully developed a version of Windows that will run smoothly on a tablet, with Office applications that have been optimized for the touch experience. I can recommend this device for corporate road warriors tired of lugging around laptops. And CIOs seem to enjoy it. “I have to say I am a fan,” Terex CIO Greg Fell told me Wednesday. “I am using it inside the firewall and it works perfectly. I had an iPad the day it was first released, but it is in my desk and has not been turned on in two months. The Samsung has replaced my iPad and laptop with one device very successfully.”

SAN FRANCISCO: Google on Friday said it is tweaking its search formula to give higher priority to legal content and sink rankings for websites hit with piracy complaints.

“Starting next week, we will begin taking into account a new signal in our rankings: the number of valid copyright removal notices we receive for any given site,” Google senior vice president of engineering Amit Singhal said in a blog post.

“This ranking change should help users find legitimate, quality sources of content more easily — whether it’s a song previewed on NPR’s music website, a TV show on Hulu or new music streamed on Spotify.”

More than 200 “signals” are factored into Google’s secret search algorithm for determining what gets priority on results pages.

Since Google revamped its copyright removal process two years ago it has been able to gather much more data about pirated content popping up online, according to Singhal.

Google said that it receives more copyright removal notices daily – some 4.3 million in the past 30 days – than it did in all of 2009.

“Sites with high numbers of removal notices may appear lower in our results,” Singhal said.

Google provides “counter-notice” tools for website operators to challenge piracy accusations.

Motion Picture Association of America senior executive vice president Michael O’Leary said the film industry group was optimistic that change would help steer people away from “rogue cyberlockers, peer-to-peer sites, and other enterprises that steal the hard work of creators across the globe.”

“We will be watching this development closely — the devil is always in the details — and look forward to Google taking further steps to ensure that its services favor legitimate businesses and creators, not thieves,” O’Leary said.

Google is trying out a new feature which would enable its web search engine results to integrate information from users’ personal email accounts such as Gmail.

“Sometimes the best answer to your question isn’t available on the public web – it may be contained somewhere else, such as in your email,” Amit Singhal, Google’s senior vice president in charge of search, wrote in a post on the company’s blog.

“Starting today, we’re opening up a limited trial where you can sign up to get information from your Gmail right from the search box,” Xinhua quoted him as saying.

Singhal noted that the new feature is an attempt to make Google’s search results to be “truly universal.”

As an example cited by Google, when signed up users search for “my flights” on Google’s public web search engine, they will see their flight confirmation emails for any upcoming trips right on top of the search results.

Google said the field trial of the new feature is now only accessible on its search website google.com in English.

Singhal also announced that an enhancement to its search service, called Knowledge Graph, will now be extended to users in every English-speaking country after its launch in the US in May 2012.

With the Knowledge Graph, users will see a panel on the right-hand side of the Google search results page, which provides a summary of key facts about users’ search with the most useful and interesting information related to the particular topic.

According to Google, the Knowledge Graph feature is based on its database which now includes more than 500 million real-world people, places and things with 3.5 billion facts about and connections among them.

In another update to its search engine, Google Wednesday said that it will soon offer voice search in its search applications for users of Apple’s iPhone and iPad following the availability of the function on devices running Google’s Android operating system.

Microsoft has announced that it has completed the product development and testing of Windows 8 and is releasing its next generation of operating system to computer makers. “The Windows 8 team is proud to share with you that a short while ago we started releasing Windows 8 to PC OEM and manufacturing partners,” said Microsoft’s Windows engineering team on their blog.

“This means our next milestone will be the availability of exciting new models of PCs loaded with Windows 8 and on-line availability of Windows 8 on October 26, 2012.”

The step, which is called “release to manufacturing” in the technology circle, means computer manufacturers now get the final version of Windows 8 and can start to install the system onto computers, reported Xinhua.

On Oct 26, Windows 8 will be available via retail and preloaded on new PCs and tablets. Consumers whose computers are running previous versions of Windows will be able to get the software by upgrading for $39.99.

Microsoft also has an upgrade offer for customers who buy a qualified PC running its current Windows 7 system between June 2, 2012 and Jan 31, 2013 to get the Windows 8 upgrade for just $14.99.

On the same day of the official release of Windows 8, Microsoft will also start to sell its tablet computer Surface, one of the company’s most-anticipated products in years.

The tablet will run mobile versions of Windows 8.

Windows 8 marks the biggest change Microsoft has ever done to its operating system as worldwide users have been used to the Windows 95 style for 17 years. Microsoft hopes the overhaul will allow it to regain ground in mobile computing lost to Apple’s iOS and Google’s Android operating systems.