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
 
66%
+2 −0
Q&A Unable to configure enhanced route discovery in Apache Camel

I'm currently working with Apache Camel in a Quarkus application. I would like to configure the application to not discover any routes by default, and only include those defined in specific package...

0 answers  ·  posted 2mo ago by ɯıpɐʌ‭  ·  edited 2mo ago by Alexei‭

66%
+2 −0
Meta A milestone for Software Development - congratulations!

It seems fine to me to restrict new users in this way - most of them probably weren't getting anywhere near the old limits, or even the new ones, anyway. (It's unfortunately common on sites like th...

posted 1mo ago by Karl Knechtel‭

Answer
66%
+2 −0
Q&A 2D-array pointer as a struct member

Given that you don't need the flexibility provided by a char** but rather need efficiency, plus a fairly large amount of items, it does sound like you need a true 2D array allocated on the heap. T...

posted 1mo ago by Lundin‭  ·  edited 1mo ago by Lundin‭

Answer
66%
+2 −0
Meta Do we want MathJax?

I would support this, but only if it doesn't noticeably distract from implementing other important features. I imagine that MathJax would have a real, but niche use on Software for more theoretical...

posted 1mo ago by Karl Knechtel‭

Answer
66%
+2 −0
Q&A How do I get a hexadecimal string representation of a GdkRGBA struct in C?

I have a program that reads a hexadecimal string representation from a configuration file, turns it into a GdkRGBA struct from Gdk, uses gtk_color_dialog_button_set_rgba () to set it as the default...

1 answer  ·  posted 2mo ago by Newbyte‭  ·  last activity 2mo ago by Newbyte‭

Question c
66%
+2 −0
Q&A How do I get a hexadecimal string representation of a GdkRGBA struct in C?

I ended up implementing it like this: #define RGB_HEX_STRING_LENGTH 8 gchar * gdkrgba_to_rgb_hex_string (const GdkRGBA *const from) { guchar red = roundf (from->red * 255.0f); guchar...

posted 2mo ago by Newbyte‭

Answer
66%
+2 −0
Q&A Helm delete old release revisions

Helm keeps track of releases and their revisions by creating a kubernetes Secret each time a chart is installed, upgraded etc. These are of course useful in case you want to rollback, but they do p...

1 answer  ·  posted 2mo ago by Iizuki‭  ·  edited 2mo ago by Iizuki‭

Question kubernetes helm
66%
+2 −0
Q&A Dynamically do something after a useState variable has been set?

Since setState is asynchronously executed, how to dynamically do something after a useState variable has been set? Consider import { useState } from "react"; const [myVar, setMyVar] = useState("...

2 answers  ·  posted 1mo ago by propatience‭  ·  last activity 26d ago by bignose‭

Question reactjs
66%
+4 −1
Code Reviews New elementsof() operator

Original problem: https://stackoverflow.com/questions/37538/how-do-i-determine-the-size-of-my-array-in-c/57537491#57537491 Arrays in C are problematic. They are transformed into pointers too easi...

1 answer  ·  posted 6mo ago by alx‭  ·  edited 6mo ago by alx‭

Question c array operators
66%
+2 −0
Q&A What does Nixpkgs' `callPackage` do?

For the record, this write-up is not better than any of the resources listed in the question; writing it simply helped me better understand callPackage. Level 0. Poor, but short callPackage f att...

posted 7mo ago by toraritte‭  ·  edited 7mo ago by toraritte‭

Answer
66%
+2 −0
Q&A how can I run pytest on Flask routes?

I'm trying to implement pytest for one of my Python Flask projects. The application is instanciated like this in appname.py def create_app(): app = Flask(__name__) app.config.from_pyfil...

0 answers  ·  posted 6mo ago by GeraldS‭  ·  edited 6mo ago by GeraldS‭

Question python flask pytest
66%
+2 −0
Q&A Spring Boot application not excluding Jdbi bean when running tests using WebFluxTest

I have a simple Spring Boot 3.x reactive application that exposes a RESTful API. The application uses Jdbi in the persistence layer, and the configuration for Jdbi is straightforward: @EnableTrans...

0 answers  ·  posted 6mo ago by ɯıpɐʌ‭

66%
+2 −0
Q&A How to execute and find gradients of a tensorflow (1) graph object

I have an "tensorflow.python.framework.ops.Graph" object loaded from a .pb file. def load_pb(path_to_pb): with tf.compat.v1.gfile.GFile(path_to_pb, "rb") as f: graph_def = tf.compat....

0 answers  ·  posted 7mo ago by purplenanite‭

66%
+2 −0
Q&A Is this AES/CBC scheme, where the IV does not need to be known during decryption, insecure or does it have any other disadvantages?

Usually a random IV is used for encryption with AES in CBC mode, so that key/IV pairs are not reused, which would be a vulnerability. During decryption, the IV of the encryption is required. If de...

1 answer  ·  posted 7mo ago by Holden‭  ·  last activity 7mo ago by Peter Taylor‭

66%
+2 −0
Code Reviews PHP for simple HTML-PHP-CSS contact form --- aimed solely for RTL websites

general improvements Move everything that is directly related for the submission inside the if ... 'POST' condition. if ($_SERVER['REQUEST_METHOD'] == 'POST') { $to = 'example@example.com'; ...

posted 7mo ago by GeraldS‭

Answer
66%
+2 −0
Q&A How can I create and modify a struct over iterations of a loop?

tl;dr: Use current_section.as_mut().unwrap() instead of just current_section.unwrap(). Ownership is a core language-supported concept in Rust and this means what might be a single method in most l...

posted 7mo ago by Derek Elkins‭  ·  edited 7mo ago by Derek Elkins‭

Answer
66%
+2 −0
Meta Question/Answer views on Codidact

Where can I see the number of views for a specific question/answer? It motivates if i know more people are seeing the Question or Answer

1 answer  ·  posted 5mo ago by Abbas Gadhia‭  ·  last activity 5mo ago by Moshi‭

Question feature-request
66%
+2 −0
Meta How can we grow this community?

Broaden the scope (slightly) I noticed https://software.codidact.com/posts/292660 was closed due to being off-topic. That's fine on a site the size of Stack Overflow, where there are too many ques...

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

Answer
66%
+2 −0
Q&A Unit Testing #define Directives in Visual Studio

To clarify why what you show can't work, it's because you are mixing build-time and run-time constructs. All the #xxx commands are to the C pre-processor. They are used to modify the source code ...

posted 5mo ago by Olin Lathrop‭

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

I'm having trouble with an ffmpeg script that's supposed to convert videos to a specific resolution and frame rate, but the output video has unexpected dimensions and frame rate. Here's my script a...

2 answers  ·  posted 5mo ago by ShadowsRanger‭  ·  last activity 4mo ago by harmony‭

Question bash ffmpeg
66%
+2 −0
Q&A Multiple versions of scala libraries detected!

While compiling my scala project I'm getting following error. org.scala-lang.modules:scala-parser-combinators_2.13:2.4.0 requires scala version: 2.13.13 org.scalatest:scalatest_2.13:3.2.19 requ...

0 answers  ·  posted 4mo ago by talex‭

Question maven scala
66%
+2 −0
Q&A Turn all changes after latest origin/main into a branch

I have a git history that basically looks like this: * commit: XXX (HEAD -> main) | | * commit: YYY | | * commit: ZZZ (origin/main) | | ... Now I would like to turn everything after...

2 answers  ·  posted 6mo ago by celtschk‭  ·  last activity 6mo ago by matthewsnyder‭

Question git
66%
+2 −0
Q&A SQL scripts referenced in persistence configuration must have each statement on its own line

I'm currently working on a Java application using Jakarta Persistence with EclipseLink and PostgreSQL. While setting up the application to test the database layer, the persistence configuration is ...

0 answers  ·  posted 5mo ago by ɯıpɐʌ‭  ·  edited 5mo ago by ɯıpɐʌ‭

66%
+2 −0
Q&A Unable to use conditional Must term in C# NEST client for Elastic Search

I'm trying to write a Elastic Search query using the C# NEST client, but right now I'm stuck on an issue with a conditional query. The query takes in two optional values, meaning they are both all...

1 answer  ·  posted 5mo ago by hest‭  ·  last activity 5mo ago by hest‭

Question .net
66%
+2 −0
Q&A Turn all changes after latest origin/main into a branch

I handle this with: Create a new branch with same commits Delete commits from main branch In the situation shown, if you do git checkout -b new_branch it will create a new branch with the sa...

posted 6mo ago by matthewsnyder‭

Answer