Save/Load full form

I am writing a program for a friend in my free time to use to document students for physical therapy and occupational therapy. I'm using visual basic and have created a basic form so far, but realized I'm not sure how to save/load the information tha...
more »

2017-08-16 17:08 (1) Answers

Keras LeakyReLU has trouble when load_model

I'm using Keras to train a variational autoencoder, and find out following problem: If I create a model with LeakyReLU layer, and save it. I would encounter error when loading the model with load_model function. Here's my code, please scroll down to ...
more »

2017-08-16 00:08 (0) Answers

Laravel 5.4 form post and save() don't work

I have problem with submitting data into database. Database works fine, as I can seed data into it and display data from it. I am suspecting that there is something wrong with post form, as I don't get any errors, it is like post doesn't reach contro...
more »

2017-08-15 01:08 (0) Answers

Matlab saving a .mat file with a variable name

I am creating a matlab application that is analyzing data on a daily basis. The data is read in from an csv file using xlsread() [num, weather, raw]=xlsread('weather.xlsx'); % weather.xlsx is a spreadsheet that holds a list of other files (csv) i ...
more »

2017-08-13 22:08 (2) Answers

Can't store and crop image android

I am trying to store image and crop it after save but I have one of the biggest problem ever, that problem is when I store image all things is good but when I send the URI to result the crop class opens but it's empty NO IMAGE I think it gets null be...
more »

2017-08-13 08:08 (0) Answers

HTML/Javascript Save and Load Tables

I want to make an editable table, but at first I need to know how to store/save the changed data and load it with Javascript. I tried different thinks which I found here, but my table is maybe unnecessarily complicated to store. I would like to have ...
more »

2017-08-13 01:08 (0) Answers

take screen shot of the entire view (swift3)

I just want to use a button to take a photo of the entire view controller. I think what I am trying to do is take a screen shot of the uiview and and save it in photo gallery. I want the button in the picture. import UIKit class ViewController...
more »

2017-08-10 22:08 (1) Answers

Android Studio - How I can save a button value?

I like to save and disable a button, after I use the button (the code line below): btn1.setEnabled(false); I already know that I must use SharedPreferences, but I still need help with the code. I have already tried a lot but without success. Thats...
more »

2017-08-10 20:08 (1) Answers

Detached entity passed to persist many to one

I'am having a problem to save a new ocurrence on my DB when i'm making a update with a save. Basically, the updates persists, but the save have an error: org.hibernate.PersistentObjectException: detached entity passed to persist Here is my code pub...
more »

2017-08-10 15:08 (0) Answers

Save 'tc qdisc' config on device

I have done some config like this on my linux device. tc qdisc add dev "em1.450" ingress tc qdisc add dev "em1.956" ingress However once the host restarts, the 'tc qdisc' related configs are gone. How can I make these configs persistent on the dev...
more »

2017-08-10 13:08 (0) Answers

How to save and load a list again?

I'm trying to code a simple app with a table view to show some to do things. (In this case, it is called "Grails" / things I want to buy). I did everything about the table view, and the input and so on, and the only thing I need to do, is to save an...
more »

2017-08-09 22:08 (1) Answers

How to save run configurations - Visual Studio Mac

I am developing an asp.net application on macOS with Visual Studio for Mac, and I can specify a custom run configuration. There seems to be no way to specify a run profile, where all arguments and settings in the custom configuration are saved, inst...
more »

2017-08-09 06:08 (0) Answers

PHPExcel Save file performance

I'm generating an excel file containing about 60000 rows in my php script. It takes about 18 seconds to generate the required data and write to objPHPExcel object but when saving it to a local file or sending back to the server it takes more than 30 ...
more »

2017-08-09 01:08 (0) Answers

Storing matrix after every iteration

I have following code. for(i in 1:100) { for(j in 1:100) R[i,j]=gcm(i,j) } gcm() is some function which returns a number based on the values of i and j and so, R has all values. But this calculation takes a lot of time. My machine's powe...
more »

2017-08-06 09:08 (2) Answers

Saving a txt file using Pandas

I used pandas to replace the blank column spaces with nan in a txt file named A_B_1. How can I save this txt file as it is (blank spaces replaced with nan) to some path using pandas? I used the following code to read from it: import pandas as pd dat...
more »

2017-08-06 06:08 (1) Answers

AndroidStudio - Save EditText when activity change

Ok so, there's a list of editText that the user fill with all names of players, say it's activity 2. And then click on start and play the game on activity 3. When he comes back to activity 2, the names are still in the editTexts and he can just add a...
more »

2017-08-05 17:08 (2) Answers

EOFError Ran out of input Python

I am trying to use pickle to create a save file for my game, but When I try to submit my dictionary, and then take that information back, but it isn't working. import pickle data = {'health':100, 'gold':1560, 'name': 'mariano'} with open('s.txt','wb...
more »

2017-08-04 21:08 (1) Answers

a generic error occurred gdi+ c#

i would like to save image with the same name and path after a rotation. i've got an error in the methode save (a generic error occurred gdi+) Here's the code : string path = @"mypath"; Bitmap image = new Bitmap(path + aspximage.ImageUrl, true); im...
more »

2017-08-04 11:08 (1) Answers