Monday, May 26, 2008

Vista UAC Better At Rootkits Than AV

Vista has been the favorite punchbag of the blogosphere, but I have to say that I think some of the features that are part of Vista are really interesting and useful. UAC is one of those useful features of Vista that's been brought in from the Unix world of superuser/sudo. PCWorld reports that Vista's UAC (User-Access Protection) does a better job at detecting rootkits than antivirus products. I do not completely agree with their comparison of UAC vs Antivirus products, but it does highlight a very important point.

Windows Vista's UAC shows a dialog box every time something important is being changed in the system. It tries to warn the user about some system settings are being changed. But like most other good things, it has a side-effect. Vista's UAC screen comes up on the screen too many times and feels like its a nag-screen. But in reality, after some initial days, the Vista UAC screen doesn't come up often and Vista learns what operations are allowed by the user as non-malicious. So, UAC is a good feature...right?? Yes, it is, but then patience is a virtue rarely found in computer users. Instead, most people I know turn off UAC as soon as its Vista is installed.

Vista-UAC

On the other hand antivirus products sit on the system and observe files and downloads. They compare the files with virus signatures that are downloaded regularly off the internet. Whenever some file or behavior matches to that of a virus signature, the antivirus product shows a red flag! But rootkits are a lot more difficult to inspect, especially after your system has been infected with one. PCWorld reports:

Of 30 rootkits thrown at XP anti-malware scanners, none of the seven AV suites found all 30, a similar story to the six web-based scanners assessed. Only four of the 14 specialized anti-rootkit tools managed a perfect score.  The results for Vista products were harder to assess because only six rootkits could run on the OS, but the testers had to turn off UAC to get even this far. Vista's UAC itself spotted everything thrown in front of it.Only three of the 17 AV tools for Vista managed to both detect and successfully remove them, F-Secure Anti-Virus 2008, Panda Security Antivirus 2008, and Norton Antivirus 2008.

Rootkits look so similar to Operating System files, that most antivirus can't accurately detect them and its even harder to remove them considering that some incorrect detection may make the system instable. Rootkits are also not specifically only a threat to Windows, but are across every major operating system. Although with UAC, Vista gets the same ideology of protection that Linux or other UNIXs get. The only major problem with it is that the user has to be vigilent enough to realize the rootkit is being installed on the system and stop that operation from happening.

Thus, it is important to note that UAC does provide good security, but its upon the user to understand what is happening in the system. Another lesson is to realize that antiviruses cannot save you from everything. You have an intellect...use it!!

Saturday, May 24, 2008

Improve Apparent Application Performance Through UI

Have you ever felt that your application feels heavy or takes a lot of time to load? Do your users and customers expect "Improved performance" in the what's new list with every release? Does your manager feel you've been sleeping when he asked for performance improvement? Don't worry... this post is will provide hints on how to improve performance by making the user feel that the application is smoother and faster.

As developers, we generally tend to look under-the-hood to improve performance. A better algorithm, lesser memory leaks, better caching etc... is what we think when we wish to improve performance. But with just some simple user-interface (UI) tweaks, we can do wonders. Its not that the above improvements don't work. Its always better to optimize things under-the-hood, but a often simpler and faster way to speed up the feel of your application is at the UI-level.

To give you a few examples of widely used applications, Windows Vista SP1 is supposed to have improved file-transfer performance. One of the improvements was to improve the UI and it really proved useful to convince the user of a better performance. For web applications the use of AJAX improves perceived performance. Although whole page refresh takes longer and AJAX will help load only certain page elements, the implications of use of AJAX is more than that. Most of the times, even if AJAX takes longer to process a server request, we can have asynchronous smaller updates to a webpage and since the user saw some change on the page, it makes the user feel that the operation is happening faster, although in reality its gotten slower.

To point out another example, which I observed 3 days back was with the gmail's new loading screen. Gmail seems to advertise improved performance with the latest release, but I've observed that the loading time has actually increased. But since they added a new loading screen with a progress bar (screenshot below), it feels faster than previous loading times.

Gmail-Loading

From those example we come to understand that perceived performance can be improved by:

  1. Smoother ending to a loading screen makes the user feel that the loading finished faster.
  2. Quick start to a loading process feels like faster performance
  3. Smaller but quicker changes improve perceived performance
  4. Shortening transition animations makes user feel that performance has improved.

Friday, May 23, 2008

Intel to Own Hard-disks in Centrino 2

Intel has been on a war to conquer every PC component. And as the war wages ahead, Intel is going ahead to capture the hard-disks in laptops through the intel_logo Centrino 2 branding. Intel will be adding SSD drives to the list of requirements to make a laptop have the Centrino 2 logo. Intel has recently uncovered gold in manufacturing and this seems to be a logical steps towards increasing demand for these drives.

Intel's Centrino has been the most successful PC branding and its synonymous with laptops with Wifi. If Intel Inside brought processors to the limelight, Centrino made Wifi and Wireless Internet a necessity inside laptops. Intel has plans to do something similar with SSD (Solid State Drives) in laptops.  Intel High Performance SSD is mainly targeted towards enterprise, mid-range and high-end notebook markets. Intel High Performance SSDs come in 2 variations - Client X25-M (2.5 inch) and Client X18-M (1.8 inch). Both the SSD drives will come in 80Gb sizes and will have the SATA interface. By the end of the year, Intel will be selling 160Gb SSDs and 250GB in 2009.

If you think that Intel SSDs is only good for Intel, then its an incorrect notion. Intel SSDs are the best performing SSD in the market and come at excellent sizes. Intel is also pricing these pretty competitively. The SSDs also require less power compared to normal hard-disk drives and this means that the battery life of such devices are higher. These laptops will also feel lighter and perform equivalently or better in most conditions.

NVidia Wishes It Could Live Like Intel

Nvidia has been kicking quite a lot of mud on Intel. Recently, it started with Nvidia claiming the GPU is more important than the CPU, then it was calling nv-intel Larabee a powerpoint slide and then claiming that Intel is a monopoly that doesn't want anyone else in the market. But in reality, NVidia dreams to be at Intel's position and its been proved once again with NVidia buying Utah-based ray-tracing company RayScale.

If you've been following the discussion, or you read the above links, then you'll realize how pissed off the Nvidia CEO Jen-Hsun Huang has got with Intel. The reason for this anger is that Intel has been researching on architectures that are supposed to replace GPU (graphic cards) from computers. If Intel succeeds, it means Nvidia are without a market. Intel calls these next-gen processors that will be able to process graphics along with normal CPU operations as Larabee. AMD is also working on something similar called Fusion. NVidia on the other than doesn't have much to bet on. Although CUDA is starting to make GPUs do the work of CPUs, its way more steeper upgrade curve. Imagine porting all your normal Apps to CUDA vs Optimizing your games for a CPU that can show graphics.

With all that trouble knocking on Nvidia's doors, obviously you can't blame Jen-Hsun Huang for his anger. But today's buy of RayScale could point to what NVidia could do in the future. Intel has been pursuing a lot of research on Ray-tracing as a replacement for the vector processing that we see on today's graphic cards. Ray-tracing can be done on CPUs or Larabee/Fusion and could render images on screen, with more realistic lighting and shadow effects. Currently it takes a lot of processing, but it isn't too far from becoming mainstream once we have optimized processors. NVidia may be preparing for such a product and RayScale could be its software partner to move in that direction.

Nvidia also does not have the great fabs that Intel owns. Intel's strength is its production and NVidia really can't manufacture its own designs. Thus, if Nvidia even manages to create a killer GPU+CPU, how can it create enough of these for the entire world?? AMD on the other hand with their ATI buy can switch anywhere between a CPU+GPU or GPU+CPU... But haven't you heard: If you've got one leg in one boat and the other leg in another boat, you end up catching your groin!!

Thursday, May 22, 2008

Office 2007 to Support ODF in SP2

According to News.com, Microsoft will be supporting ODF (Open Document Format) in Office 2007 through Service Pack 2 (SP2). Office 2007 SP2 is expected to be released in Q1 2009 and will be adding support for saving and opening ODF files, just like other competing office suites like OpenOffice has been doing.

Microsoft recently had been criticized widely for the ISO standardization of its OOXML format (docx, pptx...etc). The entire community of open-source document suites was against the standardization of OOXML. Thus, this announcement comes as a surprise after the recent tussle with the ODF community. Along with ODF, Microsoft will be increasing compatibility and support for Adobe's Portable Document Format (PDF) and XML Paper Specification (XPS).

Tom Robertson, general manager of Interoperability and Standards at Microsoft, said:

"We have heard from customers and governments that they would like to see us do this. Now is the time to announce this support. It's also important to announce this now because we want to get involved in the maintenance of ODF. We have ongoing dialogue with the EC, so we will absolutely have a discussion with them about these steps [supporting ODF] and get whatever feedback they may have on it".

Microsoft also has plans to join the Organization for the Advancement of Structured Information Standards, or OASIS, which is the primary body for the standardization and improvement of the ODF format. How Microsoft is going to affect the future of document standards is really an important question that everyone needs to be asking? We will really have to see how Microsoft is welcomed by others in the community after the recent clash between the two formats!

Intel HexaCore Dunnington at 2.66Ghz

Intel has taped out its six-core processor running at 2.66Ghz, which it plans to release sometime in Q4 2008. Intel's six-core processor is currently codenamed Xeon Dunnington has 3 dual-core processors stuck with each other and run as a single packaged processor. The processor will require a new socket to run. But the good news is that Intel is able to extract good speeds from it.

Dunnington is a reply to AMD's 3-core processors (TriCore), which AMD had initially thought to be value-for-money for the customers. Intel on the other hand has no plans to sell Dunnington's for cheap and will be sold only as server processors, under the Xeon brand. The Dunnington processors have a huge cache of 16MB, which should be very attractive for applications that run a lot of threads. Another news has it that, Dunnington will be running a single thread per core, and does not use HyperThreading (HT) technology.

The last time I met an Intel Design Engineer from Bangalore, I had heard that Intel was much impressed by Sun's designs in Rock or Niagara 2. Lots of concurrent threads on a core are very good on servers. Intel seems to going forward with the core-race at the moment, but I expect a switch to more threads on a core very soon!!

Tuesday, May 20, 2008

Opera Affirms Popularity of Social Networks

Everyone knows that Social Networks are the biggest phenomenon of Web 2.0. Facebook, Orkut and MySpace is on everyone's online list. Opera today affirmed Opera that Social Networks are the most visited websites by people using mobile phones. According to the latest figures released by Opera, traffic to social networks comprise almost 40% of the mobile web.

opera_server Opera Mini is the most popular web browser on the mobile phone and is available on all kinds of platforms. Opera Mini is free and comes pre-installed on a lot of mobile devices. Opera renders webpages through an innovative technology. Opera's mobile software uses a remote server to pre-process Web pages before sending them to your phone. Web content is compressed to reduce the size of data transfers, enabling fast browsing experience at low costs even on simpler phones. By doing this, Opera Mini is able to display the web page as it is viewable through a desktop browser, but decreases the size of the images. This makes webpages to load faster and costs less to people who have limited data services on mobile phones.

Opera Mini thus provides information to Opera's servers on what websites are being accessed. Thus, today's report can be considered to be pretty accurate. I have been using the latest release of Opera Mini 4.1 for the past few days and its been a very good browsing experience.

Another interesting thing to notice from the report is that people still visit a lot of .mobi and WAP websites. It accounts for 23% of the traffic. But Opera mentions that this number is on the decrease and people are moving to the full web experience.

As far as India goes:

Snapshot: India favors social networking, with nearly half (48.9%) of all traffic going to social networks.
  1. www.orkut.com
  2. www.google.com 
  3. in.m.yahoo.com
  4. www.peperonity.com
  5. gallery.mobile9.com
  6. www.mocospace.com
  7. www.160by2.com
  8. www.mobango.com
  9. www.itsmy.com
  10. www.indianrail.gov.in

http://peperonity.com seems to be the surprise. Didn't know that this site was so popular for mobile users in India as well as from all around the world. Indonesia and U.S mobile users are the biggest users of social network. 63% of opera mini users surf these websites and it comes as no surprise that people now use the mobile device, just like they use their PCs.

With newer internet devices coming, newer processors being created for such devices, newer mobile operating systems coming up... the mobile web is surely the next big thing in the world of technology.