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 In MySQL, is it possible to disable triggers for only certain queries or users?

First of all, it seems that Mysql does not allow to disable triggers. One way would be to set a session variable which can be checked in each trigger. This still incurs some overhead (trigger is st...

posted 4y ago by Alexei‭

Answer
60%
+1 −0
Q&A ArgumentError: could not find a temporary directory

It turns out that within my Dockerfile, the /tmp directory was being deleted by a rm -rf /tmp command. This resulted in the /tmp directory being non-existent, leading to this error. By removing th...

posted 8mo ago by zmzaps‭

Answer
60%
+1 −0
Q&A When configuring load balancer access logs, what permission does the S3 bucket need?

It needs the s3:PutObject permisson, but the Principal in the policy depends on the AWS region. For instance, in us-east-1, this should work (assuming it will log under s3://test-bucket-access-logs...

posted 8mo ago by philipp.classen‭  ·  edited 8mo ago by philipp.classen‭

Answer
60%
+1 −0
Q&A Test Extension Method Received Call with NSubstitute

Extension methods can't be tested for received calls as they are not directly on the substituted class, plus they are static. However, extension methods are ultimately calling into a real method o...

posted 7mo ago by rcmosher‭

Answer
60%
+1 −0
Meta Should beginner-oriented Q&A here include basic use of a terminal (command line) for developers?

Shell scripts, BASH, batch files, PowerShell etc etc are all on-topic here and so questions about command line commands ought to be as well. We may however require the question to include enough r...

posted 8mo ago by Lundin‭

Answer
60%
+1 −0
Q&A Test Extension Method Received Call with NSubstitute

How can I verify that an extension method was called when using NSubstitute for unit testing? For a normal method I'd do something like: substitutedClass.Recieved().CheckedMethod(...) But exten...

1 answer  ·  posted 7mo ago by rcmosher‭  ·  last activity 7mo ago by rcmosher‭

Question c# nsubstitute
60%
+1 −0
Meta Should beginner-oriented Q&A here include basic use of a terminal (command line) for developers?

IMO we should expect questions to have a single main point. Answers should address only that point. If the answerer feels like they are introducing some new topic that the asker might not know - s...

posted 8mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A Cannot use import statement outside a module when integrating Carbon Design System (Web Components) in Svelte

I'm working on a Svelte web application. The issue I'm having is when I'm trying to integrate the Carbon Web Components module. I installed the module using npm install --save @carbon/web-component...

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

60%
+1 −0
Q&A Can you have syntax highlighting for streaming text in Python?

Does bat work for this, as well as for your other question? I see you have tagged your question as Python, but I'm not sure I understand how it's relevant. Sources: this issue comment and also tha...

posted 8mo ago by Michael‭

Answer
60%
+1 −0
Q&A When configuring load balancer access logs, what permission does the S3 bucket need?

When enabling access logging for an AWS load balancer, I get the following error: Access Denied for bucket: test-bucket-access-logs. Please check S3bucket permission test-bucket-access-logs is ...

1 answer  ·  posted 8mo ago by philipp.classen‭  ·  edited 8mo ago by Alexei‭

Question aws-s3 aws-elb
60%
+1 −0
Q&A Can you have syntax highlighting for streaming text in Python?

Suppose you have a situation where text is coming 1 word at a time, and you want to quickly show it to the user. "Quickly" is not in the sense of a performance constraint, but rather we don't want ...

2 answers  ·  posted 8mo ago by matthewsnyder‭  ·  edited 8mo ago by matthewsnyder‭

60%
+1 −0
Q&A Managing a dependency for a C application

I see 3 common ways to distribute such software: Statically linked binary Dynamically linked binary Source 1 means you compile everything into a standalone binary file. This bloats the file...

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

Answer
60%
+1 −0
Q&A Why can't I run freshly-installed Python from the command line on Windows?

Why the installed Python isn't found By default, Windows installers for Python install Python in a folder that is not listed in the PATH environment variable. This means that executables in that f...

posted 8mo ago by Karl Knechtel‭

Answer
60%
+1 −0
Q&A Reusing HTML without rewriting it

I agree with other answers that a static site generator is the best approach. This is something that the original designers of HTML left as an open problem. The problem has now been "solved" by thi...

posted 6mo ago by matthewsnyder‭

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

You can use an Option to keep track of the mutable state between iterations. Use as_mut to get a mutable reference to the Option's inner value without consuming the Option. Use unwrap on the muta...

posted 7mo ago by Nisha Jadon‭  ·  edited 7mo ago by GeraldS‭

Answer
60%
+1 −0
Q&A How can I interact with the target widget from a drop event

I managed to do this by changing my on_file_drop() function into a closure and adding the glib::clone! macro: Macro glib::clone Macro for passing variables as strong or weak references into a c...

posted 6mo ago by GeraldS‭

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

How can I have a mutable object (for example a vector) that is created inside a loop iteration and needs to be updated in later iterations of said loop? As a concrete example, consider parsing som...

2 answers  ·  posted 7mo ago by GeraldS‭  ·  last activity 7mo ago by GeraldS‭

60%
+1 −0
Q&A Iterating over pixels in QImage (Qt): which method adapts better for any image size?

If your only concern is overflowing the 64-bit pixelCount value, you can safely forget about it. By the time you are processing an image with 18 quintillion (2^64) pixels, you will have bigger prob...

posted 22h ago by InfiniteDissent‭

Answer
60%
+1 −0
Q&A Get global gitconfig path

With help from hkotsubo in the comments, it seems you can follow the behavior described by Git's documentation. This will work until they change it, at least for your *Nixes and *BSDs: path="${XDG...

posted 10d ago by Michael‭

Answer
60%
+1 −0
Code Reviews A simple implementation of a mutable String in C

(User JS1 answered as follows; source.) Unsafe loop This loop in string_find() is unsafe since it could read past the end of your buffer: while (str->data[pos] != c) ++pos; You shoul...

posted 8d ago by aura-lsprog-86‭  ·  edited 8d ago by aura-lsprog-86‭

Answer
60%
+1 −0
Q&A Scanner fails when executing Java with admin rights (sudo) in Eclipse in Linux

I've finally managed to get it working without using a wrapper for java. It has to do with filesystem capabilities in Linux. To let java list and select network interfaces, as well as analyse and ...

posted 8d ago by aura-lsprog-86‭

Answer
60%
+1 −0
Q&A Scanner fails when executing Java with admin rights (sudo) in Eclipse in Linux

(Brought over from SE.) The problem I have followed this procedure in order to run Java applications as root when needed from Eclipse (as I use Xubuntu, for instance, when using jnetpcap to cap...

1 answer  ·  posted 8d ago by aura-lsprog-86‭  ·  edited 8d ago by aura-lsprog-86‭

60%
+1 −0
Q&A Helm delete old release revisions

You don't need to do anything. Helm prunes old release secrets once their number exceeds 10. More specifically, helm upgrade command has an integer option --history-max, that allows you to specify...

posted 1mo ago by Iizuki‭

Answer
60%
+1 −0
Q&A How can I set a private class instance variable to the File object used by an unmarshaller?

(Brought over from SE) The problem I'm coding a Java Swing application dealing with XML files, so I'm using JAXB in order to marshal classes into documents and unmarshal the other way around. ...

1 answer  ·  posted 9d ago by aura-lsprog-86‭  ·  last activity 9d ago by aura-lsprog-86‭

60%
+1 −0
Q&A Android CameraPreview not rendering for MLKit barcode analyis on MAUI custom control

I have a QR code which needs to read through Google's ML kit for Android since Zxing.MAUI doesnt read it. I followed the code in ml-kit/vision/barcode-scanning/android and VinayByte/mlkit-qr-code-s...

1 answer  ·  posted 9d ago by carpeltunnel‭  ·  last activity 8d ago by carpeltunnel‭