Search update

60548 results
2

votes
1

answer

Kafka Failed to update metadata

I am using Kafka v0.10.1.1 with Spring-boot. I am trying to produce a message in a Kafka topic mobile-user using the below producer code: Topic mobile-user have 5 partitions and 2 replication factor. I have attached my Kafka settings at the end of the question. package com.service; import org.slf4j...
Prakash Pandey
1

votes
4

answer

Batch-update with ServiceStack webservice

How would you implement a batch update over a REST service if we have multiple changed properties? Lets say we have an administrator managing 100 client computers in his software. Some of the computers changed their location and some got deleted. Other ones got a new description, etc. So it's not j...
TheBert
3

votes
1

answer

ArangoDB / AQL Update Nested Documents

Given the following document structure: { '_key': 'abc', '_id': 'abc', 'label': 'Company ABC', 'departments': [ { 'name': 'Department 123', 'id': '123' }, { 'name': 'Department 456', 'id': '456' } ] } Can you tell me why the following query doesn't work? The error message is 'missing document key'....
Leia
70

votes
13

answer

Devise update user without password

I want to update users attributes without password in devise. The case is like, if password and password confirmation fields are not blank then I need devise error and if they are blank then other user attributes need to be updated. How could I do this with devise? Thanks in advance!
kriysna
1

votes
3

answer

AX2012 - ListPageGrid does not update

I'm having a lot of trouble adding another field to a ListPageGrid in one of my Microsoft Dynamics AX 2012 - R3 environments. For some background information, I have 4 different environments which I'm trying to do this on. 2 successful, 2 unsuccessful. Environments are like so: Environment A: MS AX...
user1300922
2

votes
1

answer

PyScripter won't update my imports

I am using portable python 1.1 with python 2.6.2. The PyScriptor is 1.9.9.6. I open all the files I am working on with PyScriptor. So, I run my main file and an error shows up with code in one of my imported files. I fix it and run the main file again, but the same error shows up. It is as if the im...
user1270289
1

votes
4

answer

Update table SQL query help

I have a database student(attribute - studentid). studentid is a varchar. Now I want to add 'P' at the end of all studentids. 12 -> 12P 234 -> 234P What will be the sql query for this?
Bruce
4

votes
1

answer

Zero-downtime SSL certificate update

My SSL certificates expire after 90 days, and I can generate a fresh certificate on request. (I get free certificates using Let's Encrypt Without Sudo.) At the moment I have a simple HTTPS server which I need to reboot to update the certificates: require('https').createServer({ key: fs.readFileSync(...
Randomblue
2

votes
3

answer

Detecting iPhone app version update?

I'd like to determine when new versions of my app are available on the Appstore and display some form of notification to the user when this happens - perhaps a UIAlertView or similar - and wondered whether anybody knew of any pre-designed frameworks for doing this? I found the StoreKit provided by i...
Matt
2

votes
3

answer

Update HTML page after jquery.click

I have an onclick function which basically just returns sorted data like following: $(document).ready(function () { $('.feedbackClick').click(function () { $.post('/Analyze/GetSortedByFeedback') .done(function (data) { var sellers = $('').append(data).find('#tableSellers').html(); $('#tableSellers')...
User987
2

votes
1

answer

rails link_to update 1 field

I want to change my delete not to delete but to update a field on the record called 'deleted' 'Are you sure?', :method => :delete %> Seems like this should work, but it doesnt: true, :confirm => 'Are you sure?', :method => :post %>
Joelio
2

votes
1

answer

SQL update and group by

I have a table employees , with columns id_departament and salary like that : salary ID 10000 3 20000 3 8000 2 5000 1 24000 4 20000 1 5000 2 7500 4 I want to build a query to increase ONLY the max salary for every departament with 10% and if the salary after ad...
Cosmin Oprea
2

votes
1

answer

Concurrent Insert and Update postgres

Is there a way to solve a problem when you receive a concurrent insert and update for a same field over a multi-threaded environment. Example Thread 1 BEGIN insert into users (name,age) values('spiderman',27) COMMIT Thread 2 BEGIN update into users set age = 26 where name='spiderman'; COMMIT Mos...
Viren
2

votes
1

answer

Android Location update issue Huawei

Does anyone have experience problems with the location listener on Huawei phones (eg 8 Honor, Honor 7). I have a background service that implements location listener but for Huawei phones it stops work after about 5-6 position updates. I've added my app as a protected app in the phone manager. I don...
Anders
1

votes
1

answer

SQL Server 2008: update query

I have TableA with FKColumnID I also have TableB with ColumnID and ColumnName How can I update TableA.FKColumnID to have the same value as tableB.ColumnName? Update TableA Set TableA.ColumnName = TableB.ColumnName
William
2

votes
3

answer

Update each selected datagridview rows

I'm using this code for updating each datagridview selected rows but unfortunately it update only my first selected row.Why? foreach (DataGridViewRow item in this.dataGridView1.SelectedRows) { con.Open(); SqlCommand cmdo = new SqlCommand(@' update inventory set category = ''+textBox1.Text+'' WHERE i...
user6453809
2

votes
1

answer

Update between excel & Microsoft Visio

I had create an Organization chart browse from the excel. My problem is: How can I update my Microsoft Visio Organization chart when I insert a new data record into the excel. I had the 'Link Data Shape' between my excel file and visio organization chart. But when I insert a new record into the exce...
viziz
2

votes
1

answer

MFP 7.1 Disable Direct Update?

I have an app migrated from WL 6.1 where I used to disable in WLClient.js. I have tried to disable with the Console but I still get an update after invoking custom auth. The app is downloaded from enterprise MF appcenter. I have seen the security test way of disabling, but I'm not sure I can do thi...
Justin Cox
5

votes
3

answer

Android ListView update with SimpleCursorAdapter

Hey i use a listview for demonstrate entries which are stored in a database. I also have a EditText element and a button which adds the content of the EditText into the Database. To bind the view to the database content i use the SimpleCursorAdapter and following populate function: private void popu...
Siggy Petersen
5

votes
2

answer

Update nginx in ubuntu 14.04

In my server, nginx -v returns nginx version: nginx/1.4.6 (Ubuntu), it is very old, so I decided to update it to the latest stable version. Then, I followed this answer: sudo apt-get update sudo apt-get install nginx It gives: Reading package lists... Done Building dependency tree Reading sta...
SoftTimur
2

votes
1

answer

Update Trigger : Supertype/subtypes tables

I need some help about triggers. I’m currently developing a platform and a database in order to manage exams at my university. Here is my problem: I have 1 supertype table, which contains all the persons registered on the platform. I have to be able to make the distinction for each person between...
NickyLarson148
4

votes
4

answer

Update Panel duplicating my controls

My code looks like this: 'all gridview columns go here when i click the button, its supposed to add an item fromt he txtIsoDate into the database and refresh the gridview. it adds fine, but when it comes back it creates another copy of my pnlAddIso. why is this happening? i'm so confused. please hel...
Madam Zu Zu
7

votes
1

answer

Qt OpenGL Update Unusably Slow

I can't seem to get Qt5 to update my scene at a meaningful rate. My scene is a 512x512 textured rectangle. The rate I am getting is about 1 frame per second (!). In my constructor aTimer.setSingleShot(false); aTimer->setTimerType(Qt::PreciseTimer); connect(&aTimer,SIGNAL(timeout()),this,SLOT(animat...
Mikhail
3

votes
1

answer

Raise Error in Update Statement

I'm running a SP to update a balance in an account. Here is the SP code: CREATE procedure UpdateBalance(@LedgerID as int,@TransDate as DateTime,@Neg as smallint) as Begin Declare @OpenBal as decimal(12,2) Select Top 1 @OpenBal=Balance From Trans Inner Join TransGroup On Trans.TGID=TransGroup.TGID An...
navigator
4

votes
5

answer

Symfony2 crash after composer update

I encounter a problem since I have update my vendors on Symfony2 installation. This is content of my composer.json : { 'name': 'symfony/framework-standard-edition', 'license': 'MIT', 'type': 'project', 'description': 'The \'Symfony Standard Edition\' distribution', 'autoload': { 'psr-0': { '': 'sr...
Knut
2

votes
1

answer

Update NSView frame every millisecond

I'm trying to update an NSView's frame at every millisecond. It work for some frame but it blocks very quickly. How should I do to make smooth updates ?
Pete
2

votes
3

answer

MySQL Trigger - delete after update

For test case in one project I must delete record if one of fields meets one of conditions. Easiest seems be simple trigger: delimiter $$ drop trigger w_leb_go $$ create trigger w_leb_go after update on test for each row begin set @stat=NEW.res; set @id=NEW.id; IF @stat=3 THEN delete from test where...
parasit
2

votes
2

answer

Update Label On Another View

I have two views with a label on one of them. On the second view, there is a button. What I want to achieve here is to be able to press the button and it updates the label on the first view. How do I do that? I can't access the IBOutlet from the second view. Is there something that I have to do to t...
BensTechTips
3

votes
1

answer

Update existing ticket in VTiger

I am a newbie to VTiger, I am using the 5.2.0 version to try, learn implementing Issue Tracking. Intro: A client sends an email to say [email protected], Mail Converter or Mail Scanner.. scans for the new email and if found creates a new ticket. If admin sees a new ticket which is being raised in...
gkolan
7

votes
6

answer

Yii INSERT … ON DUPLICATE UPDATE

I am working on a Yii project. How can I use the ON DUPLICATE feature of MySQL ( http://dev.mysql.com/doc/refman/5.0/en/insert-on-duplicate.html ) when doing a save() on a Yii model? My MySQL is as follows: CREATE TABLE `ck_space_calendar_cache` ( `space_id` int(11) NOT NULL, `day` date NOT NULL, `a...
Nathan H
6

votes
3

answer

Update multiple Rows in Codeigniter

I have been looking around but I have not found an answer yet. Kindly help if you know the answer. How do you update multiple rows in CI? In my MySQL: I have column names: ID, Settings Name, Settings Value ( Settings Name is Unique ) I have the ff Data: ID = 1, Settings Name = 'Hello' , Settings Val...
jsd
2

votes
2

answer

.NET simple application update mechanism

Environment: .NET C# Visual Studio 2005 and Some third-party components .vdproj files (setup projects inside Visual Studio 2005) for .msi building - not 'ClickOnce deployment' Problem I am in a project phase where there are several updates to the project during a day. Since every change is small...
Daniel Mošmondor
67

votes
4

answer

anaconda update all possible packages?

I tried the conda search --outdated, there are lots of outdated packages, for example the scipy is 0.17.1 but the latest is 0.18.0. However, when I do the conda update --all. It will not update any packages. update 1 conda update --all --alt-hint Fetching package metadata ....... Solving package spe...
Wang
4

votes
2

answer

Update statement for multiple ids

I have 3 tables, i need to update 3rd table's column by calculating data from other two tables. update table3 set column3= ( select t2.column3+t1.column3 from table2 t2 with (nolock) join table1 t1 on table2.id=t1.id where table2.id= 100 ) where id= 100; This query works fine, it updates the 3rd tab...
Sharpeye500
8

votes
1

answer

How to update Xcode beta?

For Mac / iOS developers, there is a period that we have to use Xcode beta version so as to build a test environment for the new/pre-released version of OS X / iOS. So my question is: What is the standard process of updating Xcode beta version, for example, from beta 1 to beta 2? Is it necessary to...
inexcii
2

votes
2

answer

update multiple columns with condition

I have 4 columns. I am trying to update only that values of the columns which is like(equal) to the value come in loop. for ($a=0; $a
tooba
3

votes
2

answer

Update Facebooks Status using Python

Is there an easy way to update my Facebook status ('What's on your mind?' box) using Python code ?
user41767
1

votes
4

answer

Unable to update using linq

I have written the following code to update VoterStatus of my table var vtrs = (from k in db.Voters where k.VoterID.Equals(vid) select k); if (vtrs != null) { foreach (Voters vx in vtrs) { vx.VoterID = vid; vx.VoterStatus = 3; } db.Voters.InsertOnSubmit(voter); db.SubmitChanges(); } Here VoterID i...
user3477146
2

votes
3

answer

update spinner in a recyclerview

In a recylerview containing spinner, how to add more items dynamically in the spinner(AT THAT PARTICULAR POSITION ONLY)... Right now when i am updating the child spinner, all the spinners of the recylerview are getting updated. Please help me to update only the spinner at that particular position(of...
mayur saini
20

votes
2

answer

Django Rest Framework update field

I am new to DRF and I am trying to write custom view / serializer that I can use to update just one field of user object. I need to make logic just to update the 'name' of the user. I wrote serializer: class ClientNameSerializer(serializers.ModelSerializer): class Meta: model = ClientUser fields =...
bla0009