Search update

60548 results
3

votes
2

answer

Update numpy array row by condition

I need help) I have NumPy array: False False False False False True True False True True True True False True True False False False False False How can I get this (take first and last rows, that contains True, and set all of them elements to False)? False False False False False False False...
erthalion
3

votes
1

answer

Live update map - Timer class - c#

I'm building a project with asp.net. Part of the the project is a view (using google maps api) that is showing the the status of the parking lots with maerkers on the map. Im using JSON file to create the markers. Moreover, Im using arduino with some sensors that are indicated of the parking lot st...
Anaelm20
4

votes
2

answer

jQuery change cell class and update data

I have a table in my page as below. field1x field2x field3x field4x # # The texts of fields in row change into inputs on field and get updated on next click. This works fine. But I want the class xx change to aa and yy to bb when user first click #. Then the field may change to inputs, enabling use...
2

votes
4

answer

Update table where column is MIN

I'm writing small update for home inventory which changes quantity for product which has the oldest expiration date (my way to achieve FIFO). Below is the example which I tried to execute but with no luck. UPDATE stan SET Ilosc=Ilosc-1 WHERE Date_exp=(SELECT MIN(Date_exp) AS Date_exp FROM stan as st...
bgolemba
3

votes
2

answer

Titanium studio vs “native” tools - update [duplicate]

This question already has an answer here: What are the advantages and disadvantages of using Phonegap and Titanium? [closed] 2 answers Reading the previous threads, I haven't really understood if Titanium studio is a good choice or not to develop Android and iOS apps, since what has been said here...
ghego1
2

votes
1

answer

Batch creative image update with ADS Api?

I try to update ads group with batch request. Everything is going fine if not add image_file param but when add it return an error. My ad_specs; Array ( [method] => post [relative_url] => 6003452316521?name=ReklamGrubu915&max_bid=50&bid_type=1&targeting={'gender':['1','2'],'age_min':'30','age_max':...
Erkan CERAN
3

votes
1

answer

How to update user script in greasemonkey

I have an issue with Greasemonkey, it doesn't update my script automatically (probably because we don't want to add it to its UserScripts root, and it seems in this case it doesn't update it)... anyway, I was adding a piece of code (main idea from here) to my script to check the script version insi...
Monica
2

votes
1

answer

My code cannot update nested component

I try React and react-typist. I have some problem. Then I pass a closure that change the state, to 'onTypingDone' and called it, but not working correctly. I think that because Typist may not re-render inner components. For example, the following code. The following code does not work well. How can...
Yusuke Mori
2

votes
0

answer

Update Inner Join Table with new rows

I created an Inner Join Table using 3 different tables, now what I want to do is to change that new table with products when I insert, delete or edit. My idea was to use a temporary inner join table with the same parameters and comparing the two, inserting new rows if they did not exist before, dele...
Javis Ulrick
0

votes
0

answer

Postgres: How to update the column?

I use the postgres library to work with the database. I have a very large database. I need to change the character in the column. I do it like this: void replace(String col, String from, String to) async { String queryStr = 'UPDATE $tab SET $col = replace($col, '$from', '$to');'; await connection.qu...
VINET
3

votes
4

answer

SQL Update - Commit each row in order

Good morning. I'll do my best to explain my question without posting the SQL (it's 650 lines). Let me know if more information is needed. We have an in-house fulfillment system that is allocating inventory in real time. For allocation to work properly, we need to know how much inventory is available...
James Hill
3

votes
2

answer

extjs TreeStore proxy with dynamic update api

From my extended Ext.data.TreeStore: proxy: { type: 'ajax', api: { read: '/GetTree.json', update: '/SetTree.aspx?username=user1' }, reader: { type: 'json', root: 'children' }, listeners: { exception: function (proxy, response, options) { // error case console.log('Exception in Portlets store proxy.....
Brian Wendt
2

votes
1

answer

BizTalk 2009 Cumulative Update 2 installation problems

Back in April, I installed the BizTalk 2009 CU 2 hotfix in our development environment. All local (developer machine) installations were successful and have no problems. However, our QA server installation is having some problems that we cannot seem to rectify. To provide some background, our QA Biz...
dramatix01
2

votes
1

answer

Update SQL Data Mismatch In Criteria Error

First of all I'm using MS Access OleDb and I tried many times with and without parameters for UPDATE SQL query. Photo update thing not the fact for now, when I try to update button I get: Data type mismatch in criteria expression. and that error drives me crazy, please help me. Thank you! ktN comes...
Boğaçhan Furuncu
3

votes
1

answer

ASP.NET UpdatePanel: Injecting Javascript on UpdatePanel update

Are there any potential side-effects to below solution to injecting JavaScript from the content of an updated UpdatePanel? The code for the UpdatePanel looks sort of like this: alert('Script was loaded correctly!'); The code-behind on the click of the Button shows the Panel pnlScriptContent. protect...
Seb Nilsson
3

votes
0

answer

ActiveRecord: PostgreSQL-specific update with join

The line like this (split into multiple lines for readability): ValueMapping .joins(:variation) .where( :mapper_id => 1, :variations => {:name => 'de'} ) .update_all(:value => 'Beispiel') produces following SQL statement: UPDATE value_mappings SET value = 'Beispiel' WHERE value_mappings.id IN ( SELE...
Paul
1

votes
1

answer

UPDATE-syntax not working with all columns

I'm losing my mind over here. I'm trying to implement a basic 'Forgot your password?' functionality where the user inputs an email address to get a new password. Simple enough, right? My problem is updating the database, replacing the old password with the new one. I'm working with C# and MS Access....
Nikola
2

votes
3

answer

Can't update an input with angular click

I have this html: {{temp.nome}} and this is in the controller $scope.selectTemperatura = function(temp){ $scope.kelvins = temp.temp; $scope.temperatura = temp.temp; }; What I'm doing wrong? I can't update the input and the label upon clicking on the item
Natan Valentim
1

votes
3

answer

Two update on a single statement

I have two update statements that we run on SQL server they are like UPDATE dbo.c_Account SET Ct = Ct-1 Where Acc = 'IT' OR Acc = 'gt' UPDATE dbo.c_Account SET Ct = Ct-3 Where Acc = 'ABC' Is there a possibility of doing the both update on one single statement
trx
2

votes
1

answer

How do I update Apportable build targets?

When first run Apportable generates a bunch of stuff, in ProjectName.approj/, which includes some stuff generated from the Xcode project targets. I have changed my Xcode project's bundle identifier (I need the generated APK to have a certain package name, and that seems to come from the bundle ident...
nmr
2

votes
1

answer

Allow rule to update meteor mongodb

The browser console says: update failed: Access denied The code below should allow the client to set the value of value array to undefined but it fails with the above error. Any idea why and how to fix it? Thanks //client const doc = myCol.findOne({element: 'abc'}); myCol.update({_id: doc._id}, {$se...
Fred J.
2

votes
0

answer

How to automatically update XML comments?

I am looking for a way to automatically add / delete XML-formatted comments in VB.net sourcecode. Let me elaborate more on this with a short example: Initial iteration with auto commenting could look like this: ''' Summary for AnyFunction ''' ''' ''' Remarks... Sub AnyFunction(Var1 As Variable1, V...
mms01
2

votes
0

answer

Not all Android apps auto-update

We've developed an Android tablet app going out on Google Play. Client has purchased 100 Lenovo Tab 2 A10s and installed this on them but when the latest version of the app was published it hasn't updated on the devices. The settings in both the Google Play app page and the Google Play Settings pag...
Kidd St
3

votes
1

answer

Update Podio profile picture using API

We were planning to make a Podio Out of Office extension so people can add start and end date and the profile picture will be automatically changed with an out of office version in that period. We cannot see a method to do that in Podio API documentation and tried the solution as per the official c...
Ajmal VH
3

votes
1

answer

Update object info for old post

I am sending user id(stored in our own DB) as actor while posting activity on getstream. In object field I am sending other info of user such as name/dob etc. which are in our database too. Suppose some one updates the user info e.g. name in our application, the object will still have old informatio...
Ankesh Kumar
2

votes
1

answer

update column with aggregate function in codeigniter

I want to change this format to codeigniter format which is like this->db->where('','') This is my code $data = 'UPDATE dbhpl.hplpb SET hplpb.PEL_4 = (select COUNT(*) FROM pelayanan WHERE pelayanan.ID_AREA=hplpb.ID_AREA AND pelayanan.ID_VERIFIKASI='4' AND pelayanan.TRANSAKSI='PENYAMBUNGAN BARU' AN...
user5072610
2

votes
3

answer

Using Unobtrusive JavaScript to Update an Element

As you know, when you upgrade from Rails 2 to 3 you replace this: link_to_remote 'more', :url => {...} with this: link_to 'more', {...}, :remote => true But how do you handle the :update option in link_to_remote? In Railscast #205 Ryan Bates demonstrates link_to with :remote and a server response th...
Alex Reisner
2

votes
1

answer

How to continuously update a plot?

I'm trying to plot in 'real time' in Matlab from Arduino. I have the following code to get the data: clear all; close all;clc;delete(instrfind({'port'},{'COM12'})); puerto=serial('COM12'); puerto.BaudRate=115200; fopen(puerto); for i=1:1000 a=fscanf(puerto, '%d'); v(i)=a; ++i; end fclose(puerto); d...
Diana Laura
2

votes
2

answer

Update all numbers in string with JavaScript?

Main question is how I can update all numbers in string? Examples where I want to update numbers in string: -ms-transform: rotate(7deg); margin: 10px 20px 30px 40px; Value10isMoreThan5 So every 'chunk' of numbers should be handled separately (e.g. 10 or 1 0 or 1px2, no matter if it's space or charac...
Sakari Niittymaa
2

votes
2

answer

Range Update and Query on array

I have updates and queries on array A having n elements. I have two types of queries : type 1 (Update) : Given x, decrement the value of all elements in array A whose value is greater than or equal to x. type 2 (Query) : Given (l, r, x), find the xth smallest element in array A whose value lies bet...
Raghav James
3

votes
1

answer

Qt update GUI with boost threads

i am using boost thread for collecting images from camera and i call Qt signal whenever new image arrives. Now when this signal is emitted the connected slot run in which i am updating the widget the control comes to my slot but it dont update the widget while it prints on console for debugging. My...
zulqarnain haider
2

votes
1

answer

update particular object of features array

I am struggling to update the particular object from features array and returning the whole object with the updated one. I could update the particular object but could not return the same whole object with the updated one. I am doing this using immutablejs. Here is my code case EDIT_FEATURE_SUCCESS...
pythonBeginner
2

votes
0

answer

Update component on template.xhtml from test.xhtml

I have a menutab on my template that i am using on every page. I would like to update a component from the template from another paged which is based on the template. Its working like just any other emailpage, as soon as i read an email, it should update the number of the unread emails. The number i...
leostiw
4

votes
2

answer

API for parse/update UNIX configuration files

Unix configuration files come in all shapes and forms. I know that Webmin has a Perl API that makes it easy to parse and modify most common configuration programmatically, while preserving changes that might have been made by hand. Are there any other libraries that has similar functionality, perhap...
Chen Levy
4

votes
1

answer

Capifony: update vendors and deps file

Is it possible to setup deployment script so that vendors would only update if deps file has changed since the last update?
Dziamid
2

votes
1

answer

How to quickly update an ADO Entity?

I have an entity that has so many properties that I don't want to have to manually do something like public void Update(Contact cont) { using (var ctx = new DatabaseEntities()) { var res = from n in ctx.Contacts where n.ContactID == cont.ContactID select n; var selContact = res.First(); selContact.A...
Francis Ducharme
3

votes
1

answer

Swift immutable struct and convenient update

I have a struct struct Offer { let offerId: Int let title: String let description: String let phoneNumber: String let address: String let createdAt: NSDate let price: Float let type: String let quantity: Int let instructions: [String] let votesCount: Int let featured: Bool let published: Bool let pu...
Arsen
2

votes
1

answer

React Native doesn't update child component props

I'm working on a React Native project and I realized that React Native seems to break the React flow (Parent to children) props update. Basically, I'm calling a 'Menu' component from an 'App' component, passing a prop to 'Menu'. However, when I update the 'App' state, the props on 'Menu' should upda...
Pablo Darde
2

votes
0

answer

Update knockout viewmodel after ajax call

I am having an issue saving changes back to my observable viewmodel using KnockoutJS. To keep this simple I will just show the basics....My viewmodel has a class called EmployeeSkill, which has two properties and the EmployeeSkillsViewModel is an array that contains zero to many of these skills as...
Brian Evans
3

votes
3

answer

vue.js best way to update entire array

What is the best way to update the entire observed array and trigger a rerender in vue.js without having to iterate an push all the items? I have read the documentation here: https://vuejs.org/v2/guide/list.html#Replacing-an-Array But it doesn't make sense to me having to filter, concat or slice ju...
Janspeed