Live data from Hacker News

Untitled topic

news.ycombinator.com

31–40 of 62 posts

Re: undefined

#31
post #27

Earlier quoted context omitted.

I had similar issues years ago and it was frustrating. What I do now is have syncthing on a 'server' that is always on and everything syncs to the server and not between each device. That reduced my conflicts by 99%. Another issue I had was accidentally deleting a folder and having it deleted off of all my devices. To solve that issue I have my server do ZFS snapshots on my syncthing folder, which makes for easy reco…

Why not just use rsync -a periodically over an encrypted ssh connection? It works across Mac/Linux etc. and is just as efficient, no? If you really want to be fancy, you can deploy a script to watch files for changes and do rsync immediately when it happene.

You can already build such a system yourself quite trivially by getting an FTP account, mounting it locally with curlftpfs, and then using SVN or CVS on the mounted filesystem.

Re: undefined

#32
post #27

Earlier quoted context omitted.

I had similar issues years ago and it was frustrating. What I do now is have syncthing on a 'server' that is always on and everything syncs to the server and not between each device. That reduced my conflicts by 99%. Another issue I had was accidentally deleting a folder and having it deleted off of all my devices. To solve that issue I have my server do ZFS snapshots on my syncthing folder, which makes for easy reco…

Why not just use rsync -a periodically over an encrypted ssh connection? It works across Mac/Linux etc. and is just as efficient, no? If you really want to be fancy, you can deploy a script to watch files for changes and do rsync immediately when it happene.

> If you really want to be fancy, you can deploy a script to watch files for changes and do rsync immediately when it happene.

I use a tool that does that, it's called Syncthing.

Re: undefined

#33

SyncThing has been the only piece of open-source software which I've fire-and-forget installed and it's working indefinitely.

Yep, good software and the dev (nutomic) is the main Lemmy coder, meaning the fediverse is in good hands.

Re: undefined

#34
post #31
post #27

Earlier quoted context omitted.

Why not just use rsync -a periodically over an encrypted ssh connection? It works across Mac/Linux etc. and is just as efficient, no? If you really want to be fancy, you can deploy a script to watch files for changes and do rsync immediately when it happene.

You can already build such a system yourself quite trivially by getting an FTP account, mounting it locally with curlftpfs, and then using SVN or CVS on the mounted filesystem.

Not sure why this would be easier or better

FTP is not encrypted. Unless you use SFTP maybe. (I wrote an SFTP and FTP-over-SSH client in Visual Basic like 20 yesrs ago lol).

And even then, you miss out on all the optimizations with prolly trees and other goodness that rsync has.

No, sorry, that solution sucks. CVS? That’s super outdated.

Re: undefined

#35
post #27

Earlier quoted context omitted.

Why not just use rsync -a periodically over an encrypted ssh connection? It works across Mac/Linux etc. and is just as efficient, no? If you really want to be fancy, you can deploy a script to watch files for changes and do rsync immediately when it happene.

> If you really want to be fancy, you can deploy a script to watch files for changes and do rsync immediately when it happene. I use a tool that does that, it's called Syncthing.

Yeah but if you’re just syncing everything to and from a server anyway, why bother with it?

Plus, rsync -a never deletes files.

Re: undefined

#36
post #34
post #31

Earlier quoted context omitted.

You can already build such a system yourself quite trivially by getting an FTP account, mounting it locally with curlftpfs, and then using SVN or CVS on the mounted filesystem.

Not sure why this would be easier or better FTP is not encrypted. Unless you use SFTP maybe. (I wrote an SFTP and FTP-over-SSH client in Visual Basic like 20 yesrs ago lol). And even then, you miss out on all the optimizations with prolly trees and other goodness that rsync has. No, sorry, that solution sucks. CVS? That’s super outdated.

It's a reference to the infamous dropbox comment: https://news.ycombinator.com/item?id=9224

Anyways, if you're at the grocery store and you need to see your shopping list, and you're happy with your current workflow of opening up Termux and typing `rsync -avrsomgwtfbbq me@server/shopping-list.txt` with your thumbs, then by all means keep doing that! For the rest of us, there's Syncthing.

Re: undefined

#37
syncthing automtically connects with bunch of external servers automatically. Relays/discovery servers/stun etc. You can disable but they are enabled by default. They connect on first run and before you get a chance to disable - atleast on android. Everything may be encrypted but I still prefer to not connect to external servers

Re: undefined

#38
post #34

Earlier quoted context omitted.

Not sure why this would be easier or better FTP is not encrypted. Unless you use SFTP maybe. (I wrote an SFTP and FTP-over-SSH client in Visual Basic like 20 yesrs ago lol). And even then, you miss out on all the optimizations with prolly trees and other goodness that rsync has. No, sorry, that solution sucks. CVS? That’s super outdated.

It's a reference to the infamous dropbox comment: https://news.ycombinator.com/item?id=9224 Anyways, if you're at the grocery store and you need to see your shopping list, and you're happy with your current workflow of opening up Termux and typing `rsync -avrsomgwtfbbq me@server/shopping-list.txt` with your thumbs, then by all means keep doing that! For the rest of us, there's Syncthing.

Yeah but on the substance, none of your countrexamples make sense

SyncThing doesnt actually have an iOS client that syncs reliably. I tried some, when I was test driving it and Resilio Sync and others.

https://forum.syncthing.net/t/syncthing-for-ios/16045

On your phone you’d probably just visit a website, and access your server via HTTP.

Re: undefined

#39
post #23

Earlier quoted context omitted.

Seconding the sentiment <3

I've had the intention of testing it out for YEARS and finally got around to it last week or so. Really pleasantly surprised how well the NAT punching / relay servers handle keeping machines synced. I wish I had tried it all those years ago. I wish excluding directories was a little more intuitive and there was a good way to administer config's on a machine not local to me. Maybe over SSH, I'm still learning.

> ...a good way to administer config's on a machine not local to me.

If you can't access the web interface, is Wireguard an option? That's how I do mine.

Re: undefined

#40

syncthing automtically connects with bunch of external servers automatically. Relays/discovery servers/stun etc. You can disable but they are enabled by default. They connect on first run and before you get a chance to disable - atleast on android. Everything may be encrypted but I still prefer to not connect to external servers

Yes, IMO the external connections and relays should be disabled by default/opt in for privacy reasons.
Post reply on HN