Search update

60548 results
4

votes
1

answer

EF Update Formviews in a Transaction

I want to update two formviews within a transaction. if one of them fails the other should fail too. Formviews have their own entity datasources. button1_click(..........) { formview1.updateItem(true); formview2.updateItem(true); }
user1466298
14

votes
1

answer

Firebase DB Update from Background Service

I am seeing a very weird behavior when using updating the Firebase DB from a background service in my Android App. FYI I have SetPersistanceEnabled set to TRUE. My Java API Version is 2.5.0+. Following is what is happening: I have a background service started as STICKY. This service receives GCM and...
ATO
2

votes
1

answer

Joi validation when update (patch) in Foxx

I use arangodb 3.0.2 and have problem with joi validation when update/patch schema. I have user schema like this _key: joi.string(), name: joi.string().required(), username: joi.string(), email: joi.string().required(), profilePicture: joi.string(), provider: joi.object().keys({ name: joi.string(),...
de_3
4

votes
4

answer

Mac doesn't update fast when programming PHP

I have this weird problem, and I don't know how to get rid of it. Example: I put a var_dump('test') in my code at the top of the page. Just to edit something. Alt-tab to chrome, cmd-R to refresh. The var_dump('test')is not there. Cmd-R again. Still not there. Then I wait for a minute, and refresh......
Bakkie009
16

votes
1

answer

SQLite Update Syntax for string concatenation?

I have a table with this data id , name , description 1 , apple , '' 2 , orange , '' I am trying to pass the following statement to update the row so the description column is 'desc of apple' and 'desc of orange' but it is not working. Update TestTable Set description = 'desc of ' + name Wh...
Snowy
5

votes
3

answer

Cordova Android: “version not found” after update

I've just updated my Cordova version via sudo npm update -g cordova all went good and I created a new app. Then I wanted to add Android support and then this happened: cordova platform add android npm http GET https://registry.npmjs.org/cordova-android/3.6.4 npm http 404 https://registry.npmjs.org/...
stackiflow111
3

votes
5

answer

Update a score from player with mysql

I have a simple online highscore system for my iphone game, with a mysql database, which has a field rank, name, score and udid (unique device identifier). I don't want to have multiple scores from a udid, and my question is : how can I make sure that the old score is removed and the new one is inse...
coderjoe
3

votes
1

answer

[Rails]update_without_password does't update user info

I executed following code @user = User.find(current_user.id) successfully_updated = if needs_password?(@user, params) @user.update_with_password(params[:user]) else # remove the virtual current_password attribute update_without_password # doesn't know how to ignore it params[:user].delete(:current_p...
chabashilah
6

votes
2

answer

Google Drive SDK Update sharing permissions

Is there an option to change the sharing settings trough drive SDK? If I add permissions at user level with a email Id. I can see the visibility perms of doc as Private. If I set permission to { 'value': None, 'type': 'anyone', 'role': 'writer'}. I can see the visibility perms of doc as 'Public on t...
sandeep koduri
13

votes
3

answer

Implementing a JavaFX application auto update feature

I'm about to write a new cross platform application, and I choosed JavaFX, mainly because of its rich UI libraries (both standard and third party) and it native data binding feature. My application will be deployed via native packaging, both because the lack of PPAPI Java plugin (Chrome will discont...
5

votes
1

answer

How to handle site update with angular?

I have an angular app hosted on github pages. When I push out a new version users who have the site partially loaded can experience problems until the page is refreshed. I think this is maybe because the users browser has downloaded the updated version of a view. The updated view uses a new directiv...
Adam Butler
4

votes
1

answer

PowerShell displaying weird characters after Creators Update

I've just installed Creators Update on my machine and upon launching PowerShell, instead of having a clean screen, I see this mess: What could be a potential fix?
11

votes
3

answer

Update a dll without stopping the service

I would like to update a dll for a server process without stopping the service. How do I do that? A bit like how asp.net automatically picks up new dlls placed in the bin folder.
Matt
1

votes
2

answer

Rails - create and update action don't work

I'm a beginner in Rails, I have a Suplement controller and I can't create or edit a suplement (delete works fine). I'm not getting any errors, just nothing happens when I click and everything's working fine from the console. I tried everything I know (which is not much) and I couldn't find a questio...
nusound
2

votes
3

answer

Functional way to get or update

I have a cache and have two functions to get an item from the cache and put an item to the cache. When getting item(from the cache), if key not exists I need to populate a value to it and return that value. Following is a sample code class CacheComp { cache = Map[String, Foo] get(id): Foo = { // ca...
eranga
3

votes
2

answer

SQL Server 2008 : update increment logic difficulty

Using SQL Server 2008, Visual studio 2012 C#.NET4.5, win-forms I have a data grid that contains lets say 20 records, theirs a field call 'NewPareto' this field contains 1-20 as integers, basically a league score. Please note this field must allow for nulls. If a user in the grid changes position 9...
lemunk
19

votes
1

answer

Android support library 27, Fragment update?

Since I updated my project to SDK version 27 and gradle plugins for the support library to version 27.0.0 I needed to change my code. With 26.1.0 I can just use getContext() (with Kotlin context) in my Fragment (android.support.v4.app) and I have no nullability issues, but since I use Kotlin I have...
1

votes
4

answer

Visual Studio 2013 Update 1 Debugger Crashing

I recently installed Update 1 for Visual Studio 2013. Every time my program throws an exception, the Visual Studio debugger crashes - whether or not the exception is handled. Visual Studio also crashes whenever it hits a breakpoint. The Windows Error Reporting dialog pops up and gives the options to...
Ming Slogar
2

votes
1

answer

Rake task to update a column value

I am writing a rake task to update the value in a specific column in a table. When I run the task, I get this error: uninitialized constant FirstLookSubscription Here is the rake task code: namespace :first_look_db do desc 'Adds one month to the Look Subscription' FirstSubscription.where(subscriptio...
mrtriangle
4

votes
3

answer

Python numpy update from 1.6 to 1.8

I have installed numpy 1.8. But when I do print numpy.__version__ it says 1.6. What do I have to change to get python to realize where numpy is? Working on a Mac (10.9). I'm using python 2.7.6. Edit: I've tried to delete all my versions of numpy. I did pip uninstall numpy. And then I typed: python...
lars
3

votes
1

answer

appcompat-v7:28.0.0-beta01 Broke after update

I am beginner in Android studio and installed it yesterday. Then I created a empty project that worked just fine. Today I had to update and now I am fighting with that error message: As you can see I already included the Examples. Any ideas how I can fix that? Here the full app.gradle apply plugin:...
user3772108
1

votes
2

answer

Triggering a property update with KVO

I'm having a hard time manually triggering a property update with key-value-observing. Here's a contrived example to illustrate my problem: Bar.h #import @interface Bar : NSObject { NSString *test; } @property (nonatomic, retain) NSString *test; -(void) updateTest1; -(void) updateTest2; @end Bar.m...
LandonSchropp
1

votes
4

answer

Update cell value for each record

I want to update a cell value of each record like, I have user table in which there is an email field which is unique, I want to update all record's email fields. Something like this: update user set email='abdullah+00(i)@gmail.com' How can I achieve this?
Abs
8

votes
3

answer

Entity Framework update/insert multiple entities

Just a bit of an outline of what i am trying to accomplish. We keep a local copy of a remote database (3rd party) within our application. To download the information we use an api. We currently download the information on a schedule which then either inserts new records into the local database or up...
tjackadams
4

votes
2

answer

Update or destroy popup in openlayers3

I try to build a map with openlayers3 with a group of markers and popups. The markers and the popups work so far, but when I click on one marker (popup shown) and then -without clicking in the map again- on another one, it shows a popup with the same content as the first one. I have already done res...
however
2

votes
1

answer

Catch every update / create in Waterline / sails.js

I'm trying to create a « Workflow » table, which register every event on every table, with some extra infos (IP, session id). I have lots of models, and don't want to write every afterUpdate/afterCreate in every models, which is hard to maintain, plus there is no req in models to store the session...
Kai23
5

votes
1

answer

Can't update to Web API 2.1

I'm trying to update my Web API from 2.0 to 2.1 but I have the following error Could not load file or assembly 'System.Web.Http, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly refe...
Marc
4

votes
2

answer

Plotly 4.5.2 update broke my rectangular heatmap

I've updated plotly package, and now I am having issues with my heatmap. m
Galina Polishchuk
6

votes
3

answer

Primefaces - update datatable with commandButton doesn't work

I'm facing some problems by updating a datatable with a commandButton. This is the xhtml file: Listado de usuarios #{user.username} #{user.name} #{user.lastname} #{user.active} The problem is when clicking the commandButton that performs the action listUsersController.deleteUser. The method is succe...
jacruzca
3

votes
2

answer

Update MongoDB collection with $toLower or $toUpper

I would like to convert the 'state' field for all 'Organization' to all UPPER case. So 'Ky' becomes 'KY' 'tX' becomes 'TX' 'ca' becomes 'CA' why this doesn't work db.organizations.update(state:{ $exists : true }},{$set:{state:{ $toUpper : state }}}, false, true)
Som Poddar
315

votes
8

answer

UPDATE and REPLACE part of a string

I've got a table with two columns, ID and Value. I want to change a part of some strings in the second column. Example of Table: ID Value --------------------------------- 1 c:\temp\123\abc\111 2 c:\temp\123\abc\222 3 c:\temp\123\abc\333 4 c...
aston_zh
1

votes
2

answer

How to update MS Access Database (vb.net)

I am created a journal program for an internship project and I am using a MS-Access Database. I am programming in VB.net. Now, I am trying to make it so that they can 'Update' their journals, meaning that they click on their calendar date and it brings them to that journal if they have one for that...
Richard Paulicelli
15

votes
7

answer

update-database error - NuGet Package (EntityFramework.SqlMigrations)

i installed EntityFramework.SqlMigrations NuGet Package and i get this error . it worked for me in the past and somehow, now it does not work. PM> update-database The term 'update-database' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of...
mordechai
27

votes
4

answer

REST - Shouldn't PUT = Create and POST = Update

Shouldn't PUT be used to Create and POST used to Update since PUT is idempotent. That way multiple PUTs for the same Order will place only one Order?
Tawani
3

votes
1

answer

Backbone: Update model after change event

Assume a Backbone model with the following attributes: - subtotal - discount - total Whenever a change is made to discount, the total needs to be updated and I'd like the model to care of this. I have tried binding an update method (defined in the model) to the model's change event (in the model's i...
Bart Jacobs
4

votes
2

answer

Update multiple rows in MongoDB java Driver

I want to update multiple rows in My Collection called 'Users'. Right now I am updating both the rows seperately but I want to do the same in one query. My current code: coll.update(new BasicDBObject().append('key', k1), new BasicDBObject().append('$inc', new BasicDBObject().append('balance', 10)))...
Anand Soni
2

votes
4

answer

Update part of a string in SQL

I would like to update a part of string in a particular column of my database. I have cm2 in the particular column of my database and would like to update it to cm2. My sql query to find the cm2 is: SELECT * FROM `question_table` WHERE `option` LIKE '%cm2%' To update I want to try is this: Upda...
lakesh
364

votes
9

answer

Undo git update-index --assume-unchanged <file>

The way you Git ignore watching/tracking a particular dir/file. you just run this: git update-index --assume-unchanged Now how do you undo it so they are watched again? (Let's call it un-assume.)
adardesign
1

votes
2

answer

Update nested structure of maps and vectors

I have a map with a vector of map like this: {:tags ['type:something' 'gw:somethingelse'], :sources [{:tags ['s:my:tags'], :metrics [{:tags ['a tag']} {:tags ['a noether tag' 'aegn']} {:tags ['eare' 'rh']}]}]} Note that there can be multiple sources, and multiple metrics. Now I want t...
Erwin Rooijakkers
3

votes
2

answer

Jquery dynamically update “other” option in select

I'm working on a project that will be using a lot of select menus to enter various data. I'd like to include an 'other' option directly in the select that will trigger a simple dialog and allow users to enter a custom value (where appropriate) similar to the following javascript code: function chkot...