Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

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
Edit Post #281528 Initial revision over 3 years ago
Question How are we supposed to give feedback for poor questions if such comments are deleted?
The question https://software.codidact.com/posts/281517 is currently voted at -3. I wrote several comments to explain why, so the author can hopefully ask better questions in the future. This morning, I found all but the first of these comments deleted without warning. Alexei gave the followin...
(more)
over 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)
over 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)
over 3 years ago
Edit Post #281477 Post edited:
over 3 years ago
Edit Post #281477 Post edited:
over 3 years ago
Edit Post #281477 Initial revision over 3 years ago
Question Is it worth using the Java Platform Module System in application code?
Is it worth using the Java Platform Module System introduced in Java 9 to structure application code? Given that the Java Platform Module System introduced in Java 9 doesn't manage dependency versions, I understand I still need a dependency management tool such as Maven - but if I am already using...
(more)
over 3 years ago
Edit Post #281422 Initial revision over 3 years ago
Answer A: Why often times data compression causes data loss?
> I understand data compression as making data structures nearer (if they are mere machine code without any abstract representation) or representing them in less and less abstract computer languages (from the "complicated" to the "simple"). Nonsense. Let's turn to Wikipedia for a better definit...
(more)
over 3 years ago
Edit Post #281315 Initial revision over 3 years ago
Answer A: How to properly deal with impersonation in a Web application? (security vs. usefulness for tech support)
My first instinct would be to track both identities, using one for access control, and the other for audit purposes. For instance, rather than storing: User createdBy; you'd store User createdBy; // for auditing User createdOnBehalfOf; // for access control All access con...
(more)
over 3 years ago
Edit Post #281255 Initial revision over 3 years ago
Question Why do I, a logged in user, have to solve a captcha to post?
You should know I am not a bot by now ;-)
(more)
over 3 years ago
Edit Post #281253 Initial revision over 3 years ago
Answer A: How to enable or disable a bunch of reactive form controls?
Actually, TypeScript is perfectly able to type check the code you posted. Here's what the compiler thinks: const functionName = disable ? "disable" : "enable"; // inferred type: "disable" | "enable"; this.form.get("foo")[functionName]; // inferred type: // FormControl["...
(more)
over 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)
over 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)
over 3 years ago
Edit Post #281156 Post edited:
over 3 years ago
Edit Post #281156 Post edited:
over 3 years ago
Edit Post #281156 Initial revision over 3 years ago
Answer A: Is there a problem in making Captcha an HTML builtin with an attribute setting which type of Captcha
As the comments in that thread mention, Captcha is a service, not mere software. The distinction is that Captcha are in an arms race with spammers, and must continually evolve to remain effective. In particular, many popular Captcha approaches have been made obsolete by advances in AI: The "disto...
(more)
over 3 years ago
Edit Post #281145 Post edited:
over 3 years ago
Edit Post #281145 Post edited:
over 3 years ago
Edit Post #281145 Initial revision over 3 years ago
Answer A: Dye all label asterisks Red with vanilla JavaScript
In HTML, style information is applied to elements; it can't be applied to individual characters in a text node. Therefore, if you want to style the `` differently, it needs a dedicated element. You can use a pseudo element for that, but since an element can't have two after pseudo elements, you c...
(more)
over 3 years ago
Comment Post #281058 What makes you think that the "server seems to not receive the data"?
(more)
almost 4 years ago
Edit Post #281001 Post edited:
almost 4 years ago
Edit Post #281001 Initial revision almost 4 years ago
Answer A: What should healthcheck of an Web API application actually check?
> I am interested in a guideline to understand how dependencies are considered when building the healthcheck functionality for an API. Like any functionality, the implementation of this feature should be guided by specific requirements. Who will be using that feature? What for? For instance, i...
(more)
almost 4 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)
almost 4 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)
almost 4 years ago
Edit Post #280970 Post edited:
almost 4 years ago
Edit Post #280970 Initial revision almost 4 years ago
Question How to reason about transaction isolation during development
Consider the following code: public class OnlineShoppingService { @Transactional public void cancelOrder(String id) { if (shipmentRepository.findShipmentForOrder(id) != null) { throw new ConflictException("Shipped orders can not be cancelled!"); ...
(more)
almost 4 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)
almost 4 years ago
Edit Post #280787 Initial revision almost 4 years ago
Answer A: What is the latest, efficient way to create a login page in JAVA?
A login page is but the tip of the iceberg. For a login page to function, you need a way to store users and their passwords, verify passwords in a safe way, prevent the login form from being bypassed by requiring a login before accessing a protected resource, and thus designate resources as protected...
(more)
almost 4 years ago
Edit Post #280112 Post edited:
almost 4 years ago
Edit Post #280112 Initial revision almost 4 years ago
Answer A: Is it necessary for a build server to remove node_modules before an AOT build?
I suspect this is an outdated practice: Prior to npm 3, npm did not keep track of resolved dependencies, and npm install would try to reconcile the existing with the declared dependencies. Since `nodemodules` is not commonly under version control, this meant that the build would depend on hidden s...
(more)
almost 4 years ago
Edit Post #279072 Post edited:
about 4 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)
about 4 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)
about 4 years ago
Edit Post #279072 Post edited:
about 4 years ago
Edit Post #279072 Post edited:
about 4 years ago
Edit Post #279072 Initial revision about 4 years ago
Answer A: How can I make --reset-author the default?
Rather that doing `git commit --amend --date=` every time you commit, you can coalesce commits at merge time using `git merge --squash`. That said, for non-trivial topic branches, it is usually valuable to retain the commits in the topic branch to figure out why a particular change was made. For i...
(more)
about 4 years ago
Edit Post #278783 Post edited:
about 4 years ago
Comment Post #278897 Feel free to give constructive feedback when downvoting ...
(more)
about 4 years ago