Tuesday, June 23, 2020

HAPPY ENVIRONMENT DAY





HELLO everyone good morning.HAPPY WORLD ENVIRONMENT DAY.  

Wednesday, March 24, 2010

Alan Turing and Colossus

Today , I shall dedicate this article to the father of Computer Science , Alan Turing . Let us begin on a funny note. As a legend goes , it is said that Alan Turing entered into the field , after having suffered a loss in his love life.

One of the most crucial achievements of Sir.Alan Turing , was the deciphering of the Enigma code , of the Germans , which helped , in saving millions of innocent lives , during the  second world war.

Let us  learn about the ENIGMA , before proceeding to the  " Colossus " , which broke the ultimate code .


Quoted : 
"During the 1920s, the Germans created the "Enigma code" machine, which led them to believe that their coded messages concerning military and other top secret operations were beyond being decoded. The machine, which resembled a typewriter, was capable of doing millions of calculations in milliseconds, and the secret codes that controlled them were regularly changed everyday."



















Let us now proceed , to the Colossus :


Quoted : 
"Turing undertook the construction work of a special-purpose electronic machine all the way. In January 1943, he headed up a team of scientists whose specific goal was to try to break Enigma code. To do so, the team developed a computer – called the "Colossus" comprising 1,500 vacuum tubes."


Some pictures :






Ref for images : 1)http://www.clemson.edu/caah/history/FacultyPages/PamMack/lec122/coloss.jpg
                              2) http://www.costablancahotmale.com/images/stories/ColossusX.jpg



Reference :  Colossus Computer and Alan Turing: Machine that Broke the Enigma Code and the Cryptographer Behind it http://computeraccessories.suite101.com/article.cfm/colossus_computer_and_alan_turing#ixzz0j7g3RNp2

Posted By :
Jayanthi GM(Course Instructor Java,PESIT)
Prashanth Raghu (Student Assistant)

Tuesday, March 23, 2010

R-Trees and it's significance in Spatial Databases

R-trees , are a variant of B-trees which are extremely efficient , for spatial databases , as their structure and oraganisation , greatly has a lot of implied order and spatial relations.

R-trees , are also called as MBR trees( Minimum Bounded Rectangle ) .  Their way of indexing and searching mechanisms , greatly resemble with that of B-Trees , wherein , we start at the root node and proceed to the leaf node , which contains the actual node information. In R-Trees , the search begins , at the periphery of the outermost rectangle. The search proceeds to the rectangle , which bounds the rectangle , to be searched at the next level , until the rectangle is actually found.

Insertion , always occurs at the node , which has the least number of nodes. If their exists a conflict , the node is added at the node , which contains the minimum area .

IBM ' s Informix database , uses R-tree in it's indexing mechanism.

For a complete overview,
Visit : http://en.wikipedia.org/wiki/R-tree
For a simple demonstration,
Visit: http://gis.umb.no/gis/applets/rtree2/jdk1.1/

Posted By,
Jayanthi GM (Course Instructor Java , PESIT)
Prashanth Raghu ( Student Assistant)

Thursday, March 18, 2010

Live Locks


livelock is similar to a deadlock, except that the states of the processes involved in the livelock constantly change with regard to one another, none progressing. Livelock is a special case of resource starvation; the general definition only states that a specific process is not progressing.
A real-world example of livelock occurs when two people meet in a narrow corridor, and each tries to be polite by moving aside to let the other pass, but they end up swaying from side to side without making any progress because they both repeatedly move the same way at the same time.
Livelock is a risk with some algorithms that detect and recover from deadlock. If more than one process takes action, the deadlock detection algorithm can repeatedly trigger. This can be avoided by ensuring that only one process (chosen randomly or by priority) takes action.

Posted By,
Jayanthi GM (Course Instructor Java , PESIT)
Prashanth Raghu (Student Assistant)

Friday, March 5, 2010

Importance of POSIX Standards

It is common for us to complain about the POSIX standards which we are made to mug up at the UG level . But ,this apart we need to understand the importance of such standards . Really very interesting application . I shall avoid going into the technical details and provide the link to the application .

http://www.mil-embedded.com/articles/id/?3093

Friday, February 26, 2010

What are Interpreted Languages ???

A special mention about Sachin's knock on my article for the day , one thing that is ordeal with him has to be his continued passion for the game , for the past 20 years.

So let us cont.

Programming Languages , are classified on various aspects :

1) Fundamentally on design concepts :
    a) Object - oriented.
    b) Procedure - oriented.
    c) Function - oriented.

2) Type of runtime , as Interpreted or host-dependant compiler schemes.

 In Interpreted languages , the output of the compiler , is not directly to be hosted on a machine , for execution , instead it converts the source program , into a intermediate - form ,which is usually executed , by a "virtual-machine".

Some Examples:
Java , Python , Ruby , PHP ,Perl etc..

Advantages:
The main reason , for resorting , to interpreted languages , is the need for portability of programs.

Disadvantages:
They are inavoidably slow , as the execution , is under the supervision of  the virtual machine.

For a complete list of all interpreted languages visit:
http://en.wikipedia.org/wiki/Interpreted_language

Posted By:
Jayanthi GM(Course Instructor , Java @ PESIT)
Prashanth Raghu(Student Assistant)

Tuesday, February 23, 2010

Pointers in python

Hello guys , here is a small note on pointers in python . For all those unfamiliar with python , it is a interpreted , scripting , object - oriented and high level programming language , developed on C.

POINTER CONCEPT IN PYTHON:

Python , adopts a model , which is to be precise , very similar to java , ie all references , to objects are treated as pointers , but with very limited functionality over their addresses.

The following points , will clarify the concept presented above:

1) All objects in python , are references to memory locations and an assignment , such as a=b, assigns a reference of location of b to a.
But , in python , there is no explicit pointer arithmetic , very similar to java. The operations on the references , are well bound by the address of the pointed location of memory.

2) In python parameters , passed to functions , very similar to the assignment statement mentioned before.

3) In python , primitive types ,such as (int,str,tuple), are treated as immutable , such that their memory locations , cannot be modified , by accidental references.

Posted By:
Jayanthi GM(Course Instructor , Java ,PESIT)
Prashanth Raghu (Student Assistant)