![]() |
Today ! |
Thread Tools | Search this Thread |
|
|
|
|
Babe
![]() Posts: 2,477
Name: Cindy
Karma:
![]() ![]()
|
Lets hope you dont Ken
![]()
__________________
New members - before you post please read the TNT Rules
|
|
|
|
|
|
|
|
Elite Member
Posts: 354
Name: The Duke of URL
Karma:
|
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):
![]() * 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. |
|
|
|
|
|
|
|
Elite Member
Posts: 457
Name: Ken
Karma:
|
Recursive iteration is the basis of all fractal generation programs. It's also employed in compression routines.
__________________
(\__/) (='.'=) (")_(") |
|
|
|
|
|
|
|
Just Cuddly Old Me™
Posts: 1,467
Karma:
|
adds to longest thread
__________________
blog | flickr | fazyluckers | graphic design forum | graphic design links | The Photo Forum MCP - Troubleshooting Windows XP MCDST - Supporting Users of XP |
|
|
|
|
|
|
|
|
Elite Member
Posts: 354
Name: The Duke of URL
Karma:
|
Quote:
Now though? Well, it's an "out of bounds" array error! This should be easy enough to cure, because of the controls I use... I keep the selected item visible, in listboxes I use (for now, during debug @ least, Until I no longer need it & then the GUI overhead of the app WILL go down, because I won't need it visible anymore) (See - I use listboxes as "dynamic arrays"! A 'hack' no doubt, but one that does the job with a WEE bit of GUI overheads is all, & makes for far easier VISUAL debugging imo, as I can literally SEE where the function is, as it vectors thru/iterates thru the array/listboxes' items) Listboxes: They function PRETTY MUCH just the same as a VB Dim/ReDim Preserve type thing for dynamic arrays (though Delphi has this as well, TRUE dynamic arrays, & since version 4.0 iirc? I still use listbox controls as dynamic arrays - since they're GREAT for visual debugs, for lack of a better expression & better than a ShowMessage or Application.Messagebox type affair (or even watch windows on a var, struct, etc.)). It's going to work, it will just take time 'tracing'... ![]() * Wish me luck, because it overcomes a LOT of hassles that Access gave me, for normalization (removal of dups) via SQL "SELECT DISTINCT" queries... which, upon exports? Left trailing spaces OR quotes around exported data! That made the structure of the HOSTS file 'bloated' (especially the trailing space after IP(singlespace)URL(cr+lf) <- where Access exports left that trailing 'space' right after the enter keypress (cr+lf)). Might not seem like much to '***** about' on my part, but, over 1.5million entries? That single-space Access leaves for instance, at the end of EACH LINE in my HOSTS file?? It adds up to bloat... bloat I don't need, nor does anyone (wasteful, inefficient, & imo? STUPID!) - it's literally the SAME reasoning I have for using 0.0.0.0 in a HOSTS file for blocking, vs. 127.0.0.1 - same function @ less cost in loadtime + memory occupancy... smarter, & MORE EFFICIENT, period (a better overall structure & ESPECIALLY over TONS of line item entries, which adds up in a hurry). APK
__________________
"I'm Reese: Sgt. TechComVN38416, assigned to protect you - You've been TARGETTED FOR TERMINATION!" Last edited by APK; Jun 20, 2008 at 07:09am. |
|
|
|
|
|
|
|
|
Junior Member
Posts: 29
Karma:
|
Today ;
I design the sign of my new store. That take a lot of brain's resource. ![]() |
|
|
|
|
|
|
|
Just Cuddly Old Me™
Posts: 1,467
Karma:
|
yesterday i was ill, today i'm still ill but not as ill as yesterday
__________________
blog | flickr | fazyluckers | graphic design forum | graphic design links | The Photo Forum MCP - Troubleshooting Windows XP MCDST - Supporting Users of XP |
|
|
|
| Thread Tools | Search this Thread |