525 reputation
212
bio website khurasia.com/apoorv
location Hong Kong
age
visits member for 4 years
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!


Dec
9
comment Design backward and forward button operations of a browser
@Falcon I know stack based solution is universal but I don't find a problem with mouviciel's impl too. Can you shed some more light on "much better suited"?
Dec
8
comment Design backward and forward button operations of a browser
Interview? Assignment?
Dec
4
comment NoSQL as file meta database
Is a real file system out of the question? You can index it anywhere --just make sure the thing remains in sync with the index.
Nov
28
comment Does async/await makes simple thing unnecessary complicated?
From Microsoft's perspective, it is their product that would be eventually blamed --the developer will probably be too but they clearly have more at stake.
Nov
26
comment Ternary operator considered harmful?
I am surprised why such questions keep coming up. The answer is always "whatever works and is readable." --the last one being equally important.
Nov
24
comment My father is a doctor. He is insisting on writing a database to store non-critical patient information, with no programming background
By the way, I am reasonably certain that in most countries storing patient information (critical/non-critical) is subject to heavy regulation. Make sure he understands the legal risk.
Nov
24
comment Is Resharper still a significant improvement for Visual Studio 2012
Version 5 was a significant improvement over version 4.x. The memory usage came down significantly.
Nov
19
comment need explanation on amortization in algorithm
Also it matters what the clear function does. If one dumbly codes clear() to set all references to null then one will have to iterate once even when the array is all null. Once again, need to see code to give more concrete explanation.
Nov
19
comment need explanation on amortization in algorithm
Hey. I understand what you are saying but you don't write O(9). You write just 9. P.S.:- I did not down vote.
Nov
19
comment need explanation on amortization in algorithm
Can you post the code snippet or pseudo code so that we can see the full function? It is not clear what the author is writing about. Also, that is not how one interprets big O --O(5) does not mean cost to execute for 5 elements. Please read en.wikipedia.org/wiki/Big_O_notation for more details on what this function means as the comment box is too small. I will need
Nov
16
comment When would someone use MongoDB (or similar) over a Relational DBMS?
It has to be remembered that sharding is heavily dependent on the architecture of your data centre. If you have a server rack its performance is awesome. On distributed DCs, not so much. Agreed on what you say about the general ease of partioning on NoSql DBs --but reliability is a key concern.
Nov
16
comment When would someone use MongoDB (or similar) over a Relational DBMS?
If you write a lot of data won't global write locks negatively affect you?
Nov
3
comment Is experience very important when hiring/being hired in your country?
Chapter 2, Outliers by Malcolm Gladwell.
Oct
27
comment Can a recursive function have iterations/loops?
You can use anything that works Omega. Very rarely do software specifications specify what style of programming to use --unless you are in school and your assignment says so.
Oct
21
comment Best approach for saving highlighted areas on geographical map
+1. This is better than my answer because it provides a complete solution with minimal coding. Internally the library seems to be doing the same thing as what I had outlined though.
Oct
21
comment Reasons to Use a VM For Development
+1. RDP is truly pathetic.
Oct
21
comment Protobuf design patterns
I need 12 more points to create new tags and I think protobuf should be a tag for this post.
Oct
5
comment How can I reformat my condition to make it better?
+1 for saying something about useful names. But somewhere you will have to reformat the conditional.
Oct
5
comment How can I reformat my condition to make it better?
I prefer !exists || !isDirectory over the last one.
Sep
22
comment Improving without mentor
+1: Teach. Yes. Sometimes when I am preparing a small demo session I invariably find myself asking questions that my audience would. In an attempt to prepare for answers I research and more often than not I learn something invaluable.