Search update

60548 results
3

votes
2

answer

Android SQLite update query showing error

I have a following table: sdb.execSQL('create table if not exists userprofile (id integer primary key, profilename text, user text);'); I want to update profilename field in Android SQLite. So I used the following code: ContentValues cv= new ContentValues(); cv.put('user',et4.getText().toString());...
krishna kumar
2

votes
1

answer

Update JavaFX nodes in a treeview

I am starting me in javafx. And I have a problem. I have a treeview where the nodes are changed his position by external command but it just does not see the tree. I have to minimize the parent and re-expand to see the effect. Altem any suggestions for that treeview can be refreshed as a code. Exemp...
jmspinto
3

votes
5

answer

Update datagrid view with updated data

I've a datagridview. I read an xml file and bind the data to the gridview. I change the xml and save it in another form. So i reread the xml file and i bind it to the gridview. The datatable is getting the updated values. But the grid is not getting updated till i close and open the application agai...
NLV
7

votes
1

answer

Remove or update exif thumbnail from image

Is there anyway to remove an exif thumbnail from an image? I'm cropping images in my app and copying all exif data lossless with the sanselan library. Afterwards, I update width/height/rotation accordingly. I could not find any way to update the exif thumbnail or to remove it, any ideas how to do th...
prom85
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
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
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
5

votes
1

answer

ColdFusion 10 Update Killed My Admin

So, I used the updater in CF Admin to apply the latest patch (14) to CF10. Afterwards, I rebuilt my web server connections. This is a process I've done dozens of times. However, this time around I've lost the ability to get to my CF Administrator....but all my sites are running just fine! I just...
pmascari
4

votes
2

answer

INSERT/DELETE/UPDATE query using SPARQLWrapper

Although I have gone through lot of examples on the web explaining the use of python SPARQLWrapper using SELECT statements for fetching data from sesame triple store, but not sure how can we INSERT/DELETE/UPDATE statements in sesame using it. Can any of you please guide in this regard. Thanks
imran
2

votes
1

answer

Facebook ads API daily_budget update limitations

I'm trying to update ads with daily budgets. From FB API we learn that: When updating a set's lifetime or daily budget to a lower value, the new value must be at least 10% greater than the current amount spent already. For example: if an ad set has a $1000 lifetime budget and has spend $300 so far,...
mvdb
4

votes
1

answer

Django Rest Framework How to update SerializerMethodField

I have a serializer like this: class PersonSerializer(serializers.ModelSerializer): gender = serializers.SerializerMethodField() bio = BioSerializer() class Meta: model = Person fields = UserSerializer.Meta.fields + ('gender', 'bio',) def get_gender(self, obj): return obj.get_gender_display() I used...
Kishan
2

votes
1

answer

Tree view in JavaScript with recursive update

Context I have a tree view with folders and files: Additional info All files and folders are draggable and droppable. Folders have .pft-directory generic class and #/folder1/folder2/etc id. Files have .pft-file generic class and files/folder1/folder2/etc/fileName.ext href. Files and empty folders ar...
GG.
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
3

votes
5

answer

How to Update Progress Bar using Thread

How to update progress bar using Background thread in android? It would also change the progress in progress bar. Please help. AndroidVogue
6

votes
1

answer

Site does not update after publish

I am publishing the site using VS 2012 Publish website option. But the site does not get updated. I have to restart the website from manage.windowsazure.com every time after publishing. I have been running the website on both free and shared mode. Same situation in both mode. Any suggestion how to...
oazabir
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
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
4

answer

How to use “Update-in” in Clojure?

I'm trying to use Clojure's update-in function but I can't seem to understand why I need to pass in a function?
Zubair
3

votes
3

answer

Peewee : How to update specific fields?

I'm using Peewee for working with database. I have a User tables with 3 fields: username, password and last_login. When a user login to the system i want to update last_login. I've use following lines of code: from peewee import * import datetime class User(Model): username = CharField(unique=True)...
Reza Fallahpour
2

votes
0

answer

Impala KUDU table - howto bulk update

I need to performing updates of KUDU table, Is there any option to du update in bulk? The flow is following: 1 .Fetch 1000 rows 2. Process rows, calculate new value for each row 3. Update KUDU table with new values Updating row by row with one DB query per row - slow. I am seeking bulk update soluti...
Yuriy Homyakov
2

votes
2

answer

How to update assemblies in existing MSI?

We have existing MSI created using InstallShield 9.0. This MSI installs some .NET assemblies in target installation directory. We have changed some functionality of application and so a few assemblies have been changed. Now we want to edit/update the MSI to have the latest of those modified assembli...
Learner
6

votes
4

answer

How to update MPNowPlayingInfoCenter in Swift?

In objective c, I've been using code like this to update MPNowPlayingInfoCenter: [[MPNowPlayingInfoCenter defaultCenter] setNowPlayingInfo: @{ MPMediaItemPropertyArtist : @'Artist!', MPMediaItemPropertyTitle : @'Title! }]; But in Swift, it doesn't seem like the function 'setNowPlayingInfo' is recog...
jmkr
1

votes
2

answer

SQL while loop don't update table

I'm trying to make a loop for test,i have a table that has a flag that means 'processed' if it's 0 its not processed and i need to process,after that i need to update the table and change to 0,but its not working,here is the code i'm using. DECLARE @IdProcesso VARCHAR(20) IF(NOT OBJECT_ID('tempdb....
Vinicius Cano
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...
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
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
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
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
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
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
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
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?
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
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
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
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
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
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
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