1,684 reputation
718
bio website twitter.com/AakashMehendale
location London, United Kingdom
age
visits member for 3 years, 2 months
seen 14 hours ago

Sep
30
awarded  Explainer
Sep
30
revised Derive subset with sum between two values
clarify with comments and edits incorporated
Sep
30
comment Derive subset with sum between two values
I've attempted an edit to restate the problem with all the comments incorporated/addressed, hopefully it hasn't changed the problem.
Sep
30
suggested suggested edit on Derive subset with sum between two values
Sep
17
comment Is it possible to programmatically attach custom metadata to phone calls?
"I can be sure that my custom data will be forwarded intact by the cellular network nodes." - it's not just the cellular network you'd need to worry about. Depending on where the recipient is, the call could pass over any arbitrarily-poor-quality POTS, which I would guess would guarantee that there's no sideband guaranteed to be available. This is however just a guess.
Sep
4
comment BDD based on 1-liner requirements
And here's Eric Lippert on the importance of having a spec
Sep
4
comment Automatic denormalization for a NoSQL database application
"Now we have solved this problem for now by creating indexes at runtime based on the schema the user provided, denormalizing articles and suppliers in one index. The problem is that keeping this index up-to-date is very cumbersome." - what you've done is basically implement a DBMS yourself, and now you've found that that is hard, which is why we get other people to do it. Use a DBMS. There's nothing wrong with having hundreds of tables!
Aug
18
awarded  Yearling
Aug
14
comment Estimation of space is required to store 275305224 of 5x5 MagicSquares?
But that's not what you asked. And you even said "by using the best compression methods you offer" - some background reading on Kolmogorov complexity would help you realise that that 327Kb program (assuming a suitable compiler at the receiver) is a compression method, and a good one.
Aug
1
comment Customer is “deeply disappointed” in software because of one bug. How to reply?
Helpful? Don't know. That the people in an organisation who interact directly with customers shouldn't be people who are rendered "totally speechless" by customers' comments seems to me to be obvious, but I suppose it could be deemed helpful to point it out.
Jul
31
comment Fixing bugs in other peoples code
"said that we need to communicate before changing each other's code and that I was being disrespectful. " - wow. And you want to keep working with this person?
Jul
31
comment I recently read about unit of work and repository design patterns; working with EF wondering if this is a good design pattern
With EF you can add master and child records in the same unit of work. Also, " I don't like using a transaction because it feels messy for some reason I can't articulate" - you probably want to work on that
Jul
31
comment Customer is “deeply disappointed” in software because of one bug. How to reply?
"I am always totally speechless when they start this way." - sounds like you shouldn't be dealing directly with customers then.
Jul
29
comment What's the name of this category of variables (NEW, OLD, etc) in triggers?
MS SQL Server calls inserted and deleted "special tables", and doesn't have a particular-to-triggers keyword for the current user. "Contextual keyword"? "Virtual table"?
Jul
25
comment I know JavaScript really well, but i bomb coding interviews
And get a hands-free kit for your phone?
Jul
25
comment n:m as the only way to store notifications?
What do you mean by 'overhead'? You are storing a fact consisting of two ids as two ids - where's the overhead?
Jul
24
comment An algorithm for finding subset matching criteria?
see eg this, this, this. So if it's a single statement that just needs to be supplied a Recipe.ID, it could probably be made to work against the whole of Recipe at once; but if it's some CURSOR-based or other looping code, it would need another loop around it (ugh)
Jul
24
comment An algorithm for finding subset matching criteria?
Keeping it at a conceptual level, if your SQL query is sufficiently "set-based", you should be able to apply it to the whole Recipe table at once.
Jul
18
comment Why are floats called “real numbers” in some languages?
Calling them rational would lead to the expectation that exact rational arithmetic could be performed.
Jul
15
comment As an API-user, would you tolerate BestPractice Exceptions?
If you make 1/1/1 not work, the first wiseguy to hit that fence will use 2/1/1 instead. Or 1/2/3. Or 1/1/1900. Or whatever they need to to fix "the error that's stopping their program working". You've heard that old saying about making things idiot-proof, right?