262 questions
-1
votes
0
answers
22
views
Guidance on Building a Multi-Browser Instance Management Program [closed]
I’m working on developing a program that manages multiple browser instances and would appreciate guidance on how to implement the following features effectively:
Instance Configuration and Scripting:
...
0
votes
0
answers
16
views
Data can not be synchronized from production env of local machine (wsl) to render.com. How to solve this PSQL data persistence issue?
I have deployed rails api on render using psql.Tables of procuction env(vsCode-WSL) found also in render.com database, but data input through vsCode (WSL)cannot be found in render database. However, ...
0
votes
0
answers
40
views
How to Ensure a Python Script Runs Continuously and Saves to a txt File Using VBA Macro, Task Scheduler, or Python Itself?
So I am working on a keylogger for a side project of mine. It runs and saves beautifully in the IDE but every time I try to run it on my computer through Powershell, Python, a VBA Macro or something ...
1
vote
1
answer
570
views
SwiftData Model Not Saving Changes
In the following example, changes to my UserGroup aren't saved and don't update the UI.
Upon tapping the user's id, the function to change the id is called, but the user's id is never updated and the ...
0
votes
0
answers
41
views
Persisting user and user profile in Angular and data changes after consulting it
Yesterday I encountered a very peculiar bug which I have not been able to solve. I essentially created services to handle user authentication and data management. I also created an additional service ...
0
votes
1
answer
222
views
relation "qrtz_job_details" does not exist
whenever trying to trigger a background job in Quartz getting
Quartz.JobPersistenceException: Couldn't determine job existence (sda.dsa): 42P01: relation "qrtz_job_details" does not exist.
I ...
0
votes
1
answer
39
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 ...
1
vote
0
answers
50
views
How to make RuntimeInitializeOnLoadMethod ignore initialization before the first scene in the game?
In my game, object persistence between scene transitions is handled by an Initializer.cs script:
using System.Collections.Generic;
using UnityEngine;
public static class Initializer
{
[...
1
vote
1
answer
65
views
How to handle data persistence with local storage when the data structure changes? [duplicate]
I'm building a web application that uses local storage to store user data and application state. However, I'm facing an issue when the structure of the data changes between versions of the application....
1
vote
0
answers
40
views
Data doesn't persist after reloading?
When I refresh the page (using F5) in the TableListVulnerabilities component, the previously fetched data disappears, and the component appears empty. Why is the data not persisting across page ...
0
votes
0
answers
194
views
How do i set multiple key values into diskcache in single insert?
I am trying to use the python diskcache to store the parse the log files and store the information into cache. As the data to parse is huge, rather than making entry into cache for every parsed record,...
0
votes
1
answer
413
views
How do you persist firebase auth state in react native?
I'm using React 18.2.0, React Native 0.73.0, Firebase 10.7.1.
signInWithEmailAndPassword(auth, email, password)
.then(async user => {
await AsyncStorage.setItem('user', JSON.stringify(...
0
votes
0
answers
164
views
Share variables across views in iOS app with SwiftUI
I'm new to StackOverflow and SwiftUI programming. So I have this very simple app with a homepage, a settings page and a page where some text is displayed (for now).
The thing I need is for the user to ...
0
votes
0
answers
46
views
How to add mutiple core data managedObjectContext to Environment SwiftUI app?
I am getting this error when I run the App "Thread 1: "The fetch request's entity 0x280a444d0 'SleepStoriesCD' appears to be from a different NSManagedObjectModel than this context's"
...
0
votes
1
answer
134
views
Native data persistence in apache ignite not working
I am running ignite in a docker container, I want to implement native persistence so that if I remove or stop the ignite container, after restarting the container I want to access the previous data. ...
1
vote
1
answer
476
views
Firebase real time database offline persistence using Maui.net
Does FirebaseDatabase.net support offline persistance with maui.net?
if so, could someone give me a snipit of what i need to do.
If not, does anyone have any suggestions or examples that show how to ...
3
votes
1
answer
2k
views
Cannot download Saved AI Models in Kaggle working dir, and models were lost
I ran a CNN model for image analysis, my model and weights saved to kaggle/working, however I spent hours trying to download these using combination of methods, clicking the … adjacnent to the file ...
1
vote
0
answers
54
views
Why is unique keyword in column definition causes IntegrityConstraintViolationException when trying to update entity
I have a really simple project using Spring Data JPA with Hibernate consisting of:
Movie Entity:
@Entity
@Table(name = "MOVIES")
@NoArgsConstructor @RequiredArgsConstructor
@ToString(exclude ...
0
votes
1
answer
289
views
Trying to animate persistent homology in python
I am trying to write a program that will run a persistent homology animation on some random data. Here is the code that I have so far:
import numpy as np
from ripser import ripser
import matplotlib....
-1
votes
1
answer
72
views
Data not save in the database table
I created sample java project and try to save data with JPA. able to connect with the database as well as able to create the related database table(named laptop) as well as. But when i try to save ...
0
votes
0
answers
30
views
iOS file system directory data not persisting between builds, will it persist between App Store updates? [duplicate]
I am saving a movie file in an iOS documents directory. The file is saved fine and I can access and play it after it has been saved. But when I rebuild the project I can't access the file, when I ...
0
votes
1
answer
35
views
error in storing a map of strig in class object in a binary file [duplicate]
i have a string object in map object which is in a class object then it is giving me error what to do
#include <iostream>
#include <fstream>
#include <map>
#include<cstring>
...
0
votes
1
answer
413
views
Saving an Object and being able to update its attributes
I am creating a POS system in Python, which is almost complete. (GUI not included). However, I want to be able to store the items that a user registers.
I tried saving the object to a file, but that ...
1
vote
0
answers
193
views
Python Session and Cookies
Hello dear Stack users,
I am trying to login to a webservice via json exchange and trying to implement the auth mechanism as you can see here
import requests
class Testauth(requests.auth.AuthBase):
...
0
votes
1
answer
456
views
Data Persistence between Scenes in Unity creates multiple instances, regardless of conditional destroying of extra Game Objects
I am creating a game where the first scene will have a generated map saved as a 2D array, then the next scene takes care of all the combat. Once that's done, user needs to go back to the first scene ...
0
votes
1
answer
465
views
Best way to securely cache data in a kotlin app?
New-ish to Kotlin and building an app. I am wondering the best way to securely cache data? Any suggestions are appreciated. Thanks!
2
votes
0
answers
72
views
How can I use data from a linked list generated in a tab for then use it in other tabs?
I have tab1.html:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=...
0
votes
1
answer
2k
views
Java Persistence Entitymanager - Select from another query's result set
I currently have the query stated below. I know this works as a SQL query, but because I am using the EntityManager, from javax.persistence, it requires JPQL. And I don't know JPQL. If there is a way ...
0
votes
1
answer
420
views
Why data variables are persisting the old values in Flutter app?
I am so confused about the data persistence in my app. I am using google drive api to fetch a spreadsheet file(.xlsx) and then read and show the excel cell values in my app using an itemBuilder. The ...
1
vote
1
answer
1k
views
Write Dictionary to File in Swift
I'm trying to write a simple Dictionary to a .plist file in swift. I have written the code in an extension of the Dictionary class, for convenience. Here's what it looks like.
extension Dictionary {
...
0
votes
1
answer
480
views
A copy of database in the Front-End side (Store) to avoid fetching data multiple times
I have a large database, so I decided to create a copy of this database on the front-end side in my Store (I am using Vuex with Vuejs), i.e. each table in the database has a corresponding array in the ...
0
votes
2
answers
708
views
Reading and Storing data from Firebase realtime database in Flutter
I have some data in the form of objects on my firebase rtdb, I just want to retrieve the data on my device and save it using the persistence method. I've been on this for a month now and looked out ...
-1
votes
1
answer
426
views
How to save CGFloat and Color to realm DB?
I want to use realm to save data but as far as I understand realm does not support CGFloat and Color property, I searched for solution but it seems there is no answer.
Saving properties not supported ...
2
votes
1
answer
7k
views
Redis elasticache in aws - how to get persistence and keep good latency
I am currently using redis cluster with 2 node groups and a replica per node.
I chose to use redis because of the high performance. I have a new requirement to have persistent storage of the data in ...
-2
votes
2
answers
172
views
how can I save and load information in a desktop inventory application C#? [closed]
Im developing this desktop app for study reasons
but im using SQL Server for database management so reading around the web i find some articles on this and why it is bad practice, i cannot move my ...
0
votes
0
answers
48
views
Saving Object Properties as Persistant Data -PHP
I'm teaching myself PHP from tutorials, and am trying to save some object properties to a php file, as persistant data, so I can later retrieve them in another user session. (Yesi, I know how to save ...
0
votes
1
answer
227
views
Ignite loadCache() and write behind
We're using Ignite, and for this particular cache we want to use write behind to insert new rows in an RDBMS when items are added to the cache.
The wrinkle is, we want to initially load the cache with ...
0
votes
0
answers
496
views
Unable to run integration test cases after Grails 4 migration
After migrating the application from Grails 3.3.11 to Grails 4.0.6, I am unable to run integration tests. When I tries to run integration test it throws error as:
java.lang.IllegalStateException: ...
1
vote
1
answer
68
views
Why to use Cloud Functions on Firestore triggers - Firebase [closed]
Why using cloud functions to respond to database changes, when in Firestore there's data persistence?
This means each change in the database performed from the client, even when made offline, is saved ...
1
vote
2
answers
571
views
How Do I Save an Array of Objects to NSUserDefaults?
I was wondering how to save an array of objects to a NSUserDefault. I've read about encoding the data array, but was unsure about how the process works.
This is my array:
//EventData class with ...
0
votes
2
answers
179
views
Android Studio Room data without livedata
I got the following Room database and want to output the name of a random user in a textview. Unfortunately running the code yields the output: kotlin.unit inside the textview. My files look like that:...
0
votes
1
answer
657
views
Can logstash's Google Cloud Storage output plugin do persistent transmission after restart machine?
Using this config for logstash's output. It's using /tmp/logstash-gcs as a local folder. Send to GCS when file become 1024 kbytes.
input {
beats {
port => 5044
}
}
filter {}
output {
...
0
votes
2
answers
2k
views
Best way to store objects with images locally on disk in Flutter?
I'm making a super simple cookbook (like literally, for food) app for one single person, so I haven't been thinking that I want/need to use a database or any internet connectivity. When the user ...
0
votes
1
answer
36
views
Retain State of TextView Color
I'm rendering some TextViews on a LinearLayout. These TextViews hold times that a user can select. If the user selects it, the TextView's color is set to green. If the user selects the TextView (time) ...
0
votes
0
answers
22
views
does querying a list of entities from database loads the entities into managed context in jpa?
for example:
1.I have 100 entities in a database
2.when i select all those 100 entities via select query,will those entities be loaded to managed context?
3.If yes , what happens if we dont change any ...
17
votes
1
answer
16k
views
Kubernetes persistent volume: hostpath vs local and data persistence
What is the main difference between hostpath and local persistent volume in Kubernetes?
Assuming I have a kubernetes cluster running on my machine with a pod running a database that uses a local ...
0
votes
1
answer
411
views
what is the better way to implement auditing in redis cache (using redis as persistant storage) in spring boot?
Audit class :
public class Audit {
private Long createdDateTime;
private Long updatedDateTime;
private String createdBy;
private String updatedBy;
}
Entity
public class User extends ...
0
votes
1
answer
1k
views
How to programmatically control the persistence in redis
I'm using redis with my spring boot application using jedis, spring-data-redis. I want to control the persistence mechanism of redis in the following way.
In one case I want the data to be persisted ...
1
vote
2
answers
223
views
Storing List Variable on change
I am learning Flutter currently and was making a personal finance app. I have the option to bookmark my guides and then view them on the bookmark tab. Right now, I am using a list to simply store ...
0
votes
1
answer
3k
views
Saving a file with a variable of datatype 'Data" in Swift
I'm new to programming and I'm trying to write a function in Swift to download a JSON and parse it.
However, the JSON is very complicated and I have a daily limit on number of requests of data from ...