topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday December 18, 2025, 3:15 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 27 28 29 30 31 [32] 33 34 35 36 37 ... 364next
776
Living Room / Re: Hotmail backup without POP3 crap?
« Last post by f0dder on December 22, 2012, 07:32 PM »
I really don't like web mail. Might be great for traveling salesmen or support people who are on the road.
*shrug* - the company I'm at uses gmail for infrastructure, works pretty well. Parts of it is definitely has better UX than any normal client I've used. I'm pretty skeptical of basing corporate stuff in the cloud, though, and I'd never trust it for my (all things considered, less important) private emails. I mean, it works super well, but they can index my stuff and patriot-act it and I have no guarantee it'll be there when I wake up tomorrow... but for daily work, it does work great.

Still wondering what to do about personal mail, though. Current thoughts gravitate around dovecot on my linux box along with a imap-pull script, but I'm not really sure.
777
General Software Discussion / Re: Firefox CPU usage
« Last post by f0dder on December 22, 2012, 07:28 PM »
Wouldn't there be more of hit with ABP since it has to use FF/PM/etc to get the pages, then parse them and is written in Java, (I think - probably wrong), whereas AdMuncher could be written in a more efficient language and applies the RegEx as it streams data through its proxy?
JavaScript, not Java! - the two have almost nothing in common. (I'd say java is generally a bit more efficient than JS, but JS JITters have improved a lot lately, and benefit from being directly baked in the browser rather than launching a separate VM and all that) - and while C++ (and assembly, as parts of AM is afaik) can be truckloads more efficient than other languages, browser extensions have access to a more direct representation of what's going on, whereas AM works as a proxy that has to do extra parsing - and, at least in theory, the really heavy-lifting work (the regex engine) of ABP could easily be implemented in lowlevel code (probably builtin firefox library?).

There's a lot of guesstimates in the above, though, and I could very easily be wrong! - at any rate, a long list of sloppy regexes are going to kill performance no matter what the underlying language is :)
778
Living Room / Re: Hotmail backup without POP3 crap?
« Last post by f0dder on December 22, 2012, 06:53 PM »
Perhaps MailStore? Only briefly played with it years ago, but if you like using hotmail as the main interface, perhaps this is decent as a backup?
779
Looks like you got a little behind with that download huh?
Little? More like decently.

Am I the only one who originally saw it as two embryos hugging?
780
General Software Discussion / Re: Firefox CPU usage
« Last post by f0dder on December 22, 2012, 06:42 PM »
I haven't looked at how Ghostery does it's blocking, but AdBlock uses regular expressions - the more blocklists you've added, the more regexes it has to chew through. Some REs are (relatively) cheap, some can be very expensive - so the time ABP chews up depends a lot on the nature of your blocklist.

Dunno how exactly ABP works with firefox, but in theory it only has to look at HTML content - AdMuncher has to intercept all HTTP traffic and parse it - and I'd expect it to work with regexes as well. So if you fed it the same the exact same blocklists as ABP, it ought to be slightly slower.

The above is purely guesses, though, AM might well be implemented differently or have a more efficient regex engine. I do seem to recall that the developer used to frequent some of the same IRC channels as me, which indicates an obsession with efficiency :)
781
Ghostery again. I know, Ghostery prob. sells its list elsewhere for its own uses.
Perhaps - somebody should dig into that. OTOH, it has that "GhostRank" thing that's disabled by default, and which one should probably not enable. And unless it either doesn't blocks the sites it says it claims it's blocking or sells the visitor-data of blocked sites to some central list of people, well, it's certainly better than NO protection.
782
This is one reason that Windows becomes more and more unresponsive the longer you keep it running, and why you end up eeding to restart your computer periodically.
Heh.

Yeah, gotta restart *Windows* because *applications* leak memory. What about just restarting FF and IE? :-P

Once you determine which process is using more virtual memory than it should, you need to determine what the process is. Some are pretty obvious, like winword.exe is Microsoft Word, iexplore.exe is Internet Explorer, and so on. Others aren't so obvious. The best way to determine the source of a specific process is to use a search engine to search for the Image Name as shown in Task Manager.
Which usually gives way too many junk hits these days :(. Protip: select "properties" for the process in task manager, and then "general" tab will show you the location of the process... often more useful than sifting through the junk search results.

Also: install sysinternals' Process Explorer instead of the cruddy old task manager, it's so much better :)
783
Good idea for faster debugging cycles - just remember to still test in the emulator often, and on real hardware every now and then... unless you want to end up, 5 minutes before deadline, realizing that your code runs too slow on The Real Thing... or that the native code module you're using does unaligned memory accesses that work fine on x86, but crash on ARM :)
784
General Software Discussion / Re: Password Managers
« Last post by f0dder on December 21, 2012, 08:06 PM »
fSekrit
Me too :P - but it's not for everyone, since it's just a dumb notepad with encryption support - specifically, it doesn't (and never will) do form auto-filling nor any of all that, by design. Worth mentioning since OP mentions lastpass.
785
The video lost me at hand-optimized the codebase.

Any coder care to explain? What additional coding function is being added?
The CPU in the RasPi is pretty slow - so they probably fixed tardy programming to speed up critical routines.
786
HACK THE PLANET TELCOS!
787
Announce Your Software/Service/Product / Re: Bvckup 2
« Last post by f0dder on December 20, 2012, 02:03 PM »
I tested on XP, but I foolishly lent my copy of Win 3.11 to someone so 'm afraid it's going to stay just the XP for now.
*big grin* - good luck running win3.x on modern hardware, too :P. Except for fSekrit, I personally wouldn't bother supporting anything lower than XP these days. But there's still a fair amount of people on that system, for various reasons... if writing LEAN_AND_MEAN software, there's a fair amount of people who'll appreciate XP support :)


I tried depth- vs. breadth-
Consistent 10% difference :)
Hmm! Also with a single-threaded scan? I really didn't see any noticable performance difference, which confused me - I would have supposed breadth-first to be faster (unless my hazy overview of MFT is wrong). Perhaps I simply got the code wrong?

Got any benchmark code you're willing to share? I'd be interested in trying it out on my own system, I'm afraid I didn't keep the stuff I wrote back then (and there were no threaded versions anyway).
Will do in a bit. I assume the command-line version is OK?
Sure thing. Would be nice with some source as well, but I can understand if it'll be too time-consuming to remove dependencies on code you want to keep private :)

What about Symlinks, Hardlinks and Junctions? Do you handle those correctly, and have they given you much headache? :)
You bet they did, but I'd like to think I have them sorted out. See here. I skipped the hardlinks though. That'd be chasing a very far end of the tail of the demand curve, I just don't have time for this now.
Seems like a sane enough scheme to handle things. I'm not sure there's a one-size-fits-all solution for this, anyway - and hardlink handlink is another headache. Not sure if I'd prefer to have, say, block de-duplication handle it. Would probably be less processing time to have specific hardlink support, and would be needed for proper restore - ugh :). But that's obviously outside the scope of what bvkup is designed for!

Bvvckup! :P
I like that - reminds me of Gobliiinsw though in (sane) reverse :P
788
Living Room / Re: silly humor - post 'em here! [warning some NSFW and adult content]
« Last post by f0dder on December 20, 2012, 07:39 AM »
I just realized I'm the one who started all this - zomg :-[

Also, here's a "I HATE ALL YOU SHARE/LIKE-WH*RES TAKING ADVANTAGE OF POOR CHILDREN!" kinda thing.

kid-grumpy-at-loser-dad.jpg
789
Living Room / Re: 21st December 2012...Why it won't happen...(Nibiru/Planet X)
« Last post by f0dder on December 20, 2012, 06:42 AM »
You're all going to die down here.
790
Announce Your Software/Service/Product / Re: Bvckup 2
« Last post by f0dder on December 19, 2012, 06:01 PM »
Have a little faith, will you? :)
*Grin* :)
Hope you don't take my posts as grumpy-old-man. I'm just interested in these things, and some of what you're syaing sounds weird compared to my own experiences. But I can handle being proved wrong, and always like learning new stuff ;)

(Also, I've been spending quite some time looking at backup software lately - pretty much everything sucks in one way or another. Closest I've come yet are Genie Timeline which was kinda nice but had bugs and shortcomings, and Crashplan which does some of the stuff GTL sucked at better, but has it's own problems - *sigh*.)

Hm, you might have a point wrt. warm cache querying - but have you tested the code across several OSes, especially pre-Vista? That's when Microsoft started doing a lot of work on lock-free data structures and algorithms in the kernel. Have you tested on XP and below?

This is with warmed up cache. C:\ was scanned in full immediately before this test. Interestingly enough, playing with the order, in which sub-directories are queued for scanning, can speed things up by additional 5-10%:
Hrm, last I played with different scanning techniques was back on XP - that's some years ago, which also means quite slower hardware. I tested NTFS, FAT32 and even ISO9660 (on a physical CD, since that's the slowest seek-speed I had available). I tried depth- vs. breadth-first, tried eliminiating SetCurrentDirectory calls since that'd mean less user<>kernel transitions (and I had hoped CWD wouldn't change, but it did - FindFirstFile probably changes directory internally), spent some effort on making the traversal non-recursive and eliminating as many memory allocations as possible... and nothing really did much of a difference. Was hellish doing cold-boots between each and every benchmark :)

Can't remember if that was before or after I got a Raptor disk - so it might have been on hardware before NCQ got commonplace, and it was definitely on XP. Still, even with NCQ, it's my experience that you don't need a lot of active streams before performance dies with mechanical disks. For SSDs, the story is entirely different, though - there, on some models, a moderate queue depth can be necessary to reach full performance. So a cold-scan on an SSD might benefit from multiple threads - I'd be surprised if a mechanical disk did, though!

Got any benchmark code you're willing to share? I'd be interested in trying it out on my own system, I'm afraid I didn't keep the stuff I wrote back then (and there were no threaded versions anyway).

there will always be time when the OS is not doing anything for us, because our app is busy copying what it got from the OS into its own data structures. So if we have 2+ threads pulling at the API, it eliminates these idle OS times.
It's my understanding that what you're generally waiting for when traversing the filesystme is disk I/O - the CPU overhead of data structure copying and user<>kernel switches should be entirely dwarfed compared to the I/O. Which is why I'm surprised you say multiple threads help when there's a mechanical disk involved. I'd like to verify myself - and I'd like even more if somebody can find a good explanation :D

Thirdly, the problem of the OS sitting idle becomes even more pronounced when you do an over-the-network scan.
That's a part I'm fully convinced you're right, without seeing benchmarks :) - there's indeed quite some latency even on a LAN, and the SMB/CIFS protocol sucks.

I got the point re: marketing speak though. I will try and back it up with the graphs :)
Please also change the wording, though :P - even with graphs, the sentence is still suspicious. I'm too tired at the moment to come up with something better that isn't going to confuse normal people, though :)

With regards to the MFT/USN - I really don't want to descent to that level. I considered using USN, for example, for move detection and it is - basically - a support hell. As much as I love troubleshooting NTFS nuances, this is just not my cup of tea.
It's a nastily low level to be operating at - and it definitely shouldn't be the only scanning available, since it might break anytime in the future. I'm also not sure MFT scanning is the best fit for a backup program, it's my understanding you pretty much have to read it in it's entirety (possibly lots of memory use, constructing a larger in-memory graph than necessary, or spending CPU on pruning items you're not interested in?) - but g'darnit it's fast. WizTree can scan my entire source partition in a fraction of the time just part of it can be traversed via API calls...

USN is tricky getting right, and I haven't had time to play enough with it myself. But IMHO the speed benefits should make it worth it. Without USN parsing, after (re)starting the backup program, you have to do complete traversal of all paths in the backup set. It's quite a lot faster simply scanning the USN logs and picking up changes - but yes, complex.

---

What about Symlinks, Hardlinks and Junctions? Do you handle those correctly, and have they given you much headache? :)
791
Announce Your Software/Service/Product / Re: Bvckup 2
« Last post by f0dder on December 19, 2012, 10:55 AM »
I might've mentioned before, the scanning module (the one that traverses the directory tree and collects the file information) is now redone to work in a highly parallel fashion, and it is incredibly fast. When scanning the local disk, it utilizes all available CPU cores to pipe the data out of the OS and into the app.
How do you determine what to scan in parallel? If you're simply going by partitions/mountpoints, you're going to kill performance on systems with multiple partitions on one physical drive. (You should look into parsing the MFT for NTFS drives, and possibly the USN journal as well.)

Also, scanning also isn't a very CPU intensive job, so while doing parallel threads, "utilizes all available CPU cores" sounds a bit too marketing/management-speak to me... I might actually avoid a backup product if it had a phrase like that anywhere on the web site :-)
792
Developer's Corner / Re: Carmack on Static Code Analysis Tools
« Last post by f0dder on December 18, 2012, 03:48 PM »
Watched it from the marked point and to the end - decent enough view. Carmack might not be as influential as he used to be (imho RAGE wasn't... all the rage, and looked kinda dull even compared to what can be done with the Crytek engine), but he's still a very skilled guy, and it's nice seeing him praise static code analysis. There's also a decent blog post to read.

Aaaaand... *drumroll* - Microsoft are being nice. Yep, /analyze in the free VC2012 Desktop Express.
793
Living Room / Re: Instagram can sell your photos, but you won't get paid or told.
« Last post by f0dder on December 18, 2012, 02:59 PM »
an after deleting 50 pictures it wont let me delete any more :(
To be fair, this could be anti-griefing protection for hacked accounts.
794
Living Room / Re: Renegade: A Hero In Our Midst
« Last post by f0dder on December 18, 2012, 02:19 AM »
AN HERO!
795
General Software Discussion / Re: App to Lose Weight
« Last post by f0dder on December 16, 2012, 08:25 AM »
So my brain decided this thread was going to be about app103 and I was wondering why you'd be making a post about her losing weight. :huh:

I think I need a new brain. :-[
You and me both - I short-circuited the crApple part and went directly to the app103 wondering, though :)
796
Living Room / Re: 0-Day TV Exploit
« Last post by f0dder on December 16, 2012, 08:21 AM »
But if it was Windows based, you would be getting the Blue (or White) screen of death every 2 hours of use.....   :o
The last time I saw a BSOD was when my SSD (holding my system partition) died. Before that, it was a buggy 3rd party VPN driver. Before that? Probably a hardware failure several years ago :). I wonder how Windows Embedded holds up these days - wouldn't put it in anything life-sensitive (but then I wouldn't use linux there either), but it just might be decent enough for a TV?
797
Living Room / Re: 0-Day TV Exploit
« Last post by f0dder on December 15, 2012, 11:18 AM »
But, it's linux-based! And linux is not windows, so it's super secure! :o :o :o
798
General Software Discussion / Re: WSOD
« Last post by f0dder on December 13, 2012, 05:12 PM »
Also, wild guesses here, but perhaps could be related to GDI object leaks or (perhaps a bit less likely?) desktop heap memory size.
799
we're about to enter some kind backwards mode with all this for a while until everyone stops freaking out and starts thinking clearly.
Rather, it's going to last until people really freak out and do something about the governments corporations.
800
General Software Discussion / Re: WSOD
« Last post by f0dder on December 13, 2012, 04:44 PM »
Oh, sounds like what happens when a program's GUI thread doesn't pump messages in a timely manner. This usually only happens with poorly programmed applications that does (too much) work in it's GUI thread.

If it starts happening to programs at random, hmm... not sure. Could perhaps be cause by global windows hooks, or perhaps bad some bad anti-malware stuff.
Pages: prev1 ... 27 28 29 30 31 [32] 33 34 35 36 37 ... 364next