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.6k posts
 
66%
+2 −0
Q&A Unable to use pyttx3 (libespeak.so.1: cannot open shared object file: No such file or directory)

from tkinter import * from tkinter import messagebox, filedialog import pyttsx3 import PyPDF2 import os import webbrowser root = Tk() # root.geometry("500x500") root.title("Audio Book") ...

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

66%
+2 −0
Q&A Is it possible to mutate the DOM directly from HTML, without any JavaScript?

No. Short Answer No, it is not possible to mutate the Document Object Model (DOM) via HTML. You can mutate via JavaScript. Long Answer The Document Object Model (DOM) is a programming interface...

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

Answer
66%
+8 −3
Q&A constructor in C

Since in your question you seem to be surprised about OOP being done in C, I'll add some more information. There is a difference between Object Oriented Programming (OOP) and an OOP language, such...

posted 3y ago by Lorenzo Donati‭  ·  edited 1y ago by __blackjack__‭

Answer
66%
+2 −0
Meta edit button isn't taking me to `/edit/` page

Whenever I click on edit button it is redirecting me to that answer. This is happening for the answer. Here's a video

0 answers  ·  posted 3y ago by Anonymous‭  ·  edited 3y ago by Monica Cellio‭

66%
+2 −0
Q&A What's the difference between =, == and === operators in JavaScript?

1. = = is an assignment operator in JavaScript, it is used to assign a value to a variable. e.g: const test = 1; console.log(test); // expected output: 1. In the above example, we have ass...

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

Answer
66%
+2 −0
Q&A error[E0507]: cannot move out of X which is behind a shared reference.

Problem was my_line is owned by _model and cannot be moved. Copying the entire my_line is apparently not possible, but what worked is making an element-wise copy of my_line, which is of type (Poin...

posted 3y ago by telefza‭

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

I'm new to D and am planning to use it for golfing. I want to make a ROT13 converter and I want to determine the length of an inputted string. Is there a function for this? If not, what ways can I...

3 answers  ·  posted 3y ago by General Sebast1an‭  ·  last activity 3y ago by hkotsubo‭

Question string function d
66%
+2 −0
Q&A Submitting a form via XHR/AJAX causes partial data arrival to email inbox (only HTML without input)

I am guessing a little here. By not preventingdefault, the form will POST the data to the server. If you switch to AJAX you have to provide the body as per documentation. However, I do not rememb...

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

Answer
66%
+2 −0
Meta Editing tags failed?

This is weird: I tried to edit the tags on your post to see if I could reproduce it, and the editor showed the C++ tag there even though the post did not show it. I deleted and re-added it and sav...

posted 3y ago by Monica Cellio‭

Answer
66%
+2 −0
Meta Editing tags failed?

I edited the tags of my very first Codidact question: https://software.codidact.com/posts/281486 Someone proposed the "python" tag. Since I am working with C++, I removed the "multithreading" tag...

1 answer  ·  posted 3y ago by Silicomancer‭  ·  last activity 3y ago by Monica Cellio‭

Question bug feature-request
66%
+2 −0
Q&A How to work with current entity changes when working with @ngrx/store and @ngrx/entity?

I am fairly new to working with @ngrx pattern in Angular which is a state management pattern relying on Reactive Extensions. One of the convenient structures is @ngrx/entity which helps with manag...

0 answers  ·  posted 3y ago by Alexei‭

66%
+2 −0
Q&A How to enable or disable a bunch of reactive form controls?

Actually, TypeScript is perfectly able to type check the code you posted. Here's what the compiler thinks: const functionName = disable ? "disable" : "enable"; // inferred type: "disable" | "enabl...

posted 3y ago by meriton‭

Answer
66%
+2 −0
Q&A How to break infinite loop in CTE

Estela's answer provides great insight about how to do it also in SQL Server. Unfortunately, there does not seem to be a build-in array functionality, so one way is to rely on strings as shown here...

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

Answer
66%
+2 −0
Q&A How to break infinite loop in CTE

For small tables you can bound the recursion depth: WITH my_cte(childId, parentId, depth, max_depth) AS ( SELECT r.childId, r.parentId, 1, (SELECT COUNT(*) FROM My_Table) FROM My_Table ...

posted 3y ago by Peter Taylor‭

Answer
66%
+2 −0
Meta Sometimes entered tag information seems to get lost

From time to time, I am filling in some information for the Software Codidact tags and I realized that for some tags I filled the information twice. An example would be winforms which I almost cer...

0 answers  ·  posted 3y ago by Alexei‭

Question support tags
66%
+2 −0
Q&A Mixing "operational" database models with archiving ones in the database context

Generally speaking, switching data access technologies to avoid a naming conflict seems overkill. Doing that will increase the set of technologies contributors must be familiar with, and impede cod...

posted 3y ago by meriton‭

Answer
66%
+4 −1
Q&A Is it possible to mutate the DOM directly from HTML, without any JavaScript?

All the ways I know of to mutate a DOM are JavaScript. Just for broadening general knowledge I want to know if there is any common way to mutate the DOM via HTML itself, without involving any Java...

2 answers  ·  posted 3y ago by deleted user  ·  last activity 3y ago by nelson777‭

Question function html dom
66%
+2 −0
Q&A Mixing "operational" database models with archiving ones in the database context

Context Our product owner has realized that some entities are duplicated from time to time and that a merge is required. This should clean up existing duplicates and also allow special users to me...

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

66%
+4 −1
Code Reviews BMPL: The language I'll bring to life

Last year, I started working on a language I named SuperCode but then decided BMPL (Builder's Multi-Purpose Language) as the final name. The language would be written using C and up until now, the ...

1 answer  ·  posted 3y ago by General Sebast1an‭  ·  last activity 3y ago by Lundin‭

66%
+2 −0
Q&A Saving modified data in gridview on clicking SaveButton

Well, actually I didn't use SqlAdapter to work with DB since I prefer using ORM or write everything by myself (without DataSet, DataTable, SqlAdapter, etc) but I still can give some advices. Here,...

posted 3y ago by FoggyFinder‭

Answer
66%
+6 −2
Meta Should "Hello", "Thank you", "Morning" and similar greetings be removed from posts?

Just to have a differing viewpoint represented. Addressing questions and answers The stated reason for stripping politese Somewhere Else (which I largely agree with) is that while posts are creat...

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

Answer
66%
+2 −0
Q&A Input taking only first character of a string

Your pointer function is uninitialized. From some documentation pages for scanf at https://man7.org/linux/man-pages/man3/scanf.3.html : s Matches a sequence of non-white-space characters; the...

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

Answer
66%
+2 −0
Q&A How to run a remote JavaScript file from GitHub?

As you're using userscripts, I'm assuming this code is supposed to run in a browser. Hence, you could download the scripts and add its contents to the page's DOM (by using a script element). For t...

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

Answer
66%
+2 −0
Q&A Is it a good idea to have a permanent branch for a feature?

I wouldn't. Not unless you intend to keep developing on every branch independently! Presumably you're not doing that. In that case, I think it makes your intent clearer to just use a tag to mark t...

posted 3y ago by Hyperlynx‭

Answer
66%
+2 −0
Meta Is there a workaround to highlight code blocks if the language doesn't have syntax highlight enabled?

I've seen that recently two requests to add syntax highlight to some languages were deferred (this and this). According to the status-deferred tag description: "the requested feature will not be i...

0 answers  ·  posted 3y ago by hkotsubo‭  ·  edited 9mo ago by hkotsubo‭