1,694 reputation
718
bio website twitter.com/AakashMehendale
location London, United Kingdom
age
visits member for 3 years, 4 months
seen Dec 19 at 16:10

Dec
16
comment Is this a pattern? If so, which one? (Contexts, Requests and Responses)
@RobertHarvey indeed not, but a service-oriented approach is what he's perhaps aiming for ("decouple the function and presentation of an application (duh) in such a way, that the two parts actually communicate via an interface"). Your answer is a good answer, as opposed to my throwaway comment.
Dec
16
comment Is this a pattern? If so, which one? (Contexts, Requests and Responses)
Separation of concerns. n-tier. Service-Oriented Architecture, probably best overall.
Dec
4
comment Why do UTC Dates have different days of the week for some months?
I'm not sure what's holding you back from working this out yourself, you seem to have all the pieces: "every month between 3 and 9 (April and November) " and "I eventually noticed this only happened when I built the dates with the default constructor. Once I tried using the Date.UTC() method to build the dates, everything went as expected." and "I'm assuming it has something to do with DST" collectively point you square at the answer. I'd imagine the docs for new Date(y,m,d) will provide explicit confirmation.
Nov
4
comment How name class which display data?
Is there a particular reason you don't want to use DataDisplayer ?
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 approved 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
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)