Win a copy of Java Challengers this week in the Java in General forum!

Rohan kanade

Ranch Hand
+ Follow
since Oct 22, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rohan kanade

This is a website of a great embedded guy


This is one institute which might be good for embedded training
10 years ago

Jaikiran Pai wrote:

Shyransh nath wrote:

Skillset ... hypernet



Did you mean Hibernate?




Only in India.
10 years ago
Thanks a lot for the detailed answers , I will definitely be using Erlang for some of my hobby projects to get a feel of it.

Rohan kanade wrote:
Since Erlang was intended for telecom operations software , why is there a push currently to use as a web backend development tool?

How does Erlang's performance compares to Current tools/languages used for web backend development ?

How can Erlang be source interpreted and also compile to bytecode for a VM and also compile to native assembly? Which one is better for what purpose?

Please briefly talk about hotswapping of code in the above context. how is done for say a natively compiled binary of Erlang code?




thanks for the answer about production usage. but,
Can you shed light on some the above questions too ? especially about the hotswapping question.
Hello, I have never used Erlang , but I once heard that erlang was used to write facebook's chat system.

So it got me curious enough to come over here to ask some questions in general.

my functional programming experience is limited only upto Haskell and scala currently.

So I would like to ask a few noobie questions

Since Erlang was intended for telecom operations software , why is there a push currently to use as a web backend development tool?
How does Erlang's performance compares to Current tools/languages used for web backend development ?
How can Erlang be source interpreted and also compile to bytecode for a VM and also compile to native assembly? Which one is better for what purpose?
Please briefly talk about hotswapping of code in the above context. how is done for say a natively compiled binary of Erlang code?

Lastly , any examples of open source production usage for Erlang other than the telecom domain?

Hi to all the authors. I am very keen on asking some doubts regarding Erlang's different aspects in real world settings. Welcome to javaranch

Henry Wong wrote:

Rohan kanade wrote: But on the other hand, Sun used to hire the best engineers, but their sales team was not that strong, and look what happened to Sun.



Don't completely agree. More than a decade at Sun -- worked with a ton of sales reps that were very successful and whom I regard as still having the Midas touch.

I do agree that Sun has issues with retention of their good SRs... but considering the problems that they had over the last many years, that is not surprising. Great sales reps may be able to sell refrigerators to eskimos, but why should they? Those same contacts available to SRs to sell, can also be used to find easier and higher paying jobs.

IOWs, maybe if Sun created better core product (instead of lots of technology that didn't see the light of day), they would've been able to retain the better SRs.

Henry



I am just 20 years old, And what I said was based on my experiences with my surroundings in India's Sun offices. Ofcourse with your seniority, you do have greater insights. But i always felt that working with companies with better sales people is a good bet.
10 years ago
Look at Oracle, it hires great salesmen, even if their products are not genuinely brilliant , they make good money due to their sales team. But on the other hand, Sun used to hire the best engineers, but their sales team was not that strong, and look what happened to Sun.
10 years ago
Safest place to work for is the place which have the best and largest amount of salesmen.
10 years ago
1. Core Java
2. JSP
3. Servlets

I have above skills, I can learn other skills fast.

is this is a full time job? what will be the work hours?
10 years ago
Select avg(salary) from mnc where country = 'India' ;




jus kidding

My brother is a SAP consultant working on the netweaver platform, he gets about 6 l.p.a for 4 years of experience.

What is your area of expertise/work?
10 years ago

Chad McGowan wrote:Why are manhole covers round?
Is this a common interview question? Just curious because it is a standard one at the last company I worked for.



when we drill something, most of the times it is a circular hole, and guessing that sewer systems in most cities have been around for ages, they had no other option but to cover the hole with a circular plate. And when you are using circular plates to cover something, you can also give it threads so that they can lock in the hole, which is not possible with a square plate or rectangular plate.
10 years ago

Gina vernon wrote:Does anyone have an answer to the following question? I searched the internet but couldn't find anything that specifically addressed this question.

What can an interface do that a 100% abstract class cannot?



Basically, the question was if a developer can get all the functionality of an interface in a 100% abstract class, why even use an interface?

Thanks.



if you use interfaces to define a contract, then if you change the interface in future, you have to implement the changes in all the classes which implement the interface.

but in a abstract class, you can add concrete methods without needing to make changes in classes which extend the abstract class, thus if your contract is gonna change too often , you should use a abstract class to have the base contract + any specialized additional contract features.

And about what a interface can do that a 100% abstract class cannot ? its easy, a interface can extend n numbers of other interfaces, which makes it easy to define a contract based on many other smaller contracts.
10 years ago

Jothi Shankar Kumar wrote:

Ernest Friedman-Hill wrote:Raza Mohd's answer would require that you invoke a different class from the command line, not this one, which I think is against the spirit of the question. Jothi Shankar Kumar's answer isn't an option. But Henry's answer is a good one, and likely the one the interviewer had in mind.



Why isn't it an option?



because the constraint is that you cannot add anything to the main method, and how is one supposed to get the arguments passed to the main method without adding anything to the main method?
10 years ago

Henry Wong wrote:
One option you can try is using a shutdown hook -- code to be executed upon JVM shutdown. Take a look at the Runtime class for more info.

Henry



Or you can do this.


or you can add a finalize() method and say "bye" in that. but then you will have to create a object and point it to null then call the Garbage collector, plus there is no guarantee that GC will be called in time.

If you feel like impressing the interviewers , then try using the Runtime.exec() methods to call the host operating system's echo command , just for fun.
10 years ago