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
 
71%
+3 −0
Q&A Why does pushing to one array affect all the arrays in my two-dimensional array?

I was trying to initialize a simple two dimensional array as follows: const arrays = Array(3).fill([]); However, when I tried to push an entry into one of the arrays, it seems like it gets push...

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

Question javascript array
71%
+3 −0
Q&A How kill a child process without read() hanging in the parent process?

Below is a new version of popen2() that works. Some pipe ends were not closed in the linked to original version. (see the branch for "pid != 0", where extra handles are closed - whether there is ...

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

Answer
71%
+3 −0
Q&A Retrieve user details from service in Angular

Angular 12; .NET Core 3.1 Following a code-maze tutorial, I have a working authentication (registration/login) service using .NET Core Identity. After login, I would like to add 'username' data ...

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

Question angular angular-services
71%
+3 −0
Q&A Retrieve user details from service in Angular

There are quite a few bugs there :-) Let's start with with the big one: In Angular (and most client side web frameworks) requests to the server happen asynchronously. That is, when a method does ...

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

Answer
71%
+3 −0
Q&A Docutils rst2pseudoxml.py reported error: No role entry for "meth"

docutils's rst2pseudoxml.py is reporting this error: Unknown interpreted text role "meth". even though the build command: sphinx-build -b html -d build/doctrees source build/html runs fine and pro...

1 answer  ·  posted 3y ago by CodeFarmer‭  ·  last activity 3y ago by J-hen‭

Question python python-3 python-sphinx docutils
71%
+3 −0
Q&A Is there any justification for having a single tempdb database to be used by all databases on a SQL Server intstances?

Despite the fact that I have programmed against SQL Server for quite a while I did not pay much attention to the tempdb database. This is especially true if application logic is mostly written usin...

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

Question sql-server architecture tempdb
71%
+3 −0
Q&A What are the disadvantages of using static methods in Java?

I think I can access the static method without caring of class, isn't it? No. A static method is still a class method, and you still care about the class. The difference is that static methods...

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

Answer
71%
+3 −0
Q&A What are the disadvantages of using static methods in Java?

Is it better to use static method? I don't like to think of static (or any other language feature/mechanism) in terms of bad/worse and good/better (although I do that too, I constantly try to ...

posted 3y ago by hkotsubo‭

Answer
71%
+3 −0
Q&A What's the better way to store base64 in SQLite Database?

The question seems to show a certain level of confusion about terminology. I shall address what I believe to be the underlying question: How can I store binary data in SQLite? SQLite supports 5 da...

posted 3y ago by Peter Taylor‭

Answer
71%
+3 −0
Meta I didn't get notification after user mentioning me in comment

In this post, @r~~ mentioned me in comment but, I didn't get any notification. This may be a bug. Or, he didn't mention properly cause, he put a comma beside my name without space. I don't know wha...

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

Question discussion bug comments notification mention
71%
+8 −2
Q&A Write to same file from multiple threads

I want to write a text file from multiple threads. The file structure is line-oriented. This means writing of lines should be atomic. I am using Qt 5.15.2. Is it enough to protect a shared QTextSt...

2 answers  ·  posted 4y ago by Silicomancer‭  ·  edited 1y ago by Shree‭

Question c++ qt QFile QThread QTextStream
71%
+3 −0
Q&A How to tackle database migrations failure during application initialization on production systems?

Context My ASP.NET Core application got stuck in Production with a 5xx error. By inspecting the logs, I have noticed that a database error occurred during application initialization, namely a SQL ...

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

Question asp.net-core asp.net-core-3.1 entity-framework-migrations
71%
+3 −0
Q&A Warn of implicit cast in a function's arguments with GCC?

From the page you linked: -Wconversion Warn for implicit conversions that may alter a value. This includes conversions between real and integer, like abs (x) when x is double; conversions betwe...

posted 4y ago by r~~‭

Answer
71%
+3 −0
Q&A Are JavaScriptless forms accessible?

As indicated by your source using (or not) JS is mostly independent of accessibility since the latter is obtained mainly through HTML and CSS. As a side note, while not using JavaScript is an opti...

posted 4y ago by Alexei‭

Answer
71%
+3 −0
Q&A What is an example for a URI which is not a URL?

This article shows in a concise and graphical way the difference between URIs and URLs. A URI is an identifier of a specific resource. Like a page, or book, or a document. A URL is special ...

posted 4y ago by Alexei‭  ·  edited 4y ago by Wezl‭

Answer
71%
+3 −0
Q&A Convert .npy files in a directory to images (.png)

A possible parallel solution using imageio: from imageio import imwrite from multiprocessing import Pool from numpy import load from pathlib import Path def npy2png(npyFile): imwrite(...

posted 4y ago by Patol75‭

Answer
71%
+3 −0
Meta Code formatting of previews

I just noticed that I'm not getting code formatting in the preview window when I write an answer or make an edit. This is very useful to have. Not sure if it's a bug so I'm posting this as a featu...

0 answers  ·  posted 4y ago by Lundin‭  ·  edited 4y ago by Monica Cellio‭

Question feature-request status-completed code-formatting
71%
+3 −0
Q&A PHP emails are sent when $message is a string, but not when its an array

As explained by manassehkatz, the message (aka the body) is a text in PHP (and many other programming languages). If your e-mails have a certain structure, you should create a function that takes ...

posted 4y ago by Alexei‭

Answer
71%
+3 −0
Q&A How to tackle database migrations failure during application initialization on production systems?

manually apply migrations for production (more manual work which is something we want to minimize) Do not do this. We are in an age where DevOps is king. Adding more manual steps to your deplo...

posted 4y ago by misha130‭

Answer
71%
+3 −0
Q&A PHP variables aren't expanded when inside HTML which is by itself inside PHP

I transfer emails from my Right To Left (RTL) contact form → to my local email box (powered by Roundcube). Emails reach my email box (inbox) just fine but I have a problem were PHP variables aren'...

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

Question php email
71%
+3 −0
Q&A How to break infinite loop in CTE

I have not managed to make an answer with standard SQL. I've had to resort to using arrays. And I don't have a Microsoft SQL Server RDBMS at hand. So I've done it instead in PostgreSQL. You'll just...

posted 4y ago by Estela‭  ·  edited 4y ago by Estela‭

Answer
71%
+3 −0
Q&A How do I get the error message out of a requests exception?

The documentation for requests.RequestException requests.exceptions This module contains the set of Requests' exceptions. from urllib3.exceptions import HTTPError as BaseHTTPError class...

posted 4y ago by Estela‭  ·  edited 4y ago by Estela‭

Answer
71%
+3 −0
Q&A How to copy a PostgreSQL database to another machine.

I have to debug an error which seems to only happen with some set of data present in our PostgreSQL database. I'd like to copy said database to my local machine so I can perform tests without affe...

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

Question database postgresql database-migration
71%
+3 −0
Q&A How to easily support time frame grouping in queries?

I had a curiosity about how much the experienced users wait for their questions to be answered on Stack Overflow and had written a query for it: SELECT YEAR(q.CreationDate) * 100 + MONTH(q.Creatio...

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

Question tsql sql-server grouping
71%
+3 −0
Q&A Why content delivery networks often require a www. redirect?

Why do Content Delivery Networks are often developed in such a way that they would require adding a Cname value such as www. before example.com? I ask this after switching from one CDN (Cloudflare...

2 answers  ·  posted 4y ago by deleted user  ·  last activity 4y ago by corporat‭

Question web cdn redirect