Search update

60548 results
3

votes
2

answer

Update a property asynchronous

When a property of my ViewModel is updated, other property is updated asynchronous. Todo.cshtml: @page '/todo' Todo (@todos.Count(todo => !todo.IsDone)) @foreach (var todo in todos) { } Add todo @functions { IList todos = new List(); string newTodo; void AddTodo() { if (!string.IsNullOrWhiteSpace(ne...
Orwel
2

votes
0

answer

NEO4J Server: Update nodes

I'm using neo4j server versión 1.8. The current requirement of my application is to create and/or update multiple nodes and add them to a specific index (all in one request). We have several indexes, and one node can be in some of them. Those nodes have a property that is a ID (significant for our...
cesarterrazasg
98

votes
7

answer

Automatically update version number

I would like the version property of my application to be incremented for each build but I'm not sure on how to enable this functionality in Visual Studio (2005/2008). I have tried to specify the AssemblyVersion as 1.0.* but it doesn't get me exactly what I want. I'm also using a settings file and...
Robert Höglund
3

votes
1

answer

Update python mac installation

I mistakenly deleted the old python installion on my system, i then downloaded the new python 3 release however when i type python into the terminal it still looks for it in the 2.7 directory. I looked through a few questions that said something about updating the path variable however ive had no lu...
user2533561
2

votes
3

answer

Thread update GUI

I've used the Delphi many years ago, I remember that in version 7 and even then I did not have much knowledge, I worked with C++ since then and I am currently working in a company using Delphi XE10 and realized that searching I found a lot of random things of difference versions and that makes me a...
daitouvi
92

votes
12

answer

How to update npm

I'm trying to install mean.io boilerplate. It fails when running sudo npm install -g [email protected] Prior to failing it notes that it 'wants' npm version 1.4.x, whereas I have 1.2.18 installed. So I tried updating npm to the latest; several ways. Last of which was... [email protected]:~$ sud...
user3567174
3

votes
1

answer

postgres update with join

I am trying to update table tr with data from ht. Both have almost same columns. So to test I ran the this query. SELECT * FROM tr a RIGHT OUTER JOIN ht b USING (date, name, ft ) WHERE ft IS NOT NULL Gives 129 rows Check it was ok, then I ran the update query as-> UPDATE tr SET (o_t, g_v, br, s_t, s...
user1572215
3

votes
1

answer

Oracle correlated UPDATE

I'm having difficulty with Oracle 10g syntax for a correlated UPDATE. I am processing this code in a PL/SQL procedure. I would approach the problem in SQL Server as so: UPDATE table_a a SET a.prov_id=pn.prov_id, a.step=1 from ( SELECT p.prov_id FROM note n INNER JOIN provider p ON n.aut...
craig
3

votes
2

answer

PHP Update Serialized Data

I need some help with unserializing and updating the array values and reserializing them (using php). Basically I want to be able to unserialize a string, update the value for a specific key (without loosing the other values) and reserialize it. I've searched and can't seem to find a viable solution...
Dutchcoffee
5

votes
0

answer

npm update packages recursively

I have a project like this I want to update all private_mod version (root and nested levels) to 1.3.2. Is there a npm way to do so? Note: Each dependecy (dep-1, dep-2, dep-3) have their own package.json One way that I can think of doing is: - generate shrinkwrap file npm shrinkwrap - Manually edit n...
rohit12sh
2

votes
1

answer

Update from inner join

I can't seem to get my update from inner join method to work. I have tried to write it a few different ways to no avail. Rows get affected but the product table's values are never actually updated. Select code to test (should return no results after update query is run): SELECT [P].[ProductCode], [...
lukejkw
2

votes
1

answer

update with wix

My task is to create an update installation pack wich delete some dlls and replace config files of installed program. And I have original installation Wix project source. I've read on several places on the internet about how to build update Wix project and I got some questions. As I understood I ha...
johnny
2

votes
1

answer

WPF - synchronous UI update

If I understand correctly changing any control in WPF (eg. text of a Label) enqueues an update in Dispatcher. Dispatcher waits for my code to finish and when it has time it processes the whole queue. For this, calling double current = 0; ReportProgress (0d, 'ProcessingStarted'); foreach (var item...
Lukas
2

votes
1

answer

UIAlertView update title

I have an UIAlertView which is declared as -(UIAlertView *)waitingDialog { if (!_waitingDialog) { _waitingDialog = [[[UIAlertView alloc] initWithTitle:@'' message:nil delegate:self cancelButtonTitle:nil otherButtonTitles: nil] autorelease]; } return _waitingDialog; } The show method is declared as:...
Andreas
4

votes
1

answer

Update SnapKit Constraint offset

I am using SnapKit and can't find a clean way to update the offset of a constraint. It's a simple loading bar view whose inner view (expiredTime) has to fill the parent (left to right) according to percentage. I create the constraint in the awakeFromNib of a custom UIView self.expiredTime.snp.makeCo...
jalone
2

votes
2

answer

MVC Update Model

I'm unsure if this has been asked before but here goes. I have an MVC application with the HTML looking like this; I have in the controller the following; [Authorize] public ActionResult Edit(int? id) { snip } Then on a submit button event; [AcceptVerbs(HttpVerbs.Post)] [Authorize] public ActionResu...
39

votes
9

answer

Update to Angular 5

How to update to Angular 5? This is from my package.json: 'dependencies': { '@angular/animations': '5.0.0', '@angular/common': '5.0.0', '@angular/compiler': '5.0.0', '@angular/core': '5.0.0', '@angular/forms': '5.0.0', '@angular/http': '5.0.0', '@angular/platform-browser': '5.0.0', '@angular/platfor...
Melchia
1

votes
2

answer

MySQL update doesn't work

I want to update 2 of my database's fields according to user input.My code is something like this:
yiannis
3

votes
1

answer

Android Contacts - Update Note

Im using the new'ish API to insert/update contacts on my phone and I'm using this method to updates them.. String selectArgs1 = Data.CONTACT_ID + '=? AND ' + Data.MIMETYPE + '='' + Note.CONTENT_ITEM_TYPE + ''' + ' AND ' + Email.TYPE + '=?'; String[] selectArgs2 = new String[]{contactId, String.valu...
Tom O
1

votes
2

answer

Update like insert

Is it possible to perform update like insert? UPDATE `table` SET `value` ('N','N','N','N','Y','Y','Y','N', 'N') WHERE `my_id` = '1' The problem is that the number of values ​​to be inserted i dont now. It can be a 5 or 10.
user1564141
2

votes
1

answer

android location update frequency

I want to get 5 consecutive update locations in order to check if the user is moving and to make sure the GPS is calibrated. I did the following: I added android.permission.ACCESS_FINE_LOCATION' to the manifest and in onConnected: mLocationRequest = new LocationRequest(); mLocationRequest.setPriorit...
Amos
7

votes
1

answer

ScrollView contents update

I have a programmatically generated ScrollView with a TextView inside of it. I wish to update the text in the TextView from time to time and some have implemented a handler function to update the TextView GUI element. This seems to call/work correctly. However, currently the only way I have found to...
FiniteRed
2

votes
0

answer

Excel Query Won't Update

I have put a query that connects to SQL Server into an Excel spreadsheet (formatted as a table). I update this query daily. Today, when I tried to refresh the query, it generated an error and would not load new data. The error says: 'This won't work because it would move cells in a table on your wor...
Jacob Armstrong
5

votes
2

answer

Dynamically update wxPython staticText

i was wondering how to update a StaticText dynamically in wxpython? I have a script that goes every five minutes and reads a status from a webpage, then prints using wxpython the status in a static input. How would i dynamically, every 5 minutes update the statictext to reflect the status? thanks al...
Souleiman
6

votes
2

answer

El Capitan Update rails

Just updated my system to El Capitan and when launching the rails server (that worked perfectly on Yosemite) I get the following warning. Ignoring bcrypt-3.1.10 because its extensions are not built. Try: gem pristine bcrypt --version 3.1.10 Ignoring bcrypt-ruby-3.1.2 because its extensions are not...
Liroy
3

votes
2

answer

UPDATE TOP in Sqlite

Is it possible to update first row and with WHERE clause. I Tried: UPDATE TOP (1) Players SET... WHERE... and: UPDATE TOP 1 Players SET... WHERE But It seems there is no TOP in sqlite. Can I use some alternative? Or am I doing anything wrong?
René Beneš
4

votes
3

answer

Dictionary Update Thread-Safety

Is the following code thread safe? var dict = new Dictionary() { { 0, '' }, { 1, '' }, { 2, '' }, { 3, '' } }; var nums = dict.Keys.ToList(); Parallel.ForEach(nums, num => { dict[num] = LongTaskToGenerateString(); }); return dict;
innominate227
2

votes
0

answer

Gutenberg Update Fail

I'm using Gutenberg but i got an update and I gave the update. after that I am unable to save/edit my post/page You can see screenshot below right now what can I do??
Istiyak Amin
2

votes
1

answer

Laravel: composer update error

When I run composer update, I get the following error: Your requirements could not be resolved to an installable set of packages. Below you can find a detailed description of the problem/output Problem 1 - Conclusion: don't install laravel/framework v4.2.17 - Conclusion: remove laravel/framework v4....
poupette
6

votes
3

answer

Update NSError UserInfo

I'm trying to update an NSError object with more information. For example, an api call may fail and I want to update the error object returned from the api class with view controller information (method name that caused error, client message, any additional info). There isn't a setter method for t...
JeffRegan
3

votes
5

answer

Focus lost after update

I have form with two inputs, where one value depends on another. When user change one field I need to recalculate values (this is done in setter methods) and update the form. This is my example:
mm1
2

votes
2

answer

Android - Update TextView periodically

I simply want to update a TextView periodically by a service. Let's say the TextView should display the time and update itself every 30 seconds. Could't you guys tell me how I can achieve that? I know that I need a receiver for that but everything I tried did't work at all. I'm new to android, maybe...
M P
3

votes
1

answer

Update whole row

Does MySQL have an UPDATE syntax that would allow me to update a whole row (not individual columns)?, something like this: UPDATE `table1` LEFT JOIN `table2` USING (`myColumn`) SET `table1`.* = `table2`.* Both table1 and table2 have the exact same structure. The column names are varia...
Drahcir
3

votes
1

answer

SQL With… Update

Is there any way to do some kind of 'WITH...UPDATE' action on SQL? For example: WITH changes AS (...) UPDATE table SET id = changes.target FROM table INNER JOIN changes ON table.id = changes.base WHERE table.id = changes.base; Some context information: What I'm trying to do is to generate a base/tar...
Racso
2

votes
1

answer

C++ Update Struct

I have this: typedef struct { char nome[50]; char morada[100]; char codpostal[8]; char localidade[30]; int telefone; int nContribuinte; } CLIENTE; CLIENTE c; How do I update c.nome like c.nome = 'something';? Can't figure out why wouldn't this work... c has already been filled with known info saved...
8

votes
3

answer

EF Update using EntityState.Modified

Usually I'm using this code Member member = ctx.Members.Find(id); member.Name = txtName.Text; ctx.Entry(member).State = EntityState.Modified; ctx.SaveChanges(); when I want to update the model using entity framework. I found an example on SO that doesn't use EntityState.Modified to update the model....
Willy
2

votes
1

answer

Update GridView in android

I am showing multiple images in gridview with check-box attached to it..My requirement is whenever i will check any check-box that particular view should be removed from the gridview and my gridview should be updated with remaining set of images. For example If i check on 2nd element of the gridView...
Sritam Jagadev
2

votes
1

answer

Mongotemplate.updateFirst() doesn't update @LastModifiedDate

I'm using annotation based configuration. @Configuration @Profile('default') @ComponentScan(basePackages = 'com.*') @EnableMongoRepositories @EnableMongoAuditing public class ApplicationDataConfig .... And I also have @LastModifiedDate, @CreatedDate annotation set on fields of type org.joda.time.Dat...
Srini Kandula
18

votes
6

answer

python dictionary update method

I have a list string tag. I am trying to initialize a dictionary with the key as the tag string and values as the array index. for i, ithTag in enumerate(tag): tagDict.update(ithTag=i) The above returns me {'ithTag': 608} 608 is the 608th index My problem is that while the i is being interpreted as...
freshWoWer
2

votes
1

answer

Django Update Form?

I have a form that users enter in information on locations. I'm trying to make an update form so users can click the update button on a location and the update form comes populated with the data thats already there for that location. I have followed the Django docs but I am getting a blank screen. I...
Chris Meek