delta

SVN performance after many revisions

My project is currently using a svn repository which gains several hundred new revisions per day. The repository resides on a Win2k3-server and is served through Apache/mod_dav_svn. I now fear that over time the performance will degrade due to too many revisions. Is this fear reasonable? We are already planning to upgrade to 1.5, so h...

How exactly does subversion store files in the repository?

I read the subversion book and it is clear to me that subversion does not store individual files but only deltas in order to minimize disk space. Subversion also does the same with binary files as well (this used to be a huge weakness of CVS). However I do not understand the exact mechanism. When I commit a file what happens? Subversi...

moving a sprite causes jerky movement

I've got some jerky movement of my sprite. Basically, when the user touches a point on the screen, the sprite should move to that point. This is working mostly fine... it's even taking into account a delta - because frame rate may not be consistant. However, I notice that the y movement usually finishes before the x movement (even whe...

Thinking Sphinx with Rails - Delta indexing seems to work fine for one model but not for the other

I have 2 models User and Discussion. I have defined the indices for the models as below: For the User model: define_index do indexes email indexes first_name indexes last_name, :sortable => true indexes groups(:name), :as => :group_names has "IF(email_confirmed = true and status = 'approved', true, false)", :as => :approved_user, :typ...

Thinking Sphinx - shows false positives even though delta indexing is used

This may have to do with Sphinx rather than Thinking Sphinx. I am using delta indexes. Lets say a record has text field contains word 'foo' Full indexing is done word 'foo' is removed from the record delta indexing is done Search for 'foo' The above record is returned even though it doesn't contain word 'foo' Expected Result: Above r...

Does an implementation of RFC 3229 (Delta encoding for HTTP) exist ?

As mentioned briefly in this article: http://en.wikipedia.org/wiki/Delta_encoding#Delta_encoding_in_HTTP which is referenced from here: http://tools.ietf.org/html/rfc3229 I'm currently a CompSci student and would like to try this out, partly for research and partly for fun. Google hasn't returned much in terms of further discussion o...

Sphinx Delta Indexing issue

I have created delta indexes. and merging them using following commands sudo /usr/local/sphinx/bin/indexer --merge messagecenter_quotations_reply messagecenter_quotations_reply_delta --rotate But It only merges if I restart sphinx. if i run this command with out restarting sphinx I do not get any results . ...

Inverse of jQuery.extend(true, …)

I'm looking to reduce storage requirements for JSON data by deltifying it against a known set of defaults. Basically, what I want is an inverse for jQuery's .extend() function, such that the following test passes for arbitrary JSON-compatible objects: function test_delta(defaults, delta) { var current = $.extend(true, {}, defaults,...

cumulative delta value for an onmousemove event - Javascript / jQuery

I have a div that can be horizontally scrolled back and forth by clicking and dragging. What I need now is to get the cumulative change in the mouse's x-axis position while dragging around, even before onmouseup. The heart of my problem right now is that because onmousemove fires every time the mouse moves 1px, the delta intervals are ...

Delta indexes not working on servers when using Thinking Sphinx

I'm using delta indexing for my Thinking Sphinx indexes in my Rails project. In my machine (Mac OS X) it's working fine. I change a record and it immediately finds it. On the servers (Debian) it doesn't. I did run a sql query for delta = true and the I've got the expected recently changed records, so that part is working. In the log/sea...