Search update

60548 results
2

votes
3

answer

Meteor: Subscribed Colletion doesn't update automatically (Reactivity)

I'm facing the problem that adding data to a subscribed Collection doesn't automatically refresh the shown elements of a collection. If I add a new element the element show's up for a second and then disappears! Refreshing the browser (F5) and the new element shows up. I put the subscription into Me...
kerosene
3

votes
1

answer

NuGet.exe command-line update to specific version

The NuGet Update-Package PowerShell command which can be run from inside Visual Studio has supported for a -Version flag which allows updating to a specific version of a package. It is a big limitation for our build server workflow that the nuget.exe update command doesn't support this scenario, and...
Riko
2

votes
3

answer

How can I update my object dynamically?

In this simple script, I try to change the value of the string contained in a.person. Why does it not update the object.property's value? function searchObject(object, value) { object = value; } var a = { person: 'Ian' }; searchObject(a.person, 'James'); document.write(a.person); I thought t...
God is good
2

votes
1

answer

Update list of n UI values

I'm looking for a way to update an arbitrary number of UI.inputs based on a valueChange in any of the inputs. Here is a toy example with just two inputs: import qualified Graphics.UI.Threepenny as UI import Graphics.UI.Threepenny.Core import Graphics.UI.Threepenny.JQuery main :: IO () main = do sta...
user3474009
29

votes
3

answer

Error when trying to brew update

error: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. brew works fine, he only show this error when...
Screed
2

votes
3

answer

Update file path based on cell value

I'm trying to copy and paste a formula into a certain range of cells. The formula I have (shown below) needs to update based on the contents of cells from a source workbook. Some context, the excel file where the macro below resides is opened by a macro from the source workbook (where the source cel...
3

votes
3

answer

PHP MySQL UPDATE statement not working

I have a MySQL database with a table (opendpu) that has multiple columns including columns titled 'ECRNUM' and 'PE_REQUIRED'. I'm simply trying to test this update statement by specifying some values. I get this error: Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; che...
bagofmilk
1

votes
1

answer

Rails ActiveRecord update nested attributes in place

In rails, using update_attributes on a model will create nested models based on association_attributes. Is there an idiomatic way to make it UPDATE the nested models in place? For example: Message.rb: attr_accessible :recipient_attributes has_one :recipient accepts_nested_attributes_for :recipient R...
Sherwin Yu
5

votes
0

answer

iCloud query with NSMetadataQueryUbiquitousDocumentsScope fails to update

I've got a working setup between two apps (one iOS, the other Mac) where they both place files in the ubiquity container and both monitor that container using NSMetadataQuery. In most cases, the queries update almost immediately after a file is setUbiquitous:YES in the directory. However, in relati...
SG1
5

votes
3

answer

Trigger update on DataTable bound to DataGridView

In my .NET/Forms app I have a DataGridView which is bound to a DataTable. The user selects a row of the DataGridView by double-clicking and does some interaction with the app. After that the content of the row is updated programmatically. When the user selects a new row the changes on the previous o...
2

votes
2

answer

Simulating an update in iPhone SDK?

I have created an app, and then later changed the core data model. I changed the model and this all works fine during development. However to my surprise, when users download the updated version (with the new core data model), the app keeps the old model from the previous version. This causes the ap...
Jameson
2

votes
2

answer

How to update with Inner Join

How do I perform an Inner join as I want to retrieve information from another table called Medication with the attribute Description instead of Location description. How do I go about doing this? public static void UpdateLocationDescription( int locationID, string description, SqlConnection connecti...
Mark
1

votes
1

answer

T-SQL update an increasing value

I have a table with many columns, one column is called 'aID' and currently has no value. I want to add an increasing value here, from 1 to the amount of rows in table. UPDATE [xx].[dbo].[UserValues] SET aID = ?? Where aID is null How can i do this?
Lord Vermillion
1

votes
1

answer

Update MYSQL with PHP, deletes value instead

So, I have the following problem: I have a table which I fill with the data from my MySQL database and then display on a site. I want to make it so you can change e.g. the description afterwards. Instead what I get right now is that I empty the value. I can't see where my code goes wrong, so I'd app...
Ozymandias
3

votes
2

answer

composer self-update fails on OSX

On an OSX System, there is XAMPP installed, with PHP 5.6.3. composer self-update and composer update fail with the message: [Composer\Downloader\TransportException] The 'https://getcomposer.org/version'; file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages: error:...
Artisan72
3

votes
1

answer

Jenkins Update xcode app version to Hockeyapp

I'm developing a CI (Continuous Integration) for my application. So, I'm using Jenkins with HockeyApp (equal to TestFlyApp). The problem is that HopckeyApp only accepts new versions of an application if it different versions from the last one added, else it gives me an error of already existing vers...
DaSilva
3

votes
0

answer

Not able to update variable in Pyspark

I am trying to update a variable in pyspark and want to use the same in another method. I am using @property in class, when i tested it in python it is working as expected but when i am trying to implement it in pyspark it is not updating the variable. Please help me find out what i am doing wrong....
Ironman
2

votes
2

answer

Android widget update after x time

I just started to learn Android, I'm trying to write a widget which is updating the counter in every seconds, but somewhere it's missing something.I'm getting 1 on the screen. I'm using Android 4 emulator. package com.ibluekey; import java.text.DateFormat; import java.text.SimpleDateFormat; import j...
Kicsi Mano
2

votes
1

answer

Update Embedded document in mongodb using C#

Suppose you have the next class. It contains the systems in which the agent has worked public class AgentHistory { public ObjectId Id { get; set; } public Guid SystemId { get; set; } public Guid CampaignId { get; set; } public List Agents { get; set; } } Now when I get a new agent I do the next thin...
Yurii Hohan
6

votes
3

answer

Unable to update cookies in asp.net mvc

I can write and read cookies but I can't change value for existing cookie it always has first set value. I found few ways how it can be implemented but no one works. Here is my code: private void AddPost(string key) { var context = System.Web.HttpContext.Current; var request = context.Request; var r...
mykhailovskyi
14

votes
3

answer

update parameters in URL with history.pushState()

I am using history.pushState to append few params to current page URL after making an AJAX call on my page. Now on same page based on user action, I want to update the page URL again with same or additional set of params. So my code looks like this: var pageUrl = window.location.href + '?' + querySt...
Kush
3

votes
3

answer

Django - bulk update arrayfield rows postgres

How do I update multiple rows I've a model, class ModelA(models.Model): colA = ArrayField(models.IntegerField()) I want to update all the rows of ModelA, ie for eg:- I want to append 1 in all the rows of column colA. Had it been a normal column, I would have done the following :- ModelA.objects.all...
PythonEnthusiast
2

votes
1

answer

Apache FOP as servlet doesn't update images

I have Apache FOP 1.0 built as a servlet, running in Tomcat 5.5 on Linux CentOS 5.7-64bit. If I build a document with an image, this document is rendered OK. Then I update the image, and do another rendering. The rendered document has still the old image. I've verified that the PDF is rebuilt from s...
AndrewQ
8

votes
3

answer

SQL How to Update only first Row

I'm working with PostgreSQL. I have table with some elements. In last column there is 'Y' or 'N' letter. I need command which Select only first that match (I mean where last column is 'N') and change it on 'Y'. My idea: UPDATE Table SET Checked='Y' WHERE (SELECT Checked FROM Table WHERE Checked='N'...
Lorn
17

votes
2

answer
3

votes
2

answer

Removing files using update installer MSP

I am in the process of attepting to build an Microsoft installer update (MSP) where I would like to have the update installer remove files from the original installation. I have succceessfully created a new msi, which when viewed in Orca.exe, I can see the RemoveFile table has the correct entry inc...
user778444
2

votes
1

answer

Update JS object based on local storeage

I'm trying to create a setup object with all app URL's in it but some of the URL values are dynamic and stored in the local storage. My question is how do I update a setup object based on latest local storage? HTML: Addon 1 Addon 2 Addon 3 Javascript: window.localStorage.setItem('TmpAdd','default');...
user3113040
2

votes
3

answer

SQL statement - update on two tables

I am a newbie to SQL. please help with this. I have the below SQL which updates a table for company ticker = SUN from another table that has many records for ticker 'SUN' and I need to use only one record matching 'Float' the below works if I state 'SUN', however, I want to do this for 4000+ ticker...
Akhit
5

votes
3

answer

MySQLi prepared update statement in PHP

How do you write a prepared update statement? Reference:mysqli::prepare I've tried writing it as described: if ($stmt = $mysqli->prepare('UPDATE tblFacilityHrs SET title =? description = ? WHERE uid = ?')){ $stmt->bind_param('sss', $title, $desc, $uid2); //Get params $title=$_POST['title']; $desc=$...
에이바
4

votes
4

answer

C# applicationSettings: how to update app.config?

I am using .NET 4.0 and I would like to use the app.config file to store same parameter settings. I do the following. I use the Settings tab in the project properties to create my parameters. This add the information in the app.config file like this: True In my view model (in my code) I can access...
Álvaro García
1

votes
3

answer

Update only date without modifying time

I have data in my database table as last_updated_product 01/Jan/1899 6:25:01 AM 01/Jan/1899 6:25:02 AM How can I update only the date part with sysdate without modifying the time part? Expected outout 21/Aug/2013 6:25:01 AM 21/Aug/2013 6:25:02 AM last_updated_product column data type is defined a...
Jakob
3

votes
1

answer

Android support library rev.47 update failure

Whenever i was trying to update my Support library from Android SDK manager to revision 47, I am getting error. Download failed every-time. I can not update my Android support library revision to 47. Any help appreciated.
Samir Bhatt
2

votes
2

answer

Mongoose find many and update all

I am using Mongoose and have a requirement to update many documents based on some calculations. This is easy if I am querying one by one, but if I have say 50 items, I don't want to query and update one by one What I am doing is curating a query to pull back multiple documents so I can loop through...
MichaelMcCabe
2

votes
2

answer

Closure Compiler update string property name references

Lets say we have a poll of objects with a function of objects something like below and I want to call each fn using something like _.invoke. We can do this easily before gcc advanced minimization via _.invoke(pool, 'fn'), no problem. However, after minifcation fn may be c or some other property name...
megawac
2

votes
3

answer

Angular4, update component on route change

How to update component when route changes. I have this component : import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { ListService } from '../list/list.service'; @Component({ selector: 'view', template: ` Select row {{entity}}! {{entity.id}}...
Viszman
2

votes
2

answer

update computed column in nhibernate code first

I'm using nhibernate code first And I have a computed column. [DatabaseGenerated(DatabaseGeneratedOption.Computed)] public virtual bool? IsInternal { get; set; } when I'm trying update my object, I received an error: The column 'IsInternal' cannot be modified because it is either a computed column...
Fereshteh Rabet
2

votes
0

answer

Alarm in javascript/Jquery to update database

I'm trying to create an Alarm where I have to detect when a product starts and when ends. It is possible to have a general alarm? I mean I won't be always on the same webpage... I mean I'd like to start the alarm on localhost:8080/createProduct, and if I'm in localhost:8080/products if the alarm fir...
StuartDTO
4

votes
2

answer

Update a subset of weights in TensorFlow

Does anyone know how to update a subset (i.e. only some indices) of the weights that are used in the forward propagation? My guess is that I might be able to do that after applying compute_gradients as follows: optimizer = tf.train.GradientDescentOptimizer(learning_rate=learning_rate) grads_vars = o...
Luca
4

votes
4

answer

Update spring beans dynamically. Is it possible?

Is there a way to update a Spring bean dynamically if the spring beans configuration changes? E.g. assume that I have a spring bean with boolean property x and the spring beans has the value true when the application starts. So spring creates the bean with the property x set to true. Is there...
Jim
2

votes
2

answer

How to update specific row in MYSQL

I have a table, where I store user uploaded files. There can be 5 different file types: profile picture, cpr file, degree file, video file, background check file. Table structure is this: file_id, user_id, file_type, file_size, file_name, file_new_name, file_path, file_cat, date_created My question...
raqulka