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
568
votes
31 answers

Text progress bar in terminal with block characters

I wrote a simple console app to upload and download files from an FTP server using the ftplib. I would like the app to show some visualization of its download/upload progress for the user; each time a data chunk is downloaded, I would like it to…
bobber205
  • 12,948
  • 27
  • 74
  • 100
75
votes
7 answers

Refresh WPF Command

Does anyone know how I can force CanExecute to get called on a custom command (Josh Smith's RelayCommand)? Typically, CanExecute is called whenever interaction occurs on the UI. If I click something, my commands are updated. I have a situation…
Josh G
  • 14,068
  • 7
  • 62
  • 74
61
votes
11 answers

How can I disable WordPress plugin updates?

I've found a great plugin for WordPress under GPLv2 license and made a lot of changes in source code, plugin does something else now. I modified author (with original plugin author's credits), URL, version number (from xxx 1.5 to YYY…
pp_1
  • 762
  • 1
  • 7
  • 13
33
votes
2 answers

Updating one column in all rows in a table

I want to update one same column in all rows in one table can some one give me a hand how to update the table ? there is just one input field that should update all rows value . this code is not working and I know there is something wrong in index…
Mohammad_Hosseini
  • 2,481
  • 3
  • 30
  • 53
32
votes
6 answers

Yii2: update field with query builder

How can I update field with query builder in Yii2? I can't find this in documentation. Thanks! UPD This is the solution: // UPDATE $connection = Yii::$app->db; $connection->createCommand()->update('user', ['status' => 1], 'age > 30')->execute();
arfname
  • 379
  • 1
  • 4
  • 10
29
votes
10 answers

Writing my own Auto Updater

When writing my own auto updater, is there a general framework that I should be following? A while ago I was reading up on how one should create a 'boot strapper' that will load first before the main application (since a running appilation can't be…
ASDFdotASPX
24
votes
3 answers

Self updating app

TL:DR; version ;) my app should run without user interaction (autostart etc works) it should update itself (via apk) without any user interaction rooted devices are possible . problem: querying a newer apk from a server works when starting the…
Thkru
  • 4,218
  • 2
  • 18
  • 37
18
votes
2 answers

Use of loc to update a dataframe python pandas

I have a pandas dataframe (df) with the column structure : month a b c d this dataframe has data for say Jan, Feb, Mar, Apr. A,B,C,D are numeric columns. For the month of Feb , I want to recalculate column A and update it in the dataframe i.e. for…
Data Enthusiast
  • 521
  • 4
  • 12
  • 22
17
votes
1 answer

How to update the contents of a FigureCanvasTkAgg

I'm plotting some data in a Tkinter FigureCanvasTkagg using matplotlib. I need to clear the figure where I plot data and draw new data when a button is pressed. Here is the plotting part of the code (there's an App class defined before): …
Copo
  • 181
  • 1
  • 2
  • 6
15
votes
2 answers

Add additional attributes to an existing document elasticsearch

How do I add additional attributes to an existing document in Elasticsearch index. $ curl -XPUT 'http://localhost:9200/twitter/tweet/1' -d '{ "user" : "kimchy", "post_date" : "2009-11-15T14:12:12", "message" : "trying out Elastic Search" }' This…
user2512324
  • 791
  • 1
  • 6
  • 21
15
votes
2 answers

Java, MongoDB: How to update every object while iterating a huge collection?

I have a collection of about 1 million records with 20 fields each. I need to update integer flag field in every record (document) assigning randomly 1 or 2 to this flag field. How to do this while iterating cursor over the complete collection? It…
Anton Ashanin
  • 1,817
  • 5
  • 30
  • 43
13
votes
2 answers

Swift / UIView / drawrect - how to get drawrect to update when required

I'm new to learning Swift, and am trying to get an incredibly simple app to run. All I'm trying to do is get UIView.drawRect to update when I press a button. It updates/draws when the app first loads, and then nothing after that, whatever I try. …
Tom M
  • 387
  • 1
  • 3
  • 9
13
votes
2 answers

ko.Computed() is not updating with observableArray

I have the following code: // First we define our gift class, which has 2 properties: // a Title and a Price. // We use knockout js validation to ensure that the values input are suitable/ function Gift(item) { var self = this; self.Title =…
Scott
  • 924
  • 3
  • 8
  • 28
11
votes
2 answers

How to test an iPhone application update?

I already have an iPhone application (version 1.0) available in the App Store and am ready to submit a newer version (version 1.1). How do I test the new upgrade to make sure that the current sqlite database and property list files on the earlier…
sfkaos
  • 205
  • 4
  • 10
10
votes
5 answers

'Application.Restart' not working in ClickOnce deployed application

Possible Duplicate: Why is Application.Restart() not reliable? I pulled the code straight from MSDN. This updates my application, but Restart() does not work. The application shuts down, but it does not restart. I added a MenuItem to my Form to…
Chris Holmes
  • 11,444
  • 12
  • 50
  • 64
1
2 3
70 71