Archive for the ‘OpenSource’ Category

h1

SAX vs. DOM parser

September 13, 2008

    

I was studying xmls to create dynamically changing db. I studied to different types of parsers which helped to retrive the information. But which parser to use..? I confused. It depends upon the application we prefere. I copied the difference between them here.

SAX DOM
Both SAX and DOM are used to parse the XML document. Both has advantages and disadvantages and can be used in our programming depending on the situation.
Parses node by node Stores the entire XML document into memory before processing
Doesn’t store the XML in memory Occupies more memory
We cant insert or delete a node We can insert or delete nodes
Top to bottom traversing Traverse in any direction.
SAX is an event based parser DOM is a tree model parser
SAX is a Simple API for XML Document Object Model (DOM) API
import javax.xml.parsers.*;
import org.xml.sax.*;
import org.xml.sax.helpers.*;
import javax.xml.parsers.*;
import org.w3c.dom.*;
 
doesn’t preserve comments preserves comments
SAX generally runs a little faster than DOM SAX generally runs a little faster than DOM
If we need to find a node and doesn’t need to insert or delete we can go with SAX itself otherwise DOM provided we have more memory.
h1

MySql event in Pune

May 20, 2008

     Programmers know it as PHP companion. It used to database storage server. And this world’s widely used open source database. It has strength to manage massive amount of database consuming just few MBs of installation. It is born on UNIX platform but now supproted by Windows.
             Right, I am talking about MySql. This is being good alternative to worldwide database venders Oracle,IBM,Sybase.
     As a developer I seen how mysql used in web applications. It is able to process billions of online trasaction everyday with high performance. Web developer are seen to use WAMP(Windows+Apache+MySql+PHP) and LAMP(on linux) to integrate websites and related applications. MySql supports all ACID(Atomicity, Consistancy, Isolability and Durability) properties of RDBMS.
     Sun Microsystem has acquired MySql for about $1 billion. Jonathan Schwartz, CEO and president, Sun Microsystems wants to centralize the world web economy after getting this open source dbms. This is golden opportunity for all web apps developers.
       To know this wide database platform, MySql has oganized free seminars and workshop events across india.
     I am pasting here the venue and timing of workshop in Pune. I’ve pasted the mail that i have received from mysql. Its free to all if pre-registered.

———

MySQL, now a part of Sun Microsystems, is pleased to announce that David Axmark, Co-founder of MySQL and Brian Aker, Director of Technology for MySQL, and other MySQL representatives are meeting with customers and partner candidates across key cities in India. Exclusive seminars and networking events where you can explore the benefits of MySQL Enterprise are now available. Admission fee is free if pre-registered. Seats are limited. Register now!!

Topics covered:
Introduction to MySQL product line
MySQL Enterprise Demo
Storage Engines for MySQL
Introduction to Understanding Replication Development Process
MySQL Performance Tuning
MySQL Case Studies
Deep Technical Q&A
Networking

———-
Location: Pune
———-
Date: Tuesday, May 27, 2008
Time: 14:00-18:00 (Registration begins at 13:30)
Admission fee: Free, if pre-registered.
Venue: Le Meridien Hotel
Pre-Registration is available at:
Register here.

h1

Protect your Computer

April 6, 2008

            You are regular computer user. And you have not taken care of it properly. Then you will see even after having much memory and processor speed, computer running with low speed. You files getting corrupted. These are just sample symptoms of malicious viruses, spywares, malwares or trojan horses that have attacked your computer.

      Here are some tips I am telling which will raise the mileage of your PC. This will not cost you anything. You just need to download free utilities and install it on your computer.

 

 

CCleaner:

       Your computer is connected to internet. After some time user of internet, PC will be bagged up with extra irrelevant files. All pages that you have surfed through your browser gets accumulated with Browser cache, Cookies and temporary internet files. You should delete these files frequently to improve the performance. This can be easily achieved using CCleaner. You install this freely downloadable program. It will clean the PC with registry files when you restart your computer.

Download: http://www.ccleaner.com/download

 

 

Grisoft AVG:  This is free downloadable antivirus. It can be downloaded here. This program scans the computer memory and disk after every boot. So you uninstall the previous antivirus and see installing this one. Program offers protection from malwares and Trojans.

Avast Antivirus: This is also one more efficient antivirus. You download this here.

Download: http://free.grisoft.com/doc/2/

 

Adware 2007:

           This provides trial computer spyware protection software. You get the trial copy of adware here.     

 Download: Adware 2007 http://www.lavasoftusa.com

 

 

Outpost firewall pro:

           This software give you secure connection to internet. It blocks the malicious activity from outer web world towards computer. It also avoids unauthorized transmission of data from your computer.

Download: http://www.agnitum.com/products/outpost/index.php   

Belark advisor:

          You have made lot of sins and mistakes in using computer, just unknowingly this occurs.  You can’t see what is going inside your computer. So you see this program running in your computer This analyses the hardware and software installed on your computer. It detects RAM and harddisk, CD/DVD ROM, other serial or parallel ports.

After looking into this program you can manage the upgradation of programs without help of any computer expert.

 Download: http://www.belarc.com/free_download.html

 

h1

jdk 7 binary released.

March 23, 2008

  Hello java users, Till you will be coding on jdk6. But now next version jdk7 is released before some days.  Binaries, snapshots and documentations can be downloaded here.
Till jdk 7.0 is under development. Sun needs java developer to come up and test this API, detect the bugs and report to Sun researcher through java.net.
If you want to contribute this project jdk7, you can do some research on this release. It is possible to send some updates in this release. To do this you need to accept java research lincence and apply for the project request creating user in java.net.

h1

open jdk winner..

March 18, 2008

openjdk challenge. is the challege sponsored by Sun Microsystem for all developers and programmers to solve the key problems in OpenJDK project.

h1

NetBeans Dream team.

March 18, 2008

 Netbeans is GUI builer for java applications. This is the dreamteam selected with high skills in Netbeans usability.
NetBeans Dream Team

h1

Uploading on Google Maps

February 13, 2008

I am trying to add places and editing COEP Campus map on Google Map using map tools.

View Larger Map

h1

Everything with GoogleMaps

February 13, 2008

    Google Earth, Google Maps all graphical GPS systems are getting developed at Google, MV. This is just not enough. Google tools are user editable. Now I am talking about Google Map.

    See the linkGoogleMapsMania. User can create the their maps on the GoogleMap. Add contents, images, draw Roads on it.etc.  There are lot of map building tools measurement tools,image adding tool from flickre/picasaweb. You login into google and go  here. You can edit the contents from Google Maps.

h1

Blaise Arcas’s Photosynth seaDragon, TechFest IIT

January 25, 2008

(The video is not of IIT powai, but contents demonstrated are same as seen in video here.) I seen the Photosynth demonstration in Techfest, IIT Powai. The demonstration of Photosynth and seadragon was extremely stunning. As such technology is not yet availble to the users through internet, i was unaware that such amazing technology may exist or can be invented.

Information I got about him after googling. Blaise Agurera Arcas, founder of seaDragon(acquired by Microsoft live lab) and Photosynth. He is undergraduate in Physics and worked in areas of physics and applied Math.

When I entered the KreSIT auditorium, it was completely filled with students. So we got seat on stairs on left side of the desks. Witin a minute one guy fair skinned, fine beared-mustache, come and switched on his laptop.

Starting with the presentation, I saw an object, I felt like Buckminster’s fullerenes(Carbon isotop), as he go on zooming from all directions, these were images stick to the transparent sphere. Thousands of images were moving around the sphere. Everyone sighed a relief with this thrilling innovation.

Next, You see one blurred flickr of black line on half screen of laptop, as he go on zooming to part of image, you see the text of an epic printed on the image. He ensures that this can’t be an image.

He doubted why none had asked yet to ask when this will be avaiable to users. After this he demonstrated some other applications of this product, which can be used for real time mapping of the roadlines and geographical information(See in the video.)

With images of an architecture like fort, palace or skyscraper taken from different sides and angles. Then using the transitions and enhancements of images, this photosynth generates the 3D environment, where one can walk through the structure. So Its feel of just traveling through place. This can be used to create tourism development animations.

h1

viruses sent through search ‘benizer’

December 29, 2007

benizer

After assasination of formar prime minister of Pak. viruses and milicious s/ws are sent hrough websites. For example given above link

Don’t browse this link. On search of keyword ‘benizer’ the link shown on image below has virus embeded in it.This link has Malicious software,
if you browse this site, your current login information, passwords, usernames, bank transaciton IDs may be tracked.