3376
Living Room / Re: Firefox Personas - Can we get a Donationcoder one?
« Last post by f0dder on June 15, 2009, 06:12 PM »What is it? A background bitmap for the toolbars?







So in any case, what is worse, to switch off UAC or to run as admin?Both options are pretty silly when UAC is available-urlwolf (June 13, 2009, 02:28 PM)

Ok, so you never use public attributes in classes unless speed is absolutely vital?You never use publicly accessible attributes, period. And forget the speed argument, compilers are pretty decent at inlining the calls so they end up with exactly the same machine code as direct access.-mnemonic (June 13, 2009, 04:55 AM)
Doesn't work with f0dder usually because he lives in a different plane of existence where there is no time.Hah-4wd (June 12, 2009, 07:58 PM)

Pretty good point, embarrassing I hadn't thought about thatSomething that could be done is to set up a timer in which you are admin without more prompts.you can't. otherwise malicious software might launch a trusted program, requiring elevation. You would then get an "elevated permission" cookie for enough time to let the malicious program to perform an administrative tasks without asking again for your consent.-urlwolf (June 12, 2009, 04:13 AM)-NoWhereMan (June 12, 2009, 01:16 PM)




edit: ok, I got it. After masking off the hi byte I needed to shift right 8Floating-point is evil and imprecise, fixed-point is precise and easy-peas
Wish they'd just return a damn floating point number like 6.1!! Jeez!-MilesAhead (June 11, 2009, 08:21 PM)

I consider switching because I need a backup on DVD burning that handles spanning & diff or incremental modes.Why not simply use WinRAR (or w/e) in split mode and manually burn the files? Sure, it's an extra step, but buying a new compression app just for that slight amount of ease?-MerleOne (June 10, 2009, 09:56 AM)



Some further thoughts. The test zip file i created has 18,375 files and weighs in at 3.27 MB. That must mean that the filenames storage takes up that much space. And that zips don't optimize that part? or something else?Indeed they don't - it would make reading the zip folder structure much slower, and to achieve any kind of reasonable compression you'd need to compress just the filenames... which would mean quite a restructure of the file format, and require either unpacking all the filename information at once, or some "somewhat interesting" code.-vixay (June 10, 2009, 07:10 AM)
Scanning for files was slower than everything/locate, i don't know how they do it, but they can scan filenames super fast. just a thought, to see if it could be sped up. Since you don't actually need to touch the file, and just need the information from the MFT.Locate builds an efficient index file, which can be read faster than the MFT (and doesn't have security-check overhead either). Everything, as far as I can tell, scans the MFT directly (which is why it requires administrator privileges).-vixay (June 10, 2009, 07:10 AM)
The date/time is not preserved for filenames. This was not an original requirement but when i think about it, it's better to have that information preserved (not required though). If it will make the program slower then it should not be there (or maybe as an optional thing).It shouldn't make the zip-creation slower, since you also get file dates when scanning for files.-vixay (June 10, 2009, 07:10 AM)
Kool-Aid-Deozaan (June 09, 2009, 05:47 PM)

