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
 
81%
+7 −0
Q&A Common string handling pitfalls in C programming

The reader is assumed to understand how arrays and pointers work in C. You cannot understand pointers before you understand arrays, and you cannot understand strings before you understand pointer...

posted 3y ago by Lundin‭  ·  edited 6mo ago by Karl Knechtel‭

Answer
81%
+7 −0
Q&A What problem does innerHTML solves?

tl;dr According to the documentation, innerHTML property "gets or sets the HTML or XML markup contained within the element". Basically, "that's all", but let's see it in more detail. It makes...

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

Answer
81%
+7 −0
Q&A Is there a name for a data format like `key[type]=value`?

I'm working on an integration with a proprietary (black box) system. There is some TCP communication that occurs between two microservices. I've managed to sniff the traffic and it's being sent in...

0 answers  ·  posted 3y ago by Welz‭  ·  edited 3y ago by Welz‭

Question format format-identification tcp
81%
+7 −0
Q&A Console scripts in virtual environment do not output to terminal in git bash

I have console scripts in my virtual environment in \env\Scripts, installed with packages (e.g. black, pytest, coverage). If I try to execute these in Git Bash, the output is not returned to the te...

1 answer  ·  posted 3y ago by boudewijn21‭  ·  last activity 3y ago by boudewijn21‭

Question python windows mintty venv git-bash
81%
+7 −0
Q&A When using the compare function in Array.prototype.sort, how to avoid an element to be processed more than once?

PS: for small arrays and/or if the function is fast and doesn't cause performance bottlenecks, none of the below is really necessary (see the analysis in the end). That said, let's see how to sol...

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

Answer
81%
+7 −0
Q&A Conditionally ignore files in git

I'm using git for LaTeX projects and am in a little dilemma about how to best ignore files. if I add *.pdf to my .gitignore file, I keep forgetting to force add included graphics if I don...

3 answers  ·  posted 3y ago by samcarter‭  ·  last activity 3y ago by Peter Taylor‭

Question git gitignore
81%
+7 −0
Meta Should we allow UI/UX questions in our community?

A significant fraction of software developers also needs to make some UI/UX-related decisions. I am wondering if we should such questions in the Software Development community. Based on feedback...

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

Question discussion ontopic
81%
+7 −0
Q&A Kotlin FloatArray from Iterable<Float>

In your situation, the most obvious thing to do is use a for loop over the Iterable or the Iterable.forEach extension method depending on your preference, and directly put floats into the FloatBuff...

posted 3y ago by Derek Elkins‭

Answer
81%
+7 −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? I've heard it can be done, but couldn't find anything in the git-send-email(1) documentation nor in a web search.

3 answers  ·  posted 3y ago by alx‭  ·  last activity 1y ago by alx‭

Question git email pgp signing
81%
+7 −0
Q&A Why can't a derived class add a const qualifier to a method?

Because method constness is part of the type signature for the method, and const/non-const methods are completely separate as far as the language is concerned. When you override a method in a deriv...

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

Answer
81%
+7 −0
Q&A Invalid memory access when trying to dereference a pointer obtained through a function call

Your function returns a pointer to a local non-static variable. Such a variable exists only during execution of the function and is removed on return. This means you are left with a so-called dangl...

posted 3y ago by celtschk‭

Answer
81%
+7 −0
Q&A Dealing with GETs with long query strings in ASP.NET Core

tl;dr Just use a POST. There's likely literally no reason not to in your situation. REST is not a standard. Being RESTful in and of itself is not a virtue. I strongly suspect that your current...

posted 3y ago by Derek Elkins‭

Answer
81%
+7 −0
Q&A Behavior of Pointer Arithmetic on the Stack

I'm able to access a, since b is below a on the stack. No, it's not! You have no guarantee in what order the compiler allocates temporary variables on the stack, and even whether it does so at al...

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

Answer
81%
+7 −0
Q&A Problems with data structures and filestreams.

Notice You'll need to backpedal some! Read the answer by @r~~ above, but I expect you need some hints. This reads as either a selfstudy or schooling exercise task, so I'll stick to review + hints...

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

Answer
81%
+11 −1
Q&A Why would excluding records by creating a temporary table of their primary keys be faster than simply excluding by value?

I have two tables with millions of records. Every so often I need to join them and exclude just a handful of records where a bit(1) column is set to 1 instead of 0. I can do it with either, WHERE ...

2 answers  ·  posted 5y ago by Charlie Brumbaugh‭  ·  edited 4y ago by Alexei‭

Question mysql sql notin query-performance
81%
+11 −1
Meta Should we allow questions about installation and configuration of software development tools?

Generally, I would say: On-topic How to install, configure, trouble-shoot and use tools specifically meant for software development. Compilers, debuggers, IDEs and so on. Asking questions rega...

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

Answer
80%
+6 −0
Q&A How does PathData work?

The Android VectorDrawable builds upon the SVG file format. (https://developer.android.com/reference/android/graphics/drawable/VectorDrawable) android:pathData Defines path data using exactly s...

posted 3y ago by Dana‭

Answer
80%
+6 −0
Q&A How can I test my front end for accessibility to the blind?

I'd like my web front end to be accessible, including to people who use screen readers. I know the basics about labels and alt text for images, but there are some areas where I'm not sure what a s...

1 answer  ·  posted 4y ago by Monica Cellio‭  ·  last activity 4y ago by Peter Cooper Jr.‭

Question accessibility testing
80%
+6 −0
Q&A Write to same file from multiple threads

Writing to the file on the HD is your massive bottleneck no matter how many threads you throw around. The limit is the physical memory access speed, not processing power. And since it is such a bot...

posted 4y ago by Lundin‭  ·  edited 4y ago by Ayxan Haqverdili‭

Answer
80%
+6 −0
Meta Is this a good fit for Code Reviews, and if so, how to best post it?

I've just dived into pygame and written a little game in it, of which I'd like a review (it's my first try of pygame). However I'm not sure if it is a good fit for the site, and if so, how exactly ...

2 answers  ·  posted 3y ago by celtschk‭  ·  last activity 3y ago by Peter Taylor‭

Question discussion scope code-reviews
80%
+6 −0
Meta Sorting answers by score appears to be broken

This is both by design. Lundin's example is an answer link, which intentionally puts the selected answer at the top of the answer list. Because we only have two answers here, this isn't as intuiti...

posted 3y ago by luap42‭  ·  edited 3y ago by Monica Cellio‭

Answer
80%
+6 −0
Q&A How to show XML in browser?

I was searching further why it's not working properly. Then I created a CSS file. Linked that CSS to XML using the following command. <?xml-stylesheet type="text/css" href="test.css"?> Th...

posted 3y ago by Anonymous‭

Answer
80%
+6 −0
Q&A Why is it considered bad practice to use float for representing currency?

The main problem with using floating point is that the typical floating point type is binary floating point. But in binary floating point, most decimal fractions cannot be represented exactly. That...

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

Answer
80%
+6 −0
Q&A How to find out which packages target .NET 3.1 in a .NET 5 application?

After upgrading a Web application from ASP.NET Core 3.1 to ASP.NET Core 5.0, it worked fine on an existing server. However, when deployed on a server that had only .NET 5.0 installed, the applicat...

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

Question asp.net-core-3.1 upgrade asp.net-core-5.0 nuget-package
80%
+6 −0
Q&A Difference between puts and print for Array

The official ruby documentation explains the observed difference between the outputs of print and puts. The important bits are as follows: print For any non-string object given as argument (suc...

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

Answer