10,020 questions
0
votes
0
answers
21
views
How to save R interactive plots (e.g. plotly plots) in Linux? [duplicate]
I have created an interactive plot using plotly (with tooltips). I am using Linux command line interface.
Is it mandatory to use RStudio to save these interactive plots as they are (not as static ...
0
votes
1
answer
78
views
Infinite loop while closing another workbook
I'm working on an Excel project where I use VBA and two workbooks :
One to update some tables (analysis requests updated with a macro while opening) and another one where I copy part of those tables ...
-1
votes
2
answers
114
views
Storing a struct that contains std::vector without the vector-data
I have a complicated struct with sub-structs to store the settings of my program. This structs contain some std::vectors. I save the struct with this easy function:
void saveSettings(std::string ...
1
vote
1
answer
53
views
Save picture from excel to a file
I have an excel where I import some pictures (from a onedrive file, they are uploaded as part of a query). These pictures are part of an auto-response PDF I will generate from my excel file, that ...
0
votes
2
answers
62
views
How to Save a Matrix as a PNG Image and Reload it to Recover the Original Matrix
I would like to save a 96x96 matrix as an image.
The values in the matrix range from -1 to 1.
When I save the matrix using
plt.imsave(path, matrix, cmap='rainbow'),
it gets stored as a 96x96x4 RGBA ...
-1
votes
1
answer
37
views
Save video from url https... with UISaveVideoAtPathToSavedPhotosAlbum to photo library
Could somebody show me the simple code for saving video to the photolibrary
I have link
let videoURL = "https://v16m-default.akamaized.net/fe144652a33b4df42aad6ac47ede1534/67277349/video/tos/...
0
votes
0
answers
66
views
VBA Excel thisworkbook.saved changes inexplicably
My goal is to close a file without being prompted to save after changing a shape, specifically the size of a button; to this end, after changing the button, I set Thisworkbook.saved to True but if I ...
2
votes
1
answer
88
views
Save to disk training dataset and validation dataset separately in PyTorch
I want to save train dataset, test dataset, and validation dataset in 3 separate folders.
Doing this for training and testing is easy
# Get training and testing data
all_training_data = getattr(...
0
votes
1
answer
96
views
Messagebox for overwriting files does not pop up
I have written the following VBA code to save my Solidworks files. It also checks if files already exists in the folder and if so - asks through a messagebox if these files need to be overwritten.
...
0
votes
0
answers
38
views
(ROS) How do I save the image data (as video) I am getting from a ROS node which is subscribing to an image Topic?
I am already seeing the images and the subscribed data, but I want to save it into storagefiles like mp4 or anything else. Since I am studying mechanical engineering, I am not great at programming. ...
2
votes
1
answer
36
views
Saving 2d Lists to local device - Flutter
i am looking to save data to the device my Pre Delivery Checklist App is runing on (hence all the boolean data(for the checklists)). The data would look something like this:
List<List> ...
1
vote
1
answer
76
views
How to disable automatic power saving mode?
In developer mode, my phone automatically switches to power saving mode when the battery level is below 75%. I would like to disable this feature.
In my previous Google Pixel 8 Pro phone, there was an ...
3
votes
1
answer
74
views
What do I do if my Apps Script didn't save?
I was working on an AppScript with a personal account. I clearly remember saving it. However when I looked back the next day, all the progress I made was gone.
I deployed it once around 30 min in and ...
0
votes
0
answers
42
views
When opening an Excel WB \\<server_ip>\<path>\<wbName> and trying to save: "someone else is working on \\<server_IP>\<path>\<wbName>, try again later
When opening an Excel Workbook in File Explorer from within the windows server by calling \<server_IP><path><wbName>.xlsm and trying to save the WB after making a change, ...
0
votes
0
answers
16
views
DDQN:My model has already converged, but then I stopped learning and tested for 100 rounds, and it immediately collapsed. Why is that?
I ran a maze exploration model using DDQN, and it performed very well during training, so I wanted to save my model. However, when I reloaded the model, it seemed as if it had never been trained. I ...
0
votes
0
answers
31
views
In B4A, external folder storage
My codes should be correct, but I could not get the correct resourse to edit my Manifest file to allow SAVE permission.
Private Sub btn_SAVE_Click
Dim const FILENAME As String = "...
0
votes
0
answers
31
views
Why is my load function not setting the data correctly?
This is my first time attempting a save/load system.
I've read through the Godot docs carefully, and created a scene to test it out.
Both the save function is working perfectly, but the load function ...
1
vote
1
answer
168
views
Tensorflow 2.17 - Saving custom model does not work for me
(tensorflow 2.17, Windows 10)
I can't save and restore a custom model using subclassing method.
Please find below the code to reproduce the problem :
import numpy as np
import tensorflow as tf
x = np....
0
votes
0
answers
34
views
Use reflection to save/load data from/for many different objects
I am making a tile-based RPG in Java with a 3d array of tiles, each tile having an entity etc. I know how to save/load the tiles (grass has an id of 0, tiles[i][j][k] = Tile.getTile(0)), but entities ...
0
votes
0
answers
22
views
Saving a GIF from a byte array will have a seemingly random time in the gallery app
I am trying to make an app where users are able to share images and GIFs with each other. Saving images seems to be going fine there are not many issues on that part, however for saving GIFs a little ...
0
votes
0
answers
56
views
gtsave_extra is not working properly? Does not save my file and export seems to take a screenshot of screen rather than save image
I am trying to save a gt_extras table and when I try to save it it either doesn't save or takes a screeenshot of part of my screen rather than save the image. The only thing that seems to work is ...
1
vote
1
answer
86
views
Temporarily replace values in string
I have a very simple question for you, but I cannot find it on the internet.
I have a list called ArrayList(i) of which I want to replace some strings for only one line. After that line, it should be ...
0
votes
1
answer
79
views
Overwrite files msgbox within a loop using Solidworks vba
I have a script that saves x amount parts of a SW assembly into step/xt, based on the input of a userform.
This works really well. However, I want to add a messagebox that asks "Do you want to ...
0
votes
0
answers
50
views
Open part that contains a certain value in Solidworks using vba
I wrote a script that automatically saves multiple parts within a Solidworks assembly using a Userform and VBA.
In my userform, I have multiple checkboxes that the user can click that will be saved. ...
0
votes
0
answers
18
views
SSMS save results to file as CSV, output in multiple columns
I have a query with several columns, which I want to export as a CSV file, by using the save to file option in SSMS. I'm able to do that, but some rows will be exported to multiple columns in the .csv ...
1
vote
1
answer
65
views
Is there a way to save text in R without it actively implementing \n? [closed]
I'm trying to use a handful of smaller functions to generate input for R Markdown. Some of the input for R Markdown contains calls like:
cat("\\centering\n") or cat(Obj1, Obj2, Obj3, "\...
0
votes
1
answer
29
views
FileNotFoundError when being loading a file using a script in a subdirectory, with file in subdirectory. (Pickle)
I have a project in which a app loads and saves data into sub folders (its a GUI editor), and the script for loading the pickle file and using the data gives an error message ->
Traceback (most ...
0
votes
2
answers
73
views
Creating separate folders to save attachments
I am trying to look through old emails to scan them to save the attachment and the email while creating separate folders for said attachment.
Sub SaveAttachmentsToDynamicFolders()
Dim olApp As ...
0
votes
0
answers
20
views
Saving, Sending as email , Clearing, then, saving an excel workbook
What I am trying to do. By clicking a submit button I want to save the workbook, then send the workbook via email, then clear certain cells and save again. I am having trouble getting the code correct ...
0
votes
1
answer
49
views
Why writeRaster() function has error : external pointer is not valid when I export ebird raster data?
I want to export the ebird relative abundance raster as a TIFF file, but I encountered this Error: external pointer is not valid
Here is my code:
library(terra)
library(ebirdst)
...
0
votes
0
answers
28
views
JSon.Net nested serialization
I need some help with serializing a nested datastructure using Json.Net for Unity.
I have an interface called ISaveable:
public interface ISaveable
{
object Save();
void Load(object data);
}
My ...
0
votes
1
answer
48
views
how to save epoches every 20 times and load model again?
i want to train this model on colab and it has 1000 epoches ..but its takes too long.
this is my code with python:
its training a model for 1000 epoches ,
and i want to save epoches every 20 times(for ...
1
vote
0
answers
120
views
Problems with the update in CRUD PHP Codeigniter 4
I'm trying to do a CRUD with Codeigniter 4, it's my first time using this framework. I created the Database in Mysql and I have already done the register and login ( they work at the moment) So on the ...
0
votes
0
answers
22
views
How to obtain and save trigrams from text mining program TM - in text or csv format
I'm hoping to identify tigrams and phrases in a corpus using TM and save the output as a text or csv file. I haven't found a way to do this in Quanteda: How to save n-gram output
This reproducible ...
0
votes
1
answer
38
views
Saving data from an HTML form
I am trying to save data from an HTML form. I found this solution here on stackoverflow
I want to use the CacheData function (shown below) but when I run my code, I keep getting an error that ...
0
votes
0
answers
24
views
Win32com failing to quit and save
I am using openpyxl in order to populate an excel sheet, but because it would contain formulas, I am trying to use win32com in order to refresh the sheet in order to get the calculated values from it.
...
0
votes
0
answers
30
views
New to visual C++: Problem with saving a bmp from a frame after loading the bmp into it
So I've been using chatgpt to help (please don't start with the AI hate). But basically it can't find what is wrong.
Please bear in mind that this app is my first attempt at building anything with ...
0
votes
1
answer
93
views
How to save n-gram output
A hopefully simple question. How can I save the ngram output from the following code?
\\
library("quanteda")
## Package version: 2.1.2
data(data_corpus_inaugural)
toks <- ...
1
vote
1
answer
150
views
Microsoft Excel VBA Save As CSV Subroutine - File Cannot Be Accessed Error
For an end user on my team the following subroutine fails to save a CSV file with an error message that states "'OUTLOOK MERGE DATA.CSV' cannot be accessed. The file may be corrupted, located on ...
1
vote
1
answer
80
views
Custom Field data entry not saved to Woocommerce database
I have the following code provided to me from a plugin developer, but they are not very responsive and don't seem to test properly using latest 8.x PHP
I've been able to get things to work except when ...
-1
votes
1
answer
56
views
After clearing the file, I cannot save more data
I have a code whose role is to save data to a text file. I also have a function defined to clear the file. Unfortunately, after clearing the file, no more data gets saved. I'm saving the output of ...
0
votes
1
answer
40
views
How can I resolve the "System.Runtime.InteropServices.ExternalException: 'A generic error occurred in GDI+.'"error when saving an image in C# WinForm?
When saving the image in C# WinForm, I encountered the following error:
System.Runtime.InteropServices.ExternalException: 'A generic error occurred in GDI+.'
Here is the updated code with the ...
0
votes
0
answers
43
views
_xsaveopt64 Usage in Kernel-Mode
I need to manage extended processor state using _xsaveopt64. My current approach with _fxsave64 and _fxrstor64 has been as follows:
alignas(16) char fxStateBuffer[512];
// Saving state
_fxsave64(...
0
votes
1
answer
31
views
Checkpoint does not load correctly in Godot 4
I am developing a 2D game in Godot 4, and I am trying to create a "save and load (checkpoint)" system. Each scene's name follows a pattern like "world_01", "world_02", ...
0
votes
1
answer
84
views
How to save DB tables summary shown in MySQL workbench
I can see DB table details in MySQL Workbench, but can't find an option to save them. I also tried CTRL + A and CTRL + C but it didn't selected all the rows.
0
votes
0
answers
30
views
How to I save an AudioKit MIDIFile to permanent file in iOS using Swift
I am creating a music app using SwiftUI with AudioKit. The app captures MIDI input from a keyboard and creates a MIDIFile which I want save to the file system so that it can be read into other music ...
0
votes
0
answers
72
views
Save and Load - Checkpoint Godot 4
I’m new to game development and recently started developing my first game, a simple 2D game to better understand the platform’s functionalities.
I’m having trouble adjusting the checkpoint saving ...
0
votes
1
answer
131
views
How to save session in pywebview?
I have a simple python program that opens a website, made in pywebview. I want that if I log in to the site, the next time I start it I won’t have to log in again.
import webview
# WINDOW
window = ...
0
votes
0
answers
58
views
Confirmation Wizard for Save Button in Odoo 15
I'm trying to create a wizard confirmation for the default save button in a tree view. I'm using odoo v15.
I tried to override the write method, but it doesn't work, and the changes are not saved. ...
0
votes
2
answers
170
views
How to save a website with animations locally
I want to save the site pst.net locally, because I liked the animations on it.
I want to view the code locally, but if I save the site using the ctrl+s combination, then the animations are not saved ...