Search update

60548 results
1

votes
1

answer

Update Ajax url after retrywhen

In retrywhen, i able to re-execute http request upon failure just like example at RxJs Observables: run retryWhen after some more async requests. I would like ajax(..) to re-input new option once it fails. Let say I would like to change header or url after first time http request fail. Any example?
cometta
1

votes
2

answer

.bat to stop windows Update

I have gotten tired of searching how to stop Windows Updates from running permanently in Windows 10 since every after a restart it runs again. It came to my mind that maybe I could make a .bat file that could stop the windows update in the services so that I could just click it every time I turn on...
Angelo Adrian
1

votes
1

answer

insert or update in ptr_map

The insert method of ptr_map does not update data if a key exists. So we need to use replace: boost ptr_map replacing the value Does ptr_map have a way of insertOrUpdate? 1) if a key does not exist, calls insert 2) if it exists, call replace I guess this is how std::map insert works. ptr_map has a...
Joe C
1

votes
2

answer

update specific field in meteor

I want to update only the name field, the problem with the code I have is that if I update a document, all the mongo documents are updated. As I update a document in specific, I must admit that I am new to this mongo so any help I thank you. Client updatename.html save updatename.js Template.updaten...
sheila.ar
1

votes
1

answer

Xamarin change or update ListView

I need a serious method that can really update my Xamarin ListView Properties.Every posts are telling ObservableCollection and that works nothing but only Remove. By referred to code:How to change the Button text immediately after I turn on the Switch?( Inside aa_Toggled() ) DemoLists.XAML.CS public...
1

votes
1

answer

Flutter does not update subwidget

I have a widget, which contains a subwidget. It get the last and new value in the build method like this: children: [ AspectRatio( aspectRatio: 1.0, child: Container( padding: const EdgeInsets.all(16.0), child: CircleWidget(_lastWindSpeed/10, _speed/10), )) ], ), The state will be updatet with setS...
auryn31
1

votes
1

answer

Eclipse Maven update throwing SunCertPathBuilderException

In our organization we use internal Artifactory server as maven repository. I have setup the Maven settings accordingly. Problem is when I do Maven > Update from Eclipse below error is thrown - Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from https://.../artifactory/p...
Saikat
1

votes
1

answer

Update item of json array

I have a json array [{ 'sku': '5221', 'qty': 1, 'price': 17.5, 'desc': '5395 - Replenish Natural Hydrating Lotion 3.5oz' }, { 'sku': '11004', 'qty': 1, 'price': 30.95, 'desc': '150 - Q-Plus 16oz' }] i am getting this array inside $item php variable and decoding that array $jsonDecode = json_decode($...
Karan Adhikari
1

votes
2

answer

Update component's instance props / style

I know this kind of manipulations might be unrecommended but in my situation I cannot find any other solution. I have a reference to component instance and I want to reach its parent, update style and re-render. If you think this is crazy I'll describe the problem. I am using section list with stick...
MSadura
0

votes
0

answer

django rest framework update user

I'm working on django application with django rest framework. I create a User API with model extending AbstractUser and it's serializers and ModelViewSet to create a CRUD. Everything works fine except for update. If I try to update directly I lose the password encrypt, but If I try to surround updat...
Matheus Hernandes
1

votes
1

answer

dictionary update sequence element error

I have several dictionary files, I want this code to open each file and add it to a set, for later comparison and matching. Basically I have a different list of all permutations of all possible characters and I need to know if permutation is in dictionary. But when I try to make a set with all dicti...
Notgivinit
1

votes
1

answer

Pod repo update doesn't work

[!] CocoaPods was not able to update the master repo. If this is an unexpected issue and persists you can inspect it running pod repo update --verbose Re-installing cocoapods doesn't fix the issue.. Verbose output: /Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/coco...
1

votes
2

answer

Panel update in PrimeFaces [duplicate]

This question already has an answer here: Ajax update/render does not work on a component which has rendered attribute 1 answer I'm having a issue in PrimeFaces panel update. I have one main panel which contains two output panel. Each output panel may contains one button which is swap panel. The sw...
Ahamed Nafeel
1

votes
2

answer

Update Hystrix configuraitons at runtime

I'm using Hystrix in a Spring Cloud application with commands defined like @HystrixCommand(groupKey = 'GroupKey', commandKey = 'dummy', threadPoolProperties = { @HystrixProperty(name = 'coreSize', value = '10') }) public Observable dummy() { return new ObservableResult() { @Override public String in...
DagR
1

votes
1

answer

@ManyToMany Hibernate only update JoinTable

I have below entities and @ManyToMany mapping between the two. @Entity @Table(name = 'user') public class User implements java.io.Serializable { /** * */ private static final long serialVersionUID = 5340562707217344212L; @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long userI...
Atul
1

votes
3

answer

Update Postgresql table using rank()

I'm trying to update a column (pop_1_rank) in a postgresql table with the results from a rank() like so: UPDATE database_final_form_merge SET pop_1_rank = r.rnk FROM ( SELECT pop_1, RANK() OVER ( ORDER BY pop_1 DESC) FROM database_final_form_merge WHERE territory_name != 'north' AS rnk)r The SE...
jonmrich
1

votes
2

answer

Laravel 5 - Save or update

I want to store a list of departments in my database. I do not create the departments in my system, I obtain them from Active Directory. In the view for departments, I display all the departments. I also have a button to update departments in the database. This function at the moment looks like t...
kate_hudson
1

votes
1

answer

Update bean property at runtime

I have a bean that holds some configuration: public class CustomerService{ private Config config; @Required public void setConfig(Config config){ this.config = config; } } public Config { private String login; private String password; //setters/getters } app-context.xml: and the config values are ob...
romanvintonyak
1

votes
1

answer

update variables for next tick

I'm trying to model a battery storage in netlogo. I need to pass the battery remaining electricity calculate from one tick to next tick as the initial value until the simulation ends. I try to use method suggested by Arthur (NETLOGO: Using variable from previous tick) but it didn't work. Is there a...
杨子江
1

votes
2

answer

Update record with previous row

I have a situation where I need to update the records with previous row value. Source: |MatId | BaseId |Flag|Pkg1| CS1 -------------------------------- |3001 | 3001 | 1 | 20 | 2 | |3002 | 3001 | 0 | 15 | 3 | |3003 | 3001 | 0 | 10 | 4 | Here both 3001 (MatID) and 3001(BaseID) are same so...
Arun.K
1

votes
1

answer

Update joined query with TClientDataset

I have a SQL Server DB with these tables: CREATE TABLE [dbo].[Table_1]( [key1] [nchar](50) NOT NULL, [key2] [nchar](50) NOT NULL, [data1] [nchar](10) NULL, [data2] [nchar](10) NULL ) ON [PRIMARY] CREATE TABLE [dbo].[Table_2]( [key1] [nchar](50) NOT NULL, [key2] [nchar](50) NOT NULL, [data3] [nchar](...
wades
0

votes
0

answer

Atomic update Mutation using Prisma

What would be the best way to atomically update a node using its an existing value (get-and-update)? Seems like the update node Mutation does not have an option of receiving an update-if-exists function. Locking the object with a write lock, getting the value, updating it and releasing the lock migh...
Barak Yaari
0

votes
0

answer

Disable notification when update application

I used firebase cloud message to send notification to my application. I don't open it and install apk new update version, my notification disappear. Can you explain for me why it happen?
ann
1

votes
1

answer

Update values in Line chart

I have very simple example of Line chart. public class MainApp extends Application { XYChart.Series series = new XYChart.Series(); @Override public void start(Stage stage) { setUserAgentStylesheet(STYLESHEET_CASPIAN); stage.setTitle('Line Chart Sample'); final CategoryAxis xAxis = new CategoryAxis()...
Peter Penzov
1

votes
2

answer

SQL Server 2008 Update Trigger

I need to create an update trigger on a table that it also updates the table if certain inserted values are present. Is this possible? I have tried and when the inserted value is present and fires the trigger the trigger does an update and fires itself again. Eventually - deadlock. Is there a way to...
Jim Evans
1

votes
2

answer

User Update Page In Meteor

Im trying to implement an user update page in my Meteor app. My router.js: Router.route('/company/:_id/update/', { name: 'CompanyUpdate', data: function() { return Meteor.users.findOne(this.params._id);} }); The URL I use is (ignore the polymer tags): When that URL is clicked, I get: http://localhos...
Sylar
1

votes
2

answer

Gedmo Timestampable (on update create)

i have a strange problem with the DoctrineExtensions Bundle. I finish the installation and im getting no errors. But my 'update' and 'create' Event not working. Entity: Use Gedmo\Mapping\Annotation as Gedmo; use Doctrine\ORM\Mapping as ORM; /** * Price * * @ORM\Table() * @ORM\Entity(repositoryClass=...
psiess
1

votes
2

answer

Update count after returning result

I was looking for a way to update the count for the database after finding the result of a product but it keeps returning an error and/or not updating the count. I found ways to update the counts out right but not after finding a result. If i'm blind please redirect me. My apologies if I overlooked...
rmushero
1

votes
3

answer

update query date function [duplicate]

This question already has an answer here: How can I truncate a datetime in SQL Server? 13 answers I create update query for one table. I need created date from the old database. But I don't know how to do it? My query is, select 'update organizations set createddate='+CAST(RegisteredDate as varchar...
PoliDev
1

votes
1

answer

Unable to update mongolab data

I'm using angularjs, combined with mongolab, to create a basic application. Here is my code The problem is, i tried to update the date (when i click on 'editer'),but when i submit the form, got this error : TypeError: Object # has no method 'update' The update method is defined, so i don't understan...
user
1

votes
2

answer

MySQL Update by Row number

I need to update rows by their number(not AI ID, cause some of the rows may will be removed). How can I do this? I mean something like this: UPDATE cars SET idx = value WHERE row_number = i I would do this in a 'for' statement, and i is the integer of my statement. So I would update every row in the...
Adam Schauer
1

votes
2

answer

Simulating Update() call on MonoBehaviour

How can I call Update() or Start() or any other MonoBehaviour method directly? I disabled most of my MonoBehaviour auto Update() calls by setting enabled = false; on each of them, because I need to time Update() at a very specific time for those scripts. I am thinking about doing it like this: List...
Krucho
1

votes
3

answer

Update/Create object properties dynamically

I'm creating a feature that provides a get() and set() function to read and update values from a JavaScript object. The trick is that I'm using a dot notated string to specify the properties. I've got the get() working fine, it's the set() that I'm having troubles with. Sample data: var data = { per...
Eric Martin
1

votes
3

answer

Update and show mysql query

UPDATE myTable SET niceColumn=1 WHERE someVal=1; SELECT * FROM myTable WHERE someVal=1; Is there a way to combine these two queries into one? I mean can I run an update query and it shows the rows it updates. Because here I use 'where id=1' filtering twice, I don't want this. Also I think if someVal...
denizeren
1

votes
1

answer

Chrome extension won't auto update

I created a chrome extension and I released an update few days ago. As far as I know, when the user re-opening the browser or restarting his pc, chrome should auto update the extensions automatically. However, I noticed that for some of my users, even when they restarted their pc, they still on an o...
morha13
1

votes
1

answer

NServiceBus message handling Create/Update

We have a message, 'Person'. All works fine with UPDATE with a PersonHandler. However now we need to add a new Person. (Previously, add new Person was done through a CRM system so we don't have to worry about insertion). Now we need to move that functionality to our new NSB system. Once a Person is...
JenonD
1

votes
1

answer

How to partially update properly?

I'm trying to partially update an instance with partial=True, but no matter which of the attribute is missing I'd get an error saying This field cannot be blank.. I thought partial=True enables partial updating. Am I missing something here? class MySerializer(serializers.ModelSerializer): class Meta...
Kar
1

votes
4

answer

Update background automatically in UITableView

I am making an iOS app and It is based on a UITableView. I set the background so that when there is no TableViewCell, the background is a custom background. And when there are TableViewCells, the app changes the background to the color. The problem is, the app has to be force-quit and restarted for...
1

votes
2

answer

PHP MongoDb update $in array

From the MongoDB command line I can do db.user.update({userid: {$in: [435707147,88513850,466518582]}},{$unset: {f1 : 1}}) Which will remove the variable f1 from all user objects in the DB. How would you translate that to PHP syntax? I the following runs with no error, but no changes are made to th...
Lloyd
1

votes
3

answer

Update function dialog jquery php

Im using fullcalendar. And when i click on an event it opens a dialog where i see the current event title/description/startdate/enddate. I have an update edit button so when i change one of the variables it wil change the variable in the database. But that doesnt work somehow. agenda_view.php:
Rene