Search update

60548 results
2

votes
1

answer

No update of x axis

For the following code, the x axis is not updated when new data is loaded. What has to be done to update the x axis when new data is loaded? (So the difference in x values is for the very first entry - old value: 'date': '1116156400000', 'Old York': 63.4, 'San Francisco': 62.7, 'Austin': 72.2 new va...
Johnny Bigut
4

votes
1

answer

D3 how to update text?

I have created text nodes that has some value. So whenever data updates, only the value should update, the text nodes shouldn't be created again. systemLevel .enter() .append('g') .classed('system-level', true) .attr('depth', function(d, i) { return i; }) .each(function(d, i) { var columnHeader = g...
user2532865
2

votes
2

answer

Disable update on battery percentage

I have a service that performs background updates. I want to give the user the the option to disable the updates when their battery percentage reaches a certain level. From my research, I'm going to use a receiver in the onCreate method of my Service class, eg: public class MainService extends S...
Kris B
2

votes
2

answer

Update location before getting forecast

I am making a weather app and my current issue is that the weather is updating based on the default values for the location rather than waiting for the method getLocation() to update the location. As soon as I refresh, everything works, but this is not what I'd prefer to happen in my app. Here is my...
nrsmac
2

votes
0

answer

Picker itemlist and index update

I'm working on my fist app with Xamarin Forms and I'm struggling with a piece of code for a while now without making it work. Would be thankful if someone could give me a helping hand. I have two pickers, picker1 and picker2, which have their Items and SelectedIndex properties logically connected to...
arif
2

votes
1

answer

QMainWindow::showMaximized() Doesn't Update Size

I'm trying to create a QMainWindow to encapsulate a QGraphicsView that I'm putting in it. I want it to start out maximized, so I do this: QMainWindow *mainWindow = new QMainWindow(); mainWindow->setWindowState(Qt::WindowMaximized); mainWindow->show(); qDebug() size(); Which says my maximized window...
K. Barresi
5

votes
2

answer

Nested update with select deadlock

Background I am using some code that seems to deadlock often with itself. In Java, it produces a DeadLockLoserDataAccessException periodically, and the offending statement causing the deadlock is often itself. (This is being run in a transaction with InnoDB) UPDATE a SET a_field = (SELECT sum(b_fi...
Kirk Backus
4

votes
2

answer

Can't update chromedriver in macos10.12.6

I am trying to update chromedriver from 2.30 to 2.35. However, after I brew install chromedriver, the default chromedriver is still 2.30. If I redo brew, it will tell me I have already installed 2.35 version, but when I use chromedriver --version, it still shows 2.30. Can any one tell me why it's th...
Fileland
2

votes
3

answer

Update android application using OTA

I am having my own apps store where all android applications are hosted. Some apps are modified. So How i can send updates to clients/users using OTA. So clients will come to know about new updates and he will be able to download it.
user2833700
8

votes
4

answer

OwlCarousel autoheight on data update

I have OwlCarousel, which has an autoheight parameter set to true. When I update the data inside the block, the height does not automatically change.\ I understand that this should not be, but, as an example, the block was empty, I added the data and it remained empty. Although, it's just a height...
AtCliff_
3

votes
5

answer

Should desktop applications silently update?

Lots of programs silently update, notably Chrome, which must always silently update, but most operating systems can be set to silently update, and many other programs can as well, though it is not often the default and even less often is it mandatory. But, I have created programs that silently updat...
Drew
18

votes
3

answer

Postgresql Current timestamp on Update

What is the postgres equivalent of the below mysql code CREATE TABLE t1 ( created TIMESTAMP DEFAULT CURRENT_TIMESTAMP, modified TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ); CREATE TABLE t2 ( created TIMESTAMP DEFAULT CURRENT_TIMESTAMP, modified TIMESTAMP DEFAULT CURRENT_TIMESTA...
Mithun Sreedharan
2

votes
1

answer

Angular directive doesn't update model

Hello I am trying to update my model from a directive but it does'nt work. I can't find Why. Can someone help? Html: Directive: app.directive('fileModel', ['$parse',function ($parse) { return { restrict: 'A', require:'ngModel', scope: { ngModel: '=' }, link: function (scope, element, attrs) { var mo...
Fabrice Kyams
10

votes
3

answer

Android developer console app update

How do I release an update for my app? I can not find an update apk option on the developer console.
13

votes
2

answer

Angular pagination - update data onclick

I'm attempting to implement pagination on a angular/bootstrap site. I have the data showing with the correct # of per-page rows, I have the angular paging showing the right number of pages...but heck if I can find anywhere that tells me HOW to use the paging to refresh my data when a page # is click...
NikZ
2

votes
1

answer

observablelist update issue in javaFX

I am creating a universal chat application using JavaFX. I created a listView using SceneBuilder and modeled it with ObservableList like below: public static ObservableList members = FXCollections.observableArrayList(); @FXML public static Button send; @FXML static ListView names; @FXML static HTM...
ashishcloud
4

votes
1

answer

MySQL (DEFAULT + ON UPDATE) TIMESTAMPs

I've a table where I've two fields: dateCreated dateUpdated I want both fields to hold timestamps, dateCreated to have a DEFAULT CURRENT TIMESTAMP flag and dateUpdated to have a ON UPDATE CURRENT TIMESTAMP behavior, however seems that I can't have more than one timestamps field types on the same tab...
Alix Axel
1

votes
4

answer

Can't update array with function?

$LEVELS = array(); function addLevel() { $LEVELS[1] = 'test'; } var_dump($LEVELS); It prints array(0) { } This is annoying the crap out of me. Any help?
user1627985
1

votes
2

answer

How to update javascript object

I have a js object like [{'name':'John','group':'t1...' .....}] so to create new user from same t1, I loop through the obj using var new_user; for(var i=0; i
Leah Collins
2

votes
2

answer

Why NHibernate UPDATE reference entity?

I have a test mothod like below: public void Add_Update_Delete_a_Registration() { ISessionFactory sessionFactory = SessionFactory.GetSessionFactory(connString); using (ISession session = sessionFactory.OpenSession()) { Course course = new CourseRepository(session).GetById(12019); Registration entity...
user538220
1

votes
3

answer

In-App Purchase App Update

I have an app on app store with 2 In-App purchases. Now I want to update my app , and obviously who already purchased my In-app purchase , will should not have to pay again. It should be free for those users. I have no idea what should i have to do for that. Can anyone please guide me here ? Any hel...
iUser
2

votes
4

answer

Update column1 with identical column2

I have this: ID Num 1 KP2 2 KP3 3 KP2 4 KP3 5 KP3 I need to get this: ID Num 1 KP2 2 KP3 1 KP2 2 KP3 2 KP3 I tried this: UPDATE t SET ID = t2.ID FROM table t JOIN table t2 ON t.Num = t2.Num This does not work though. Nothing is changes It says that row...
user194076
6

votes
5

answer

SQL update from select statement

Sorry for the length of this, I'm trying to give a lot of info to avoid non-relevant solutions. My goal is to embed at least 1 UPDATE statement into a SELECT statement so that I have a chance to update some computed values at the instant before the select statement runs (think of it like a TRIGGER o...
user130582
2

votes
4

answer

How to update into database

I know this question have been asked before but I still do not get the answer on why my code is not update into database. This code have no error but it not update changes data into database. Anyone please help me. Here is my code: private void button1_Click_1(object sender, EventArgs e) { con.Open(...
Miza
2

votes
0

answer

update an array inside object

I have an object inside I have an array called: 'timeFrame' which contains more objects. I'm trying to update my MongoDB so that the timeFrame array will be updated according to the new object which means that the same values in a specific index of the new object will be in the old array. My object:...
Elad Doocker
2

votes
2

answer

update if exists otherwise insert

This is the table structure for a shopping cart I want to insert a row if the new user_id and product_id combination do not exist in the table otherwise I want to update the quantity only if the combination exists. My intention is to update someone's shopping cart in the database and insert if there...
Sami Al-Subhi
2

votes
2

answer

Select and update; SQL Server

I need to loop table tab_A entry by entry and update table tab_B according to content in each returned entry: SELECT item, regBy, MAX(regTime) AS latestUpdateTime FROM tab_A GROUP BY item, regBy; The result must be looped entry by entry and the following UPDATE must be performed for each entry: UPDA...
2

votes
3

answer

Dynamic page update by AJAX

I've got a problem. I'm using AJAX to load pages and it works correctly, but I can't escape a bug. When I load page, first time it works correctly but then I go to another page, AJAX loads the page I want, but it has double tags like and . I mean when I load page a second time, the page loads the s...
Sergey Karsten
2

votes
1

answer

Update React component by key

I have a React app that has a tabbed interface of open files. The open files array looks like this: [ { name: 'file1', path: '/path/to/file1', fileContents: '...' }, { name: 'file2', path: '/path/to/file2', fileContents: '...' }, { ... } ] Which are rendered into 's like so: render() { return this.s...
2

votes
1

answer

Lua update screen during loop

I'm writing a function for an on-screen character to follow a path of markers. I'd like to iterate through all of the markers for that character, and update the display for each. What's happening now is that the display only updates once at the end of the iteration. Based on a few FAQs, it appear...
Jeff Zivkovic
1

votes
1

answer

Implementing status update for android

I am developing an android application that is connected to a restful API. There is a challenging situation that the user of the app changes a setting on the website that should be changed on the android app too... but I don't know how to notify the android app about the recent change made on the se...
Abdolrahman
22

votes
11

answer

Bundle update fails on ffi

I'm attempting to do a bundle update on my rails application but I get the following error: Installing ffi (1.0.11) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix...
Kyle Decot
1

votes
2

answer

Can't update SQL Server DB

everyone. I am relatively new to Java (a complete noob), but have had experience with VB.Net. I am trying to update a row in a SQL2008 table. The table name is _Registry. When I compile the code below, it fails with several errors (listed separately after the code). If I comment out the section from...
user2199508
1

votes
2

answer

Update CSS in JavaScript / jQuery

The following code is an example of open and close actions of a sidebar, where some CSS values should be updated to correctly show the sidebar. function openNav() { document.getElementById('sidebar').style.width = '250px'; document.getElementById('mainContent').style.marginLeft = '250px'; document.g...
Martin Niederl
1

votes
1

answer

LOOP update with column size

I tried to create PL/SQL script that would update my table with column size. My table looks like this: | ID | TEXT | SIZE | -------------------- | 1 | .... | null | | 2 | .... | null | | 3 | .... | null | ... I want the PL/SQL script to fill the size column depending of the length of text for a c...
Marko
1

votes
1

answer

INSERT … ON DUPLICATE KEY UPDATE

I am using a API to fetch records from a different server and insert into my local database but when a particular field say apiserverID is duplicate i just want to update fields. my problem is that i have table structure as myPrimaryKey apiserverID .... ..... ..... updateDate now i want simple proce...
Champ
8

votes
4

answer

How to update list recursively

I have a list of dicts: a = [{'one': 1}, {'two': 2}, {'three': 3}, {'four': 4}, {'five': 5}] I want to update the value of each element in this list by the sum of all remainders. (so 'one' will get the value 2+3+4+5) . so that it will look like this: a = [{'one': 14}, {'two': 12}, {'three': 9}, {'f...
Felix Rosén
1

votes
1

answer

ext-js update params dynamically

I'm building a search using ext-js. I have an event that fires on keyup. I want to be able to change either the URL I'm searching, or the params. I've had luck with neither. Here's my snippit of code: Ext.get('search').on('keyup', function() { proxy.url = '/customer/list?key=' + $('search').value...
jeffkolez
1

votes
1

answer

php password update on mysql

I am trying to enable users to change their password. I keep getting the user name and password are not in the file and I suspect the password is not correctly readable by the script, maybe because of the md5 encryption. Is there any error on my SQL query? $query = 'SELECT * FROM users WHERE name='...
user1212143
1

votes
3

answer

NSFetchedResultsController doesn't update updating NSManagedObjects

When I update a transient attribute (and I guess other attributes) in an Entity with the following code [passedObject setValue:distanceNumber forKey:@'distance']; NSFetchedResultsController deletes the object from the fetch results. I guess I have to do [fetchedresultscontroller performFetch:&error...
Nimrod7