Newest Questions
24,187,266 questions
-1
votes
0
answers
10
views
Easiest way to setup database in my rust app [closed]
I'm new to Rust and building a web application. I need to add database persistence but I'm overwhelmed by the options and configuration complexity.
What I've tried:
Looked at SQLx, Diesel, and SeaORM ...
0
votes
0
answers
4
views
Updating a spring boot component from an Async-annotated function
I have a Spring Boot process where I have three classes of interest (Service.java, AsyncTaskManager.java, SessionManager.java). I use Service.java to process requests from the Controller, ...
0
votes
0
answers
6
views
Should I apply random flip and rotate transformations along the depth axis for 3D medical imaging?
I am working with the Medical Segmentation Decathlon (MSD) Task 1 brain dataset where each volume has shape (H=240, W=240, D=155, C=4) (height, width, depth, 4 channels).
I'm building a data ...
-3
votes
0
answers
13
views
Code Languages for Enterprise Data Management [closed]
Is SQL the only coding language that is used to query databases in Enterprise Data Management?
0
votes
0
answers
6
views
Cannot get swiftui webview to remain anchored to bottom of screen
I'm working on a swiftui app that integrates a webview to embed a monaco editor. All is going well, but there's really weird behavior regarding scrolling and this mystery and inconsistent white space ...
-2
votes
0
answers
14
views
Change email Trusted Signing Account Identity Validation
I have a couple of different Azure accounts and I mistakenly created a Trusted Signing Account Identity Validation request on the wrong account. I have initiated deleting of the Resource.
When I login ...
-1
votes
0
answers
8
views
R: Finding out between which dates a certain action occurs
I am working with the R programming language.
I have this dataset:
library(dplyr)
library(tidyr)
library(lubridate)
combined <- structure(list(country = c("Canada", "France", &...
-1
votes
0
answers
10
views
Why i can't use echo in the ternary operator but i can use print?
I am trying to understand the difference in behavior between echo and print in PHP.
What I expected:
Both echo and print should output the same result.
What actually happened:
The code using print ...
0
votes
0
answers
7
views
packet tracer iot system code not running in programming of iot device ( code in python )
so when i run the code it just says
Blink (Python) stopped.
Starting Blink (Python)...
why ?
i don't need to show the code of each file cuz it's gonna be too long
u may need the pic of the iot syst ...
Advice
1
vote
1
replies
18
views
Cheap Locking for a thread that is 99.999999999% owner
I have a function that updates the state of some shared resource.
99.999999999% of the time, this function is only called from a single thread. I want a cheap way for this thread to check for other ...
Advice
0
votes
1
replies
16
views
What is the practical difference between inline and a static constexpr?
If we have a forward declared in a header file a.hpp
// in foo.hpp
namespace foo {
extern constexpr int a;
}
// in foo.cpp
namespace foo {
extern constexpr int a = 0;
}
what is the semantic ...
0
votes
0
answers
9
views
Error writing stac catalog with pystac: datetime, tzinfo error
The notebook exploring this issue can be found here.
https://github.com/worldbank/GOSTrocks/blob/fathom/notebooks/FATHOM/PROCESSING_NOTEBOOKS/generate_fathom_vrts_and_STAC_catalog.ipynb
I am trying to ...
-2
votes
1
answer
13
views
Best Dataset Websites [closed]
I am working on a University project of a CNN able to distinguish Culex Mosquitoes from non-Culex mosquitoes.
The problem I'm facing is that I couldn't find any ready-to-use dataset.
So, is there any ...
0
votes
0
answers
12
views
Dealing with problems when implementing ANOVA
So, I tried to implement my own version of the ANOVA. I tried calculating the F-statistic and F-critical and then comparing the two in order to decide whether or not to the reject the null. The ...
1
vote
0
answers
11
views
Tuple not immutable? [duplicate]
In this exercise I expected A) ([0],) to be the correct answer because a tuple is immutable:
import copy
def fun(c1, c2, c3):
c1[0].append(1)
c2[0].append(2)
c3[0].append(3)
a = ([0],)
...