Questions tagged [updating]

Updating can refer to the modification of data or configuration by an application, process, or service, or can refer to the modification of software by a process.

1058 questions
0
votes
3 answers

Is there an easy way to edit a json file with python

There are some similar questions to this lying around but I couldn't find anything that does what I'm looking for. The code I'm using is as follows (python 2.75): (EDIT, updated to include suggestions for clarity: def write_json(entry): …
user124784
  • 896
  • 1
  • 13
  • 22
0
votes
2 answers

For/while loop doesn't update value properly

I'm trying to write a program which finds the weighted average (for grades and such). Through user input, I create two arrays of the same size, one carrying the weights for each grading category, and the other holding the users score in the…
yaboi
  • 301
  • 1
  • 7
  • 20
0
votes
1 answer

Update Sqlite Database Via Cloud Server

I have an app that uses sqlite database and i would like it to be updated automatically each time the user is on line and there is a new version of the database. Can someone tell me how should i do this? P.S. I have google cloud storage. Thanks!
Pavle37
  • 571
  • 9
  • 24
0
votes
0 answers

primefaces calendar doesn't display when update

I got a problem with the Primefaces calendar. It is not show in my Application when updated from other side. Here, the primefaces calendar it's perfect working
0
votes
4 answers

Updating UILabel Returns Null?

I'm trying to update a label that display the amount of coins, stored in NSUserDefaults. I have a method called updateCoins which I call when I have added, coins based on user activity, to update the UILabel: - (void)updateCoins { …
KingPolygon
  • 4,753
  • 7
  • 43
  • 72
0
votes
1 answer

PHP uploading an image issues

i run this code to upload an image and it works perfectly on wampserver but when ever i test it on the hosted site it doesn't work, i activated the error reporting and there is no error but still no image uploaded, please if it is a permission issue…
0
votes
1 answer

Profile picture does not update after form submitted

The below code allows a user on my site to update their profile picture and personal description using a POST method form. The showprofile function displays their picture after it has been uploaded. However, the problem is that after they have…
0
votes
2 answers

PHP upload an image to a folder

i am using a form to upload images with the name of thier product ID and it works perfectly on my localhost but when i try to add or update a product throu my hosted site the image upload does't get uploaded, the code working on localhost is :…
0
votes
2 answers

Adding characters from an external file to a dictionary

In python, how would i select a single character from a txt document that contains the following: A# M* N% (on seperate lines)...and then update a dictionary with the letter as the key and the symbol as the value. The closest i have got is: ftwo =…
0
votes
1 answer

Not Updating Label From Different View Controller using NSUserDefaults

I am trying to update a label on view controller (DropPinVC) by pressing a button on different view controller 2 (TypeLocation). In DropPinVC.m I have: - (void)viewDidLoad { TypeLocation *VC2 = [[TypeLocation alloc]…
0
votes
0 answers

Changes in regression model coefficients after updating R to v3

I have a quite long Rstudio markdown (about 1000 lines of code), which among other things includes a GLM and StepAIC. After updating to R v3 I do not seem to be able to replicate the regression coefficients exactly. The general lines are intact…
coulminer
  • 358
  • 2
  • 8
0
votes
1 answer

Update only certain attributes when submitting checkbox forms

I'm trying to update a form that only updates the attribute set to false when not selected. They're currently defaulted to true (which is want I want) but if I click on one attribute it will update all of them to false. I only want to update only…
gary1410
  • 309
  • 1
  • 5
  • 17
0
votes
1 answer

Perl updating a value in .conf file from a form

I have a admin.conf file and the file looks like this. For example, [online_offline_status] online_offline_status.online_offline_state = ONLINE i have another file called index.cgi that works as a form. For…
batz ash
  • 3
  • 7
0
votes
3 answers

Android sqlite update not done in table

Following is my code for update record done. try { String str_edit = edit_note.getText().toString(); Toast.makeText(getApplicationContext(), str_edit, Toast.LENGTH_LONG).show(); …
Android
  • 8,995
  • 9
  • 67
  • 108
0
votes
1 answer

Updating a row in a Template field gridview by using Commandfiled buttons?

what is wrong with the code here... i am trying to update the values fetched in a row of a grid view by an edit,update,cancel command field button. protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e) { Label lblid…
Sunny
  • 91
  • 2
  • 13