Search update

60548 results
4

votes
2

answer

Android GPS update frequency

I'm writing a lap timing app but have run into a GPS update frequency problem. At speeds greater than 75km/h (21m/s) my code stops working. My question is how can I request updates at a faster rate? I need it work at speeds up to 300km/h (83m/s) and would like the app to get updates every couple of...
Kringle
6

votes
4

answer

iOS Application Update Test

Is there a method though it wants to test when the application is updated? I am embarrassed because there is a bug that occurs only when the application is updated, and it doesn't investigate.
user375364
2

votes
1

answer

Update XML using XMLStreamWriter

I have a large XML and I want to update a particular node of the XML (like removing duplicate nodes). As the XML is huge I considered using the STAX api class - XMLStreamReader. I first read the XML using XMLStreamReader. I stored the read data in user objects and manipulated these user objects to r...
deepak
2

votes
3

answer

Update LCD Number countdown

I'm very new to Python and I have made a very simple countdown timer. The GUI was created in Qt Designer. There is a spin box for input of seconds, a start button and an LCD number counter. The counter counts down fine using the code below: def start_btn_clicked(self): x = self.Minute_spinBox.value(...
3

votes
3

answer

Android Differential app Update

I have a android application hosted separately(not on Play Store), for updating app i have to download complete apk and then install even for small changes and bug fixes. Is there any way to implement differential update mechanism in my app similar to Google play Store(Smart Update Mechanism)
ked
6

votes
2

answer

TortoiseSVN revert vs update

What's the difference between following? (right click on the project folder) update to revision XXX (right click on the log list) revert to this revision (right click on the log list) revert changes from this revision
fifi7
2

votes
5

answer

Horrible Oracle update performance

I am performing an update with a query like this: UPDATE (SELECT h.m_id, m.id FROM h INNER JOIN m ON h.foo = m.foo) SET m_id = id WHERE m_id IS NULL Some info: Table h is roughly ~5 million rows All rows in table h have NULL values for m_id Table m is roughly ~500 thousand rows...
FtDRbwLXw6
1

votes
3

answer

update query using join

I need help in updating a database using a join query.It is not a straight forward query and kind of confusing. I created a select query to select routelist(d.name) which is equal to 'TP-424-RL'. select n.dnorpattern as RoutePattern, rp.name as Partition, d.name as RouteList, rl.selectionOrder, rg...
javalearner
3

votes
2

answer

Oracle conditional update query

I have one requirement as shown below : Suppose we have EMP table with 5 rows having deptno = 20 --Here i will get deptno i.e.20 from input paramter EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO -------------------------------------------------------------------------------- 7...
user1017936
6

votes
2

answer

Update model Realm Swift

I'm a new in Realm and ask you to help me. I created the model: class UserModel: Object { dynamic var email = '' dynamic var facebook_id = '' dynamic var google_id = '' dynamic var id = 0 dynamic var name = '' dynamic var photo = '' dynamic var someinfo = '' dynamic var twitter_id = '' } When I lo...
Roman Romanenko
2

votes
5

answer

TextBlock Will Not Update

I have a text block called 'findListText'. Here, I am updating the text in it: private void InstantSearch(object sender, KeyEventArgs e) { if (e.Key == Key.Return) { HitEnter = true; } findListText.Text = 'Processing request. Please wait...'; Find(bool.Parse('False' as string)); } However, the next...
Robbo905
2

votes
0

answer

Codeigniter Update Batch Error

I tried to find solutions but i always get this error You must specify an index to match on for batch updates. public function editcompanionship() { $companionship_id = $this->input->post('companionship_id[]'); $missionary_one_id = $this->input->post('missionary_one_id[]'); $missionary_two_id = $thi...
Fel
3

votes
2

answer

update edited row extjs

my problem is very easy for you but i can't afford.. i'm getting data from row and showing in other panel's fields my goal is to edit this data and show edited data in grid ,please give me some advice, i know that it needs commit() function but.. my code : var selModel = persongrid.getSelectionModel...
3

votes
2

answer

Problems with imshow update

Why is the image in a figure (ploted by imshow) changing its size when updated by another imshow? Demonstrational Code: img = rand(100,100); figure(1); hold on; imshow(img); % plot an image pause(1); % pause for demonstrational reasons imshow(img); % update the image This is only happening at the...
matheburg
3

votes
5

answer

Atomic SELECT and UPDATE

If my data looks like this: ID STATUS DATE_ADDED == ========== ========== 1 Processing 2011-04-01 2 New 2011-04-02 3 New 2011-04-03 4 Processing 2011-04-03 5 Done 2011-04-06 6 New 2011-04-06 7 New 2011-04-14 8 Done 2011-04-14 ... ... what's the recommende...
Álvaro González
8

votes
3

answer

Symfony - update multiple records

What is the best way to update multiple records in database using doctrine, symfony2? I receive array of records ids which I have to update. I want to assign to each record its index from received array to column show_order. So if i receive array $array = array(22, 1, 5, 10) then I want to do $i = 0...
Wojciech Kulik
3

votes
2

answer

Clear Data on update

I'm maintaining a long living app on Android, and I've decided to change the data model behind it merging a few SQLite databases into a single new one. The thing is, if I just create the new DB and stop using the old ones, every app user out there will still have the old SQLite files in their local...
Cheborra
8

votes
1

answer

Plugin Update Hook

My plugin needs to fire an init/build/checker function when the plugin is updated via auto updates in the WP dashboard. Is there a WordPress hook that is fired after a plugin has been updated from the wordpress.org repository? I'm not looking for register_activation_hook or register_deactivation_hoo...
Darren Cooney
2

votes
1

answer

Plot update error - JMathPlot

I'm using the JMathPlot library to produce a simple graph, in this case it's a 3D which is updated for every iteration in the for loop. However, the speed in which it loops I'm getting: Exception in thread 'AWT-EventQueue-0' java.lang.NullPointerException and Exception in thread 'AWT-EventQueue-0' j...
ritchie888
1

votes
4

answer

PHP MYSQL Batch update

Can someone tell me why I cannot perform this simple script. The error I get is You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1update page SET RegionId = 1 WHERE (RegionId = -1 or RegionId = -3) and Descri' at...
Ross O'Neill
2

votes
2

answer

MySQL update if exists

I have been trying to do insert / update records in a mysql table. Cannot use ON DUPLICATE KEY because i have nothing to do with the primary key. Basically i have to update a record in the database INSERT INTO table (city, state, gender, value) VALUES ('delhi','delhi','M',22) If a record of that ci...
Aditya Singh
3

votes
2

answer

Java SwingUtilities.invokeLater update TextArea

I have the following classes: MainServer TCPServer UDPServer I create new instances of TCPServer and UDPServer classes (start) from MainServer class, where my GUI is initialized. In this GUI I have a textArea, which either TCP or UDP classes needs to update to display log information (errors, statu...
spicyramen
2

votes
0

answer

Can't update bundler

When running any bundle command, I see Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running 'gem install bundler'. Then I run command gem install bundler, it requires permissions, then I use su...
Headmaster
2

votes
2

answer

Update Null value

This question reflects my issue. How to do this in SQLite? I've tried UPDATE with self-joins, isolating the self join in sub-query, triggers, and something similar to this. Here is an example: UPDATE stage SET title = ( SELECT prior.title FROM stage prior, stage now WHERE prior.rownum+1 = now.r...
Paulb
2

votes
1

answer

How to update child

I have a component that references a child component like this cc: TheChildComponent; @ViewChild('theChildComponent') set details(content: TheChildComponent) { this.cc = content; }; TheChildComponent is a complicated component with several dom elements and an array of data that gets updated async th...
user2175783
25

votes
4

answer

Eclipselink update existing tables

Maybe I got it wrong but i though that JPA was able to update an existing table (model changed adding a column) but is not working in my case. I can see in the logs eclipselink attempting to create it but failing because it already exists. Instead of trying an update to add the column it keeps going...
javydreamercsw
3

votes
3

answer

SQLite Update date SQL

SQLite Newbie I am trying to update a table with a date. Something like this: Update MyTable Set MyCol=GetDate() What is the correct syntax?
BahaiResearch.com
7

votes
1

answer

wxPython: Update wx.ListBox list

I have a wx.ListBox in a python program, and I wan't to change out the list in it on a wx.Timer update. I have the timer working, I just don't know how to change out the list that it displays.
The.Anti.9
3

votes
1

answer

GitHub API update file

I'm trying to update a file via the GitHub API. I've got everything setup, and in the end the actual file is updated, which is a good thing. However, let's say I've got these 2 files in my repo FileToBeUpdated.txt README.md And then I run my program The FileToBeUpdated.txt is updated, like it shoul...
Snake
1

votes
3

answer

Software Auto Update

We are developing a Windows based application in C#. I want to provide auto updates for the software. In fact, once the user run the program it should be able to notify the user that it is going to get the latest version from the server. We have created our setup by using Visual Studio setup creator...
CharithJ
3

votes
1

answer

cassandra insert and update

my cassandra database has a columns called 'createdClientId' and 'updateClientId'. my model class has a fields called id(primary_key), createdClientId and updateClientId. My request is a post request which has a client-id as a header and that client id needs to be value of columns 'createdClientId...
sunny
2

votes
1

answer

SQL UPDATE whilst Iterating

I am a regular VB programmer but new to SQL and struggling with a few things that I need to perform. I am looking for help with an update of specific records in a table as follows. I have a batch of vouchers in a table which are currently unallocated to a customer (these records have the field assig...
user3872350
6

votes
1

answer

hg update error

I am getting the following error when trying to run hg update: abort: Operation not permitted: /var/www/simira/web/public/images/nominations/13/big/4f196667cf5a2.jpg Here is some info: $ cd /var/www/simira/web/public/images/nominations/13/big/ $ ll ./4f196667cf5a2.jpg -rw-rw-r-- 1 martin portadesig...
clime
1

votes
6

answer

INSERT vs. UPDATE [duplicate]

This question already has an answer here: If Exists Update Else Insert with VB.net (sql parameterised query) 3 answers I have the following query: SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings['chestionar'].ConnectionString); SqlCommand cmd = new SqlCommand('INSERT IN...
Rares
2

votes
3

answer

i can't update Xcode

I have a macbook air and I went to the store to install Xcode 7.3 and hit the update App button, and a loading icon appeared but after waiting 30 min time nothing happened. I successfully installed simple recorder from the store but I can't install Xcode. What can i do? What are the options to downl...
Dordor
3

votes
2

answer

Real time page update

I need help, This is what am actually trying to do. I have two files. 'index.php' and 'realtime.php' the index.php displays news from a particular country base on the url parameter 'country_code', and the realtime.php updates the news list every 2 seconds. what I want is for realtime.php to get the...
David Addoteye
2

votes
2

answer

SQLAlchemy bulk update strategies

I am currently writing a web app (Flask) using SQLAlchemy (on GAE, connecting to Google's cloud MySQL) and needing to do bulk updates of a table. In short, a number of calculations are done resulting in a single value needing to be updated on 1000's of objects. At the moment I'm doing it all in a tr...
Matt Hamilton
2

votes
5

answer

Update named range automatically

I've been having a hard time trying to figure this out. I realize this is perhaps more basic than usual for those who follow the GAS tag, however any help much appreciated. If I'm breaking up my bigger task into component parts, my goal right now with this question is to update several named ranges...
Doug Fir
6

votes
2

answer

Sequelize: update in bulk

I'm using Node.js, MySQL and Sequelize. I'd like to insert some 10k rows into a table at once. The table has custom primaryKey field, that is being set manually. The data are downloaded from web and are overlapping. I'd like to have a version of bulkCreate that wouldn't fail if any of the rows in da...
polkovnikov.ph
3

votes
5

answer

update table with laravel

I can`t update my table. Maybe you can see where is problem. Edit works fine. It brings value to the fields. If i erase {{ method_field('PUT') }} it saves values normally, but i need to UPDATE It`s my UPDATE controller public function update(Request $request, Radar $radar) { Radar::update([ 'date' =...
Darius