Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for meritonâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #286151 |
In this case, the image was actually helpful because it revealed that OP was invoking the compiler by hand rather than using the built in eclipse compiler. (more) |
— | about 2 years ago |
Comment | Post #286019 |
Well, I'd prefer:
```
assertEquals(13, fun(42).getY());
assertEquals(10, fun(43).getY());
assertEquals(16, fun(44).getY());
assertEquals(133, fun(47).getZ());
assertEquals(1, fun(3).getZ());
assertEquals(16, fun(2).getZ());
```
which makes it way more obvious that the blocks invoke dif... (more) |
— | about 2 years ago |
Comment | Post #285916 |
I guessed that this was the reason you mentioned onbeforeunload :-) Just to be perfectly clear, the problem I see is that network I/O in onbeforeunload can not be relied on to work, because the application will likely unload before the server response arrives, making it impossible to react to a failu... (more) |
— | about 2 years ago |
Comment | Post #285918 |
In the Schwartzian transform, I'd prefer using an object to hold the tuple rather than arrays for better readability (i.e. one can then write `sort((a,b) => a.sortKey - b.sortKey)` rather than using "magic index 1". Also, your conclusion makes it sound as if execution speed were the only concern. It ... (more) |
— | about 2 years ago |
Comment | Post #285908 |
That last question might be specific enough to be answered in a reasonable amount of text (this answer is gonna be: it depends, and would have to enumerate the various things that usually factor into this decision). The question you originally posted is bit too broad IMHO. You may therefore want to e... (more) |
— | about 2 years ago |
Comment | Post #285908 |
Well, the difference is that the databases will be separate databases. Can you clarify what you mean with "set up"? Installing the database software (off topic here), migrating schemas, configuring a different database connection in test and production, or something else? (more) |
— | about 2 years ago |
Comment | Post #285902 |
Do you know the environment well enough to say that with certainty? For instance, people are never interrupted by a ringing phone and have to handle that before continuing? Or the arrival of an urgent email? Or some coworker asking for help through chat? Obviously, I don't know the environment you ar... (more) |
— | about 2 years ago |
Comment | Post #285875 |
+1 to Lundin's comments. (more) |
— | about 2 years ago |
Comment | Post #285883 |
What problem are you trying to solve with this? Why is it a problem if a token is updated while the user is away from his keyboard? (more) |
— | about 2 years ago |
Comment | Post #285844 |
Why do you need to detect whether a user is idle? (more) |
— | about 2 years ago |
Comment | Post #285489 |
I see. Knowing that you are concerned about peak memory use, rather than, say, the length of garbage collector pauses helps writing targeted answers. (more) |
— | over 2 years ago |
Comment | Post #285491 |
On .NET Core, the AppDomain implementation is limited by design and does not provide isolation, unloading, or security boundaries (more) |
— | over 2 years ago |
Comment | Post #285489 |
Does this memory use cause an actual problem for you? Most modern servers comes with hundreds of GB of memory, so you should have memory to spare? (more) |
— | over 2 years ago |
Comment | Post #284552 |
Then I agree with you :-)
The example I was making was about somebody not consulting Wikipedia, which I'd expect every reasonable person to know. (more) |
— | over 2 years ago |
Comment | Post #284552 |
Obvious to whom? It may be obvious to us, and to "every reasonable person", but not to them. (more) |
— | over 2 years ago |
Comment | Post #284507 |
To clarify: Bug 3 is about returning an `ApplicationUserDTO` rather than an `Observable<ApplicationUserDTO>`. Those are different types, offering different properties and methods. TypeScript doesn't realize this because you are declaring `public currentUser?: any;`
Angular will not rewrite the cod... (more) |
— | over 2 years ago |
Comment | Post #284255 |
Erm, what? My answer says that static methods can not be overridden in a subclass. Which is their main disadvantage. I don't get how you came conclude that my "example didn't add anything about method" when that example declares 3 methods, and proceeds to call one of them in a way that wouldn't be po... (more) |
— | over 2 years ago |
Comment | Post #284255 |
Did I say something wrong? Did I not say something you think I should? I tried to say the same as Alexei, but in a way more understandable to beginners, but he got +3, I got -2. Am I to conclude I should never use simple language here? (more) |
— | over 2 years ago |
Comment | Post #283003 |
Are you sure that spaces are not counted? My tests indicate otherwise ... in particular, `"Hello, World!".length` returns 13, counting the 10 letters, 2 punctuation symbols, and 1 space ... (more) |
— | almost 3 years ago |
Comment | Post #282714 |
Do you mean "lack"? Because "leaking effort" might be understood to mean an overabundance of effort ... (more) |
— | almost 3 years ago |
Comment | Post #282541 |
Also: How will the business rules be tested? (Since the rules have financial impact, you'll likely need some form of Q/A?) (more) |
— | almost 3 years ago |
Comment | Post #282541 |
Programmable by whom? Which skills do they have? (more) |
— | almost 3 years ago |
Comment | Post #282332 |
Can you clarify the kind of "bloat" you are concerned about? Memory use? Name collision? Redundancy in the source code due to several classes with the same members? Something else? (more) |
— | almost 3 years ago |
Comment | Post #281822 |
I'm afraid I don't understand your question. First, why is a decibel meter dropping when you stop speaking cause for worry? Isn't that expected? Second, can you clarify what you mean by "manage" the decibel meter? (more) |
— | almost 3 years ago |
Comment | Post #281565 |
@Alexei: Feedback can help people write better content in the future. (more) |
— | about 3 years ago |
Comment | Post #281560 |
See also https://meta.codidact.com/posts/281546. (more) |
— | about 3 years ago |
Comment | Post #281530 |
So if I find a question unsalvagable, I should "downvote and move on" or flag it. So, I should never give negative feedback myself, and ask you to pass it along instead? Ok. Could you please pass along that googling and reading wikipedia before asking a question is not optional, even if English is no... (more) |
— | about 3 years ago |
Comment | Post #281517 |
Would you please at least check Wikipedia before asking a question here? Because if you do read https://en.wikipedia.org/wiki/Uniform_Resource_Identifier, you'll come across such an example in a matter of minutes. (more) |
— | about 3 years ago |
Comment | Post #281484 |
Where have you read that? I ask because the same word can mean different things in different contexts, so knowing the context is necessary to know what "typeless" means. (Yes, some words are so ubiquitous nearly everyone agrees on their meaning. These words usually have their own wikipedia entry. "ty... (more) |
— | about 3 years ago |
Comment | Post #281200 |
What do you mean with "uncheckable"? In your code, TypeScript checks that the functions exist and have the correct signature. What else do you want it to check? (more) |
— | about 3 years ago |
Comment | Post #281168 |
I always normalize timezones in the application tier because I don't like to depend on DBMS-specific logic for finicky stuff like this (in addition, I know Java's data time libraries much better than SQL's). (more) |
— | about 3 years ago |
Comment | Post #281058 |
What makes you think that the "server seems to not receive the data"? (more) |
— | about 3 years ago |
Comment | Post #280975 |
We can't know *how* explorer uses these hashing functions to find "similar pictures", nor do we know what "similar" means in this context. Since we don't work at microsoft, we don't know what they are doing any better than you do. (more) |
— | about 3 years ago |
Comment | Post #280970 |
Answers describing solutions in other languages or frameworks are welcome - they can likely be adapted :-) I am using JPA (the Java equivalent of EF), and I am using its optimistic locking feature, which seems similar to EF concurrency checks. However, JPA optimistic locking fails to prevent the bug ... (more) |
— | about 3 years ago |
Comment | Post #280795 |
In addition, the usual caveat for all terminology questions applies: Different people may associate a different meaning with this word. There is no universally accepted definition: To some, REST means the architectural style in Fieldings dissertation. To others, it simply means they sometimes use HTT... (more) |
— | about 3 years ago |
Comment | Post #279072 |
You did ask whether you are missing something. Yes, you are: If you use git well, you will be writing meaningful intermediary commits, so amending or squashing will be a rare event, so there is no need to "fix" commit dates. I am somewhat puzzled that you would ask whether you are missing something, ... (more) |
— | over 3 years ago |
Comment | Post #279072 |
Sorry to hear your team writes such abysmal commit messages. Concluding from this that commit messages can not be useful would would be a mistake though. (more) |
— | over 3 years ago |
Comment | Post #278897 |
Feel free to give constructive feedback when downvoting ... (more) |
— | over 3 years ago |
Comment | Post #278899 |
How is this related to software development? (more) |
— | over 3 years ago |
Comment | Post #278782 |
I suspected that :-) I was trying to point that ngrx need not be an all-or-nothing affair. If part of your state is SHARI, and thus benefits from the store, other data might not be. And since the token is neither shared, hydrated, necessarily available when reentering routes, retrieved with a side ef... (more) |
— | over 3 years ago |
Comment | Post #278830 |
I am not surprised the C book list went of the rails if voting was disabled for years, everybody could edit the list at whim, and the form of the community wiki answer discouraged offering evidence for or against a particular book. Since we don't have to repeat these mistakes, we might see better res... (more) |
— | over 3 years ago |
Comment | Post #278788 |
What do you find vague about it? That we need to infer intent? (more) |
— | over 3 years ago |
Comment | Post #278792 |
Ah, so it's about tools only? Because [software documentation](https://en.wikipedia.org/wiki/Software_documentation) encompasses all kinds of documents about software, up to and including user manuals. Your phrasing could therefore be understood to include all questions about technical writing. So, I... (more) |
— | over 3 years ago |
Comment | Post #278790 |
Well, I would never have gathered that from the phrasing you proposed, so perhaps you can find a better way to express what you mean? (more) |
— | over 3 years ago |
Comment | Post #278649 |
Disagree due to verbosity and hard to understand wording. Site rules should be expressed clearly and concisely. (more) |
— | over 3 years ago |
Comment | Post #277393 |
It doesn't go into that because that isn't affected by declared VARCHAR sizes - have I missed something? (more) |
— | over 3 years ago |
Comment | Post #278709 |
Erm, are you *sure* that the declared length of a VARCHAR determines row size in the table file for MyISAM static tables? Because the documentation you link to says that "It [the static format] is used when the table contains no variable-length columns (VARCHAR, VARBINARY, BLOB, or TEXT)", which impl... (more) |
— | over 3 years ago |
Comment | Post #278291 |
But, since I alluded that I still have a different perspective on the decision taken, I should probably briefly show where I disagree with your reasoning: 1) I don't think we would have seen thousands of answers in a community as small as ours currently is. 2) In a list style question, voting could i... (more) |
— | over 3 years ago |
Comment | Post #278291 |
That is, my beef is not so much with the decision taken (which, apparently, nearly everyone but me agrees with), but with how it was communicated. (more) |
— | over 3 years ago |
Comment | Post #278291 |
I asked this meta question because I found it frustrating to find my question downvoted and closed, and the only explanation initially given a generic close message so vague that it could have meant pretty much anything. I didn't mean to imply that your comment was poorly written, I pointed out its f... (more) |
— | over 3 years ago |