News for hackers. Stuff that matters.
Re:A personal Dropbox replacement based on Git by kjksf on Wednesday April 20, 2011 @07:17PM (#2468803)
This is (yet another) "Dropbox replacement" project publicized in HN that grossly misunderstands what Dropbox is, why it's popular and is not a "replacement" in any meaningful way.

Here are just a few characteristics of Dropbox that this project doesn't have:

* cross-platform (windows, mac, linux)

* an easy to setup GUI client that is possible to setup by people who don't necessarily know how to enable inotify in linux kernel or copy autosync.py to location in $PATH

* won't fall over when a merge conflict happens (and a merge conflict will happen and even I, who uses git daily, would be unable to resolve it)

We are good at extrapolating and making connections but in this case extrapolating from "files, sync" to "my linux-only python script is a replacement of Dropbox" is about as valid as extrapolating from "wheels" to "my home made unicycle is a replacement of Toyota Prius".

Re:A personal Dropbox replacement based on Git by palish on Wednesday April 20, 2011 @08:46PM (#2469024)
At least he's making something. We should foster an atmosphere of encouragement, even if the idea seems silly. Who knows what it could grow into one day?

You might not have intended to be so mean-spirited. I know I've sounded that way in the past. What helped me was to offer some kind of suggestions for improvement along with whatever criticisms I was dishing out. (Rather than just pointing out all of the flaws.)

Re:A personal Dropbox replacement based on Git by damncabbage on Wednesday April 20, 2011 @09:30PM (#2469112)
My suggestion for improvement would be:

"Don't advertise your project as a 'Dropbox Replacement' unless you actually are."

Re:A personal Dropbox replacement based on Git by hardik988 on Thursday April 21, 2011 @12:02AM (#2469411)
I think he advertised it as a 'Personal Dropbox Replacement' which suggests he probably just made it for himself and is releasing it to everyone if they wish to use it.

This project is open-source, has no domain name of it's own, no fancy video explaining how it works, no bullet-points explaining why people should dump Dropbox and start using his project, and the author doesn't seem intent on making money from it by advertising it as a 'personal Dropbox Replacement'. It's quite evident that only programmers are going to use this product, considering the dependencies and relative complexity of install procedure.

I don't see anything wrong with the way he has advertised his project as a 'Personal Dropbox Replacement'

Re:A personal Dropbox replacement based on Git by Maxious on Wednesday April 20, 2011 @11:53PM (#2469398)
Same as iPod/iPhone/iPad/Facebook/Twitter/email killer. You can call yourself the iPad killer after you've killed the iPad.
Re:A personal Dropbox replacement based on Git by wccrawford on Thursday April 21, 2011 @07:25AM (#2470200)
Criticism is a thing that's hard to do right.

If you're too kind, they think you aren't serious or are stupid, and they ignore it.

If you're too mean, people berate you for being mean.

Criticism is extremely valuable to a developer and they should be able to overlook any insults (intended or accidental) and absorb the mean of the criticism.

In this case, the criticism is that the project doesn't work as advertised. It is -not- a 'replacement for Dropbox'. You could probably stretch as far as 'Dropbox-like personal storage system using Git' or some such, but even mentioning Dropbox is iffy, since their whole model is user-friendliness.

Re:A personal Dropbox replacement based on Git by wzdd on Wednesday April 20, 2011 @11:30PM (#2469345)
These clones demonstrate why Dropbox is such a good idea imo. Good ideas are ones that make people think "that's easy, I could do that in a weekend!" Dropbox is great because it isn't just a really good idea, it's also a fantastic implementation.
Re:A personal Dropbox replacement based on Git by Mafana0 on Thursday April 21, 2011 @03:16AM (#2469733)
The title alone says much about the simplicity of the product. "Dropbox" is more friendly and much easier to remember than the name of "DVCS-Autosync".
Re:A personal Dropbox replacement based on Git by rcthompson on Wednesday April 20, 2011 @05:59PM (#2468563)
I looked through the source, and it doesn't seem to have any conflict resolution. As far as I can tell, it simply executes the push and pull commands without checking their exit codes to see if they succeeded.
Re:A personal Dropbox replacement based on Git by bokchoi on Wednesday April 20, 2011 @06:59PM (#2468752)
Joey Hess just blogged[0] about ShareBox[1] which creates a fuse filesystem built on git-annex. I don't know either well enough to comment on them.

[0] http://kitenet.net/~joey/blog/entry/new_git-annex_use_cases/

[1] https://github.com/chmduquesne/sharebox

Re:A personal Dropbox replacement based on Git by joeyh on Wednesday April 20, 2011 @09:38PM (#2469130)
The dvcs-autosync author is also looking at making it use git-annex for large files.
Re:A personal Dropbox replacement based on Git by bstar on Wednesday April 20, 2011 @07:54PM (#2468897)
What makes dropbox special is that I can access it on my home iMac, my work macbook, my linux netbook, my android phone, my iPad and the web interface when I feel so inclined. On top of that, I select different directories to sync on each machine and often share file between friends and colleagues.

An uber simple interface that supported on every major platform is what makes it so awesome.

Re:A personal Dropbox replacement based on Git by pronoiac on Wednesday April 20, 2011 @06:11PM (#2468598)
Won't the space taken up by revisions monotonically increase? Deleting files won't free up the space, since the old revision is still tracked.

Dealing with gigabytes of files & revisions isn't git's forte.

Re:A personal Dropbox replacement based on Git by rdtsc on Wednesday April 20, 2011 @06:42PM (#2468689)
You are right. It might increase very slowly if you actually store a source repository composed of many small files and then only some of them change periodically. But if you store large binary blobs and all of them change often then git won't work that well.

You'd at least want to have the option to blow away some history as you run out of space or become confident that you'll never need it -- can't do that in git without re-writting the whole commit history from scratch and filtering out some commits.

In think in this case there is some confusion between backup and synchronization, both can be thought of as separate and git might not do well for either one in the general case. It might not be as good for backup, because you might want to blow away old snapshots and in case of synchronization. As for general bidirectional synchronization, you'd need some way to plugin in custom merge conflict resolution (can git do that?). For example you might have a policy that whenever you modify a file on the your laptop it should take precendence over the same file modified on your iphone, or some text files can handle merging while others should be replaced based on timestamp, or something like that.

Re:A personal Dropbox replacement based on Git by gwern on Wednesday April 20, 2011 @08:17PM (#2468965)
> But if you store large binary blobs and all of them change often then git won't work that well.

True, default git won't work well. But you can handle large changing files git-style with a different approach; the bup backup system using git comes to mind (see https://github.com/apenwarr/bup & http://lwn.net/Articles/380983/) where what is stored are chunks of files, where xdelta and other diffs work efficiently.

Re:A personal Dropbox replacement based on Git by shadowsun7 on Wednesday April 20, 2011 @08:01PM (#2468912)
It's funny - I was reading up on Camlistore yesterday, and realize that what it proposes to do very much resembles Dropbox (and - to a certain degree, Git).

Have you considered making a personal Dropbox replacement using it? I hear Brad Fitzpatrick is writing it as his Dropbox replacement.

(Also: competition is bi-directional - it's interesting to take a look at Camlistore's suggested usecases http://camlistore.org/docs/uses and think that Dropbox can do the same ...)

Re:A personal Dropbox replacement based on Git by aeontech on Wednesday April 20, 2011 @10:27PM (#2469229)
What do you think about this is better than AeroFS (http://www.aerofs.com/, previous discussion at http://news.ycombinator.com/item?id=1538731)?
Re:A personal Dropbox replacement based on Git by sudonim on Wednesday April 20, 2011 @11:50PM (#2469391)
One thing that's better is that it's available now. I can't use aerofs. It's a closed beta.
Re:A personal Dropbox replacement based on Git by aeontech on Thursday April 21, 2011 @05:04PM (#2472380)
I can get you an invite if you like. I got my code shortly after asking for one.
Re:A personal Dropbox replacement based on Git by mikesena on Thursday April 28, 2011 @10:39AM (#2493483)
I'd love to get an invite aeontech :D
Re:A personal Dropbox replacement based on Git by aeontech on Thursday April 28, 2011 @03:02PM (#2494637)
send me an email at my username@gmail
Re:A personal Dropbox replacement based on Git by darklajid on Thursday April 21, 2011 @04:06AM (#2469780)
Seems like a similar approach as SparkleShare [1], albeit less/not focused on UI (and using XMPP for notifications to update the repository).

1: http://www.sparkleshare.org/

Re:A personal Dropbox replacement based on Git by akent on Wednesday April 20, 2011 @06:18PM (#2468624)
I would have thought the personal replacement for Dropbox is just rsync. I guess it depends if you want / need full history. But personally I never use the history features of Dropbox.
Re:A personal Dropbox replacement based on Git by mceachen on Wednesday April 20, 2011 @06:23PM (#2468635)
rsync isn't bidirectional (see unison: http://www.cis.upenn.edu/~bcpierce/unison/), but it can be hacked on to make it store snapshots (see http://www.mikerubel.org/computers/rsync_snapshots/, but it's a full volume snapshot, not a per-file versioned history).
Re:A personal Dropbox replacement based on Git by 320x200 on Friday April 22, 2011 @08:06AM (#2473799)
Unison is great, I use it as a way to keep several machines in sync for large content (several gigs) using a personal server as hub.

http://gitorious.org/mist

It's not a dropbox replacement, but it does the syncing job nice and simple with nothing else but unison, ssh and a shell script. I will eventually make a daemon using inotify so that it can sync in the background as well.

Re:A personal Dropbox replacement based on Git by js2 on Wednesday April 20, 2011 @06:38PM (#2468675)
Unison is a good bi-directional syncing utility: http://www.cis.upenn.edu/~bcpierce/unison/
Re:A personal Dropbox replacement based on Git by davidandgoliath on Thursday April 21, 2011 @01:43AM (#2469578)
Appreciate the reminder re: unison. Just made my desktop <-> laptop syncs. a whole lot easier.
Re:A personal Dropbox replacement based on Git by hyperbovine on Wednesday April 20, 2011 @09:31PM (#2469114)
History will save your ass at some point in the future. I'd bet money on it.
Re:A personal Dropbox replacement based on Git by akent on Wednesday April 20, 2011 @06:27PM (#2468650)
Re:A personal Dropbox replacement based on Git by pronoiac on Wednesday April 20, 2011 @09:25PM (#2469104)
Rsync doesn't work offline. Trying to send updates only would fail for differing timeclocks & deleted files.
Re:A personal Dropbox replacement based on Git by pat2man on Wednesday April 20, 2011 @05:59PM (#2468565)
Using a git backend for this kind of service is great since it would provide a common synchronization engine for all your files. Thus if I have 3 or 4 of these services pointing at the same folder everything should work.
Re:A personal Dropbox replacement based on Git by rexreed on Wednesday April 20, 2011 @11:36PM (#2469365)
What I love about this is that the project uses XMPP for server-to-server communication! Someone had poo-poo'd that idea in a previous post, but I think it has tremendous merit.
Re:A personal Dropbox replacement based on Git by mkramlich on Wednesday April 20, 2011 @06:50PM (#2468725)
or just GitHub with private repos. then you can control exactly how and when the synchs across various clients occur. less moving parts too.
Re:A personal Dropbox replacement based on Git by leif on Wednesday April 20, 2011 @06:51PM (#2468728)
git doesn't really expose a great UI for this model of behavior. This needs a good UI for many things, for example, looking through history and cherry-picking old versions of files to revert to.

Also, it doesn't give you access from public computers the way dropbox does. You'd want a non-bare repository with gitweb or an apache directory listing, at the least.

Re:A personal Dropbox replacement based on Git by pyre on Wednesday April 20, 2011 @06:55PM (#2468738)
There are a couple of FUSE modules that implement a filesystem based on a bare git repo.