Questions tagged [persistence]
Persistence in computer programming refers to the capability of saving data outside the application memory.
persistence
5,137
questions
0
votes
0
answers
9
views
File Deleted After Update
My LibGDX game uses a single file to store settings and player progress.
This code is used to read/write the settings (try/catch has been removed to keep this post short):
public void save() {
...
0
votes
0
answers
79
views
KubernetesPodOperator don't see PersistentVolume and PersistentVolumeClaim
I have an issue with KubernetesPodOperator.
Maybe someone could give me an advice or know the answer.
I'm implementing Liquibase tool on my project. And we are going to trigger Liquibase from Airflow ...
0
votes
0
answers
15
views
FHIR as a persistence DB and also to aid some of my reporting needs. Is that a good idea? [closed]
We are planning to use FHIR as our persistence DB for a EMR system that we are building. Is that a good idea or is it better to have our own persistence DB and then ETL the data to FHIR for ...
0
votes
1
answer
16
views
How to change Zustand storage from sessionStorage to localStorage or back based on the user selection
I need to be able to change Zustand storage at runtime, is it possible?
import { create } from 'zustand'
import { persist, createJSONStorage } from 'zustand/middleware'
export const useBearStore = ...
0
votes
0
answers
31
views
How to save css to persist over loading different pages or refreshing page
I am trying to implement the function of saving a post or liking a post and the css style of the like button or the save button doesn't apply when refreshing or changing page. how can I save the css ...
0
votes
1
answer
40
views
How to calculate the correct persistence diagram from a binary-mask-png using GUDHI
I'm trying to get the persistence diagram from a mask(for segmentation), and my codes are as follows:
import numpy as np
import gudhi as gd
import matplotlib.pyplot as plt
from PIL.Image import open ...
0
votes
0
answers
20
views
I want an android app to persist even after a factory reset. How do I do that?
I'm trying to make a corporate app persist on an android device (android 12 rooted), even after a factory reset. How would I go about doing that?
I had tried making the app a system app using ...
0
votes
1
answer
34
views
overloading var_export() to customize
I've a persistent library that should store objects in a database. So var_export() should store the type, pk, and db-version only. At the reverse it should recreated the object from the database using ...
0
votes
1
answer
47
views
Problem with attribute names in persistence with JPA
I'm having a problem trying to map database columns to DTO with JPA in my backend.
Some column names are not accepted, I don't know why. This began to occur after the use of quarkus.
When I set the ...
0
votes
0
answers
27
views
Spring Boot entity validation activate/deactivate field constraints for different composite classes [duplicate]
Question:
I am implementing a spring boot microservice in which i have an entity C (with attributes name and address) referenced by 2 other entites A and B.
@Entity class C {@NotNull string name, @...
0
votes
1
answer
33
views
Fatal error when using python Ripser on 3D point clouds
I am attempting to analyze 3D CAD models (STP/STL) for voids and similar enclosed empty spaces. For this task, I have been using Vedo to convert STL to 3D point clouds, and was trying to run Ripser ...
0
votes
1
answer
51
views
Long running persist ends up with errors
This is my code trying to save data
` for (int i = 0; i < materialVersions.size(); i += BATCH_SIZE) {
int endIndex = Math.min(i + BATCH_SIZE, materialVersions.size());
...
0
votes
0
answers
13
views
sys.stdin.readline() in an inittab
I am using sys.stdin.readline() to to hang the execution of a Python script, to keep it persistent. When I put this script in an inittab and it comes time to log into Linux after rebooting, hitting ...
1
vote
0
answers
19
views
Hibernate @ManyToOne case insensitive
We have two Oracle tables like this:
TABLE_1
-------
CODE_TABLE_1 | LIBEL_TABLE_1
-----------------------------
code_table_1.1| libel_table_1.1
code_table_1.2| libel_table_1.2
code_table_1.3| ...
0
votes
2
answers
49
views
Cache response from a request in python
I'm writing some backend scripts in python that have to be coupled with a web interface that uses django.
The web application allows to view layers that comes from different web services. As part of ...