7,184 reputation
52039
bio website taxprodigy.com
location
age
visits member for 2 years, 8 months
seen 36 mins ago

43m
comment Caching query results vs Querying each time (finding a middle ground)
By "sorting", do you also mean "filtering"?
44m
comment Caching query results vs Querying each time (finding a middle ground)
I have a feeling we may be looking at an XY problem. What's the cost if you don't cache at all & just keep hitting the database?
50m
comment Caching query results vs Querying each time (finding a middle ground)
10,000 items in a list isn't that big anymore.
1h
comment Detecting similar sets
@ClausW - instead of replying via comment, can you just edit the question and add details?
May
22
comment Does the company own my work?
The only thing more expensive than talking to a lawyer when you need one is not talking to a lawyer when you need one.
May
22
comment Which patterns to apply for “User Manager”
Please see Why is asking a question on “best practice” a bad thing?
May
20
comment How to design a serverside heartbeat with nodejs?
That sounds right to me.
May
19
comment Software paradigms: prove that sum and sum1 are equal
Possibly of interest - Open letter to students with homework questions
May
18
comment Big O equivalence for LINQ select
@GlenH7 - My apologies :-)
May
18
comment Big O equivalence for LINQ select
It would be interesting to compare the IL produced by the compiler for each of these.
May
18
comment How to name variables without plural in a for-each loop?
Why is asking a question on “best practice” a bad thing?
May
4
comment should I load the jdbc driver in the static constructor?
In the future, if you click the word 'edit' under your post you can make changes to an existing question rather than delete it & create a new question.
Apr
29
comment Is it okay to have objects that cast themselves, even if it pollutes the API of their subclasses?
All 3 classes now have to know about each other. Adding Sub3 would involve a lot of code changes, and adding Sub10 would be downright painful
Apr
29
comment Compile-time vs. run-time configuration
The only performance worth measuring in most cases is "people performance" - what's most convenient for your users. An extra few milliseconds reading a config file every time the app is run will be overwhelmed by the time required to recompile once
Apr
14
comment Calling RESTful service from browser and handling 4xx class responses
How many of your end users are developers? How to handle business rules with a REST API? and What is the best way to create REST API error response model and error codes system? seem to suggest a 404 is a good return in this case.
Apr
9
comment How to optimize the application with huge number of database requests per minute
Question 2: Why do you need a Separate Job to check LastActiveTime?
Apr
9
comment How to optimize the application with huge number of database requests per minute
Question 1: why not just assume that all "uncertain conditions" (where you don't have an end time) last 10 minutes? Sometimes that guess is too high & sometimes too low, but it should average out.
Apr
6
comment Would SQLite be less useful without accepting inserts of non-numeric values into numeric columns?
Someone once said that "a feature is a bug as described by the marketing department".
Apr
3
comment equal distribution within given set of users
Not sure I understand you - are you saying that an entity can be assigned to exactly one user? In your example, E1 can be assigned to U1 or U2 (but not both), but cannot be assigned to U5. Is that correct?
Mar
31
comment Ethicality of online license checks
What industry are you in / what would your customers think? The people who make PC video games have been doing this for years. Banking applications, probably not so much.