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.

Search

Advanced Search Options

To further refine your search, you can use additional qualifiers such as score:>0.5. For example, the search score:>=0.5 created:<1y grammar would return only posts mentioning "grammar" that have a score >= 0.5 and were created less than a year ago.

Further help with searching is available in the help center.

Quick hints: tag:tagname, user:xxx, "exact phrase", post_type:xxx, created:<N{d,w,mo,y}, score:>=0.5

Filters
 
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 4y ago by Derek Elkins‭  ·  last activity 4y ago by Derek Elkins‭

Answer
75%
+7 −1
Q&A How to choose backend technology for my project?

I am planning to build a "Customer Management Portal" as a hobby project using technologies like HTML,CSS,JavaScript,JAVA,JDBC,Oracle Database.The description of the portal is: 1)Customer details ...

3 answers  ·  posted 4y ago by aditya98‭  ·  last activity 4y ago by Matthewericfisher‭

Question backend
75%
+4 −0
Q&A How to choose backend technology for my project?

There are a lot of factors that can go in the choice of a language: Do the properties of the language itself meet your requirements (e.g., C allows for more low-level optimizations than Visual ...

posted 4y ago by Peter‭  ·  edited 4y ago by manassehkatz‭

Answer
75%
+4 −0
Q&A Capture args from repeatable flags in Golang pflags package

How do I create a flag that can be used multiple times in a command using the pflag package? For example, let's say I wanted to select multiple fields and did not want to have to use comma-separati...

1 answer  ·  posted 4y ago by qohelet‭  ·  edited 4y ago by Alexei‭

Question go parameters pflag-go
75%
+4 −0
Q&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 no...

posted 4y ago by meriton‭  ·  edited 4y ago by meriton‭

Answer
75%
+4 −0
Q&A List what file(s) an identifier was declared in?

I'm using Doxygen to help me figure out some library code. There's an enum I know I need to use, but I don't know which file it's declared in. Searching for that identifier in Doxygen yields the p...

1 answer  ·  posted 4y ago by Hyperlynx‭  ·  last activity 4y ago by summea‭

Question doxygen
75%
+4 −0
Meta Enable text-area for comments to be resized

I was wondering if the comment box can be altered? So the text-area can be expanded/re-sized? It's quite frustrating to get to the right text scrolling in such small box whilst it's not interactiv...

1 answer  ·  posted 4y ago by gzi98‭  ·  last activity 3y ago by Monica Cellio‭

Question discussion feature-request status-completed
75%
+4 −0
Q&A Resize HTML canvas with respect to inner content

I am currently making an esoteric language which requires a theoretically infinite canvas. Basically, it should be able to resize and fit the contents of the drawing in and outside it's existing bo...

0 answers  ·  posted 4y ago by Razetime‭

Question javascript html canvas
75%
+4 −0
Q&A Capture args from repeatable flags in Golang pflags package

Yes, this is supported by the flag definition functions with Array or Slice in their names. See the reference docs for pflag. A simple example below: package main import ( "fmt" ...

posted 4y ago by overtime‭

Answer
75%
+4 −0
Q&A Pros and cons of various type_traits idioms

I'm new to type_traits and #2 made sense right away. Everything else was confusing, but I don't know a good way to avoid #4. Maybe you even need #1 sometimes. #1 : enable_if on the return type Wh...

posted 4y ago by Jordan‭  ·  edited 4y ago by Jordan‭

Answer
75%
+4 −0
Q&A How to define custom configurations in new-style .csproj?

Problem I'm trying to update some projects from old-style .csproj: <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.mi...

1 answer  ·  posted 4y ago by Peter Taylor‭  ·  last activity 3y ago by Peter Taylor‭

Question msbuild visual-studio
75%
+4 −0
Q&A 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) { ...

1 answer  ·  posted 4y ago by meriton‭  ·  last activity 4y ago by Alexei‭

Question java database transactions concurrency
75%
+4 −0
Q&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 sho...

posted 4y ago by meriton‭  ·  edited 4y ago by meriton‭

Answer
75%
+4 −0
Q&A Update list based on presence of identifier in a second list

Adding to Peter Taylor's reply: The OP requested something "more LINQ". I guess it can't get any "more linq" than... MoreLINQ! That library also has a ForEach(). If you only need that, maybe it...

posted 4y ago by sktpin‭

Answer
75%
+4 −0
Q&A Declaring interface members with generic return types: "The type parameter [generic type] cannot be used with type arguments"

The short answer is that it can't be done. C# doesn't support type functions. https://github.com/dotnet/csharplang/issues/339 is probably the issue to follow if you want to track their progress. W...

posted 4y ago by Peter Taylor‭

Answer
75%
+4 −0
Q&A Dye all label asterisks Red with vanilla JavaScript

While there might be some JavaScript "magic-like" solution I don't know of, my own solution was making the HTML a tiny bit more complex and adjusting the CSS to the change. I have inserted my labe...

posted 4y ago by deleted user  ·  edited 4y ago by deleted user

Answer
75%
+4 −0
Q&A Interpreted language: What is its benefit for being written in that way ?

Some additional advantages of interpreted languages: Interpreted programs are basically scripts run by the interpreter. The interpreter can be embedded into other applications that want to provid...

posted 4y ago by Olin Lathrop‭  ·  edited 4y ago by Olin Lathrop‭

Answer
75%
+4 −0
Q&A How to read lines into an array in Bash

Your code adds all three elements to the list. You can see this if you add a line inside the while loop: echo "$line" However, if you give the command echo $my_array, it will only show you the...

posted 4y ago by FractionalRadix‭

Answer
75%
+4 −0
Q&A How do I configure log4net from an arbitrary data structure?

My assumption is that, internally, log4net loads its XML file into some data structure (maybe not a dict, but some equivalent of cfg_dict above) and then passes that structure to whatever code ma...

posted 4y ago by Peter Taylor‭  ·  edited 4y ago by Peter Taylor‭

Answer
75%
+4 −0
Q&A How to prompt a user for an expanded variable in Bash?

I work with CentOS operating system and my only shell is Bash. I want to create a script which prompts a user with a question like "What is your web application root?" The user should answer dire...

1 answer  ·  posted 4y ago by deleted user  ·  last activity 4y ago by Someone‭

Question python perl linux variable-assignment bash
75%
+4 −0
Q&A Declaring interface members with generic return types: "The type parameter [generic type] cannot be used with type arguments"

I'm trying to write an interface to define the set of operations I expect my repositories' Unit of Work implementations to have, and I want this interface to be fulfilled by EF Core's DbContext cla...

2 answers  ·  posted 4y ago by Marc.2377‭  ·  last activity 4y ago by Marc.2377‭

Question c# generics .net interface .net-core
75%
+4 −0
Q&A Multiple catches with almost the same code.

There are many things we label as bad when programming, for various reasons. Repeating code is slightly bad. But writing function like-macros is extremely bad. You should not try to replace someth...

posted 4y ago by Lundin‭

Answer
75%
+7 −1
Meta Autocompleting usernames in comments does not seem to work

It seems like autocompleting usernames does not work. I wanted to answer a comment and started typing @ followed by the first letter in the username, but no suggestion appeared. I tried pressing ta...

2 answers  ·  posted 4y ago by klutt‭  ·  last activity 3y ago by Mithical‭

Question feature-request status-completed comments
75%
+4 −0
Code Reviews PHP script to create a KML square centred on a point.

echo "Enter Latitude\n"; $handle = fopen("php://stdin", "r"); $lat = deg2rad(trim(fgets($handle))); fclose($handle); echo "Enter Longitude\n"; $handle = fopen("php://stdin", "r"); $long = deg2rad(...

posted 4y ago by Peter Taylor‭

Answer
75%
+4 −0
Code Reviews Counting number of assignments that a `fscanf` format strings implies

I'm writing a function that counts the number of assignments for a fscanf format string. I studied the documentation in C standard 7.21.6.2 It looks like it works. It passes all test cases I have w...

3 answers  ·  posted 4y ago by klutt‭  ·  last activity 3y ago by klutt‭

Question c fscanf scanf format-string