!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

135 Members
44 Servers

Load older messages


SenderMessageTime
5 Sep 2024
@k900:0upti.meK900Is that really a problem08:30:52
@k900:0upti.meK900Agreed08:30:55
@outfoxxed:outfoxxed.meoutfoxxednot as long as its able to clean up08:31:00
@outfoxxed:outfoxxed.meoutfoxxedwhich it can since thats validation not id08:31:10
@k900:0upti.meK900OK so our key structure ends up being (app name, filename hash, ["build-id", mtime])08:33:46
@k900:0upti.meK900Where build-id is either Qt "tag" or hash(Qt "tag" + app store path) depending on whether we're outside of the store or inisde08:34:16
@k900:0upti.meK900And when we're inside the store, mtime is 008:34:28
@k900:0upti.meK900So technically we end up with either (Qt "tag", mtime) or (Qt "tag", app store path)08:34:51
@k900:0upti.meK900And when I spell it out like that it kinda makes more sense to maybe hash the app store path into mtime instead?08:35:04
@outfoxxed:outfoxxed.meoutfoxxedthe only problem with that is you have 8 bits08:35:19
@k900:0upti.meK900Though then we don't have a way to tell if it's a hash or an actual mtime08:35:21
@outfoxxed:outfoxxed.meoutfoxxedinstead of 48 bytes08:35:23
@k900:0upti.meK900Wait is it 8 bits or 8 bytes08:35:28
@outfoxxed:outfoxxed.meoutfoxxedbytes sorry08:35:35
@k900:0upti.meK900I feel like 8 bytes is enough honestly?08:35:56
@k900:0upti.meK900Like we'd have to hit a different build of the same app, on the same Qt version, on the same machine08:36:22
@outfoxxed:outfoxxed.meoutfoxxedmaybe, but we're already screwing with stuff right next to it and it seems like the 48 byte slot is a lot safer08:36:25
@k900:0upti.meK900Colliding that in 8 bytes feels extremely unlikely08:36:36
@outfoxxed:outfoxxed.meoutfoxxedand lets us encode more information for raw store paths and such if we need to08:36:37
@k900:0upti.meK900I don't really have a strong opinion one way or another08:37:44
@outfoxxed:outfoxxed.meoutfoxxedI think it just depends on how we handle bare store paths08:40:21
@outfoxxed:outfoxxed.meoutfoxxedbecause we might need to be able to hash more data in08:40:30
@k900:0upti.meK900Thanks for driving this btw08:49:33
@k900:0upti.meK900It's a good change even if getting there will probably be confusing08:49:48
@outfoxxed:outfoxxed.meoutfoxxed
In reply to @k900:0upti.me
Thanks for driving this btw
no problem. I'm only interested because I spent a good 8 hours troubleshooting it not caching yesterday and now I want it fixed
08:51:55
@outfoxxed:outfoxxed.meoutfoxxednot because I'm going to use it very much but because it annoys me08:52:05
@k900:0upti.meK900Ain't that the spirit of open source08:54:29
@outfoxxed:outfoxxed.meoutfoxxedalways08:58:59
@k900:0upti.meK900Also, sorry if I was harsh last night09:12:36
@outfoxxed:outfoxxed.meoutfoxxed
In reply to @k900:0upti.me
Also, sorry if I was harsh last night
nope, just glad you pointed out the issues
09:28:09

Show newer messages


Back to Room ListRoom Version: 9