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
 
70%
+5 −1
Q&A Delete all occurrences of a character in a webpage with vanilla JavaScript

Primarily for learning, I would like to try to delete a specific character (letter or number or special character), wherever it is in a webpage, with vanilla JavaScript. The webpage won't change a...

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

Question javascript replace
70%
+5 −1
Q&A What does a variable followed by parentheses ("ptr()") mean?

What does ptr() mean in this code? #include<stdio.h> #include<stdlib.h> void PrintHello() { printf("Hello\n"); } int Add(int a, int b) { return a+b; } int main...

2 answers  ·  posted 3y ago by dumplings‭  ·  last activity 3y ago by Martin Bonner‭

Question c pointers
70%
+5 −1
Q&A Why is global evil?

The basics of good vs bad program design All programs are divided in classes. (Or modules/abstract data types/interfaces etc - a rose by any other name.) Each class should only be concerned with i...

posted 12mo ago by Lundin‭  ·  edited 12mo ago by Michael‭

Answer
66%
+2 −0
Q&A How to easily support time frame grouping in queries?

In SQL Server 2022+, there's a dedicated binning function called DATE_BUCKET. Each of these statements increments DATE_BUCKET with a bucket width of 1 from the origin time: DECLARE @date DATETI...

posted 12mo ago by Michael‭  ·  edited 12mo ago by Michael‭

Answer
66%
+2 −0
Q&A Adding dependency with cabal in gitlab-ci

I have a project I normally build with nix and cabal, however I also want to publish my documentation onto gitlab pages. It's impractical to run my nix on the gitlab CI, so I've just been using cab...

0 answers  ·  posted 11mo ago by WheatWizard‭

66%
+2 −0
Q&A How to implement `map` using the fish (>=>, Kleisli composition) operator in F#?

Is there a "cleaner" implementation similar to map's? Yes: let map f = id >=> switch f This follows from two of your other equations: map f = bind (switch f) g >=> h = g >...

posted 11mo ago by r~~‭  ·  edited 11mo ago by r~~‭

Answer
66%
+2 −0
Q&A Understanding the Matrix protocol vs Matrix server and what can be implemented from scratch

Since Matrix messenger offers only a protocol,[1] as a software engineer I can choose to: Write my own client or use an existing client Write my own server with my own server logic or join an e...

1 answer  ·  posted 11mo ago by erjcan‭  ·  last activity 11mo ago by Michael‭

Question open-source matrix
66%
+2 −0
Q&A Filter stashes by pathspec

The documentation for git stash list says list [<log-options>] List the stash entries that you currently have. Each stash entry is listed with its name (e.g. stash@{0} is the latest entry...

0 answers  ·  posted 12mo ago by Michael‭  ·  edited 6mo ago by Michael‭

Question git git-stash git-log
66%
+2 −0
Q&A Integrating a standalone database 'engine' into an OLAP database

I'm trying to build a proper understanding of what an OLAP[1] datastore vs an OLAP data engine is. I tend to put too much value on keywords like "engine" vs "data store." If it has "engine," I thin...

0 answers  ·  posted 11mo ago by erjcan‭  ·  edited 11mo ago by Michael‭

Question database olap
66%
+2 −0
Code Reviews Pattern / architecture for interfacing with components in C

I'm working on the architecture, where the assumption is to easily extend the options in the system and also to provide some kind of encapsulation (from the main we could only access the type1 / ty...

1 answer  ·  posted 12mo ago by patriko8520‭  ·  last activity 12mo ago by Lundin‭

Question c architecture
66%
+2 −0
Q&A Images won't fit flex container on chrome

I browse deviantArt from time to time and I wanted to make images display bigger, because there is so much useless whitespace on that site. On first glance that would be simple - remove the set di...

1 answer  ·  posted 11mo ago by martixy‭  ·  last activity 11mo ago by martixy‭

Question css chrome debugging
66%
+2 −0
Q&A Android Studio "not showing null elements" in unit tests.

My Android app needs to process lists that contain nullable elements. I am using JUnit 4.13.2 for unit testing. I am using Android Studio Flamingo | 2022.2.1 Patch 2 . I have a failing test,...

1 answer  ·  posted 1y ago by FractionalRadix‭  ·  edited 1y ago by FractionalRadix‭

66%
+2 −0
Meta Tag creation/deletion criteria for Software Development?

Yes, but with some notes I think this a good idea, but we will need to provide more details and agree on some details. A tag must be named appropriately, considering Tag naming guidelines. ...

posted 1y ago by Alexei‭

Answer
66%
+2 −0
Meta Should asking about book recommendations directly connected to software development be on-topic?

Are books special? When I see a question like this, I naturally transform it into a more general question about resources. Printed books aren't necessarily the best way to learn about programming ...

posted 1y ago by Karl Knechtel‭  ·  edited 1y ago by Karl Knechtel‭

Answer
66%
+2 −0
Q&A How to put text next to my ImageIcon on a cell in a JTable

I have been informed that my question is actually a duplicate. Here is a link to the original question. https://stackoverflow.com/a/52065145/131872 But I can streamline the answer a little bit. ...

posted 1y ago by davidalayachew‭

Answer
66%
+2 −0
Q&A Is it okay to use python operators for tensorflow tensors?

TL;DR Is (a and b) equivalent to tf.logical_and(a, b) in terms of optimization and performance? (a and b are tensorflow tensors) Details I use Python with Tensorflow. My priorities are Make t...

1 answer  ·  posted 1y ago by daniel_s‭  ·  edited 1y ago by meta user‭

66%
+2 −0
Q&A Resolving "fatal: Unable to find remote helper for 'https'" and a warning about templates

On a live boot of Ubuntu 20.04, I was trying to clone into a private GitHub repository. I went through the hassle of installing git, and then gh, and making sure I was signed in through the termina...

0 answers  ·  posted 1y ago by Mithical‭

Question git
66%
+2 −0
Q&A Is omitting braces for single statements bad practice?

While there are already good answers, i want to give yet another reason to always use {}: Macros. Lets consider this code: #include <stdio.h> #define FOO(n) puts(n[1]); puts(n[0]); in...

posted 1y ago by H_H‭  ·  edited 1y ago by H_H‭

Answer
66%
+2 −0
Q&A Reaching to a directory in git-bash

I have created a directory named Temporary_add_to_version_control on Desktop. Now I am trying to reach that directory by typing the following in git-bash: cd ~/Desktop/Temporary_add_to_version_con...

1 answer  ·  posted 1y ago by Birbal01‭  ·  edited 1y ago by meta user‭

Question git-bash RStudio
66%
+2 −0
Q&A Clone .git repo into current dir, without touching files

I have git repo where the .git is deleted. I didn't realize it until after I made some changes to the code. I want to re-create the .git by cloning. However I don't want it to touch the files that...

1 answer  ·  posted 1y ago by matthewsnyder‭  ·  last activity 1y ago by matthewsnyder‭

Question git-clone
66%
+2 −0
Q&A Method not found when emitting a custom signal, but the game seems to work when played.

In Godot 4.1.1 I moved some scenes and started getting parenting errors. I think I got that fixed, but I'm mentioning it in case it is important. I have an Area2d called House. house.gd has two c...

1 answer  ·  posted 1y ago by TecBrat‭  ·  last activity 1y ago by TecBrat‭

Question godot gdscript
66%
+2 −0
Q&A How to automatically add package reference into project file after installing .NET package?

Manually editing the .fsproj file followed by dotnet build worked because some dotnet commands have an implicit restore. I think this is the fastest way to add a dependency when you know its versio...

posted 1y ago by Alexei‭

Answer
66%
+2 −0
Q&A How do I get the min/max axis values in Chart.js?

The equivalent in Chart.js would be: xmin = chart.scales.x.min; xmax = chart.scales.x.max; This can be found in the docs as an option common to all axes.

posted 1y ago by Ullallulloo‭

Answer
66%
+2 −0
Q&A When should I parenthesize macro arguments in C?

With macros, you are better off using parens at any time you use one of the parameters in an expression context. The problem with operator precedence is not limited to + and *. Did you know that c...

posted 1y ago by aghast‭  ·  edited 1y ago by aghast‭

Answer
66%
+2 −0
Q&A How to automatically add package reference into project file after installing .NET package?

Just getting into F#, finally figured out how to add .NET packages to projects, but the way I managed to get it to work doesn't make sense. Once the package is installed (either with nuget or paket...

2 answers  ·  posted 1y ago by toraritte‭  ·  last activity 1y ago by toraritte‭