Search update

60548 results
4

votes
1

answer

Composer Install/Update stopped working

Suddenly my Composer has stopped working. Whenever I run composer update, it doesn't progress after this: Loading composer repositories with package information Updating dependencies (including require-dev) I tried another Laravel project, that project's Composer was working I cleared the cache, and...
nirvair
2

votes
0

answer

Protocol Buffers 3 partial update

I am trying to implement partial update with Protocol Buffers 3 (using Go). The problem is that in some cases it's not possible to distinguish default (empty) values and the same values set on purpose (like a description set to an empty string to clear it). After some digging I found reference to Fi...
mark.sagikazar
4

votes
2

answer

Update column with random value

I have a table: ID | VALUE | DATE 1 | 5 | 2012-10-01 2 | 7 | 2012-10-02 3 | 3 | 2012-10-05 4 | 0 | 2012-05-07 I want to add on the top of the current value with the VALUE random individually BETWEEN 1 AND 5. Let say: ID | VALUE | RANDOM VALUE 1 | 5 | 0 2 | 7 | 2 3 |...
dcpartners
1

votes
2

answer

SQL Tree Leaf Nodes UPDATE

I am trying to update a table that resembles a tree. I want to update a column to determine if each node is a leaf node. The table looks like this: #NodeTable: NodeID | ParentID | IsLeaf -------------------------- 0 | NULL | 0 1 | 0 | 0 3 | 1 | 0 5 | 3 |...
BigShiba
1

votes
3

answer

Oracle update, make ~24000 changes

I want to make a query or some function in Oracle what can update ~24000 rows. For example 1 update query looks like this: update numbers set status = 1 and some_id = 123123 where number_id = 1231; 'some_id' and 'number_id' are different in every query. Problem is doing this one by one is taking too...
Tim
2

votes
1

answer

insert update multiple rows mysql

I need to add multiple records to a mysql database. I tried with multiple queries and its working fine, but not efficient. So I tried it with just one query like below, INSERT INTO data (block, length, width, rows) VALUES ('BlockA', '200', '10', '20'), ('BlockB', '330', '8', '24'), ('BlockC', '430',...
Irawana
13

votes
4

answer

UPDATE syntax in SQLite [closed]

I need to know if I can do this in an UPDATE statement: UPDATE users SET ('field1', 'field2', 'field3') VALUES ('value1', 'value2', 'value3'); Or similar syntax. I'm using SQLite. Note: Nobody understands me, I just want to know if it is possible to SET separate fields to separate values. That's al...
calbertts
3

votes
2

answer

Plugin Error after Wordpress update

My hosting provider automatically updated to 4.5 and it resulted in an error with the Visual Composer plugin. I DID READ THESE POSTS: Plugin throwing TypeError after Wordpress 4.5 update Visual composer doesn't load and gives TypeError: _.template(...).trim is not a function Uncaught TypeError: $tem...
Graham Slick
8

votes
2

answer

git submodule update not functioning

I have a repository with various nested submodules. Committing and pushing works pretty well and the changes are visible at GitHub as expected. In the testing/production environments, new releases of this project are being deployed using these commands: git pull --recurse-submodules git submodule up...
Luís de Sousa
3

votes
1

answer

Extjs Roweditor Click on update

I am new to Extjs,I am working on Extjs3.2 grid RowEditor. I want Once we click on Add Employee Button editor windows pops up and when we click on cancel editor gots close but row get added to the grid .I want if we click on cancel it get back to initial state without new row http://dev.sencha.com/d...
user3106347
69

votes
2

answer

How do I update Homebrew?

When I ran: brew update I got a message saying it initialized an empty repository in /usr/local/.git/, then I got this error:
andrewpthorp
2

votes
1

answer

Update query using cross join

I have a table that's a dictionary of words you might find in a company name, and their synonyms. I want to use this to standardize the names in another table. For example, 'WIDGET COMPANY INCORPORATED' would be standardized to 'WIDGET CO INC'. I thought it would be as simple as the below cross join...
Paul Exter
2

votes
1

answer

slow update script in postgres

I have a text file with 850000 individual update statements, updating a table containing 12 million records. An example of such a query is: update bag.pand set mutatiedatum = to_date('04-03-2013 10:03:48','DD-MM-YYYY HH:MI:SS') where key='0321100000015282_2013022600000000_N_0' ; Where 'key' has a un...
klas2iop
8

votes
1

answer

update/change array value (swift)

Data Model class dataImage { var userId: String var value: Double var photo: UIImage? var croppedPhoto: UIImage? init(userId:String, value: Double, photo: UIImage?, croppedPhoto: UIImage?){ self.userId = userId self.value = value self.photo = photo self.photo = croppedPhoto } } View Controller var p...
Aldo Lazuardi
18

votes
4

answer

Auto update for WinForms application

When creating an auto updating feature for a .NET WinForms application, how does it update the DLLs and not affect the currently running application? Since the application is running during the update process, won't there be a lock on the DLLs (because those DLLs will have to be overwritten during t...
3

votes
1

answer

Pass value in Schema.pre('update')

my update function is User.update({_id: data._id}, {$set: {password: req.body.newpassword}}) .then(data => { res.json(data) }) .catch(err => { res.status(400).json(err); }); and my pre middleware is define as UserSchema.pre('update',function (next) { console.log(this.password) //it shows undefined...
Rupesh
1

votes
1

answer

Update data without form symfony2

I'm sorry if this question kinda newbie but I've try searching about updating data in symfony but look like all tutorials need few normal steps to do this : Manager initialisation $em = $this->getDoctrine()->getManager(); Make Entity with criteria $entity = $em->getRepository('bundle')->find($id); C...
Jun Rikson
2

votes
1

answer

update database from android issue

I did this tutorial. here It has many problem that finaly solved. but still create new item won't work. I checked the .php file by passing arguments to url and it's works correctly. but from android app jsonParser.makeHttpRequest(url_create_product, 'POST', params); result is not successful and suc...
Kenji
2

votes
0

answer

Strange issue since entityframework update

I am working on a Linux .Net application. This is a classical Xamarin .Net console application. This application is working with a mysql database and entityframework. This application was working fine. This morning, i wanted to update dependency packages. I updated the .Net framework version too. He...
Bob5421
2

votes
5

answer

Datetime comparison update two columns

I have a datetime created by SQL Server when a new job is added to the database. 3 hours after the job is added to the database and it is not completed the loglevel and the status of the job with a unique job id should be changed. This is what I have so far. (Without checking the status) use Distrib...
TheRealOne
13

votes
2

answer

Permissions changes requiring manual update

If an application changes its permissions, the Android market will generally mark it for manual update. Is this true if the change is only to remove a permission that was previously required by an app? Or will any change to the permissions mark the app for manual update?
jkschneider
14

votes
2

answer

How to partly update meteor.users.profile?

I have started a min app based on meteor boilerplate with the module accounts-ui. There is a collection created call users one of its elements is profile, this again has an element called 'name' which gets the login name. With in this test app is an option to update a user profile. The data for the...
MBushveld
3

votes
2

answer

Update a table with join?

I am trying to update table A with data from table B. I thought I can do something like this update A set A.DISCOUNT = 3 from INVOICE_ITEMS A join ITEM_PRICE_QUNTITY B on A.ITEM_PRICE_NO = B.ID where A.INVOICE_ID = 33 but getting error SQL Message : -104 Invalid token can anyone help me?
azad
7

votes
2

answer

Update ansible (ubuntu server 14)

I installed ansible in Ubunru server 14 using this tutorial http://docs.ansible.com/ansible/intro_installation.html#latest-releases-via-apt-ubuntu After I checked version of ansible: $ ansible --version ansible 1.5.5 But I need 1.9. How to update it?
Dmitrii Utrobin
14

votes
5

answer

Force MKMapView viewForAnnotation to update

So I have a MKMapView with all my pins added, and the colour of the pin is dependent on whether a value is set for that pin. When I first load the app, viewForAnnotation is called and the colours are set accordingly. However, when I update the pin's details (such as location, title, etc...) I also u...
ingh.am
8

votes
0

answer

Run Django-Viewflow Update node?

I'm using django-viewflow to create a workflow programatically. This is my flow class. class Workflow(Flow): start = ( flow.StartFunction(function1) .Next(this.shipment_create) ) shipment_create = ( flow.Function(function2) .Next(this.request_quotes) ) request_quotes = ( flow.Handler(function3) .Nex...
PythonEnthusiast
0

votes
3

answer

Update Tkinter canvas in mainloop()

I am trying to create a simple Bubble Sort Visualization in Tkinter but I have no idea how to update canvas/refresh. from tkinter import * import random height, width = 350,600 randomLines = [] master = Tk() w = Canvas(master,width=width,height=height) w.pack() def drawRandomLines(): w.delete('all')...
Danial Ahmed
8

votes
4

answer

Widgets gone after app update

After updating my app sometimes all old widgets disappear from home screen. And in app launcher/widget chooser my three widgets appear twice - until reboot! Any suggestions?
almisoft
1

votes
2

answer

Update text content with minified.js

What is the right way to update text of a element with minifiedjs? E.g. Old text I have tried logical: $('.myRef').text('New text'); But it doesn't work.
udalmik
2

votes
2

answer

MYSQL: Update value from Query

I've got a query: SELECT a.id, b.products_id,a.zenid FROM titles a, ANOTHERDATABASE.products_description b WHERE b.products_name = a.title It gives id products_id zenid 57 3193 0 81 2037 0 What i really need is to update zendid with products_id so it becomes: id products_id...
cybertai
232

votes
2

answer

Git pull after forced update

I just squashed some commits with git rebase and did a git push --force (which is evil, I know). Now the other software engineers have a different history and when they do a git pull, Git will merge. Is there a way to fix this, except doing a rm my-repo; git clone [email protected]:my-repo.git? I need...
iblue
3

votes
6

answer

update query on multiple tables

I have a schema like : employees (eno, ename, zip, hdate) customers (cno, cnmae, street, zip, phone) zipcodes (zip, city) where zip is pk in zipcodes and fk in other tables. I have to write an update query which updates all the occurence of zipcode 4994 to 1234 throughout the database. upda...
jon
2

votes
2

answer

Update nested array in this.setState

I asked this question yesterday but upon reading it I noticed I worded it poorly, allow me to rephrase. What I'm trying to achieve is have one initial group (an array) and allow a user to create more groups (add arrays). And with each group they can upload images. And for each uploaded image I want...
Ryne
2

votes
1

answer

Update/Upgrade PHP MongoDB driver

Im currently running Php MongoDb version 1.2.10 and I'm wanting to update this version to the most recent/stable. How would one go about doing this? Im assuming it would be via terminal and using pear or pecl command? Any Help or advice is greatly appreciated :) Update : I did the following within...
HireLee
3

votes
1

answer

pygtk treeview contents update/refresh

I finally managed to write a little app that reads from a sqlite database and show the results to a treeview. Another form (in another module) gives the ability to write new or update existing records. After writing to the database it closes the window What I'm trying to do now is to update the 'mai...
Filippos
5

votes
1

answer

How to update dapp contract

How can I update the smartcontracts of my Truffle dapp which are deployed in the Ethereum blockchain?
arodriguezdonaire
13

votes
2

answer

Save vs update in laravel

What is the difference between save() and update() method in Laravel. I have used save() method in case of update query but in few cases it acts as update and in few case it act as insert query function. Please let me know what exactly the difference between them.
Pardeep Pathania
3

votes
2

answer

Dynamic Update Query in Oracle

I'm trying to create a standard UPDATE query for a table. However, if certain criteria are met, some columns should be included/excluded from the UPDATE statement. For example: UPDATE TBL_PROJECT SET REVISION_COUNT = V_REVISION_COUNT ,PRIMARY_BRANCH = IN_PRIMARY_BRANCH ,PROJECT_STATUS = IN_PROJECT_...
Matt McCormick
2

votes
2

answer

DB2 Update with join queries

I am using DB2 for performing the below update operation. update DATA set B_DESC=P_DESC, P_DESC=null where B_DESC= *, P_DESC=* (Select B_DESC,P_DESC from C_DATA) The below is actually possible but since complex joins are involved in that sub query it is not advisable to use like below update DATA...
rozar
47

votes
5

answer

Maven update dependencies in POM

Are there any preexisting Maven plugins or commands to update the dependencies in the POM? Example: (if this was in my POM) commons-lang commons-lang 2.3 Is there a command or plugin I can run to get it to update the dependency to: commons-lang commons-lang 2.4
javamonkey79