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
 
60%
+1 −0
Q&A Why comma is expected for auto_increment?

Read the documentation for SQLite CREATE TABLE clauses, not questions about Netbeans JavaDB. In particular, if you expand column-def and column-constraint you'll see the correct syntax for what yo...

posted 3y ago by Peter Taylor‭

Answer
60%
+1 −0
Q&A Why is the switch statement not executing the correct case blocks?

In the code below, the value of order variable should change according to i's value: String order; switch (i){ case 0: order = CallLog.Calls.DATE + " DESC "; contactViewAda...

1 answer  ·  posted 3y ago by Anonymous‭  ·  last activity 3y ago by hkotsubo‭

Question java android switch-statement
60%
+1 −0
Q&A How to append HTML to the DOM with JavaScript?

First, I would warn you that using JavaScript here isn't best practice. It won't work for people without JavaScript and it will slow down the site some even for people with JavaScript. If you can d...

posted 3y ago by Ullallulloo‭

Answer
60%
+1 −0
Q&A How to append HTML to the DOM with JavaScript?

Use fetch() to request the HTML file from the server. Call .text() on the Response object you get from the fetch in order to get the HTML contents as a string. You can then insert the string into a...

posted 3y ago by r~~‭

Answer
60%
+1 −0
Q&A Why ArrayList is always same value in only Adapter?

This is the worst bug I have ever seen.. I was fetching CallLogs following way. ArrayList<HashMap<String, String>> callLog= new ArrayList<>(); HashMap<String, Strin...

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

Question java android arraylist
60%
+1 −0
Q&A How to get string length in D?

Strings in D can be assigned either as char[] or string. Both have .length with them, which can be added at the end of the variable's name after assignment. import std.stdio; void main(stri...

posted 4y ago by General Sebast1an‭

Answer
60%
+1 −0
Q&A How to get string length in D?

Strings in D have .length property which is used to calculate the number of characters in a string. Note: Spaces are calculated. Here is an example: import std.stdio; void main() { s...

posted 4y ago by Kevin M. Mansour‭  ·  edited 4y ago by Kevin M. Mansour‭

Answer
60%
+1 −0
Meta reaction isn't available

I was reading the post. It said that we can react in post answer. I had answered on my question. But, I didn't get anyway to react on my answer. Why? In this post "reaction" had been suggested. I d...

1 answer  ·  posted 4y ago by deleted user  ·  last activity 4y ago by Mithical‭

Question discussion feature-request
60%
+1 −0
Q&A Backendly redirecting a user from a contact form webpage to a success webpage

On a CentOS Apache-MySQL-PHP environment I have a website with a simple HTML-PHP-CSS contact form; the contact form itself is working. This is how I backendly redirect a user from the contact form...

0 answers  ·  posted 4y ago by deleted user

Question php validation
60%
+1 −0
Code Reviews PHP for simple HTML-PHP-CSS contact form --- aimed solely for RTL websites

As a non PHP programmer I have tried to program some basic PHP mail() function code to send Right To Left (RTL) contact form messages to my local email client (i.e. an email client which is affilia...

1 answer  ·  posted 4y ago by deleted user  ·  last activity 11mo ago by GeraldS‭

Question php html css right-to-left
60%
+1 −0
Meta Comments do not appear

I Just tried to post a comment to this answer: https://software.codidact.com/posts/281493#answer-281493 But it didn't work. I could click "Post" but no comment appeared. I tried different senten...

0 answers  ·  posted 4y ago by Silicomancer‭

Question bug comments
60%
+1 −0
Q&A How to enable or disable a bunch of reactive form controls?

I want to conditionally disabled or not (enabled) a bunch of reactive form controls. However, I have noticed that neither enable or disable function has a boolean parameter to nicely conditionally ...

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

Question angular angular-reactive-forms disabled-input
60%
+1 −0
Q&A Saving modified data in gridview on clicking SaveButton

I am struggling to do a save button in C# Windows Form Application where I have a GridView and I want to save all modifications I do in GridView Table(I connected it to SQL). This is the data sourc...

1 answer  ·  posted 4y ago by Cri‭  ·  edited 4y ago by Alexei‭

Question c# winforms gridview
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 11mo ago by Michael‭

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 12mo ago by philipp.classen‭  ·  edited 12mo ago by philipp.classen‭

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 12mo ago by philipp.classen‭  ·  edited 12mo ago by Alexei‭

Question aws-s3 aws-elb
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 12mo ago by zmzaps‭

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 11mo 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 12mo 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 11mo ago by rcmosher‭  ·  last activity 11mo 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 12mo 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 12mo ago by ɯıpɐʌ‭  ·  edited 11mo ago by Alexei‭

Question svelte sveltekit carbon-design-system web-components
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 11mo ago by matthewsnyder‭  ·  edited 11mo ago by matthewsnyder‭

Question python-3 syntax-highlighting pretty-print data-streaming
60%
+1 −0
Q&A How to make Box drive have the files prepared for access when I need it?

A probable solution. I suspect, I have identified the culprit. It turns out that Box drive limits the number of characters the full file path can have. Note, not usual limit of 256 characters in t...

posted 12mo ago by Ivan Nepomnyashchikh‭  ·  edited 12mo ago by Ivan Nepomnyashchikh‭

Answer
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 11mo ago by matthewsnyder‭  ·  edited 11mo ago by matthewsnyder‭

Answer