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.

Activity for FractionalRadix‭

Type On... Excerpt Status Date
Question Allow tagging answers with tools and version numbers
TL;DR If we allow answers to be tagged with technologies and version numbers, people can more easily check if an answer is applicable to their technology stack. A few days ago, I had a problem in Java Spring Boot. The error message was a pretty common one: "expected at least 1 bean which qualifies...
(more)
5 months ago
Question How to declaratively enable RabbitMQ feature flags in Kubernetes
We use Kubernetes on a cloud (GKE, to be precise). We use RabbitMQ for messaging and we need to upgrade it from 3.10 to 3.12 . FWIW RabbitMQ has been added to our system using a chart from Bitnami. The problem is that we need to enable RabbitMQ's feature flags. More specifically, the probl...
(more)
6 months ago
Answer A: Escape both reserved characters and curly braces in a URI in Spring Boot
We ended up using the old java.net.URLEncoder . More specifically, we used `URLEncoder.encode(string, Charsets.UTF8)`. We use it to encode the values for the query parameter, and then build a URL from it using String concatenation. This solves most of the problems, if you're willing to ...
(more)
6 months ago
Question Escape both reserved characters and curly braces in a URI in Spring Boot
I need to pass URI's that contain special characters, using Spring Boot. The characters include spaces, curly braces (`{` and `}`), square brackets (`[` and `]`), and hash signs (`#`). The problem is that Spring Boot wants to expand strings between curly braces. Let's say the URI is: ...
(more)
6 months ago
Answer A: Android Studio "not showing null elements" in unit tests.
This is a default setting in Android Studio. You can change it in the Settings. In the File menu, select Settings, then choose "Build, Execution, Deployment". Here, you select the submenu "Debugger", under that "Data Views", and under that "Java". (Note that you select "Java" even when you'...
(more)
8 months ago
Question 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, but I cannot see the null values in my list. In the Debug window, I can see the variable that holds my...
(more)
8 months ago
Answer A: What are statements and expressions?
In computer programming, an expression is something that yields a value. A statement performs an action. For example, let us look at some pseudocode. Let's assume that we want to calculate the sum of 3 variables: sum = a + b + c; print(sum); `print(sum);` is a statement: it perf...
(more)
9 months ago
Answer A: How to use function composition for applying a function to first elements of a list?
The quick fix is: `map (subtract 1) . take n $ l` When I put your function in my own Haskell compiler, I get: > Possible cause: ‘take’ is applied to too many arguments Remember that in Haskell, we don't have functions with multiple parameters. We have functions with a single parameter, that...
(more)
10 months ago
Answer A: How do I add functionality to the back button?
TL;DR : end your callback with a call to `finish()`. According to this article, `addCallback` really does add a callback. However, the way Android handles these callbacks is this: Iterator iterator = mOnBackPressedCallbacks.descendingIterator(); while (iterator.hasNex...
(more)
10 months ago
Answer A: How to read lines into an array in Bash
Your code adds all three elements to the list. You can see this if you add a line inside the `while` loop: echo "$line" However, if you give the command `echo $myarray`, it will only show you the first element. (I'm not yet sure why, because I don't do a lot of shell scripting. I'll edit...
(more)
about 3 years ago
Answer A: Interpreted language: What is its benefit for being written in that way ?
Historically, compiling programs could take a long time. Interpreted languages did not need to be compiled. So if developers wanted to change the program, if it was interpreted they could just tweak a few lines and run the program. If it was compiled, they had to wait until the compiler was done. Thi...
(more)
about 3 years ago
Question Fail to send DICOM C-Echo, although DICOM Association seems successful.
I am building an Android app to perform a DICOM C-Echo. (DICOM is a standard for storing and transferring medical images; the specification is at dicom.nema.org). My purpose is to learn more about how DICOM works, by implementing things myself. To test my application, I use DCMTk's `storescp` com...
(more)
over 3 years ago
Question Proper way of sending large amount of data from View to ViewModel
The problem I am working on a simple drawing app for Android. I have a custom view on which the user can draw. This means that a lot of data (a list of points) is generated in this View. I want to store this data in the `ViewModel`. If I need to update a `View` after something changes in th...
(more)
over 3 years ago