525 reputation
212
bio website khurasia.com/apoorv
location Hong Kong
age
visits member for 3 years, 11 months
seen Feb 16 at 6:41

Hi,

I studied applied physics and computer science at college. I am passionate about developing and designing good quality software.

In my free time I do physics, read history, ride my bicycle, or harass my wife with my guitar and violin.

Here is my bookshelf.

Cheers!


Jun
9
comment null pointers vs. Null Object Pattern
In Pros section: Agree with the first point. The second point is the designers fault because even null can be used where it shouldn't be. Does not say anything bad about the pattern just reflects on the developer who used the pattern incorrectly.
Jun
9
comment null pointers vs. Null Object Pattern
Agree with the use case for null object patterns. But why return null when encountering catastrophic failures? Why not throw exceptions?
Jun
9
comment As a programmer how do I plan to learn new things in my spare time
@SilviuStraliciuc We have closed them in the past. See these questions: programmers.stackexchange.com/questions/147185/… programmers.stackexchange.com/questions/147562/… programmers.stackexchange.com/questions/147185/… programmers.stackexchange.com/questions/146420/… programmers.stackexchange.com/questions/151531/…
Jun
8
comment As a programmer how do I plan to learn new things in my spare time
Please see faq. This question is off topic.
Jun
7
revised How does the Java Virtual Machine execute code written in other languages?
Grammar in the question's summary. Make the question more clear (technically).
Jun
7
comment How does the Java Virtual Machine execute code written in other languages?
@Pomario Jython has been around for a while now. And this page seems to suggest that Jython scripts could run on 1.4.2.
Jun
7
comment How does the Java Virtual Machine execute code written in other languages?
@Pomario "What has changed"? The compilers available for those languages have changed --in the sense, that they were invented after JVM became popular.
Jun
7
comment How does the Java Virtual Machine execute code written in other languages?
@delnan Or rather "more low-level model of execution, that the javac program knows how to build out of Java code".
Jun
7
suggested approved edit on How does the Java Virtual Machine execute code written in other languages?
Jun
7
comment How does the Java Virtual Machine execute code written in other languages?
Same way as your Intel/AMD/Solaris(??) processor can execute "any language" (although you don't really run languages, but just going with the flow here) that can be compiled into its native assembly code.
Jun
7
awarded  Commentator
Jun
7
revised What is your strategy for converting RC builds into retail?
added 7 characters in body
Jun
7
awarded  Critic
Jun
7
awarded  Editor
Jun
7
revised What is your strategy for converting RC builds into retail?
An alternate to external systems
Jun
7
answered What is your strategy for converting RC builds into retail?
Jun
7
comment Algorithms for pairing a rating system to an assignment queue
@blunders, one advice on tie breakers --keep them consistent (regardless of your choice). That would keep the randomness away from your system. I had to learn that the hard way.
Jun
6
comment Algorithms for pairing a rating system to an assignment queue
@blunders. Sorry, forgot to add your name in the previous comment.
Jun
5
comment About Intellectual-Property agreement with employer
Highly unusual. But your lawyer will be your best guide.
Jun
5
comment Algorithms for pairing a rating system to an assignment queue
But in your question you said "based on Their ratings of the objects, Their objects rating, and..". But now you are saying only the ratings given by other users matter. So if I understand this correctly, a user's own assessment of the object does not influence the priority assigned to the object (well save the obvious case where the user's rating bumps the object up/down the queue). This makes the problem very simple --all you need to do is a simple priority queue with the priority key being the ratings.