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.7k posts
 
60%
+1 −0
Q&A Why is a for loop getting stuck when using a uint64_t counter, whereas a while loop isn't?

I asked this question a while ago over SE. When I use a for loop with a uint64_t as a counter, it gets stuck forever, even though the condition seems to be well defined. Offending MCVE #includ...

3 answers  ·  posted 7d ago by aura-lsprog-86‭  ·  last activity 5d ago by Lundin‭

Question c integer loops
60%
+1 −0
Q&A Keep failed CronJob Pods around in Kubernetes

There are a few fields that play into this, but the gist of it is to set the Pod's restartPolicy to Never. This doesn't mean that the Job only tries once. Rather, instead of restarting the containe...

posted 23d ago by Iizuki‭

Answer
60%
+1 −0
Q&A Keep failed CronJob Pods around in Kubernetes

It seems like pods created by a Kubernetes CronJob (or rather Job) are deleted as soon as they fail. This makes it difficult to figure out what went wrong (unless you have Prometheus or some other ...

1 answer  ·  posted 23d ago by Iizuki‭  ·  edited 17d ago by Alexei‭

60%
+1 −0
Q&A Dynamically do something after a useState variable has been set?

This depends largely on what "do something" you want to do, in response to a state change. If you just need to re-compute some other state: Write that as additional code in the component funct...

posted 25d ago by bignose‭  ·  edited 25d ago by bignose‭

Answer
60%
+1 −0
Q&A How to do function composition in Spring Cloud Stream when using classes

I'm working on a proof of concept for a Spring Cloud Stream application. I want to define my processing logic using classes that implement Function, Consumer, or Supplier. I understand that Spring...

0 answers  ·  posted 2mo ago by ɯıpɐʌ‭  ·  last activity 18d ago by Monica Cellio‭

60%
+1 −0
Q&A how to save the line number of a double-clicked line in tmux

In tmux I have the following command in my .tmux.conf, which will save a double-clicked line to the file /tmp/tmux_line.txt: bind-key -n DoubleClick1Pane select-pane \; copy-mode -M \; send-keys -...

0 answers  ·  posted 2mo ago by Trevor‭

Question tmux
60%
+1 −0
Q&A ffmpeg script outputs video with unexpected resolution and frame rate despite scaling and fps filtering

This script applies filters dynamically based on the video's dimensions and frame rate. The audio handling is more sophisticated, checking and adjusting the bitrate separately. It's more flexible i...

posted 5mo ago by ShadowsRanger‭  ·  edited 5mo ago by ShadowsRanger‭

Answer
60%
+1 −0
Q&A ffmpeg script outputs video with unexpected resolution and frame rate despite scaling and fps filtering

Your issue lies in the application of scaling and fps filtering. Both SCALING and FPS_FILTER are being set conditionally, and if both are needed, one will override the other since both are using -v...

posted 4mo ago by harmony‭

Answer
60%
+1 −0
Q&A make: How to compile all files in a directory.

Each rule in the Makefile represents a single target. This means that your first makefile has a single target: obj/library.o. I guess that if there is only one target, make assumes that this is the...

posted 4mo ago by mr Tsjolder‭  ·  edited 4mo ago by Vanity Slug ❤️‭

Answer
60%
+1 −0
Q&A Identifying non-daemon threads in an Android ANR stack dump

One of "my" Android apps is showing a heavy frequency of "slow exit" application-not-responding (ANR) problems. The Play Console has the "insight": Slow exit Problem The main thread has finish...

0 answers  ·  posted 6mo ago by Peter Taylor‭

Question android stacktrace
60%
+1 −0
Q&A Unable to use conditional Must term in C# NEST client for Elastic Search

Hello, a a late update, mainly to help others facing the problem in the future. it turns out that the latest version of NEST could not handle conditionLess values, and it also fails if you iterate...

posted 5mo ago by hest‭

Answer
60%
+1 −0
Q&A Execute SQL queries stored in a table

I manage to solve my problem with next code: do $$ declare sql_text text; sql_list text[]; begin sql_list := array( select c.sql_text from sql_command c ); raise notice 'sta...

posted 6mo ago by talex‭

Answer
60%
+1 −0
Code Reviews Feedback for a Nix-Darwin configuration

Hello, im looking for some feedback on my nix-dawrin setup. This is the setup im currently using, its works, but the structure is cobbled together from multiple sources, and im not experienced eno...

0 answers  ·  posted 6mo ago by hest‭

60%
+1 −0
Meta I created a tag, now it need edit.

I created stream tag, but can't edit it. It should at least have java as parent tag.

2 answers  ·  posted 5mo ago by talex‭  ·  last activity 5mo ago by Lundin‭

Question support tags
60%
+4 −2
Q&A Which platforms return a non-null pointer on malloc(0)

What is the portability of malloc(0);? Which platforms return NULL without setting errno? Which platforms return a non-null pointer? Do any platforms have some other behavior?

2 answers  ·  posted 5mo ago by alx‭  ·  last activity 4mo ago by Alexei‭

Question c malloc
60%
+1 −0
Q&A Using sqlline, how do you filter/find tables using the !tables command

From the source code it seems the following is possible. !tables <table name pattern> !tables <schema name pattern> <table name pattern> !tables <schema name pattern> &lt...

posted 5mo ago by Abbas Gadhia‭

Answer
60%
+1 −0
Q&A Subfolders for package-less module imports

It looks like I was confused, and the problem I am asking about does not actually exist. Perhaps it existed in an older version, or perhaps I am simply misremembering. Regardless, I've seen other p...

posted 9mo ago by matthewsnyder‭  ·  edited 9mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A Why can't I use a library I just installed with Pip?

Problems like this occur, fundamentally, because there is more than one Python installation on the system, and the system is configured in a way that pip installs for a different Python than the on...

posted 8mo ago by Karl Knechtel‭  ·  edited 8mo ago by Karl Knechtel‭

Answer
60%
+1 −0
Q&A Why does `venv` seem to be missing or broken? Isn't it part of the standard library?

I understand the benefits of virtual environments in general, and specifically I want to use a virtual environment so that I'll have access to Pip without exposing the system Python (i.e., included...

1 answer  ·  posted 8mo ago by Karl Knechtel‭  ·  last activity 8mo ago by Karl Knechtel‭

60%
+1 −0
Q&A Installing packages for, and using them with, a specific Python installation

I have multiple installations of Python on my machine. I already know how to choose one to use to run for my code - and therefore, I could also solve the problem for third-party application code. ...

1 answer  ·  posted 9mo ago by Karl Knechtel‭  ·  last activity 8mo ago by Karl Knechtel‭

Question python pip
60%
+1 −0
Q&A Installing packages for, and using them with, a specific Python installation

Choosing an environment for third-party libraries The short version of the answer is: Python installations don't normally share libraries because there are too many ways it could go wrong; general...

posted 9mo ago by Karl Knechtel‭  ·  edited 8mo ago by Karl Knechtel‭

Answer
60%
+1 −0
Q&A I can't install the Spacy library using the terminal in VSCode on Windows 10

I am trying to install the Spacy library in VSCode in a folder with a virtual environment. The output appearing in the terminal is excessively long; I will share it with a pastebin later. My versio...

1 answer  ·  posted 4mo ago by Richard‭  ·  last activity 4mo ago by Alexei‭

60%
+1 −0
Q&A How does the strict aliasing rule enable or prevent compiler optimizations?

Aliasing is perhaps better understood as a property of assignments through pointers, not of the pointers themselves. First, let's consider the reasoning behind applying the optimization to the fir...

posted 3mo ago by Karl Knechtel‭

Answer
60%
+1 −0
Q&A Best Practices for Precalculating Expensive Variables in Functions

A class might calculate static variables during instantiation, which are then used by various functions. A common technique to optimize function performance is to precalculate expensive variables u...

2 answers  ·  posted 3mo ago by wagimek‭  ·  last activity 3mo ago by wagimek‭

Question c++11
60%
+1 −0
Q&A Recursive traversal of composite tree of mutable "trait objects"?

Here's the solution I ended up with a while back to traverse the (sub-)tree, starting at the given root component. In short, the model's field, components, is used directly and small unsafe blocks ...

posted 4mo ago by ghost-in-the-zsh‭  ·  edited 4mo ago by ghost-in-the-zsh‭

Answer