Time |
S |
Nick |
Message |
00:00 |
|
prologic |
yeah fuse is pretty awesome |
00:01 |
|
pdurbin |
prologic: so without your thing on the server-side I could use use a fuse client today with some other server? A proprietary server, I guess? |
00:05 |
|
pdurbin |
prologic: have you seen https://gluster.readthedocs.io/en/latest/Quick-Start-Guide/Architecture/#fuse ? |
00:09 |
|
prologic |
well sort of sort of not |
00:09 |
|
prologic |
in theory yes |
00:12 |
|
prologic |
but I wrote my own backend that supports (atm) that supports HEAD, GET, PUT, DELETE, LINK, CHMOD, TRUNCATE and RENAME. It provides directory entries via a JSON response to GET /path/to/some/dir/ |
00:12 |
|
prologic |
And extra headers in HEAD/GET responses X-Is-Dir, X-Mode |
00:14 |
|
prologic |
so in theory it could be made to work; with a little more work the client could be made to use *any* http backend that exposes something but you might have limited fs features (read only at best) |
00:34 |
|
pdurbin |
prologic: which FUSE client are you planning on using? |
00:50 |
|
prologic |
I'm writing that too :) |
00:50 |
|
prologic |
it's an all-in-one thing |
00:50 |
|
prologic |
httpfsd; httpfsmount -url ... -mount /mount/path |
00:52 |
|
pdurbin |
gotcha |
01:39 |
|
prologic |
pdurbin: what you thinking anyway? |
01:40 |
|
prologic |
I find your curiosity curious :) |
02:22 |
|
pdurbin |
prologic: I think for now I'm fine with using git to sync files between computers. I've been doing this for years. |
02:27 |
|
prologic |
ahh so have i :) |
02:27 |
|
prologic |
but see I'm trying to solve a particular kind of problem |
02:28 |
|
prologic |
"present a folder to my wife that's easy to use as if it were a regular file system" |
02:28 |
|
prologic |
in the good 'ol days I used Samba/SMB :) |
02:28 |
|
prologic |
but no way in hell am I installing anything like that on my NAS:) |
02:31 |
|
prologic |
whoah I just got to a point now ehre my feature set gives me read and write consistenty |
02:32 |
|
sivoais |
people still use NFS, right? |
02:35 |
|
pdurbin |
my wife and I just use Google Docs |
02:36 |
|
prologic |
NFS? |
02:36 |
|
prologic |
yeah is it any good? ) |
02:36 |
|
prologic |
FWIW I have nfs on my nas and umm well ... |
02:37 |
|
prologic |
pdurbin: also FWIW someone in the Go community also write a very similar thing that mounts via fuse a google drive ) |
02:37 |
|
prologic |
https://github.com/pellaeon/skicka-fuse |
02:38 |
|
prologic |
so in theory this project could be expanded to other types of remote/cloud/whatever storage |
02:43 |
|
pdurbin |
prologic: I believe Google already has a desktop app that could be installed to sync files on a computer with Google Drive but my wife and I don't bother with it. We just use a browser. Our files are just Google Docs and Google Spreadsheets, really. It's a simple life. |
02:48 |
|
prologic |
photos? |
02:50 |
|
pdurbin |
ah, we talked about photos recently at https://irclog.perlgeek.de/crimsonfu/2016-11-05 |
02:50 |
|
pdurbin |
right now they're on an aging iMac |
02:51 |
|
pdurbin |
in the future I'd sort of like to be able to get to the photos from multiple computers |
02:58 |
|
prologic |
ahh |
02:58 |
|
prologic |
we've also talked about similar sorts of things before too |
02:59 |
|
prologic |
it's actually more costly to do everything in the cloud once you go over a certain price point / requirements |
03:00 |
|
prologic |
however I'm not silly :) My entire NAS is backed up on a daily basis to crashplan (now code42) which if you pay for a yearly subscription is fairly inexpensive as backup solutions go |
03:00 |
|
prologic |
plus the data and transport are all encrypted and you also get local syncing for free which I use to automagically backup our laptops to the NAS |
03:01 |
|
prologic |
saved me from a few accidental deletes of code :) |
03:08 |
|
pdurbin |
I aspire to John Siracusa's Backup Vortex: http://5by5.tv/hypercritical/2 |
03:09 |
|
prologic |
tl;dr? |
03:12 |
|
pdurbin |
If memory serves, it's similar to what you're talking about. Cloud backups, RAID devices, discipline around backups. |
03:13 |
|
prologic |
*nods* |
03:16 |
|
pdurbin |
Anyway, Go seems like a good fit for the sort of network programming you're doing. |
03:17 |
|
prologic |
yeah it's not bad actually |
03:17 |
|
prologic |
I'm sort of torn over Python these days |
03:18 |
|
prologic |
mostly because I see a future where Python is trying to be everything to all including introducing (optional for now) static typing (type hints) |
03:18 |
|
prologic |
so we'll see where Python ends up in the grand scheme of things in 5 yeras |
03:19 |
|
prologic |
there's a reason I'm so motivated to lean Go ;0 |
03:20 |
|
pdurbin |
well, Python 2 will retire in a little over 3 years: https://pythonclock.org |
03:22 |
|
prologic |
I know |
03:22 |
|
prologic |
then we'll see what happens |
03:22 |
|
prologic |
but you get my point right? |
03:22 |
|
prologic |
Python 3 is sort of turning into something that looks like umm not sure |
03:26 |
|
pdurbin |
To be honest I haven't really been paying much attention to Python 3. I'm waiting for everyone else to switch and for Python 2 to be a ridiculous thing to start a new project in. |
03:26 |
|
pdurbin |
There are plenty of languages out there. |
03:30 |
|
pdurbin |
I could have a fabulous time learning front end Javascript: https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f#.key828wat ;) |
03:42 |
|
prologic |
hah |
03:42 |
|
prologic |
you are right :) |
03:42 |
|
prologic |
it is interesting though to see myself absolutely enjoying a language like Go -- been many decades since I've done low-level/static stuff |
03:43 |
|
pdurbin |
What do you like about it? |
03:54 |
|
prologic |
honestly? the ecosystem I think |
03:54 |
|
prologic |
plus the grammar itself is pretty easy |
03:56 |
|
pdurbin |
ecosystem is pretty important |
03:56 |
|
prologic |
I'm getting about ~40MB/s and 160MS/s read/write performance respectively locally here |
03:56 |
|
prologic |
it's much slower than raw disk I/O performance on my macbook but still not too bad |
03:57 |
|
prologic |
I'd like to try to get write perf up to Gigabit raw speed though |
03:57 |
|
prologic |
not sure how yet |
12:29 |
|
aditsu |
I also have plans to write my own distributed & versioned file system, using fuse to mount it; haven't gotten very far though |
15:02 |
|
pdurbin |
aditsu: ZFS and BTRFS already have versioning. GlusterFS and MooseFS are already distributed. |