Skip to main content

Posts

Showing posts from October, 2011

Why blame the government for Team Anna’s mess???

Team Anna is in a mess. Its high profile members – most notably Kiran Bedi, Arvind Kejriwal and Prashant Bhushan – are in a mess. But the mess is one of their own making. Why blame the government? Take the case of Kiran Bedi. Her fudging of travel accounts was brought out by the Indian Express. It was this newspaper that front-paged details of the various trips that Kiran Bedi made and overcharged for. It was then the Times of India that actually spoke with some conference organizers and brought out their claim that Kiran Bedi had not informed them about her scheme at all. It was only after all of this came out that people like Digvijay Singh started commenting on her; demanding that she quit. It was she who defended herself like politicians do when they are caught – rather than accepting her mistake. It was she who did not offer to quit – while that’s what she demands from politicians all the time. She was double standards personified – and she has only herself to bl...

Vettel lifts cup at historic Indian GP

It’s always special the first time and the Indian GP at the Buddh international circuit was just as special. The Indian Grand Prix, an event many years in the making finally made history. And taking top honours in this momentous occasion was none other than the already double world champion Sebastian Vettel. The 24 year old German romped on to his 11th victory of the 2011 season. But it wasn’t easy for sure. As the lights went out Vettel sprinted to the lead at the start and worked very hard to build a field, which he then controlled as he led every lap. That left Webber squabbling with Button who had pulled a fast one on Webber at the very first corner. There was more action at the back as Lewis Hamilton and Felipe Massa added a little spice to proceedings by coming together for the fourth time this season. Further back, the chaos predicted for turn three arrived early as Rubens Barrichello clipped the back of Williams team-mate Pastor Maldonado and, in then having to move left...

Wipro Q2 profit beats forecast

country's No. 3 software services exporter, posted a 1 per cent rise in quarterly profit, beating street estimates, helped by a weaker rupee and rise in spending on outsourcing by overseas clients. Bangalore-based Wipro forecast third-quarter revenue of $ 1.50 billion to $ 1.53 billion from its IT services unit, which accounts for three-quarters of its total revenue, a rise of 2 percent to 4.1 percent from the second quarter. Country's showpiece $76 billion industry gets more than 90 per cent of its revenue from providing technology services to overseas clients and counts the United States and Europe as its biggest markets. Europe is the second largest market for the software firms, and the euro zone debt crisis is a worry for the sector that has been looking to increase its sales to the region to hedge against their excessive exposure to the United States. "Macroeconomic sentiments continue to remain uncertain," Wipro's billionaire Chairma...

Android 4.0 Ice Cream Sandwich: 7 new features

The latest version of Android, Ice Cream Sandwich 4.0, or simply Android ICS introduces a bunch of new features never seen before in its prior iterations. Android 4.0 ICS has a brand new look although it does maintain some resemblance to Android Honeycomb, it would be available for tablets as well as smartphones. The Galaxy Nexus would be the first smartphone with the new version, and it is expected to hit the Indian stores in November. Apart from the features we have mentioned here, Ice Cream Sandwich has a bunch of new features which deeply integrate into your smartphone and tablet experience. These are the ones we think are really special.

Yeddyurappa moves HC seeking anticipatory bail in 3 other cases

Jailed former Chief Minister B S Yeddyurappa today moved the Karnataka High Court seeking anticipatory bail in three of the five cases against him relating to alleged irregularities in denotifying lands. Justice H Billappa adjourned to November 3 hearing on the bail plea of the 68-year-old BJP leader, giving time to counsel for complainant and advocate Sirajin Basha to file objections to it. Basha had filed the complaints in the Special Lokayukta Court. Yeddyurappa, who is currently lodged in the central prison at Parappana Agrahara on the city outskirts, has already filed a plea for regular bail in two cases. Special Lokayukta Judge N K Sudhindra Rao had on October 15 rejected his bail plea in regard to these two cases and remanded him to judicial custody -- first to October 22 and later extending it till November three. Arguments on his bail plea with regard to these two cases are on before Justice B V Pinto of High Court. Basha has already filed a written statement of...

Amar Singh discharged from AIIMS, goes home

New Delhi, Oct 30 (IANS) With his health improving, former Samajwadi Party  leader and an accused in the 2008 cash-for-votes scandal  Amar Singh  was Sunday discharged from the  All India Institute of Medical Sciences  ( AIIMS ) here and went to his residence. Amar Singh, who was admitted to AIIMS Sep 12 due to an infection in his kidneys transplanted in 2009, was taken in an ambulance to his Lodhi Estate home, accompanied by his aide and  Rampur MP Jaya Prada . A bearded Amar Singh was welcomed home by his children, amid slogans from supporters belonging to his outfit  Lok Manch . He had been granted bail by the  Delhi High Court  Oct 24 on humanitarian grounds. He had been arrested Sep 6 for his alleged involvement in an attempt to bribe MPs ahead of the July 2008 parliament trust vote, in what came to be known as the cash-for-votes case. Later, Amar Singh told reporters that he may have to go back to AIIMS for a check-up on Nov ...

Hewlett-Packard sent out notices today that it is officially out of TouchPads, meaning there will be no more shipments of those popular $99 tablets.

The notice says, "As you signed up for updates on the HP TouchPad, we wanted you to know that we are officially out of stock. Some retailers will have some stock available, but our online inventory is depleted." The only other avenue for getting a TouchPad is Best Buy. The retailer  announced today  that it will offer a 32 GB HP TouchPad for $149.99 with purchase of an HP or Compaq Laptop, Desktop or All-in-One computer. The official demise of the TouchPad coincides with a  report  Friday pointing to the end of TouchPad production. Citing sources, Asia-based Digitimes said TouchPad manufacturer Inventec had laid off 400 employees because it "has to stop production of Hewlett-Packard's...WebOS tablet PCs, and also expects no new orders for other devices." And in related news, there was a  report  Friday that HP will shut down the group responsible the WebOS software. HP CEO Meg Whitman said Thursday in an conference call that the compan...

Android phones have a bad history of not getting the latest OS upgrades, often leaving them several versions behind, says a new study.

Tracking 18 different Android phones shipped in the U.S. through the middle of 2010, the Understatement's Michael Degusta found that most have not received major OS upgrades or even minor support patches , even though they're still under contract. Pointing to one example, Degusta said that the Samsung Behold II on T-Mobile was supposed to be upgraded to Eclair, aka Android 2.1. But by the time the phone hit the market, it was already two versions behind, and then Samsung never bothered to upgrade it. As another example, the Motorola Devour on Verizon was already one version behind on the OS when it debuted in early 2010. Less than a year later, it was three major versions behind. Breaking down his study, Degusta uncovered several specific items: 7 of the 18 Android phones tracked never ran a current version of the operating system. 12 of 18 only ran a current version of the OS for a matter of weeks or less. 10 of 18 were at least two major versions behind within their two-ye...

Validation of email in php

    Validation of email address in php function is_valid_email ( $email ) { $result = TRUE ;   if (! eregi   (" ^[_a-z0-9-]+( \. [_a-z0-9-]+)*@[a-z0-9-]+( \. [a-z0-9-]+)*( \. [a-z]{2,4})$ ", $email ))   { $result = FALSE ; } return $result ; } Use this function and pass the email address which you get from the your field.... :)

Ajax call before page submit

Hi there... ok now we want to complete ajax call first and after that the page should submit then write your code like this one on your onclick function :: try to take it as image or normal link .avoid to use submit button < a href="javascript:void(0);" onclick = "javascript:return name_of_function()" > Now in your function use jquery or normal ajax... function function_name() { var html = $.ajax({ type: "GET", url: "ajax_main_sectors.php", data: "sec="+sec_id, async: false }).responseText; Write this line if you want to replace the content in appropriate id.... document.getElementById("name of your id").innerHTML=html; //now.... submit your form $('#id of your form').submit(); OR // in normal way document.nameofyourform.submit(); }

Image Upload

For upload image in php method = "post" action = "proc.php" enctype = "multipart/form-data"> input type="file" name="photo" input name = "submit" type = "submit" value = "Submit" now when user select an image and press submit button then the proc.php will call... The code of proc.php is $uploads_dir = '/images' ; $pic=($_FILES['photo']['name']); $tmp_name = $_FILES [ "photo" ][ "tmp_name" ] ; move_uploaded_file ( $tmp_name , " $uploads_dir / $pic " ); this is the way you can upload your image

Javascript Operators

Operators Normally operators are same in javascript like any language. Lets consider an example. var p=5 ; var q =10; var z; z = p+q; var x; x=5+5; o/p : 10 x="5"+"5"; o/p : 55 x=5+"5"; o/p : 55 x="5"+5; o/p : 55 ... When you want to concat two strings at that time you have to use + sign For example : var str = "Welcome" ; var str1 = "To javascript"; var final ; final = str + str1 ; o/p : WelcomeTO javascript. In above output it doesn't contain space between Welcome and To.. If you want to do that at that time you have to write final = str + " " + str1; o/p : Welcome TO javascript.

Javascript Variable

JavaScript Variables As with algebra, JavaScript variables are used to hold values or expressions. A variable can have a short name, like x, or a more descriptive name, like carname. Rules for JavaScript variable names: Variable names are case sensitive (y and Y are two different variables) Variable names must begin with a letter or the underscore character The Main thing of javascript variable is u can store any kind of value in that variable even it is string or numeric value. Note: Because JavaScript is case-sensitive, variable names are case-sensitive. Example A variable's value can change during the execution of a script. You can refer to a variable by its name to display or change its value. var m; var p; m = "testing for javascript" ; p=15;

Online scammers seek to profit from the death of Steve Jobs

Online scammers are already attempting to capitalize on the death of Steve Jobs with a bogus offer to Facebook users for free iPads in his memory. Computer anti-virus firm Sophos said that the scammers urged Facebook users to click on a link to register for free Apple Inc products, then requested they complete online surveys or enter gambling sites. The scammers profit when users click through those links because they get commissions based on the amount of traffic they bring to the websites, said Graham Cluley, a researcher with Sophos. While this particular scam did not involve any computer viruses, online criminals could be planning more malicious campaigns focused on the death of Jobs. "They could just as easily have taken those users to a webpage containing malicious code or a phishing page designed to steal credentials," Clul...

Javascript Statements

As you know how can we integrate our javascript in our html code. But in your html code that is a good programming practice to put your js code in head section. Now Javascript statements : Actually we use javascript basically for validation and change dynamic data. In javscript if you want to print something the syntax for that is document.write("Your message"); Example : <script type="text/javascript"> document.write("This is my first statement for javascript"); </script> It will print your message : This is my first statement for javascript. But remember a thing Javascript is case-sensitive language

Kapil Sibal launches tablet computer

Union Communications and Information Technology Minister Kapil Sibal launched ' Akash ' (a 35 dollar tablet) here on Wednesday. Addressing the gathering on the occasion, an extremely delighted Sibal said with the launch of Akash, India demonstrates to the world that it has not faltered in its resolve to secure the future of the children. "There are some moments in history, which will be milestones recognized by future generations. This is one such moment. Today, we see the beginning of dram realised. A dream in which every student in every corner of the country will have access to technology that defines the 21st century. Today, we reach for the sky and achieve what others said was impossible. Today, we demonstrate to the world that we will not falter in our resolve to secure our future for our children. Today we celebrate 'Akash' and ponder over it and understand for ourselves what it means for our educational system and for our children," said Sibal. "...