Questions tagged [delta]

A Delta is a file which represents the changes between two or more revisions of structured or semi-structured data

References

305 questions
3
votes
3 answers

Calculate difference between values with MySQL (PV)

I'm a bit stuck at my Bachelor's thesis and hope you can help me. In order to evaluate a photovoltaic system I need to calculate the difference between total energy amounts. These are automatically updated in a MySQL-table with a timestamp, but…
Viking_03
  • 33
  • 3
3
votes
2 answers

spark delta overwrite a specific partition

So I have a dataframe which has a column, file_date. For a given run, the dataframe has only data for one unique file_date. For instance, in a run, let us assume that there are say about 100 records with a file_date of 2020_01_21. I am writing this…
SWDeveloper
  • 115
  • 9
3
votes
3 answers

Quill - Add Image URL instead of uploading it

I'm not a pro in JS and I'm using Quill Rich Text Editor for one of our projects. It's working well, but when I use getContents() method to get its contents (with Delta format), it shows the images, like the following: { "insert": { "image":…
H. Farid
  • 579
  • 2
  • 8
  • 19
3
votes
1 answer

How to Connect to Databricks Delta table using JDBC driver

How can I connect to Databricks Delta table using JDBC? I have tried connecting simba driver but im getting hard time for driver class name and url configuration. Any solution is appreciated. I cannot paste code here as its company code. Thanks in…
3
votes
0 answers

event movementX and touch delta

I'm building a button number that increases or decreases the time on the slide of the finger. If you move to the right add, if you change direction and backwards ... subtract. I'm trying, therefore, to recover the delta from a touch action.…
Alberto
  • 192
  • 2
  • 11
3
votes
2 answers

Using google protobuffer for delta messages

I am looking into using Google Protobuffers for delta messaging. Meaning I only want to send out the changed values of my domain object. But that exposes a problem with the protocol for this purpose. I can easily just omit the properties that have…
Jay Pete
  • 3,697
  • 4
  • 31
  • 46
3
votes
0 answers

Inefficient loop accessing option types

I am having a dictionary of variables (options) to conduct some calculations on them. Under option type, I am checking if it is a call or a put option, but I think I am inefficiently doing this trough a loop. It works, but I think there is a better…
nemi
  • 69
  • 1
  • 6
3
votes
3 answers

Limit while loop to run at 30 "FPS" using a delta variable C++

I basically need a while loop to only run at 30 "FPS". I was told to do this: "Inside your while loop, make a deltaT , and if that deltaT is lesser than 33 miliseconds use sleep(33-deltaT) ." But I really wasn't quite sure how to initialize the…
Joe Bid
  • 335
  • 6
  • 21
3
votes
3 answers

(Delta time) Getting 60 updates a second in java

I've seen this code several times. long lastTime = System.nanoTime(); final double ticks = 60D; double ns = 1000000000 / ticks; double delta = 0; The code above takes the System time and stores it to lastTime. The 60 ticks should equate to the…
Shadow
  • 321
  • 2
  • 5
  • 14
3
votes
2 answers

Approximately syntax checking Perl code, faster than perl -c

Is there a way to syntax check a Perl program without running perl? The well-known answer is 'no'. Without starting the full perl runtime to evaluate code for imports, etc, you cannot tell whether program syntax is correct. But what about if you…
Ed Avis
  • 1,220
  • 14
  • 35
3
votes
2 answers

Efficient data structure and strategy for synchronizing several item collections

I want one primary collection of items of a single type that modifications are made to over time. Periodically, several slave collections are going to synchronize with the primary collection. The primary collection should send a delta of items to…
haste
  • 1,391
  • 1
  • 9
  • 20
3
votes
4 answers

KroneckerDelta in matlab

This link shows that there is a kronecker delta function in matlab. However: >> help kroneckerDelta kroneckerDelta not found I am using R2011b, so maybe this wasn't programmed into the toolkit yet? EDIT:: It works in MuPad, just not in…
yankeefan11
  • 447
  • 5
  • 17
3
votes
1 answer

Drupal 7 using different themes on pages using omega and delta

Can I use different sub themes on different pages. I have created two omega sub themes - Theme 1 (set as default) and Theme 2. Can I now assign Theme 2, to a set pages using the delta and context module? I created a delta theme based on Theme 2,…
3
votes
1 answer

Transmit the binary diff(delta) of a file over http and merge the diff on the server

Basically i need to find out the binary diff of a file (client and server) and then transmit the diff(delta) over HTTP and then merge the diff(delta) to the file. Is there any tool for this? One more requirement is that it should work on all…
Kaarthik
  • 577
  • 1
  • 9
  • 32
3
votes
4 answers

Minimal Difference Patch Algorithm

I'm trying to convey the difference between two bytestreams. I want to minimize the number of bytes in the patch. (I don't necessarily want to minimize the number of "changes" in the diff, which is what the optimal patch in a levenshtein distance…
user1435114
  • 193
  • 1
  • 11
1 2
3
20 21