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
2.6k posts
 
77%
+5 −0
Meta To transfer, or not to, that is the question: whether 'tis nobler to let it stay or to take arms against Stack Overflow's dominance of FAQ canonicals

You are a thoughtful person, aren't you? /me bows in thanks I for one think it would be valuable, even if you were to port it as is. In other words: it's valuable. Period. I like what Stephen s...

posted 1y ago by LAFK‭  ·  edited 1y ago by Stephen Ostermiller‭

Answer
77%
+5 −0
Meta Self answered questions about an unclear quickstart

Yes Quick starting with an API is definitely ontopic and especially helpful for newbies who struggle to understand the "spirit" of that API. Even if nobody else from the community is into Google ...

posted 1y ago by Alexei‭

Answer
77%
+5 −0
Q&A Programmatically import, edit and export DBC files

Credit go to @Lundin‭ for pointing me in the right direction. Kvaser has a CAN SDK free of charge. I added this to my VS22 C# project by adding "...\Kvaser\Canlib\dotnet\x64\netstandard2.0\Kvaser...

posted 1y ago by HinkyDinky‭  ·  edited 1y ago by HinkyDinky‭

Answer
77%
+5 −0
Q&A How to move a tag in git?

I have created a tag in my project, using git tag v2023 However, I forgot to commit a few changes. Now I would like to move this tag to the current point (after having committed the changes I had...

1 answer  ·  posted 1y ago by mr Tsjolder‭  ·  edited 1y ago by meta user‭

Question git version-control
77%
+5 −0
Q&A How to move a tag in git?

You can (forcibly) replace a tag with the -f, --force flag: git tag -f v2023 (assuming the current HEAD is where you want the tag to end up)

posted 1y ago by Tnuctip‭  ·  edited 1y ago by Tnuctip‭

Answer
77%
+5 −0
Q&A Create a list of Niven numbers in Python

The way your code handles the variable i within the for loop seems to indicate a wrong understanding of the meaning of for i in range(1,n+2): range(1,n+2) will provide an object of type range. ...

posted 2y ago by Dirk Herrmann‭  ·  edited 2y ago by Dirk Herrmann‭

Answer
77%
+5 −0
Q&A Any testimonials for any C++ units of measure library?

The question is about libraries that extend the data type system to ensure physically realistic computations. Think std::chrono but for distance and mass and other things as well as for time. Inste...

1 answer  ·  posted 2y ago by Fred Wamsley‭  ·  last activity 2y ago by Ben‭

77%
+5 −0
Q&A Keep local branch changes to resolve all remaining conflicts in a merge

On branch-x, I do git merge branch-y Now there are some conflicts, and git status shows Changes to be committed: new file: a new file: b Unmerged paths: (use "git a...

1 answer  ·  posted 2y ago by Quasímodo‭  ·  last activity 2y ago by Quasímodo‭

77%
+5 −0
Q&A Cast uninitialized variable to (void)

It depends. This boils down to whether or not the expression cast to void contains any side effects, such as accessing a volatile-qualified object or modifying any object. C17 6.3.2.2: If an ex...

posted 2y ago by Lundin‭  ·  edited 2y ago by Ethan‭

Answer
77%
+5 −0
Q&A Child div doesn't inherit parent's div background-color

I have a parent div with two child divs. I want the parent div and the child divs to have a blue background color when it's hovered. But the child divs doesn't inherit the background color. It is o...

1 answer  ·  posted 2y ago by Bennshinpoes‭  ·  last activity 2y ago by r~~‭

Question html css
77%
+5 −0
Q&A How to use grep to print only specific word from a string

I wouldn't use grep. As the other answers already said, it's not the right tool for this job. Considering your specific case (fields separated by /), basename is the most straighforward way, as st...

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

Answer
77%
+5 −0
Q&A ffmpeg: apply a filter from a start time to the end of the video

I think I found a solution myself. Instead of using the between() function, you can use the gte() (greater than or equal to) function. So the command above would be: ffmpeg -i video.mp4 -vf "yadif...

posted 2y ago by Trevor‭  ·  edited 2y ago by Trevor‭

Answer
77%
+5 −0
Meta Participate Everywhere ability without meeting the requirements?

Software Development Codidact is currently set to "New Site Mode". When we first launch a community, we've been launching with adjusted settings that make it easier to earn certain Abilities. On...

posted 2y ago by Mithical‭

Answer
77%
+5 −0
Q&A What is the Python Global Interpreter Lock?

What exactly is the Python Global Interpreter Lock (GIL)? As someone who is relatively new to Python, is this something I need to be aware of, or is this just some implementation detail of the inte...

1 answer  ·  posted 2y ago by Moshi‭  ·  last activity 2y ago by Derek Elkins‭

Question python python-gil
77%
+5 −0
Q&A Terms for types of functions with respect to side effects

Mathematically, the purpose of a function is to return an output. However, in a programming context functions often have side effects. It is even common to call functions for the side effects alone...

2 answers  ·  posted 1y ago by matthewsnyder‭  ·  last activity 1y ago by Lundin‭

77%
+5 −0
Q&A What are statements and expressions?

To add to the excellent explanation by FractionalRadix, it's worth mentioning that sometimes the line between expressions and statements can seem a little blurry (at least to the observer — the lan...

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

Answer
77%
+5 −0
Q&A Readable syntax for executing many callables with useful side effects

The map operation is a typical concept from the functional programming paradigm. However, side-effects are a typical example of something that does not fit functional programming well. As a resul...

posted 1y ago by mr Tsjolder‭

Answer
77%
+5 −0
Meta Do we want a wiki (or similar) alongside Q&A?

I think the framing of this question (and the prior discussion) is wrong, and I think that conditions have evolved since it was originally asked - in particular, we can now see how articles have tu...

posted 1y ago by Karl Knechtel‭  ·  edited 1y ago by Karl Knechtel‭

Answer
77%
+5 −0
Q&A Storing more bytes than a union member has, but less than the union size, with memcpy(3)

Let's say we have an object, we store it in a union (into some other narrower type, but with memcpy(3), so it's allowed --I guess--), and then read it from the union via it's original type (so no a...

2 answers  ·  posted 1y ago by alx‭  ·  last activity 1y ago by Lundin‭

77%
+5 −0
Q&A Library that is platform-specific via selective compilation?

The proposed library would sit alongside cross-platform libraries in Xamarin apps for iOS and Android. However, it would include files with names like MyLibraryFile.android.cs MyLibraryFile.ios...

1 answer  ·  posted 1y ago by plod‭  ·  last activity 1y ago by Olin Lathrop‭

Question c# cross-platform
77%
+5 −0
Meta Should we allow SEO related questions?

We have recently received a search engine optimization (SEO) question. Our scope currently does not explicitly include or exclude such questions, so I thought we should clarify this. Possible opt...

1 answer  ·  posted 2y ago by Alexei‭  ·  last activity 2y ago by Peter Taylor‭

Question discussion scope
77%
+5 −0
Meta Should we allow answers generated by ChatGPT?

The expectation for all posts is, that a post is always understood as the own work of the poster, who has the copyright and responsibility for it and offers it to the site according to the site's c...

posted 2y ago by Dirk Herrmann‭

Answer
77%
+5 −0
Q&A Can freed pointers undergo lvalue conversion?

char *p, *q; p = malloc(1); free(p); q = p; // lvalue conversion Is the last lvalue conversion (= p;) Undefined Behavior or not? We didn't take the address of the local p. C11::6.3.2.1...

2 answers  ·  posted 1y ago by alx‭  ·  last activity 1y ago by Dirk Herrmann‭

77%
+5 −0
Q&A How to proportionally convert a number in the range of -1 and 1 to a number in the range of 0 and 319

My initial approach would be to increase n by 1 (thus shifting the original range from -1..+1 to 0..+2), turn that range into 0..+1, and then simply map from that to your 0..+319 output range. flo...

posted 2y ago by Canina‭  ·  edited 2y ago by Canina‭

Answer
77%
+5 −0
Q&A How to distinguish between single and multiple file media?

You could trivially create a view that wraps the media table and includes a column that indicates if the media entry has more than one file associated with it. CREATE VIEW IF NOT EXISTS "media_rea...

posted 2y ago by r~~‭

Answer