9,976 questions
Advice
2
votes
3
replies
31
views
SaveImage() does not seem to update 'File location' under: Image Info/Image/Info
SaveImage() does not seem to update 'File location' under: Image Info/Image/Info
Is there a command for adding the file location? I could close and re-open the file, but that seems burdensome ...
1
vote
1
answer
67
views
Button to save edit in its current model and then return you to previous Details view of a different model
I am using ASP.NET MVC. I have a PIF controller and on the details view, I have data showing from a variety of other models, one of which is called SAEs (I will use this as the example). For each of ...
1
vote
1
answer
102
views
How to edit title/axes of already compiled matplotlib plots
I expect the answer is "not possible". I am compiling some matplotlib plots that take a long time to produce. The plots are generated based on data that also takes a long time to produce, ...
0
votes
1
answer
95
views
Flutter Media Store permission to save pdf file in Mobiles Download folder
My functionality is to save a PDF file in the mobile's download folder using my Flutter app, for that, in the Android manifest I added the below permission and the functionality is working perfectly
&...
1
vote
1
answer
62
views
Spring JpaRepository auto incrementes id instead of using the on i set
I have an SomeEntity, and want to create a new entry on the data base with the same "someId" but diferent "seqNum".
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@...
0
votes
0
answers
129
views
How can I use a file .txt to store some passwords for many programs in python?
I have a file called password.txt and I want to store some passwords in it, I use it in a file of functions but I don't know how to make it usable for more than one file, every one having his specific ...
0
votes
0
answers
20
views
pandas_gbq slow from vertex pipeline component
When trying to save to big query using pandas_gbq, it's taking considerably more time when this is being done from a vertex ai component than when simply doing it from a workbench instance. Any tips ...
0
votes
0
answers
79
views
"Save As" gives wrong values on the Y axis of a graph
I have a question about Excel VBA.
I struggle to find out what is causing a certain behaviour.
When running the code below, which is started with a Button on sheet 1, the graphs on sheet 2 are changed....
0
votes
1
answer
133
views
Catboost error when loading pool from disk
I am creating a catboost pool from a pandas dataframe (columns have strings as names, not sure if thats relevant) and then quantizing it and saving to disk using this code:
import catboost as cb
...
1
vote
1
answer
244
views
Why won't Elementor save my changes to my WordPress website?
I'm designing a new website using Elementor and WordPress. The site is being built offline, on my local hard drive, which I'm using as my localhost until finish the site. At that point, I'll transfer ...
0
votes
2
answers
85
views
Problem with formatting table with LaTex format
I have a table with squirrel sightings, where I have species, year, total abundance and mean_abundance, like below:
library(tibble)
set.seed(42)
abundance_sum <- tibble(
Species = sample(c(&...
1
vote
2
answers
136
views
Kotlin - Load and save data in activities when minimize or kill app
I'm working on my first kotlin app with several activities. Each activity is composed of fields that the user fills in and saved into an SQLitedatabase
I need help on when to save and reload data.
...
-1
votes
1
answer
60
views
Save and overwrite if necessary GD file in PHP [closed]
I modify a file using GD in PHP and am currently saving it with the code below. However, the code below does not overwrite an existing file.
What do I need to do to overwrite an existing file or one ...
1
vote
1
answer
50
views
Powershell - Keeping a mapped drive open for saving document
I have a powershell script I've created that stores a copy of a text file to a mapped drive over a WAN VPN when the text file on the host machine is modified. It works fine until there is a brief drop ...
0
votes
0
answers
27
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 ...
-1
votes
2
answers
128
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 ...
0
votes
2
answers
180
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 ...
0
votes
0
answers
79
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 ...
0
votes
1
answer
105
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.
...
1
vote
1
answer
406
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 ...
0
votes
0
answers
46
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, ...
1
vote
1
answer
276
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....
1
vote
1
answer
89
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 ...
1
vote
1
answer
87
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
2
answers
81
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 ...