Reputation
1,314
Next privilege 2,000 Rep.
Edit questions and answers
Badges
5 8
Newest
 Quorum
Impact
~376k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Jul
31
comment Why don't operating system start to copy files just after formatting?
Why the rush to prematurely optimize the install? What is so wrong with waiting until you have all of the necessary information.
Jul
30
comment Why don't operating system start to copy files just after formatting?
Ok, what if question 4 makes you think your answer to question 2? Now you have to delete files and copy something else. Why not wait until the user confirms they have answered all of the questions satisfactorily and remote any doubt.
Jul
30
comment Why don't operating system start to copy files just after formatting?
What if question 4 answer changes the files identified by question 2?
Jul
30
comment Shuffle/Randomize a collection without knowing the knowing the number of items?
That was food for thought, that's why I didn't post as an answer. Trying to give ideas about why you would or would not need to know the length, or at least knowing the end of the line. I suspect this will be closed as too broad, so I am trying to help you analyze it yourself.
Jul
30
answered Why don't operating system start to copy files just after formatting?
Jul
30
comment Shuffle/Randomize a collection without knowing the knowing the number of items?
How did you get the original randomization without knowing the length? How do you make sure that your randomization actually could include the last element without getting to it? ANd how do you know there are no more?
Jul
30
comment When should I instantiate a variable rather than grabbing it through a method?
Looks like much more than twice. Appears to be twice per record but I would expect the metadata isn't changing as you walk through the records, so it could be done once outside of the loop. So 2n instead of 1.
Jul
29
answered Should I try to read user input for logger data?
Jul
29
answered Can fast, optimized server calls collapse a server?
Jul
23
comment Can fast, optimized server calls collapse a server?
By optimizing your API calls, you have changed the execution profile of your service/app. That isn't always for the better. Possibly you have made the (un-optimized) MySQL pieces a larger part of the execution and therefore created a larger overall load. Any major optimization effort really needs to be tested to make sure you didn't just move the problem somewhere else or create a new problem.
May
21
comment When should I use C#'s implicit type conversion operator?
Agreed, I only had a concern about the second property.
May
20
comment When should I use C#'s implicit type conversion operator?
I think a !=b => f(a) != f(b), probably shouldn't apply. There are plenty of functions that might return the same value for different inputs, floor() and ceil() for example on the math side
May
5
awarded  Quorum
May
5
comment Software pattern for combining properties
Understood. Just saying that frequent changes to the definition of core classes should be a red flag. Maybe your business needs are changing that frequently, but you should definitely review the big picture if that is happening. As much as possible you want to limit those feed changes to just the file processing, not the core class.
May
5
comment Software pattern for combining properties
If your client class is changing that frequently, you may really need to revisit your business design. Core class definitions(client sounds like one) should not be that dynamic. It's not just that class that would need changing, but every other class/process that deals with it.
May
5
answered Software pattern for combining properties
Jan
21
answered Is it an abuse of SOA to use it as a database abstraction layer?
Nov
10
comment Is naming a class based on its implementation acceptable?
Seems to me SortedSet tells me how I can use it, not how you implemented it. You could have implemented it as an array or a tree. The sorting could be implemented in the storage or happen real time. All I know is that I can access it in order and that it implements the rules of sets (hopefully)
Oct
22
awarded  Yearling
Jun
18
comment How to comment the file system?
The problem is that the person looking for the information may have no idea what project to look at for the information. For a system that grows over time, this change could have been from many projects back. If nothing else, this readme file could point to the correct project documentation.