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 Appropriate HTTP status code for "user confirmation required"

I'm working on a system where the frontend will make a call to the backend to perform an action. Sometimes this action can cause other unintended consequences (like charging the customer), in thes...

2 answers  ·  posted 3y ago by Welz‭  ·  last activity 3y ago by Alexei‭

Question response http http-response-codes status
75%
+4 −0
Meta Should we allow UI/UX questions in our community?

I think it should be on-topic with the following distinction: On-topic Technical questions regarding to UI, including mark-up language syntax, how to set properties in RAD tools, how to use gra...

posted 3y ago by Lundin‭

Answer
75%
+4 −0
Q&A In the current development context (2020+), is there any reason to use database triggers?

This is somewhat of a non-answer because I also think the answer is mostly "no". I'll split kinds of triggers into three categories. 1) Those that only touch the affected rows, 2) those that addit...

posted 3y ago by Derek Elkins‭

Answer
75%
+4 −0
Q&A What are the disadvantages of using auto mapper libraries?

I have noticed that lots of projects (both in real-world and within online courses) use Automapper to map domain models to view models, API models. The main advantage seems to be convenience by re...

2 answers  ·  posted 3y ago by Alexei‭  ·  edited 3y ago by Alexei‭

Question automapper
75%
+4 −0
Q&A In the current development context (2020+), is there any reason to use database triggers?

I have not used a database trigger in years in the projects of the teams I have worked in, but I have seen them being used by other teams. Back in 2009, it seemed like a heated debate, but I am wo...

1 answer  ·  posted 3y ago by Alexei‭  ·  last activity 3y ago by Derek Elkins‭

Question database-trigger database
75%
+4 −0
Q&A What advantages does Agner Fog's VCL have over OpenMP?

Agner Fog has this C++ Vector Class Library, which is ... useful for improving code performance where speed is critical and where the compiler is unable to vectorize the code automatically in an...

1 answer  ·  posted 3y ago by anatolyg‭  ·  edited 3y ago by Alexei‭

Question c++ openmp simd vector-class-library
75%
+10 −2
Q&A Conditionally ignore files in git

I'm not familiar with Latex, but it seems the PDFs are generated from the Latex files. It then seems the real problem is that you are trying to keep source and objects derived from that source in ...

posted 3y ago by Olin Lathrop‭

Answer
75%
+4 −0
Meta Question templates for guidance

I am wondering if it makes sense to define a template for questions. This would act as a guideline rather than a strict template to be followed. I have seen this being used for GitHub issues and I...

0 answers  ·  posted 3y ago by Alexei‭

Question discussion questions
75%
+4 −0
Q&A Can I set a memory limit for the .NET Core garbage collector to collect objects more aggressively?

Generally speaking, the frequency of garbage collection is a space / time tradeoff: collection effort live object size GC overhead ~ ----------------- = ---------------- ...

posted 3y ago by meriton‭

Answer
75%
+4 −0
Meta How to promote Software Development Codidact on LinkedIn?

I have recently blown off the dust off my LinkedIn profile and I have realized that I have hundreds of connections. An important fraction of all these connections are into software development and ...

0 answers  ·  posted 3y ago by Alexei‭

Question discussion site-promotion
75%
+4 −0
Q&A How to clear the contents of a file?

How to clear the contents of a file using C?

1 answer  ·  posted 3y ago by dumplings‭  ·  edited 3y ago by hkotsubo‭

Question c file-handling
75%
+4 −0
Q&A Handling high frequency requests with cancellations in an ASP.NET Core application

There are two issues here. A performance problem and a correctness problem. The approach you suggest seems like it will help mitigate the performance problem while doing nothing for the correctness...

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

Answer
75%
+4 −0
Q&A Regarding the heap sort algorithm.

As you know, a max heap is a binary tree such that each parent is greater than its children. The most compact and efficient way to represent such a tree is an array, where each index corresponds t...

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

Answer
75%
+4 −0
Q&A Why does fopen return NULL?

Besides the possible issues that Lundin told you, there is also the possibility that the current directory of the program is not what you think it is (note that the current directory is not necessa...

posted 3y ago by celtschk‭

Answer
75%
+4 −0
Q&A How to align my content to the left?

This revolves around images. I'm trying to write an HTML page of COVID-19 safety procedures, and here's what I've written so far: <!DOCTYPE html> <html> <head> <title&...

2 answers  ·  posted 3y ago by General Sebast1an‭  ·  last activity 1y ago by Peter Taylor‭

Question html css alignment image
75%
+4 −0
Q&A Docutils rst2pseudoxml.py reported error: No role entry for "meth"

There is no resolution for this issue as the meth role is a syntax extension defined by Sphinx, in what it calls the Python "domain". The standard reStructuredText roles that Docutils supports do n...

posted 3y ago by J-hen‭

Answer
75%
+4 −0
Q&A document.open() and the DOM tree of the loaded (closed) browser window on which it works

At the documetation you linked, if you click on "which will clear the document", it'll go to the documentation for document.open, and that page says in the beginning: All existing nodes are remo...

posted 3y ago by hkotsubo‭  ·  edited 3y ago by hkotsubo‭

Answer
75%
+4 −0
Q&A Hash sign as a path component in a user script's @match command prevents the script from running

The part after the hashtag is called a URI fragment. Unfortunately, Tampermonkey does not allow you to match hashtags. This is arguably for good reason. The hashtag can easily change (and for sing...

posted 3y ago by Moshi‭

Answer
75%
+4 −0
Q&A Is it possible to write protocols for enumerations in Python?

Having recently learned about protocols in Python, I now wonder if you can write a protocol for enumerations. That is, a protocol that says that you are supposed to pass an enum that has certain it...

1 answer  ·  posted 3y ago by celtschk‭  ·  last activity 3y ago by r~~‭

Question enum python-3 python-protocol-type
75%
+4 −0
Code Reviews A state machine in Python

I think you've got an architectural error. A state machine (SM) determines it's own actions based on it's state and the messages it may receive. The calling code may send messages (information) t...

posted 3y ago by Nick Alexeev‭  ·  edited 3y ago by Nick Alexeev‭

Answer
75%
+4 −0
Code Reviews A state machine in Python

Some thoughts about your design / code (not repeating what was already said by Derek): You have chosen member _observers of class State to be a list, and member function register to append to ...

posted 3y ago by Dirk Herrmann‭

Answer
75%
+4 −0
Code Reviews A state machine in Python

I've written the following code implementing a state machine in Python, and I'd like some feedback on it. The basic idea is that each state has a set of corresponding actions that trigger a state ...

2 answers  ·  posted 3y ago by celtschk‭  ·  last activity 3y ago by Nick Alexeev‭

Question python-3 state-machine
75%
+4 −0
Meta The tag [caching] exists twice, shoud we blame caching?

Browsing through the list of tags I saw two with the exact same name, [caching]: One is in https://software.codidact.com/categories/38/tags/4128 and the other in https://software.codidact.co...

0 answers  ·  posted 3y ago by fedorqui‭  ·  edited 3y ago by Alexei‭

Question bug status-completed tags
75%
+4 −0
Q&A PGP sign emails sent with git-send-email(1)

How can we use git-send-email(1) to sign patches (emails) with the gpg(1) keyring? The git-send-email command does not have any CLI options to perform cryptographic operations, so, to the best...

posted 3y ago by ghost-in-the-zsh‭  ·  edited 3y ago by ghost-in-the-zsh‭

Answer
75%
+4 −0
Q&A How to make this treewalker code having a regular for loop or a forEach() method?

I personally think its syntax is confusing. Well, it's just a matter of getting used to it, I guess :-) Anyway, this code is just looping through all childNodes and in each iteration it cal...

posted 3y ago by hkotsubo‭

Answer