News for hackers. Stuff that matters.
Re:10 years since Google said to “hang tight” about Linux su... by titzer on Sunday April 24, 2022 @02:03PM (#31146517)
Just give us a web filesystem already. Stop with these shitty infantilized GUIs with no hierarchical organization and an overreliance on search to find things. I have literally hundreds of thousands to millions of files on my local machines and have no trouble remembering where I put things. Drive can't seem to scale past a few dozen before it's confusing, useless, and apparently lossy. Remember when web servers would serve up the contents of a directory as a list with hyperlinks on the file names? That actually worked ffs. I cannot understand how we could be moving backwards so quickly.
Re:10 years since Google said to “hang tight” about Linux su... by GuB-42 on Sunday April 24, 2022 @07:16PM (#31149175)
There is a transition from a file-centric to an app-centric model, that I mostly disapprove of, but that's what is happening. Before, you had files stored in a filesystem, you picked the file and opened it with the app. On Windows, you double-click on the file, on a command line, you type "app filename". Now the trend is to first open the app and then use the app to fetch your data, that data is entirely managed by the app and may be stored in an opaque area of a filesystem, some server on the internet, etc...

I disapprove of the "new" way (that is not so new, but it is the current trend) because it favors lock-in and general loss of control. But there are also some advantages such as being able to do versioning, syncing, collaborative work, searching and general database-like operations when your filesystem doesn't support it. A lot of popular open source "not evil" software use that model, for example, IIRC, Firefox has always stored bookmarks in an opaque sqlite database while Internet Explorer stored them as files in a folder, and I don't think I need to tell you which one is considered the most evil.

Re:10 years since Google said to “hang tight” about Linux su... by dotancohen on Monday April 25, 2022 @02:09AM (#31151157)
sqlite is opaque? I've got this script to list my open tabs, and a few more scripts for other Firefox actions.

  $ grep FIREFOX ~/.bashrc
  export FIREFOX_DIR=$HOME/.mozilla/firefox/q3m93qpe.default-release/

  $ cat ~/.local/bin/ff-tabs
  #!/bin/bash
  lz4jsoncat $FIREFOX_DIR/sessionstore-backups/recovery.jsonlz4 | jq -r '.windows[].tabs[].entries[-1] | .title, .url, ""'
Re:10 years since Google said to “hang tight” about Linux su... by dotancohen on Monday April 25, 2022 @02:11AM (#31151164)
Ha! Of course I would choose an example based on JSON, not sqlite, but the point still stands. Sqlite is one of my favorite file formats, it presents the data in an interface far easier to manipulate for a one-off CLI command than writing another Python script with open() and dozens of re.sub().
Re:10 years since Google said to “hang tight” about Linux su... by GekkePrutser on Monday April 25, 2022 @04:15AM (#31151760)
JSON is also not very opaque. What's opaque is iOS with its locked down storage per app as you mentioned.

Some OS builders have been trying to push this model on the desktop but have not been very successful due to legacy. It only seems to be done with mobile apps running on the desktop (Windows with Android apps and macOS with iOS)

I also lament this model, I think we should always have full access to our devices. But there's a strong commercial push for lock-in and subscription models.

Re:10 years since Google said to “hang tight” about Linux su... by svalee on Tuesday April 26, 2022 @04:35AM (#31165256)
How do you use it?
Re:10 years since Google said to “hang tight” about Linux su... by wlesieutre on Sunday April 24, 2022 @09:28PM (#31149929)
On the flip side, Steve Jobs tried to make this happen for the iPad and Apple eventually gave up and built the Files app because they were trying to make it into a system you could do actual work. "All data belongs to a single app" was at odds with most work tasks other than checking your email, and sending copies of data back and forth between apps with share sheets is alright if you only have to do it once, but it doesn't really scale.
Re:10 years since Google said to “hang tight” about Linux su... by dTal on Monday April 25, 2022 @05:44AM (#31152325)
The people pushing to have all desktop programs isolated from each other by default in the name of "security" are making the same mistake.
Re:10 years since Google said to “hang tight” about Linux su... by michaellee8 on Sunday April 24, 2022 @08:39PM (#31149642)
Actually Google did made a version of Google Drive Filestream for Linux, and made it available it Google Colab, just that they never released it publicly for unknown reason. I have grabbed the binary of it. https://github.com/michaellee8/gdrivefs/tree/master/assets
Re:10 years since Google said to “hang tight” about Linux su... by CPAhem on Sunday April 24, 2022 @10:46PM (#31150311)
There are quite a few clients for Linux, I use Syncdocs https://www.syncdocs.com/ as it has built in encryption.

Non I've seen do a proper job of mounting as a drive, NFS or SMB would be nice.

Re:10 years since Google said to “hang tight” about Linux su... by ranrotx on Sunday April 24, 2022 @05:04PM (#31148336)
I’d take a file system that can be indexed by my local operating system (MacOS).

The last MacOS update broke Spotlight indexing for my Google Drive folders. Really annoying not being able to use Spotlight (and by extension Alfred), so the only logical thing to do was move to iCloud.

In the process of moving off of Google Drive, I also decided to move my email to Fastmail and just ditch GSuite (or whatever they are calling it today) forever. I’ll sleep better at night knowing that Fastmail knows their place and (hopefully) won’t try and force a chat function into my web email client as a means to build engagement for a product I don’t care about.

Re:10 years since Google said to “hang tight” about Linux su... by voltaireodactyl on Sunday April 24, 2022 @05:45PM (#31148632)
Spotlight no longer working with google drive — for months now — has been such a pain in my ass that it’s finally convinced me to shift my entire company off Google Workspace. At least with Microsoft I can get someone on the phone.
Re:10 years since Google said to “hang tight” about Linux su... by Stampo00 on Sunday April 24, 2022 @03:14PM (#31147245)
I agree with you 100%. I just want something that stores files and works with SFTP and NFS out of the box. I get so annoyed every time I have to use S3 manually.

However, there is a post on this site that has become infamous in which a commenter questions the need for Dropbox when stuff like SFTP already exists.

Re:10 years since Google said to “hang tight” about Linux su... by taspeotis on Sunday April 24, 2022 @07:09PM (#31149128)
I’ve wondered how practical using Azure Files with SMB is. It also supports NFS.

https://docs.microsoft.com/en-us/azure/storage/files/files-s...

Re:10 years since Google said to “hang tight” about Linux su... by LilBytes on Monday April 25, 2022 @12:32AM (#31150781)
SMB is absolutely terrible over latent connections.

I don't understand how SMB could work unless there was geographical replication to nodes closer to you, with some kind of load balancing to change the endpoint you're using to be closer to you.

Re:10 years since Google said to “hang tight” about Linux su... by taspeotis on Monday April 25, 2022 @12:51AM (#31150833)
Yup, hence the wondering. They keep improving the protocol and I am hopeful that one day I might try it and be pleasantly surprised.

https://docs.microsoft.com/en-us/windows-server/storage/file...

Re:10 years since Google said to “hang tight” about Linux su... by LilBytes on Monday April 25, 2022 @05:08AM (#31152091)
I tried it a little less than 2 months ago across a suite of services, Azure, self hosted, AWS EC2 instances, and all of these same options again with WireGuard over the top (well, with Tailscale in this instance).

Tragically it was still trash.

Re:10 years since Google said to “hang tight” about Linux su... by taspeotis on Monday April 25, 2022 @06:14AM (#31152540)
Thank you for your sacrifice
Re:10 years since Google said to “hang tight” about Linux su... by moritonal on Sunday April 24, 2022 @07:07PM (#31149112)
You want https://rclone.org/commands/rclone_mount/. Yes it should really just be a straight up product, but for the moment you can hack it together fairly effectively.
Re:10 years since Google said to “hang tight” about Linux su... by kevincox on Monday April 25, 2022 @07:59AM (#31153285)
They should take inspiration from nginx and Apache directory listings. Doesn't take 4s to load and uses actual links so you can open in new window or copy the link.
Re:10 years since Google said to “hang tight” about Linux su... by ac29 on Monday April 25, 2022 @05:07PM (#31160619)
> Just give us a web filesystem already.

WebDAV is kinda that. I subscribe to a (super cheap) hosted version from Hetzner and I'm happy with it even though the server is on a different continent. As mentioned somewhere in another comment, I also use rclone mount to use it, but there are other options as well (the client built into GNOME is reasonably good, the client built into Windows 10 is terrible).

Re:10 years since Google said to “hang tight” about Linux su... by LoveGracePeace on Monday April 25, 2022 @12:02AM (#31150631)
Agreed. Every time I go to save a file I have to stop thinking like a techie and put my 'think like Google' hat on. My wife is the average, basic user. Windows and Linux filesystems she navigates with no issue. Google Drive? Confuses the heck out of both of us and I've been a techie my whole life.
Re:10 years since Google said to “hang tight” about Linux su... by Mo3 on Monday April 25, 2022 @01:08AM (#31150915)
You’re still free to use a webserver with directory listing turned on..
Re:10 years since Google said to “hang tight” about Linux su... by silisili on Sunday April 24, 2022 @05:35PM (#31148557)
I agree with all of your complaints, but will say Gnome nautilus integration is working pretty well these days, and allows me to interact with it more like a filesystem than a shitty webui.
Re:10 years since Google said to “hang tight” about Linux su... by ASalazarMX on Monday April 25, 2022 @01:23PM (#31157979)
... until you try to open the files with a non-gnome application. Mounting a filesystem was supposed to be a solved problem.
Re:10 years since Google said to “hang tight” about Linux su... by silisili on Monday April 25, 2022 @01:39PM (#31158183)
Examples? Maybe I just don't have enough non-Gnome applications tbh.

I just tested with Slack, VSCode, and GIMP, and all three allowed me to browse and open from there.

Re:10 years since Google said to “hang tight” about Linux su... by ASalazarMX on Monday April 25, 2022 @03:31PM (#31159513)
From the top of my head, QOwnNotes (hierachical markdown notes) and KeePassXC (password manager). I remember those two because I had to use DropBox, they can't see the Gnome Google Drive path as a regular path.

I ended up buying InSync because it was 50% off in easter, and its Google Drive/Dropbox paths works perfectly even in the terminal. Unfortunately it lacks Google Drive streaming.

[dead]
Re:10 years since Google said to “hang tight” about Linux su... by mplewis on Sunday April 24, 2022 @02:57PM (#31147075)
Because one would presume that a company building online file storage as a product would want it to work?
[dead]
Re:10 years since Google said to “hang tight” about Linux su... by thrwyoilarticle on Sunday April 24, 2022 @03:48PM (#31147648)
Because it's a paid service. But explaining the emotions you've projected upon OP isn't useful discussion.
Re:10 years since Google said to “hang tight” about Linux su... by CoastalCoder on Sunday April 24, 2022 @04:08PM (#31147836)
From the OP:

> Just give us a web filesystem already. Stop with these shitty infantilized GUIs ... That actually worked ffs. ...

I responded by saying:

> Your level of angst makes me think ...

I suppose I could be wrong about the OP expressing angst, but I think it's reasonable inference.

Also, you wrote:

> Because it's a paid service.

I see two problems here:

(1) I was asking the OP (@titzer) what their reasons were, not yours.

(2) Only some people pay for Google Drive. One reason that I wrote:

> Your level of angst makes me think you believe someone out there is obligated to do this for you.

>

> If you believe that, I'm curious why.

was that if the @titzer was paying for Google Drive, I could see him having a stronger reason for expecting Google to make the product useful to him. But I didn't want to assume, which is why I asked.

Re:10 years since Google said to “hang tight” about Linux su... by boredpudding on Sunday April 24, 2022 @05:02PM (#31148311)
Just gonna leave this here:

https://news.ycombinator.com/newsguidelines.html

Please don't go into how another person is feeling, just read the comment and reply. It will never go well for you if you try to dismiss somebody's comments by focusing on how they are feeling instead of their words.

Re:10 years since Google said to “hang tight” about Linux su... by mechanical_bear on Sunday April 24, 2022 @06:27PM (#31148886)
I am paying for Google Drive and I agree with Titzer.
Re:10 years since Google said to “hang tight” about Linux su... by llanowarelves on Sunday April 24, 2022 @04:00PM (#31147766)
It barely works.

Google Drive deletes files randomly (whether due to programmatic/storage problems or the documented issue with the algo not liking things and silently deleting them).

Missing block level sync reinforces that it's a toy. What would you do with 100+gb they tout if not having big media files? 10,000 spreadsheets (that might still randomly get deleted)?

I would be afraid to rely on it for business

Re:10 years since Google said to “hang tight” about Linux su... by Xorlev on Sunday April 24, 2022 @09:04PM (#31149781)
I work on Drive.

If you're observing deleted files, and you don't have any third party applications with access to your Drive, we'd be very interested in hearing from you, we take data integrity issues very seriously.

You can check the activity under any folder and see what issued the deletes. If there are missing files _without_ an entry there, and it doesn't seem to be a rogue integration with the Drive API, feel free to get in touch with me.

Re:10 years since Google said to “hang tight” about Linux su... by llanowarelves on Monday April 25, 2022 @07:47PM (#31162339)
I appreciate the response.

Despite my acidulous comment I have only once personally experienced a silent deletion, and it was with a Google Sheet a few years ago.

It was a "Copy of" produced by "make a copy" menu option that ended up deleted, which I confirmed with someone else who also had made a copy the same exact way, who couldnt access theirs either. Is this expected behavior when the source file is deleted, or is it, as I thought, a bug?

Re:10 years since Google said to “hang tight” about Linux su... by Xorlev on Sunday May 01, 2022 @11:05PM (#31231010)
> It was a "Copy of" produced by "make a copy" menu option that ended up deleted, which I confirmed with someone else who also had made a copy the same exact way, who couldnt access theirs either. Is this expected behavior when the source file is deleted, or is it, as I thought, a bug?

Without being able to look at the item in question, I couldn't tell. However, deleting copies when a source file disappears is unexpected and as far as I'm aware there's no mechanism for "dependent" deletes.

Where did you copy the item to? Was it stored in your My Drive?

Re:10 years since Google said to “hang tight” about Linux su... by encryptluks2 on Sunday April 24, 2022 @06:11PM (#31148794)
I see no proof of it doing this. It sounds like it you are saving spreadsheets it may have to do with an extension or third-party app you are using. I've never had an issue with files randomly getting deleted on Google Drive and it would be a much bigger issue if this was common.
Re:10 years since Google said to “hang tight” about Linux su... by pessimizer on Sunday April 24, 2022 @04:43PM (#31148137)
> There's a difference between "I wish this product had feature X" and "I'm upset because I'm owed feature X for reason Y."

Then you probably shouldn't have added the owed part.

Re:10 years since Google said to “hang tight” about Linux su... by snvzz on Sunday April 24, 2022 @04:22PM (#31147937)
Consider paying for S3.
Re:10 years since Google said to “hang tight” about Linux su... by maccard on Sunday April 24, 2022 @04:27PM (#31147988)
S3 is not a filesystem replacement unfortunately.
Re:10 years since Google said to “hang tight” about Linux su... by yjftsjthsd-h on Sunday April 24, 2022 @08:47PM (#31149679)
Why not? It's a cloud service that stores files, can pretend to have directories, and for which there exist multiple utilities to mount the thing as a local file system. What's the shortcoming?
Re:10 years since Google said to “hang tight” about Linux su... by mr_toad on Sunday April 24, 2022 @08:58PM (#31149736)
S3 is object storage not block storage.

https://www.digitalocean.com/community/tutorials/object-stor...

Object storage isn’t random access (the ability to read and write any part of a file) the way a disk drive is. This causes complications for software that expects to be able to randomly access a file like they would on a disk.

Re:10 years since Google said to “hang tight” about Linux su... by drdaeman on Sunday April 24, 2022 @10:49PM (#31150328)
WebDAV is also an object storage protocol but it can do random access. Well, almost.

Partial reads are supported everywhere out of box just by using the Content-Range HTTP header.

Partial writes aren't standard, but some implementations e.g. SabreDAV can do those using PATCH with X-Update-Range header (and e.g. rclone supports this).

WebDAV has its warts and limitations but it's a very underappreciated protocol.

Re:10 years since Google said to “hang tight” about Linux su... by maccard on Monday April 25, 2022 @06:00AM (#31152449)
As someone else pointed out, it's object storage not block storage meaning things like partial reads and partial writes don't work. That may not be a problem for you, but it _is_ a problem for me (particularly when dealing with remote data).

> for which there exist multiple utilities to mount the thing as a local file system

Which all have their own sets of intricacies. The most obvious one being listing a directory is either impossible, costly, or as slow as the heat death of the universe. Other (far riskier) ones (from s3fs-fuse, which I have the most experience with[0] ) are the lack of guarantees about atomicity and concurrent access.

[0] https://github.com/s3fs-fuse/s3fs-fuse

Re:10 years since Google said to “hang tight” about Linux su... by kumarsw on Sunday April 24, 2022 @04:44PM (#31148146)
Not a filesystem, but rclone works pretty well
Re:10 years since Google said to “hang tight” about Linux su... by maccard on Sunday April 24, 2022 @04:59PM (#31148276)
rclone also works with Google drive, if that's all you're after.
Re:10 years since Google said to “hang tight” about Linux su... by pmarreck on Monday April 25, 2022 @10:13AM (#31155063)
Why pay when https://min.io/ exists?
Re:10 years since Google said to “hang tight” about Linux su... by soraminazuki on Monday April 25, 2022 @01:02AM (#31150892)
I'd rather that didn't happen. The current web ecosystem of adtech companies and data brokers makes the web one of the last places where I'd want to entrust my files with. And before anyone mentions permissions, I don't see that putting a stop to data harvesting. Because if that even worked, social media would not have been a thing. It has been shown that people just "willfully" give up their data without giving as much thought to the consequences. So if this web filesystem plan goes through, entire services would be built around users giving companies access to their files, and those would go straight to the ad networks. Less friction in the browser means that we'd see an exponential increase in those type of services. So the current friction is better for user privacy.