Search update

60548 results
2

votes
1

answer

Couchdb update handlers

Following: CouchDB Document Update Handlers (in-place updates) and http://wiki.apache.org/couchdb/Document_Update_Handlers I'm trying to create my own function which increment an integer for now, but I'm getting: {'error':'bad_request','reason':'Attachment name can't start with '_''} My design docum...
fjbelchi
4

votes
3

answer

Update data without retrieving

Can NHibernate update some (not all) fields in the table row without retrieving any data? I know Id of the entity.
Sergey Metlov
8

votes
3

answer

MySQL Inner Join Update

I am trying to perform a relational update using an innjer join and can't seem to get the syntax correct. The rows are as follows: Catalogue.Category_ID Catalogue.Visible Categories.Category_ID Categories.Category_Name I am trying to update the value of the visible field when the category ID numbers...
Wesk
2

votes
2

answer

GreenDao update not working

I use GreenDao in my project and it does a good job for mapping my server model to the android device. What I have been struggling with for a while now is that dao.update and/or dao.updateInTx methods are not updating any rows in the database. What I do: /** * The first approach -> All in one runna...
Devdroid
2

votes
1

answer

Magento adminhtml layout update

I'm trying to get a layout in my admin page. If i do a var_dump in my controller (Highor_Plugin_StatisticsController), than i see the dump. This is what i have so far: app/code/local/Highor/Plugin/etc/config.xml 1.0.0 Highor_Plugin_Helper admin Highor_Plugin highorplugin highorplugin.xml app/design/...
user3858520
2

votes
1

answer

JFrame Update problem

Please, help! How can I update my JFrame content(add new JPanel, add button, etc) after some action take place, like press button? Thanks!
JimmyWoodser
2

votes
1

answer

Update previous subject value

Is there a simpler way to get the latest value of a subject, perform some modification and broadcast the changed value? This is how I currently do it: private currentMonthStream: Subject; private goNextMonth() { this.currentMonthStream.first().subscribe((currentMonth) => { this.currentMonthStream.n...
user1696255
2

votes
1

answer

Seekbar progress update

Background: I have one activity, with a Textview and a button. Clicking the button runs SetValue() which opens a dialog that contains a Seekbar, which in turn sets the value for the textview. Here's the code: public void SetValue(View view){ ShowDialog(); } public void ShowDialog() { final AlertDial...
SQLiteNoob
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
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
3

votes
2

answer

Update existing notification

Now that the setLatestEventInfo method is deprecated in the latest Android SDK, is there a way that we're supposed to update the content of an existing notification? I am skeptical that they expect us to create a new notification every time we want to update the notification content. The Notificatio...
czuares
231

votes
10

answer

Update R using RStudio

I am using RStudio with R version 2.15.0, and would like to update to the latest R version. How can this be achieved using RStudio?
AdamNYC
2

votes
1

answer

Java JFrame Graphics Update

I am playing around with graphics in Java using JFrames and am trying to completely understand when Graphics changes actually occur. Let's say I have a timer running every second, and every second the graphics change. The tick method, for example, will run every second... public void tick(Graphics...
2

votes
1

answer

update a gtk.VBox dynamically

I have been using this website pretty often in order to solve small issues that I have while programming in Python. This time, somehow I could not find a suitable solution for my situation. So, here is my problem: I want to dynamically add entries to a gtk.VBox widget. The problem is that it doesn't...
Niko
2

votes
2

answer

Concurrent atomic select-update

How can I, using sqlalchemy, do something like this? user = session.query('select * from user') if user.state == 'active' session.query('update user set state = 'inactive' where id = %d' % user.id) I need the select and update to be one atomic operation. Another program should not be able to select/...
guimobob
3

votes
2

answer

SQL Update Replace statement

I need to write a sql update statement using REPLACE. The string looks like 'SE*88*000000001'. I need to replace the number between the two asterisks '*'. There is no pattern here other then that number to be replaced is always between two asterisks. Is it possible to use wild cards in this situatio...
OBL
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
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
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(...
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
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
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

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
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...
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
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
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
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
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
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
3

answer

WinForms DataGridView - update database

I know this is a basic function of the DataGridView, but for some reason, I just can't get it to work. I just want the DataGridView on my Windows form to submit any changes made to it to the database when the user clicks the 'Save' button. I populate the DataGridView according to a function trigger...
Geo Ego
16

votes
1

answer

Brew update error [closed]

I am using a macbook and have ruby installed on my machine. I wanted to install a ruby gem but wanted to update HomeBrew first. I ran 'brew update' in my home folder and got this error: error: The following untracked working tree files would be overwritten by merge: Library/Formula/vcprompt.rb Pleas...
andy4thehuynh
3

votes
3

answer

update My App Issue

I'm developing a non-public Android app, i.e. the app won't be available in the global Android Market. The app will be installed on a limited number of clients, e.g. by using an apk file.I Have an .apk in SD Card and I am trying to update my application from my application. For that, I'm Using Inten...
Karan Mavadhiya
2

votes
2

answer

mysqli update not working

$sql3 = 'SELECT order_id FROM orders WHERE order_code = '$order_code''; $result3 = $conn->query($sql3) or exit('Error code ({$conn->errno}): {$conn->error}'); $row = mysqli_fetch_assoc($result3); $order_id = $row['order_id']; $deliv_date = date('Y-m-d'); $sql = 'UPDATE orders SET deliv_date =...
Geoff
3

votes
2

answer

Update post terms

The function wp_set_post_terms() works fantastically however I'm looking to add some terms to a post at a later date. I've tried using wp_set_post_terms() and wp_set_object_terms() but they just overwrite what's already there. I thought wp_add_object_terms() was the answer to my question but it has...
ScottMcGready