Skip to main content

Posts

Showing posts from October, 2011

Fwd: from jitendra...happy diwali

---------- Forwarded message ---------- From: Jitendra Muchhal Date: Sat, Oct 29, 2011 at 6:51 PM Subject: from jitendra...happy diwali To: Dinesh Sonsale  Hi Dinesh Hope all is well. Very Happy Diwali and A Very Prosperous New Year !   I had the most interesting experience early this week on Diwali. Sharing the same. With Rgds,     Travelling with Ratan Tata and Anil Ambani in Air India on Diwali nite to USA !!     Air India direct flt AI 191 from Mumbai to Newark took off on the dot at 0130 Hours on 26 Oct 2011 from Mumbai's Chhatrapati Shivaji Airport. Boeing 777 with total 300+ passenger seating in First, Business and Economy had just 37, yes 37 passengers. After all, it was Diwali nite in India and the flight would take 15 and half hours to reach its Destination - also on Diwali Day. The flight was Commanded by Captain Parmar and his crew.   What made this flight historic was not just the above. Seated on Seat # 2 i...
 पहिला मराठी ब्लोग (दिवाळीला काही तरी नवीन:) ) मातृभाषेत विचार लिहिणे काय सोपे जाते म्हणून हा ब्लोग लिहायला घेतला मराठीत. पण जाणवले कि मराठी लिहिणे तितके सोपे राहिले नाही बर्याचदा इंग्रजी शब्दाना मराठी शब्द सापडनेसे होतात. दिवाळीला मस्त धमाल केली. जेथे काही छायाचित्र टाकत आहे 

Be careful at Traffic light

At Chougule Service center to replace Window Glass: Be careful at Traffic light and make sure you window glass in up. Some can throw stone at your car in Pune. Traffic police or even at Police station no one cares to help you. Traffice Police reaction was “Ti Wedi ahe laksh deun naka ani tu police station la ja”. At Police station Police constable says “This city is like this only and don’t expect that I will arrest that mad women. Go and change glass” Place: PAshankar Chowk , Near Simala Office Date & Time : 3OCT 2011 9.10AM           

Core Java

What does volatile do? This is probably best explained by comparing the effects that volatile and synchronized have on a method. volatile is a field modifier, while synchronized modifies code blocks and methods. So we can specify three variations of a simple accessor using those two keywords: int i1; int geti1() {return i1;} volatile int i2; int geti2() {return i2;} int i3; synchronized int geti3() {return i3;} geti1() accesses the value currently stored in i1 in the current thread . Threads can have local copies of variables, and the data does not have to be the same as the data held in other threads. In particular, another thread may have updated i1 in it's thread, but the value in the current thread could be different from that updated value. In fact Java has the idea of a "main" memory, and this is the memory that holds the current "correct" value for variables. Threads can have their own copy of dat...

SOA

The World Wide Web Consortium’s glossary defines SOA as "A set of components which can be invoked, and whose interface descriptions can be published and discovered". Clear as mud? We thought so, too. To understand the concept, let’s think for a moment how the evolution of software development has progressed over the years. In the beginning were languages like Pascal or C, where the user wrote a text file of code and used a compiler to make a machine-readable version that could be run on the computer. Sensible programmers (and the compiler writers, for that matter) placed commonly-used functions in “libraries” – modules that could be included at will in a developer’s program to save having to write the same lump of code over and over again. The problem with the traditional model was that a function could only work with data types that it had been written for. So it was no good having (say) a function printAsString() that handled decimal values if you wanted to ...

AJax

AJAX = Asynchronous JavaScript and XML AJAX is not a new programming language, but a new technique for creating better, faster, and more interactive web applications. With AJAX, a JavaScript can communicate directly with the server, with the XMLHttpRequest object. With this object, a JavaScript can trade data with a web server, without reloading the page. AJAX uses asynchronous data transfer (HTTP requests) between the browser and the web server, allowing web pages to request small bits of information from the server instead of whole pages. The AJAX technique makes Internet applications smaller, faster and more user-friendly. AJAX is based on Internet standards AJAX is based on the following web standards: JavaScript XML HTML CSS AJAX applications are browser and platform independent. AJAX is about better Internet-applications Internet-applications have many benefits over desktop applications; they can reach a larger audience, they are easier to install and...