Newest Questions
24,166,541 questions
Best practices
0
votes
0
replies
5
views
Almost all data is one value- how to deal with this in a mixed model
My data is structured that almost all rows of my response variable are equal to one value. This is because I am examining observation data, and almost all (93)% observations are in one location. I am ...
0
votes
0
answers
6
views
Supabase schema backup to localhost using pgAdmin
I'm new to supabase and pgAdmin.
I've created a database in Supabase free trail. I want a back-up on my local windows machine and installed Postgresql with pgAdmin.
Used pg_dump to export the schema ...
0
votes
0
answers
9
views
Ada End_of_line with keyboard
In my Ada program I tried to read a string of a maximum of 100 character from a keyboard. The Put_Line statements are meant for debugging.
I found that the routine could not find a End_of_Line (Line ...
1
vote
2
answers
30
views
How to mask SSH private key on GitLab CI?
I want to connect via SSH to a server in a GitLab CI pipeline job.
I have this in my pipeline:
reset_database:
stage: .pre
image: kroniak/ssh-client:latest
resource_group: portal_test_vm_lock
...
Best practices
1
vote
3
replies
56
views
Writing tests for a Python package writen in C++: test the source or the interface?
I am working on a Python package with a backend in C++.
I am wondering what the best practices concerning tests are.
Should I test functions in C++, in Python or both? And why?
Thanks in advance for ...
1
vote
0
answers
24
views
Temporal workflow has 10-20s blank gaps between activities in local/cloud setup. Is this expected?
I am testing a Temporal workflow locally using the Python SDK, and I can consistently reproduce a delay between activities.
My setup:
Temporal server running in Docker
very constrained local ...
Best practices
0
votes
0
replies
15
views
How do you design a scalable data model and integration strategy for Dynamics 365 in complex, multi-system environments?
I’m working on Dynamics 365 implementations where multiple systems are involved (ERP, external services, reporting tools), and I’m trying to define a clean architecture upfront.
The main challenges I ...
0
votes
0
answers
19
views
Django tests in GitLab CI always use PostgreSQL instead of SQLite despite APP_ENV override
I am running Django tests inside GitLab CI and trying to switch between SQLite (for local/test) and PostgreSQL (for production).
My settings structure looks like this:
settings/_init_.py:
import os
...
-2
votes
0
answers
30
views
Python import torch error. OSError: [WinError 1114] A dynamic link library (DLL) initialization routine failed
I try to import torch library in Python, file extension of Python is .ipynb. however I got the following error:
OSError: \[WinError 1114\] A dynamic link library (DLL) initialization routine failed. ...
-6
votes
0
answers
34
views
How to design country-specific configurable business & bank fields (KYB) in MERN stack? [closed]
I am building an application using the MERN stack (MongoDB, Express, React, Node.js).
Requirement:
Business and bank detail fields should be dynamically configurable based on country-specific ...
Tooling
0
votes
0
replies
14
views
Using Excel4Delphi with Delphi XE7
We are working with Delphi XE7 on an application and we need to read and write data to excel. We have been using HotXLS to export the data but cannot get round to have it read the excel data.
We are ...
0
votes
0
answers
17
views
Using pdf merge from pdf-cli for all pdf-files in folder yields error
Using the pdf merge command from pdf-cli yields an error as soon as I try to merge more than three files. For the following example, I used the merge function as depicted in the docs.
pdf merge -o ...
0
votes
0
answers
11
views
Eclipse double quote auto completion breaks standard key sequence
In recent version of Eclipse IDE for Java EE Developers, MacOS introduced new "improvement":
Type first double quote (dq), second dq, press left arrow.
Expected result:
I have 2 double ...
Advice
0
votes
0
replies
8
views
How to port the interfaces from Android's view. java to the jet-compose system
I already know that you can use AndroidView in compose to achieve this goal, but what I'm thinking is how to wrap the interface so that the calling object of the interface is composable. Like this:
...
Best practices
1
vote
6
replies
40
views
How to prevent client-side manipulation of a numeric value sent from frontend to backend without making an API call on every change?
I have a numeric value that increments on the client-side based on user actions in the browser.
At certain checkpoints I send this value to my Spring Boot backend (Angular frontend). The backend uses ...