Search update

60548 results
2

votes
1

answer

Kubernetes deployment not doing rolling update

I have the following deployment in kubernetes: apiVersion: extensions/v1beta1 kind: Deployment metadata: labels: run: hello-node name: hello-node namespace: default spec: replicas: 2 selector: matchLabels: run: hello-node strategy: rollingUpdate: maxSurge: 2 maxUnavailable: 0 type: RollingUpdate tem...
phoenix7360
3

votes
2

answer

How to update deployed meteor app

How can i update a deployed app using meteor. So i deploy my app using meteor deploy xxxxxxx and to delete i do meteor deploy --delete xxxxxx how can i update? It is not in the command line help also when i type meteor deploy --help I get Options: --delete, -D permanently delete this deploymen...
MurWade
3

votes
2

answer

Grails status Update for long running task

I have a long running task (>1.5 minutes) and I want to be able to provide the user status of completion with ajax. Here's what I'm currently doing: I am using ajax to process the upload (with an ajax upload plugin) and I display a busy label while the task is running. I want to be able to display...
Emmanuel John
2

votes
1

answer

jqgrid update two tables from one grid

I have two tables in one grid displayed (via LEFT JOIN) and I wonder is there a way to implement an inline edit functionality for both table from the same grid? I.e: when the main grid table updated: onSuccess { table_name, {column1=value1,column2=value2,..}} not necessarily above scenario - I'm se...
Elen
2

votes
1

answer

How to update Firebase in Xcode project?

I'm trying to update Firebase from 7.10 to 7.11. It is required if you want to publish an app that is running AdMob in Xcode 8. How do I update the Firebase software in my app? I'm using cocoa pods. Thanks!
Fab Ian
119

votes
3

answer

How to update a git clone --mirror?

I have created a git repository to mirror a live site (which is a non-bare git repository): git clone --mirror ssh://[email protected]/path/to/repo Now, to keep this mirror clone updated with all changes from its remote origin, which command or commands I must use? I'd like to keep everything updated...
J. Bruni
8

votes
6

answer

Forcing Flex to update the screen?

This may be a bit of a beginners question, but I can't for the life of me figure it out. I'm using flex to develop a GUI for a large project, specifically a status bar along the bottom. Within my StatusBar class is a ProgressBar, which other classes doing work can tell to update(change bar completio...
3

votes
3

answer

Update Panel in ASP.NET MVC 3

I'm looking for a way to do a 'Update Panel' in ASP.NET MVC 3. I found this link: How to make update panel in ASP.NET MVC but didn't work. So, i did this in my view: Search @{Html.RenderPartial('_UserList', Model);} function searchUserByName() { var userName = $('#userName').val(); $.post('@Url.Acti...
Vinicius Ottoni
7

votes
1

answer

MongoDb c# official driver bulk update

How can i rewrite the following old code via the new C# MongoDb driver which using IMongoCollection interface : var bulk = dbCollection.InitializeUnorderedBulkOperation(); foreach (var profile in profiles) { bulk.Find(Query.EQ('_id',profile.ID)).Upsert().Update(Update.Set('isDeleted', true)); } bu...
Vladislav Furdak
8

votes
8

answer

Automatic program update and Windows 7

We have a suite of programs that check for new versions at startup, and then download new versions to run if required. This is obviously a problem in Windows 7, when it is locked down as a 'standard user', as they can't write to the c:\program files directory and below. Anyone seen a example of an a...
mmmm
2

votes
1

answer

Ionic 2 ngFor update data in view

In my project 'Infinite scroll calendar' I use ngFor to interate over object using 'pipe' mapToIterable. Unfortunately, I notice when I add new properties to object on view variable is updated but ngFor not updating the list. The thing is that when I enter the view it fills fine but when I scroll do...
m1l05z
5

votes
1

answer

Update data property / object in vue.js

is there a way I can programmatically update the data object / property in vue.js? For example, when my component loads, my data object is: data: function () { return { cars: true, } } And after an event is triggered, I want the data object to look like: data: function () { return { cars: true, plan...
Trung Tran
5

votes
1

answer

IOS app update check within application [closed]

I need to check application updation in apple store within the application. Every time application starting we need to check this.. please check answer in below post: iOS app update notification which one is best option? Harpy or any other?
Rajesh Pillai
3

votes
5

answer

Refactoring UPDATE CASE Statements for Performance

Is it possible to optimize these queries in terms of performance: UPDATE PEOPLE SET ID_STATE = CASE WHEN ID_STATE = 2 THEN 9 WHEN ID_STATE = 3 THEN 9 WHEN ID_STATE = 7 THEN 8 WHEN ID_STATE = 8 THEN 9 ELSE 0 END WHERE ID_STATE IN (2,3,7,8) GO UPDATE PEOPLE SET ID_PRESI = CASE WHEN ID_PRE...
Mercer
6

votes
1

answer

Undoing git update-index --assume-unchanged

I have used the following command to add a file to the repository with some default settings, then change the settings locally without pushing them to the repo every single time: git update-index --assume-unchanged Now I need to push my local changes to the repo so I would need to undo this command...
Vlad Schnakovszki
2

votes
1

answer

jquery datatable column header not update properly

I try reuse 1 table with different amount of data based on different button click, I able to populate data successfully, but the problem is, the header did not populate correctly, I had debug and see the correct amount of column pass into table, but why it still retain the design from the 1st click?...
Se0ng11
2

votes
1

answer

MySQL - AFTER UPDATE Trigger between Two Databases

Been having some issues with this for a few hours. I'm by no means a MySQL guy and have been looking for a solution but no luck. Here's essentially what I have.. T1: CollectionDB.source indexName | status_id Test | 11 T2: ManagementConsole.MC_SCHEDULE NAME | ACTIVE Test | 0 Bas...
ev0lution37
2

votes
0

answer

SharePoint 2013 update panel does not work

I can use an update panel in SharePoint 2010 and Visual Studio 2010, but when I try to use an update panel in SharePoint 2013 and Visual Studio 2012 it does not work. Is there any solution for this issue?
Emre Tuncer
3

votes
1

answer

JSF Language switcher and ajax update

This question is a follow - up of the older Language switcher implementation in JSF 2. The substance of the question is still valid, although PrimeFaces has released some newer builds, and my JSF knowledge is a bit better than before. To summarize, I have a single xhtml page, fully ajaxified. The la...
perissf
2

votes
0

answer

spring jdbcTemplate batch update return records inserted

public void insertBatch(final List customers){ String sql = 'INSERT INTO CUSTOMER ' + '(ID, NAME, AGE) VALUES (MY_SEQUENCE.NEXTVAL, ?, ?)'; getJdbcTemplate().batchUpdate(sql, new BatchPreparedStatementSetter() { @Override public void setValues(PreparedStatement ps, int i) throws SQLException { Custo...
Aadil
31

votes
3

answer

Transactional saves without calling update method

I have a method annotated with @Transactional. I retrieve an object from my Oracle DB, change a field, and then return from the method. I forgot to save the object, but discovered that the database gets updated anyway. applicationContext my method @Transactional public void myMethod(long id) { MyObj...
John LaFleur
2

votes
2

answer

Update User's lastLogin property after login

my user-domain has a field called 'lastLogin' which i want to update after login (self-exaplantoy). after restarting tomcat (dev env) i get the following exception: groovy.lang.MissingMethodException: No signature of method: static photoo.user.User.findById() is applicable for argument types: (java....
raoulinski
1

votes
2

answer

Create an UPDATE statement without primary key

My code is as follows: 'UPDATE Mytable SET Phone= ''+PhoneNumber+'', Age= ''+Age+'' Where Name= ''+Name+'''; Now the name here is not unique nor is the primary key. When the code searches for the match, it has to input the data in the latest record in descending order. If the name list in the data...
2

votes
2

answer

How to update a conditional formula?

let me jump right into the example. Consider the following equation: frml
coffeinjunky
19

votes
3

answer

How to “Update Frame” in Xcode 8

I have updated to Xcode 8.1. Usually when I've miss-edited a Frame that has Auto Constraints, I've pressed on 'Update Frame' to revoke my changes. But this option seemed to be gone since the new Update. How do I update the Frame back to the Auto Constraints value now? Or is the 'Update Frame' Option...
David Seek
4

votes
2

answer

highscore update not working in 2dunity game

I'm a beginner at 2D Unity game development and this is my first game. In this game I have two scenes - one is playing scene and another is game over scene. When I try to display the high score in game over scene, it is not working for me. Here is the code I tried: public class highscore : MonoBeha...
Bharathi V
6

votes
2

answer

UICollectionView layout update - item size not changing

I'm having a problem with collectionView's item size. I want to display 3 items in row for Portrait mode and 6 for landscape. I've set up -layoutSubviews like this: - (void)layoutSubviews { [super layoutSubviews]; if ([[UIApplication sharedApplication] statusBarOrientation] == UIInterfaceOrientation...
Armands L.
2

votes
1

answer

Can't update node when use homebrew

When I use 'brew upgrade node' brew upgrade node Warning: You are using a pre-release version of Xcode. You may encounter build failures or other breakages. Please create pull-requests instead of filing issues. Error: node not installed But when I use 'brew info node' Please note by default only En...
yy liang
3

votes
2

answer

*ngIf DOM update timing issue in Angular

// some elements Say, there's a template like above. I'd like to set position of the tooltip each time a method is called: export class AComponent { @ViewChild('tooltip') tooltip: ElementRef; show: boolean; constructor( private renderer: Renderer2 ) methodA(e: MouseEvent): void { this.show = true;...
DongBin Kim
2

votes
1

answer

Update string to Date object in mongodb

I'm working on mongodb and node.js and i came a across a scenario. I'm bulk inserting data around 200 million record. In those there are some fields that are saved as string but actually are date. Is there any way where I can do something like db.collection.update({}, {$set: {dateField: new Date(da...
Okky
2

votes
3

answer

Cannot update UIButton.image after view loads

I am attempting something relatively simple. I have a UIButton that loads with an image: @IBOutlet var peer5Outlet: UIButton! override func viewDidLoad() { super.viewDidLoad() peer5Outlet.enabled = true var img = UIImage(named: 'camera') peer5Outlet.setImage(UIImage(named: 'camera'),forState: UICont...
Charlie Stephenson
2

votes
4

answer

Extra GET API call after update call

As the frontend application has its own state, now the user updated his/her contact and the frontend state got updated and PUT API is called to update with the current state. So while updating the user contact details through PUT call, should another GET call be made to fetch the user details or sh...
Surabhi K
7

votes
2

answer

Linq to SQL - Failing to update

I'm having some troubles with updating linq to sql entities. For some reason, I can update every single field of my item entity besides name. Here are two simple tests I wrote: [TestMethod] public void TestUpdateName( ) { using ( var context = new SimoneDataContext( ) ) { Item item = context.Items.F...
Isaac E
13

votes
3

answer

iPhone: Update Localizable.strings files using genstrings?

I have generated my strings file correctly using genstrings. I have changed the localized strings for my different languages. Now, I have added a few more NSLocalizedString() occurrences and I want to generate those into all of my localized strings files. But, running genstrings again does not s...
Nic Hubbard
2

votes
1

answer

Double Results for a SQL Update Statement

I've been scratching my head with this for a couple of hours already... This is what's going on: I run this statement SELECT STATUS FROM [dbo].[TMP_TEST_CALL_LIST] where identity = '659303186000000000' and I get the following result (a single row): 'Y' Then I run this statement update [dbo].[TMP_T...
Amarundo
1

votes
1

answer

facebook real time update in java example

I'm working on a project which uses Facebook Graph Api to collect information about the public posts. There is a need to update this data Real-Time when changes come to this posts. i have seen a real time update mechanism using call back url https://developers.facebook.com/docs/graph-api/reference/a...
TweetMan
3

votes
5

answer

How to update RecyclerView item without animation?

I have a RecyclerView. When I click a button inside an item in RecyclerView, I want to change the color of a View in that item. The following is my code and it works fine. But, the problem is the item will have an animation which is ugly. I want to update the item without the animation. How should I...
Sam
3

votes
2

answer

JProgressBar doesn't update , can't find a clue

nice job , now i just wanna know why if i add into while loop the instruction System.out.println below the progress is shown on both , cmd and Pgbar in the Gui ?? : while(progress < 99){ System.out.println('into while of PBar Thread progress = '+progress); if(progress != Path.operationProgress){...
The Eighth Ero
2

votes
1

answer

id_element not update on rails3-jquery-autocomplete

It's work fine if I not add option delimiter' => ',' but 'id_element' not update if I added delimiter' => ',' option ',',, :id_element => '#to_provider_ids' %> please help me solved this problem. thanks
khanh
2

votes
1

answer

Access 2010 accessing PostgreSQL can not update

I have an access program that I am using that needs to access some data on our PostgreSQL server. The problem I am having is that the link is being created read-only. If I use the menu items in access to create the links, then it works fine. My end users will be using the runtime access so do not...
Gregory West