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 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‭

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 3y 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 3y ago by Kevin M. Mansour‭  ·  edited 3y ago by Kevin M. Mansour‭

Answer
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 3y ago by Cri‭  ·  edited 3y ago by Alexei‭

Question c# winforms gridview
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‭

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 7mo ago by GeraldS‭

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‭

60%
+1 −0
Q&A Python looping 300 000 rows

I’m struggling to get timeit working correctly but this is faster in my limited tests: l = [123456789, 23456789012, 34567890123] result = [0, 0, 0] for idx, row in enumerate(l): i = f"{r...

posted 3y ago by NoahTheDuke‭

Answer
60%
+1 −0
Q&A What solutions available for a CMS-agnostic contact form?

Besides the aforementioned solutions, Web components might be useful (can be reused in multiple contexts). Examples: in Drupal in ButterCMS in Backdrop CMS in WordPress However, if your fo...

posted 3y ago by Alexei‭

Answer
60%
+4 −2
Q&A Separate digits of a number in groups with different sizes

I have a list of 11-digit numbers stored in one single column in Excel, and I need to separate the digits according to this pattern: 2-2-1-3-3. Example: 00002451018 becomes 00 00 2 451 018. How c...

2 answers  ·  posted 3y ago by sfrow‭  ·  edited 3y ago by Alexei‭

60%
+1 −0
Q&A How to show XML in browser?

XSL and XSLT is a good way to provide a theme or stylesheet to XML files including RSS and Atom feeds. By the way Atom is so much better than RSS and RSS as a feed standard sucks. I think there wa...

posted 3y ago by desbest‭  ·  edited 3y ago by desbest‭

Answer
60%
+1 −0
Meta Why did my question get a downvote?

I believe this should be answered by the downvoters on a case by case basis. Only they know the particular reason they downvoted that particular question. I am not a fan of canned feedback, becaus...

posted 3y ago by meriton‭  ·  edited 3y ago by meriton‭

Answer
60%
+1 −0
Meta How can I fill in tag information?

You need the "Edit Tag" ability. It's requirements may vary from site to site and are detailed at https://software.codidact.com/abilities/edit_tags

posted 3y ago by Trilarion‭

Answer
60%
+1 −0
Q&A How to submit form data with Ajax?

See the first example in this section: const form = new FormData(document.getElementById('login-form')); fetch('/login', { method: 'POST', body: form }); To adapt this example to your c...

posted 3y ago by r~~‭  ·  edited 3y ago by r~~‭

Answer
60%
+4 −2
Q&A Regarding the implementation of data structures.

Since this is pretty clearly a homework exercise, and the point of those is for you to learn, I'm going to be evil and not spoon-feed the answer to you. However, I will give you some pointers. Fi...

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

Answer
60%
+1 −0
Q&A Preloading some data at application startup as fast as possible

One way to do this is to launch a Task at application startup as soon as possible (the DI is configured). The only hard part is to make DI available in the prewarm functionality. The following imp...

posted 3y ago by Alexei‭

Answer
60%
+1 −0
Q&A Are there references in C?

This question most often comes up in relation to C++. That language has something that is called reference in the standard. They work like pointers, with a few differences. They have to be initi...

posted 3y ago by klutt‭  ·  edited 3y ago by klutt‭

Answer
60%
+1 −0
Q&A Preloading some data at application startup as fast as possible

I am caching some very static information (changes once per day) in my ASP.NET Core application. This is normally done when needed ("lazy"). One such cache item is a 50K list of items that are tak...

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

60%
+1 −0
Q&A How can the Caesar cipher be implemented in Java?

The formulas for encryption and decryption require a positive value of the modulo operation. However, this is not guaranteed for all implementations of the modulo operator. For instance, in Python ...

posted 3y ago by Holden‭

Answer
60%
+1 −0
Q&A Comparing two excel files with Python based on changes

Here's what I'd do, hope it still helps someone: import pandas as pd t1 = [123,456,789,101,133] t1_descr = ['Description' + str(i) for i in t1] table1 = pd.DataFrame({'name': t1, 'descripti...

posted 3y ago by ibmx‭

Answer
60%
+1 −0
Q&A DST disrupting rsync twice a year

Solved this æons ago actually... [Assumes Bash shell]. If the DST difference is for instance an hour (or 60 minutes, or 3600 seconds), change: --modify-window=3 To: --modify-window=$((3 + 60...

posted 3y ago by .                                                .‭

Answer
60%
+4 −2
Q&A Watertight Mesh Representation

A watertight mesh is one which does not have holes, and for which each face has a designated inside and outside. Such a mesh can be "tetrahedralized", has a defined volume, and can be an operand in...

0 answers  ·  posted 3y ago by Josh Hyatt‭  ·  edited 3y ago by Josh Hyatt‭