News for hackers. Stuff that matters.
Re:Show HN: Drive – a tiny program to pull or push Google Dr... by jpatokal on Tuesday August 11, 2015 @08:45AM (#10040555)
If you're running into this:

google.golang.org/cloud/compute/metadata/metadata.go:54: unknown net.Dialer field 'KeepAlive' in struct literal

then it's supposed to be fixed per https://github.com/odeke-em/drive/issues/223, but it's not working for me and neither do the workarounds. ¯\_(ツ)_/¯

Re:Show HN: Drive – a tiny program to pull or push Google Dr... by jpatokal on Tuesday August 11, 2015 @08:52AM (#10040586)
Seems to be an issue with Go 1.2.2, upgrading to 1.4.2 fixes it.
Re:Show HN: Drive – a tiny program to pull or push Google Dr... by RachelF on Tuesday August 11, 2015 @07:03PM (#10044982)
If you don't want to use Go, try this http://syncdocs.com which does the same thing, syncing to Google Drive
Re:Show HN: Drive – a tiny program to pull or push Google Dr... by odeke-em on Tuesday August 11, 2015 @11:29AM (#10041765)
Yap, good catch.
Re:Show HN: Drive – a tiny program to pull or push Google Dr... by userbinator on Tuesday August 11, 2015 @10:17AM (#10041204)
If you have less than 1GB memory on your device see Precautions for building on devices with less than 1GB RAM

Combined with "a tiny program" in the title, this makes me curious as to what exactly needs so much memory.

Re:Show HN: Drive – a tiny program to pull or push Google Dr... by odeke-em on Tuesday August 11, 2015 @11:28AM (#10041754)
So before the usage of golang.org/x/text/collate this was causing this problem. However, I got rid of it with PR https://github.com/odeke-em/drive/pull/331. That comment is a legacy one.
Re:Show HN: Drive – a tiny program to pull or push Google Dr... by unavoidable on Tuesday August 11, 2015 @11:07AM (#10041590)
That comment was about compiling from source, which requires much more memory than the actual program.
Re:Show HN: Drive – a tiny program to pull or push Google Dr... by akeruu on Tuesday August 11, 2015 @07:12AM (#10040190)
Re:Show HN: Drive – a tiny program to pull or push Google Dr... by artursapek on Tuesday August 11, 2015 @09:55AM (#10041045)
It's exciting seeing these types of tools generally being written in Go.
Re:Show HN: Drive – a tiny program to pull or push Google Dr... by IshKebab on Tuesday August 11, 2015 @07:42AM (#10040282)
Nice, but what we really want is a way to do it automatically, like Dropbox.

I know Burcu Dogan was against automatic sync because it isn't 100% reliable in every case, but frankly she's wrong. That isn't a sufficiently bad con not to use it compared to the pro - it's automatic.

Re:Show HN: Drive – a tiny program to pull or push Google Dr... by _pmf_ on Tuesday August 11, 2015 @08:32AM (#10040481)
> I know Burcu Dogan was against automatic sync because it isn't 100% reliable in every case, but frankly she's wrong. That isn't a sufficiently bad con not to use it compared to the pro - it's automatic.

With a bit of bad luck, automatic sync easily turns into a mess (see the trainwreck that is Apple Music; even the most devoted fanboys loathe it).

Re:Show HN: Drive – a tiny program to pull or push Google Dr... by tdtran on Tuesday August 11, 2015 @09:24AM (#10040820)
With big enough amount of bad luck, anything can turns into a mess. OTOH sync (two-way sync) if done right can work pretty well and is quite useful in the real world. I am saying it as the developer of Autosync for Google Drive android app (https://play.google.com/store/apps/details?id=com.ttxapps.dr...)
Re:Show HN: Drive – a tiny program to pull or push Google Dr... by madeofpalk on Tuesday August 11, 2015 @08:59AM (#10040627)
I appreciate that it's starting to get off topic, but in my experience the problems with Apple Music isn't related to whether the sync is automatic or not.

The issues that I run into are UX issues (not sync related), and what I've heard is problems with what the server does once a sync is finished (automatic or not).

Re:Show HN: Drive – a tiny program to pull or push Google Dr... by odeke-em on Tuesday August 11, 2015 @11:36AM (#10041831)
Personally, I prefer manual sync like Burcu does. You have way better control with manual sync, imagine you were editing a video or had source code in your drive that was shared, any saves would toggle syncing. Also you could potentially clog up your bandwidth with auto syncing. Plus I can get to review a manifest of files before letting them get pushed. Lots of other features with manual sync such as `cat pipe | drive push --piped streamedContent` or `drive push -m ~/contentNotInDrive .` and many others. These would be very difficult to get in with auto-sync.
Re:Show HN: Drive – a tiny program to pull or push Google Dr... by Adaptive on Tuesday August 11, 2015 @10:13PM (#10045624)
I like the approach drive takes, but if you are looking for full automatic sync, there is also InSync https://www.insynchq.com/ (linux client available; I've installed it from the AUR for example).
Re:Show HN: Drive – a tiny program to pull or push Google Dr... by imglorp on Tuesday August 11, 2015 @10:09AM (#10041149)
Re:Show HN: Drive – a tiny program to pull or push Google Dr... by truncate on Tuesday August 11, 2015 @07:40PM (#10045110)
I tried and couldn't make it work couple months ago.
Re:Show HN: Drive – a tiny program to pull or push Google Dr... by d2xdy2 on Tuesday August 11, 2015 @12:49PM (#10042487)
not very actively maintained
Re:Show HN: Drive – a tiny program to pull or push Google Dr... by sigmaml on Tuesday August 11, 2015 @12:13PM (#10042167)
As one of the users (js-ojus) of `drive`, I can say that it is shaping up nicely! Keep the good work up, odeke-em!
Re:Show HN: Drive – a tiny program to pull or push Google Dr... by odeke-em on Tuesday August 11, 2015 @01:29PM (#10042843)
Thank you js-ojus, I appreciate your contributions and ideas. Cheers!
Re:Show HN: Drive – a tiny program to pull or push Google Dr... by l1n on Tuesday August 11, 2015 @02:51PM (#10043469)
Does anyone know of a program like this for Box?