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.

Posts by Derek Elkins‭

38 posts
75%
+4 −0
Q&A Is there any justification for having a single tempdb database to be used by all databases on a SQL Server intstances?

I can't speak for the designers' motivations, but here are some possible reasons: It's simple. Having one tempdb for everything is likely simpler to implement and simpler to configure. It works...

posted 2y ago by Derek Elkins‭

Answer
75%
+4 −0
Q&A Are there any downsides related to using Maybe or Optional monads instead of nulls?

This is mostly an addition to r~~'s answer which I mostly agree with. This elaborates on the "non-idiomatic" part a bit. Modern Java code doesn't have a problem using Optional. Why? Because Option...

posted 2y ago by Derek Elkins‭

Answer
75%
+4 −0
Q&A Using http.get to get page from frontend

To start, Angular is a Single-Page Application (SPA) framework. This means your whole "site" is served from a single web page. Any apparent navigation within that site is just (Angular's) JavaScrip...

posted 2y ago by Derek Elkins‭

Answer
77%
+5 −0
Q&A Is it a good idea to have a permanent branch for a feature?

Your first diagram illustrates a pattern that doesn't really make sense and most likely doesn't reflect what you're actually doing. Specifically, it illustrates a pattern where the feature branch n...

posted 2y ago by Derek Elkins‭

Answer
75%
+4 −0
Q&A How do I filter an array in C?

First a meta note. Code golf isn't a great way to learn a language. It explicitly optimizes for something that generally isn't valuable (fewer bytes of source code) typically at the expense of aspe...

posted 2y ago by Derek Elkins‭

Answer
77%
+5 −0
Q&A updating a function within a struct

You are correct in your analysis (though I would not call new_b a "parameter" but a captured variable). What you want is for the closure (anonymous function) to take responsibility for new_b and n...

posted 3y ago by Derek Elkins‭

Answer
84%
+20 −2
Q&A Is it wrong to demand features in open-source projects?

As you have worded it, for most open source project, particularly small ones, I would say "yes", it is "wrong" to demand features. Or rather, it's extremely rude. Most of the time open source soft...

posted 3y ago by Derek Elkins‭

Answer
71%
+3 −0
Q&A Is it necessary for a build server to remove node_modules before an AOT build?

I can't really think of a compelling reason to remove node_modules as a matter of course. The most compelling one, is what you alluded to. If node_modules is "corrupted" in some manner, removing a...

posted 3y ago by Derek Elkins‭  ·  edited 3y ago by Derek Elkins‭

Answer
77%
+5 −0
Q&A When should I use wait() instead of get() when using C++ threads

tl;dr If you don't have a reason otherwise, you should use get. More precisely, if you will be done with the future, you should use get. You should use wait only if there is some separation between...

posted 3y ago by Derek Elkins‭

Answer
75%
+4 −0
Q&A Permutations of an array - APL

I assume the built-in definition you're referring to is pmat. That illustrates how to solve your problem near the bottom. The idea is simply if σ is a permutation of length N and A is an array of l...

posted 3y ago by Derek Elkins‭

Answer
75%
+4 −0
Q&A What do the number entries mean in the sympy poly.diff(...) tuple syntax?

Based on the source code which delegates to this implementation among others, base.diff((x, n)) means to compute the n-th derivative of base with respect to x. Any arguments to diff which aren't tu...

posted 3y ago by Derek Elkins‭  ·  last activity 3y ago by Derek Elkins‭

Answer
80%
+6 −0
Q&A Are generic enums completely abstract?

Your question is a bit ambiguous. Usually when one talks about something being "completely abstract", one means the details of the representation are opaque. This is the sense of "abstract" in "abs...

posted 3y ago by Derek Elkins‭

Answer
70%
+5 −1
Q&A Can regex be used to check if input conforms to a very strict subset of HTML?

I mostly agree with the upshot of hkotsubo's answer, but I want to both tailor the answer more specifically to your question and give some more general advice. First, the restricted subset you desc...

posted 3y ago by Derek Elkins‭

Answer