Thread: Today !
View Single Post
Old Jun 19, 2008, 12:12pm
Default Re: Today !
APK
APK's Avatar
Elite Member

Posts: 368
Name: The Duke of URL
Karma: APK will become famous soon enough
As for MY day today? It is going to be an exercise in something called "recursion", & designing a function that can be continually "recalled" from a procedure (subroutine) in the program I've been working on to manage custom HOSTS files - for removal of repeat entries (normalization)...

These parts work, so far, perfectly though (2 for 3, 1 more to go above):
  • Checking for new entries you may wish to make & either accepting them as new or rejecting them as repeats
  • Scrubbing the file formats of other HOSTS files I import into it, into the format MINE uses (0.0.0.0.<singlespace>URL<cr+lf>), for imports into MINE (from theirs) for new entries (from HOSTS files others have made which do NOT use that most efficient format, & merging them) - which over 1.5 million entries processed is down to 15 seconds, in character mode (just under 2 minutes though, in GUI mode)


* Almost there... one last "out of index bounds" type err to overcome, & done... been working on it, on & off, for about 3 weeks now - if I didn't have other duties to discharge, it'd be done, but... this is life.

APK

P.S.=> Then, it's "polish it up enough for end-users" (no hardcoded file/folder locations, enable/disable buttons of other functions while certain ones run, etc. et al + more for aesthetics purposes) & off she goes!

POSSIBLY as a download to go with what I think is the best hosts file there is, the one I am building for folks, to protect they vs. today's online threats!

(I say "best" about mine, since mine is now largely currently composed (14mb in size) from HOSTS files that come from known & respected sources such as the hosts files of others (AND sites that specialize in security in this area, via their setting up "honey pot" websites to lure said bogus bots &/or hacker-cracker types to, so they can analyze said exploits!))... apk
__________________
"I'm Reese: Sgt. TechComVN38416, assigned to protect you - You've been TARGETTED FOR TERMINATION!"

Last edited by APK; Jun 19, 2008 at 12:16pm.
APK is offline
Reply With Quote
View Public Profile Visit APK's homepage! Send a private message to APK