Search update

60548 results
2

votes
4

answer

SoundCloud - Update Cover / Artwork Image

We use the SoundCloud API to upload tracks with PHP. This is all working perfectly, but we would like to be able to update the track cover artwork with the SoundCloud API. We already upload the cover art when we initially upload the track, but when we try and modify it after the initial upload, it d...
BT643
2

votes
0

answer

Webforms: Update RadioButtonList within UpdatePanel

I'am trying to make a web page with one Question and Answers under it. The Question is an and the answers are a RadioButtonList. I want to change the question and the answers with other question and answers using ajax(in UpdatePanel) after a submit button is clicked. Here is my html: My ScriptManag...
Martin Atanasov
3

votes
2

answer

SQL chunk update with JOIN

I have a 2 tables in my DB, one contain data about clients (called Clients), the other table contains clientID, Guid, AddedTime and IsValid (called ClientsToUpdate). ClientID is related to the clients table, Guid is a unique identifier, AddedTime is the time when the record was added to the table, a...
m0fo
3

votes
1

answer

using NEWSEQUENTIALID() with UPDATE Trigger

I am adding a new GUID/Uniqueidentifier column to my table. ALTER TABLE table_name ADD VersionNumber UNIQUEIDENTIFIER UNIQUE NOT NULL DEFAULT NEWSEQUENTIALID() GO And when ever a record is updated in the table, I would want to update this column 'VersionNumber'. So I create a new trigger CREATE TRIG...
ram
4

votes
1

answer

Mongoose nested document update failing?

If I have a nested document, how can I update a field in that nested document in Mongoose? I carefully researched this problem using everything available I could find, and even changed my test code to match a similar answered question about this here on Stackoverflow, but I am still unable to figure...
DavidJE
7

votes
1

answer

Keeping SQLite data after update

I have an app that has an sqlite with 3 tables. My concern is that, if I introduce an update that adds another table (so that's 4 tables) then the updated version will wipe out the database. How can I backup/restore db given that the backup happens before the update and the restore after the update?...
Snake
1

votes
2

answer

mysql syntax to update record

What is the mysql query syntax to update an existing record
lock
2

votes
3

answer

Oracle, how update statement works

Question 1 Can anyone tell me if there is any difference between following 2 update statements: UPDATE TABA SET COL1 = '123', COL2 = '456' WHERE TABA.PK = 1 UPDATE TABA SET COL1 = '123' WHERE TABA.PK = 1 where the original value of COL2 = '456' how does this affect the UNDO? Question 2 What about if...
Eatdoku
2

votes
1

answer

How to update reducer store

I have store like this export const list = [ { id: 0, tableName: 'example', tasks: [ { task_id: 0, task_short: 'lorem', task_full: 'lorem ipsum lorem ipsum lorem ipsum', time_created: '10:20', time_created: null, }, { task_id: 1, task_short: 'andsf', task_full: 'lorem ipsum tes tes est', time_cre...
Anton
8

votes
2

answer

Laravel Composer Won't Update/Install

I recently changed 2 lines in a view and pushed the code to github. When I deployed on Laravel Forge (After about 2 weeks of no updates) & I got the following error: 'error':{ 'type':'ErrorException', 'message':'Declaration of Illuminate\\View\\Engines\\CompilerEngine::handleViewException() should b...
MCG
2

votes
1

answer

How to update a set?

Seems like using update should be pretty straight forward, and I think that I'm using it correctly, so it must be an error dealing with types or something else. But anyway, here's the sit: I'm doing coursework for a Coursera course (needless to say, answers minimizes or occluding code most helpful!)...
goldisfine
3

votes
4

answer

Update progressbar from worker thread

I'm building a java program that downloads N elements from a server. I'd like to have a working progress bar, that shows 'already downloaded elements'/N percentage. Right now, I update progressbar value by passing to the thread a reference to the GUI object, but it makes the code 'ugly' ( GUI class...
kaharas
2

votes
1

answer

How to update HttpEntity content?

I have a HttpServletResponse. I'd like to get the content of its entity, change it and then send the response. Getting the content and changing it is simple : response.getEntity().getContent() But writing back the modifications into the entity, ... I don't see how I can do it. Do you have any sugges...
yo_haha
2

votes
2

answer

C# Databound ComboBox Automatic Update

I have a combobox bound to a database table. When the user inserts a new piece of data into the table, I want the combobox to be automatically updated to display this data, however I am unsure of how I would go about doing this. Help would be greatly appreciated.
Goober
2

votes
1

answer

Access Update Query Crashes Program

I've recently moved a db built in Access 2010 to Access 2013. It was working fine for a while then it suddenly started crashing (i.e. not responding) whenever a certain table is updated using VBA. I can run the query on its own without any problem but can't call it in VBA. Below is an example of the...
JP3000
2

votes
1

answer

Android update UI from Handler

I know, there are tons of question like this at stackoverflow, and other places on the net, but after i've read a lot of them, and the official android handler documentation, i really do not understand how is it works. The concept of the game is, players should guess out a number. What i want to do?...
vaso123
14

votes
2

answer

update packages installed from github

I'm using more and more dev packages installed from github. I find myself wondering if there is an easy way to update these packages? Essentially looking for something like update.packages() equivalent for install_github() (or indeed any other repo than CRAN). Similar question for R-forge has some...
carnust
6

votes
3

answer

Update Automation in SQL-Server

I am doing a project called 'Attendance Management System' The company has its own biometric finger scanner who checks for employee's attendance and stored in on a database table. The table consist of 4 fields (ID autonumber, EmployeeNo, CheckTime and CheckType) The Timekeeping system store all the...
Dhenn
14

votes
3

answer

Maven Force Update Snapshot Dependencies

Here is the result of mvn -version: Apache Maven 3.0.4 (r1232337; 2012-01-17 00:44:56-0800) Maven home: /usr/share/maven Java version: 1.7.0_67, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 O...
dgorur
6

votes
4

answer

XCode won't update app icon.

I am having trouble making XCode update my iPad app icon. I'm building it using Phonegap/Cordova, but the app icon is built / managed through XCode. I built the app on my device for testing and it came across with the default Cordova icon, I then added in my own icon into the project by placing them...
sam
5

votes
0

answer

hangs on git submodule update

installing pupy on kali 2016.2 following by official readme.md clone pupy from https://github.com/n1nj4sec/pupy.git git clone https://github.com/n1nj4sec/pupy.git change directory cd pupy and then: git submodule init when updating submodule git submodule update it hangs on Cloning into '/root/pupy...
Praveen Yadav
2

votes
0

answer

Python/MySQL batch UPDATE optimisation

I'm currently trying to determine the best means of performing a bulk UPDATE into a MySQL DB, in terms of speed. Unfortunately, each row needs a separate update and I'm basing it off the ID (auto-incremented) of the table. Hence the need for one UPDATE statement per row. The table itself is around 1...
2

votes
3

answer

Update site bindings in applicationHost.config

I am trying to add a list of site bindings to the applicationHost.config file as opposed to manually adding each one through IIS 7.5. The reason for doing this is i have 2000 bindings to add, which would be a lot easier to do if i could edit the config file directly. When editing the config file how...
Leo
4

votes
2

answer

Get field value before update

Is there a way to get value before and update query in update query itself? For example: UPDATE t SET field1 = 'new', field2 = IF (field2 = field1, 'new', field2)) In 'field2 = field1' I want to check the previous value of field. Mysql works in a such way that it updates field1 and then will make co...
alex347
2

votes
1

answer

Rock, Paper, Scissors Update [Error]

So last week I had to create a game of Rock, Paper, Scissors through Java. I had a few issues which I was able to clarify here. Unfortunately I'm in another jam. So, I am trying to add a feature to be able to play the computer rather than just PvP. I created an array and instructed the program to ra...
Lego91
2

votes
0

answer

Deploy/Update WebExtension Firefox/Chrome

I have an extension that do the same on Firefox and Chrome that I would like to deploy / be able to update in Enterprise environment for Firefox and Chrome. I am not wanting to use the stores and I could not find informations on how I would be able to deploy/update this extension on 200+ computers w...
Stan
17

votes
5

answer

Bulk Record Update with SQL

I have two tables in a SQL Server 2008 environment with the following structure Table1 - ID - DescriptionID - Description Table2 - ID - Description Table1.DescriptionID maps to Table2.ID. However, I do not need it any more. I would like to do a bulk update to set the Description property of Table1 t...
user208662
3

votes
2

answer

Update last item in array

how can I target a last item in array on an instance of that schema: let TrackerSchema = new Schema({ status: String, start_date: { type: Date, default: Date.now }, end_date: { type: Date }, companyId: { type: mongoose.Schema.Types.ObjectId, ref: 'Company' }, userId: { type: mongoose.Schema.Types.Ob...
Felix
2

votes
1

answer

How to update tray icon

In Electron, it is possible to create a tray icon by using new Tray(image), for example: let iconPath = path.join(__dirname, 'icon.png'); appIcon = new Tray(iconPath); As stated in the documentation: .. Creates a new tray icon associated with the image. .. Is it possible to replace the current Tray...
samdd
3

votes
3

answer

update image after ajax call

I have some problems. On click I rotate image with ajax and save new image. Everything is without page refresh. And problem is that old image won't refresh and put new refreshed image. Also new image have same name like the old one. QUESTION My question is how to update img from folder without page...
Nebojsa Sapic
4

votes
2

answer

EF: Avoiding multiple update statements

Code like this: var compIds = from p in packinglist.List select p.ComponentId; var components = from c in context.Components where compIds.Contains(c.Id) select c; foreach (var item in components) { item.CurrentSiteId = packinglist.DestinationId; } context.SaveChanges(); Ends up issuing lots of SQL...
Rudi
1

votes
1

answer

WPF Validation Rule Update anyway

I have a TextBox on my View, that has a Validation Rule: public class EmptyStringRule : ValidationRule { public override ValidationResult Validate(object value, System.Globalization.CultureInfo cultureInfo) { if(String.IsNullOrEmpty(value.ToString())) return new ValidationResult(true,'String Cannot...
TheJoeIaut
2

votes
1

answer

Google charts live update ajax

Does anyone know if it is possible to add a live update function to Google charts? I do not want to use a button to update the data; instead I would like graph to automatically change when the database data has changed. This is the code that I am using to show the line chart and it works correct. in...
user626342
2

votes
1

answer

CoreData Crash after App Update

I have a very annoying issue. I have a 'CoreData' app that is currently in production and everything works fine. I have an update for the app, but whenever the update is installed over the original app the app crashes right on the line of code below. [_persistentStoreCoordinator addPersistentStoreWi...
miken.mkndev
42

votes
8

answer

Update without touching timestamps (Laravel)

Is it possible to update a user without touching the timestamps? I don't want to disable the timestamps completly.. grtz
Jannick Vandaele
2

votes
0

answer

BigQuery - Fact table update logic

I am working on to build prototype on a Big Query to performance and cost analysis, Requirements: Build a DW (star schema) for sales operations (incentives, leads,entitlements,forecast,marketing, leads etc) data for reporting and advanced analytics purposes. Batch Load data Daily from CRM and oth...
Tim S
2

votes
2

answer

Update field from c# driver

I have a document collection like this: { '_id' : ObjectId('4fb21439f31dfd122ce39c4a'), 'Name' : 'Freelander 2', 'Manufacture' : 'Landrover' } I am using the C# driver, and want to check whether the 'Name' field exists; if it does not, I need to update it from the code. Can someone help on this? P...
Jafar
3

votes
1

answer

postgresql update column from select

I am attempting to update a column from one table with a select query. It runs and updates the entire type_ column as religious (text field). I am trying to only update the rows where the religious geometry intersects the parcel geometry. update wash_parcels_final set type_ = t.religious from...
ziggy
4

votes
1

answer

frequent data update for ractive.js

I was thinking on rewriting our legacy app which is using pure jQuery. It renders log data which it gets by websocket, it shows only last 100 records by removing old ones and appending new ones. Because rendering speed matters, I've tried first to render random incoming data and Ractive's twice slow...
nateless
2

votes
3

answer

Android SDK sdkmanager progress update

A recent version of the Android SDK replaced the legacy Java 'SDK Manager' GUI tool (started by the android command) with a new sdkmanager command line tool. Updates to the local Android SDK can now be performed by running sdkmanager --update. When running sdkmanager --update it just seems to 'hang'...
friederbluemle