Tuesday, 30 September 2014

Collections in Java :Part 1


Collections is a very special class in java. It includes collection framework which is classified into List, Set and Queue.
Let’s discuss an overview first, then in detail!

Collections includes three things .
                    1) List
                    2) Set 
                     3)Queue
Someone may remember a term Map right now. It doesnot belongs to collections however,we discuss it later.

List include three things.They are
                  1)Array List
                  2)LinkedList
                  3)Vector
                       -Stack

Set Includes:
                   1)Hash Set
                          -Linked Hash Set
                   2) Sorting Set
                           -Navigation Set
                            -TreeSet

Queue Includes
                    1) Priority Queue
                    2) Blocking Queue
                           -Priority Blocking Queue
                          -Linked Blocking Queue

Main use of collections is :

It is used for data transfer ie it holds the transfer the object .

Requirements to transfer the object :

1)To transfer the objects,they should be serializable

Here in collections, all objects are already serializable .As well they are clonable .

What is mean by clonable ?

When the objects are transferred from one place to other,they are not disturbed at the other end. At the other end they are cloned and operations are done on the cloned objects .So any misdeeds will not affect the original objects.

List

List is used when the order of insertion is very significant and duplication is not at all a problem.

Why we are going for Array List from Array ?

First let me explain ,Why we are using Array. 

To store one value we use the syntax as ,
datatype variable_name=1;
ie a=1;
To store another value, we can go for 
b=1;
But what if we want to store some 5000 values .Is it a best practice ? No. It is a worst practice to use the separate variables to store the values. So we are going for array .

Then why ArrayList ? Yes consider a situation when you declared a variable and stored 5000 values in array ie a[5000].But just think,what if you want to add another value to that particular array.Here comes a problem and the solution exists with the Array List. Yes ArrayList is extendable or growable in nature so its an easy task to add any element after some time .
Ex: ArrayList al=new ArrayList()

Three important constructors used in Array List :

ArrayList al=new ArrayList();
ArrayList al = new ArrayList(int Capacity); 
ArrayList al=new ArrayList(Collecton C); 

If you dont know the count to be used ,then arraylist is the excellent choice since it is growable. But nothing in this world comes with free of cost right ? Yes of course . It applies here too. 

When you insert some element in the middle of the Array List,then it replicates another list by including the new element.This leads to the performance degradation. 

Do you know,what will be the capacity of the new list formed ? 
You can calculate it with the following formula.

New Capacity = (Current Capacity*3/2) + 1

So if you know the capacity in advance,better use the constructor ArrayList al=new ArrayList(int Capacity) to mention the capacity in advance.

The constructot ArrayList al=new ArrayList(Collection C) is used for conversion purpose .

Other interesting fact about ArrayList is that,they implements random access interface .

Only ArrayList and Vector implements Random Access .

What is mean by Random Access ?

Random access interface helps in retrieving the elements allover the list with the same speed.Ie If retrieving the first element takes 1 second then same time is required to retrieve the kth element also. So Time taken is very less .


Sunday, 28 September 2014

Scala :Setting Trend

Scala is a modern programming language that turned the attention of more programmers especially the java programmers. Scala is the acronym of scalable language. It can be listed under object oriented, functional as well as scripting language.
Its easy for the current java programmers to learn scala .Java libraries or existing application code written in java is completely reusable with scala. You can call scala from Java and you can call Java from scala, the integration is seamless.
Similarities between java and scala are many.Javac is the java compiler,While Scalac is the scala compiler .Both Java and Scala produces the Byte Code.Scala is also supported by most of the Java .IDEs like NetBeans,Eclipse,etc
When we code something with scala,we can expect to solve more errors during compile time rather than the deployment phase. Scala supports operator overloading which is not supported by Java.  LinkedIn,EDFT,Twitter,Novell,theGuardian,Xebia,Xerox,FourSquare,Sony,Siemens,Thatcham,GridGain,AppJet,Reaktor and many others  use scala in a wide phase and expected to dominate soon.

In Scala, Every value is an object and every operation is considered as a method call .It also provides backward compatibility with java where we can take advantage of using traditional design patterns . Also implicit calls add a beauty to the language ie it allows you to add new operations to the existing class .Recursive dependencies also supported here in scala .
We can define scala as the Java without semi colons  ie semi colon syntax error . Usually we use Value types initiating with small letters like int,double,Boolean but in scala the initial letters are capitalized like Int, Double, Boolean instead of int.Instead of Java's import foo.*;, Scala uses import foo._.

Scala has the following properties
1)Polymorphioc Methods
2) Generic Classses
3)Variance annotations
4)Upper and lower type bounds
5)Compound Types
6)Views

Hello World Program          
 object HelloWorld {
 def main(args:Array[String]){
println(“Hello World”)
}
Yes..! Scala is trend breaking . Most of the developers say,its gonna be the future of programming.Here ,a question arises in everyone’s mind.
Do scala Kill Java ?
Java 8, packed with productivity and trending features like  lambda expressions, methods, references, and functional interfaces is going to be available soon .  
And this question is interesting and even I have not started with scala. Lets wait and watch !
I will come up with a much more detailed article after having some hands-on coding with scala!!


Thursday, 25 September 2014

Youtube Contest from Accenture

Accenture gives you a chance to get notified ! !
And you have more time to get creative !


All they expect is , a video (not more than 1 minute ) about Big Data or Cloud Computing .Just mail the Youtube link to socialmedia@accenture.com !

Topics:
  1. Participants need to choose one of the two topics:
    • a. How can a business get bigger using Big Data?
    • b. How can a company become successful through the use of Cloud Computinr 

For more details :






E Waste

Introduction

E waste or electronic wastes refers to the electronic goods that are dumped out or discarded. Each year around 50 million ton of e-wastes are produced. Depending upon their nature of reaction , there are possibilities for dangers depending upon the situation. Discarded computers, batteries and other electro chemical wastes may results in unwanted results. So its important to be aware of e wastes in addition to the other physical wastes. This article sounds the fact of e waste management and recycling.  
Basel Action Network (BAN) estimates that the 500 million computers in the world contain 2.87 billion kgs of plastics, 716.7 million kgs of lead and 286,700 kgs of mercury. The average 14-inch monitor uses a tube that contains an estimated 2.5 to 4 kgs of lead. The lead can percolates into the ground water from landfills thereby contaminating it. If the tube is crushed and burned, it emits toxic fumes into the atmosphere.
Disposing e wastes by burning leads to major problems and it accounts a major part in air pollution. The unwanted chemicals produce the fumes that get mixed up with the air and it destroys the nature of the air. Sequentially, it attacks human during respiration. So the recycling should be done to use them efficiently again.
Causes for E Waste
Ø  Manufacture Technology of a Computer
Ø  Invasion of Technology
Manufacturing Technology of a Computer
To manufacture a computer 240 kg of fossil fuel, 22kg of chemicals and 1500kg of water are needed. Once the computers are thrown out they may leads to many serious problems. Burning of fossil fuels leads to global warming and green house effect occurs. Thus the temperature of the atmosphere is getting increased, just think off if 240 kg of fossil fuel burnt per computer. Carbon dioxide content is made maximum with the burning of fossil fuels. Carbon dioxide is one of the greenhouse gases that enhances radioactive forcing and contributes to global warming
Invasion of Technology
Nowadays we can find computers in everyone’s home. It is estimated that there are over a billion personal computers in the world at present. The computers are becoming cheap so no one is bothering about its maintenance. In developed countries, computers have the life span of 2 years.


E waste management tips:
Ø  Don’t throw the waste cell phones, dumped systems into the land fills. Properly, deliver them to the organizations where recycling is carried out.
Ø  Get the electronic goods from the vendors who can take back for recycling.
Ø  Take care of life time of your hardware equipments and so that  e waste can be efficiently decreased
Ø  Big Industries may buy recyclers that can used for long time.
Ø  Support green engineering.
Ø  Citizens should turn their interests to use the recycled products
Waste minimization in industries involves adopting following methods for efficient waste management:
Ø  inventory management,
Ø  production-process modification,
Ø  volume reduction,
Ø  Recovery and reuse.
Conclusion
This article is made just to give the awareness of e wastes .Its the duty of every citizen to take care of their own electronic equipments and to recycle them. With the invasion of technologies, life is becoming comfortable but the nature is getting highly degraded .So Green Technologies should be welcomed for future world.



Tuesday, 23 September 2014

HMI Developer Bosch INDIA-Walk in



Job Description
C++, UML, & OOAD
Usage of design patterns in UI development or any other area
UI development on HMI development tools like QT & QT Framework
Exp on working with EB-Guide or CGI-Studio & IAR-Visual State would be an added advantage
Embedded development tools & methodologies
GUI technologies like widgets, animations & graphics
Hands on Exp in any Multimedia applications
Embedded Linux
CCA, D-bus
Strong debugging skills with hands-on debugging on hardware
User
Multiple User interface & infotainment
Venue Details:

Cocoon Hotels,(A unit of Magarpatta Clubs & Resorts Pvt Ltd),
Magarpatta City, Hadapsar,
Pune. 


DVLUP

Are you a Nokia Developer? Windows Developer ?
Put your efforts here to earn free rewards !!

https://www.dvlup.com/

Marmalade Roku Developer Offer

Are you a coder ?Are you crazy about gaming ?

Then its for you !! Its time to own a Roku player !!

Enter Marmalade Roku Challenge ! Code Fast !!

For more details :https://www.madewithmarmalade.com/offers/roku

Sunday, 21 September 2014

Human Area Network :


Red Tacton:

Everybody wants to make the life simpler and thus scientists of NTT Labs are trying to develop a new trend HAN [Human Area Network] in addition to the LAN, WAN & MAN that makes the transmission of signal, much simpler  through the human body. This new type of Network is popularly known to be Red Tacton. Its commonly known fact that  human body generates negative charges but a new research proved that communication is possible by just handing  a Red Tacton touch device in our pockets. All physical movements like touching, gripping, sitting, walking, stepping and so on are used as triggers for various processes of this equipment. In Red Tacton device, the extent to which the optical properties of the body are changed is detected by laser light which is then converted to an electrical signal by a detector circuit that makes the communication possible. It has broad application in the daily life of human and expected speed is 10 MBPS. A study said that it will not affect human body and even the multiple communications will not affect the speed. It can be used efficiently by astronauts and physically disabled people to have an easy communication. In this paper, I have discussed the principle, working and suggested the working environments where the Red Tacton Technology has huge role to play.


Let me give a brief intro :

Communication plays an important role in our life. Our life will be simple if safe, secure and easy communication is possible. An efficient intra body communication system is developed to provide a very secure, fast communication by NTT Lab known to be RED TACTON. Red- Warmth, T- Touch, and Acton- Action stands for RED TACTON .If we could use the human body itself as a transmission medium, then this would be an ideal way of implementing human area networks because it would solve at a stroke all the problems including low security, throughput reduction, and high network setup costs.

Lot of technologies is emerging everyday and they are getting implemented in various fields to make our life more convenient. We are familiar with the networks like LAN (Local Area Network), WAN (Wide Area Network); MAN (MetroPolitian Network) but here is the new type of Human Area Network which is popularly known to be Red Tacton.NTT.

Lab located at Japan is currently designing this technology. Red Tacton relies upon the principle that the optical properties of an electro-optic crystal can vary according to the changes of a weak electric field. They can be efficiently used in security, medical field, and the device communication field

Red Tacton employs a proprietary electric field/photonics Method, which overtakes the other methods in terms of communication distance, transfer speed, and interactivity. It is highly secure and impossible to get hacked. It is a high speed network and well suited for short distance communication. In future , where man is destined to reach new heights of technology ,a trend like RedTacton is likely to direct him in the right direction giving him hope and motivation than any other technology man is able to perceives on the human centered interaction


Saturday, 20 September 2014

SONUS Networks Through FreshersWorld : Interview Expereince


Just an experience to share !! 
May Benefit someone who is attending the SONUS Interview !!

Only students with eligible admit card are allowed to take the written test. Initially ,Candidates  were seated in the hall in some random order .Then ,they proceeded with an introduction .

Written Test:

Then hall tickets were verified and question booklets were distributed .Students  were given with options to select the options between testing and development .

Freshers world written  test  lasted for 2 hours ,that includes sections like Quantitative Aptitude,Verbal, C/C++,Java and Testing .No negative marks !Then,it was announced that, we can check the results in the freshers world site after a week .

Technical Rounds:

After some 15 days, the results were published on the freshers world site. Some 150 candidates are shortlisted based on their area of choice(Development/Testing).The selected candidates are asked to attend the technical round interviews at Sonus Networks,Banglore.

The Technical round 1 (Developer Profile)  was pretty good and they asked about basic data structures , programs,etc..All the students who attended Technical 1 are asked to attend Technical 2. In Technical 2, again few questions were given to be solved and it lasts for about 45 minutes.
Soon after the Technical round 2, the selected candidates were asked to attend the HR interview .

Final Results:

Final results were announced after  a month and offered with the position of their choice .

Following details are taken from official Sonus Site .

To learn more about how Sonus connects the world of today with the technology of tomorrow, visit us online at www.sonusnet.com

Sonus at a Glance
Sonus connects the world through advanced network solutions that deliver reliable, scalable and secure communications for global service providers and enterprises. Sonus customers are comprised of leading communications service providers, telecommunications carriers and enterprises in more than 60 countries worldwide. Sonus products lead the industry in innovation and value, and include
.Session Border Controllers (SBCs), Diameter Signaling Controllers (DSC), SS7 Signal Transfer Points (STP), Policy and Routing Servers Pioneers in Innovation.In 1997, Sonus developed the world’s first carrier-class VoIP switch, ushering in a new age of high-quality voice communications
over IP networks. Since then, Sonus has remained committed to being at the cutting edge of communications. Sonus offered hosted voice services long before the Cloud craze, supported a multimedia network before the arrival of smartphones, introduced a second-generation SBC that’s the fastest-growing on the market today, and continues to anticipate the future with a complete
SIP session management architecture.

Sonus Facts

• Sonus is the fastest-growing SBC solution in the service provider market today
• Sonus equipment carries more long-distance VoIP minutes than any other vendor
• Four of the world’s five largest service providers rely on Sonus in their networks
• Sonus enables more than 5,854 SIP sessions per second
• Sonus has more than 100 patents and more than 200 pending
• Sonus has more than 1,000 employees across North America, EMEA, APAC and CALA
and Media Gateways. Sonus solutions are supported by a global services team with vast experience in the design, deployment andoptimization of blended legacy and SIP-based networks.


Good Luck for everyone !!

Friday, 19 September 2014

We Start Here ..!

How Can A Day Change Your Life !


Students are of different kinds ! Some score well as well as good with practical knowledge.Few have the capability to demo their skills but not in their exam paper. And other interesting category is that , students who masters the skills that is never related to their field !

In this mass pool of students,First decide which category you belongs to . First choose the path and start walking fast. Am I deviating from the topic ?

Oh..Okay Okay !! Let me reveal the magic .

How Can A Day Change Your Life ! Stay tuned .