Post APc3AFVsQ0eEnn2y2q by jhoward@mastodon.sdf.org
 (DIR) More posts by jhoward@mastodon.sdf.org
 (DIR) Post #APc1aT02hNFWFbWwoC by Ricardus@mastodon.sdf.org
       2022-11-15T01:22:06Z
       
       0 likes, 0 repeats
       
       When you right click a file and select properties, why don't you get a good hash for the file. SHA256 or something equivalent or better? I can't be the first person to think of this.
       
 (DIR) Post #APc20N5vHCD5SudJwW by anthonyg@mastodon.sdf.org
       2022-11-15T01:26:46Z
       
       0 likes, 0 repeats
       
       @Ricardus That's a really good idea. It would make verifying file downloads with hashes super easy.
       
 (DIR) Post #APc26y16ueNhiQWkj2 by Ricardus@mastodon.sdf.org
       2022-11-15T01:27:58Z
       
       0 likes, 0 repeats
       
       @anthonyg Which is what I would like to do without having to open two terminals and invoke sha256sum twice.
       
 (DIR) Post #APc2FMZ7WeYqAURFvk by jhoward@mastodon.sdf.org
       2022-11-15T01:29:29Z
       
       0 likes, 0 repeats
       
       @Ricardus Maybe the complexity of dealing with non-near-instant generation times for larger files?  I suppose you could do lazy population of the value, but then you'd have to stop generation if it's closed and also manage that when most of that stuff is written in a blocking sort of way.Certainly would be nice to have a "Generate hash..." right click option, though.  Or a button in the properties.
       
 (DIR) Post #APc2TPS9aPWNB6sUUq by hal_canary@mastodon.sdf.org
       2022-11-15T01:31:59Z
       
       0 likes, 0 repeats
       
       @Ricardus why not build it into the filesystem?  cache the sum with the inode and invalidate it when the file is changed.
       
 (DIR) Post #APc2Y8ZNmmOoGNVtwW by cs@mastodon.sdf.org
       2022-11-15T01:32:52Z
       
       0 likes, 0 repeats
       
       @Ricardus Windows or Linux? I think i have a utility on Windows that does this. i will check tomorrow.
       
 (DIR) Post #APc2oJl5xAjVb9huwy by Ricardus@mastodon.sdf.org
       2022-11-15T01:35:48Z
       
       0 likes, 0 repeats
       
       @cs Linux. Every OS. Seems like a no brainer for me.
       
 (DIR) Post #APc2pW8NQXKGGnAYVs by Ricardus@mastodon.sdf.org
       2022-11-15T01:36:02Z
       
       0 likes, 0 repeats
       
       @hal_canary Sure.
       
 (DIR) Post #APc2tZlNsMfSgSLkf2 by Ricardus@mastodon.sdf.org
       2022-11-15T01:36:45Z
       
       0 likes, 0 repeats
       
       @jhoward Sure. Or put the button when a file size exceeds a certain number, otherwise generate the hash.
       
 (DIR) Post #APc2vtgklUWf3nI5R2 by LPTVLive@mastodon.sdf.org
       2022-11-15T01:37:10Z
       
       0 likes, 0 repeats
       
       @Ricardus What's that about good hash, man?!? 😂
       
 (DIR) Post #APc2y9kU1ah9Ru72ga by Ricardus@mastodon.sdf.org
       2022-11-15T01:37:34Z
       
       0 likes, 0 repeats
       
       @LPTVLive Save the whales. Kill the seals.
       
 (DIR) Post #APc3AFVsQ0eEnn2y2q by jhoward@mastodon.sdf.org
       2022-11-15T01:39:45Z
       
       0 likes, 0 repeats
       
       @Ricardus Having done a lot of UI, I'd worry about "No good deed goes unpunished".  I'd pick a value that seemed to work well for me and then someone w/ a less capable system configuration would complain the dialog is laggy.Personally, I'm a big fan of lazy loading, but it does add complication.