Reply
Old Jun 19, 2008, 08:43am Default Re: Today !
Babe

Posts: 2,477
Name: Cindy
Karma: Cat-tranz is a jewel in the roughCat-tranz is a jewel in the roughCat-tranz is a jewel in the rough
Lets hope you dont Ken
__________________
New members - before you post please read the TNT Rules
Cat-tranz is offline
Reply With Quote
View Public Profile Send a private message to Cat-tranz
 
Old Jun 19, 2008, 11:31am Default Re: Today !
sepulchre's Avatar
Elite Member

Posts: 457
Name: Ken
Karma: sepulchre will become famous soon enough
This is my lunch break. Whew!
Thought I was only going to have to replace some shingles. After removing the old I've discovered a 4 by 8 piece of plywood that's rotted through.
So I'm tearing it all out. Now to find a friend with a pickup truck to haul some new wood from town.
__________________
(\__/)
(='.'=)
(")_(")
sepulchre is offline
Reply With Quote
View Public Profile Send a private message to sepulchre
 
Old Jun 19, 2008, 12:00pm Default Re: Today !
APK
APK's Avatar
Elite Member

Posts: 354
Name: The Duke of URL
Karma: APK will become famous soon enough
Quote:
Originally Posted by sepulchre View Post
This is my lunch break. Whew!
Thought I was only going to have to replace some shingles. After removing the old I've discovered a 4 by 8 piece of plywood that's rotted through.
So I'm tearing it all out. Now to find a friend with a pickup truck to haul some new wood from town.
That's when doing a roof is a BUMMER... having to replace the foundation planks!

(Ugh... not only having to scrape possibly MULTIPLE layers (according to code around here, you can ONLY GO 3 layers deep, before you have to go ALL FRESH tile again) of rotted out shingles, & getting roofing tar ALL OVER YOU, lol... Which sux in & of itself!)



* LOL, once, around a 16 yrs. ago or so, my nephew (now a freshman comp. sci. major @ RIT) was only like 2-3 yrs. old, & climbed up on the ladder where I was redoing my Ma's roof!

(I got lucky though, in not having to replace planks though, thank goodness)

& I was JUST finishing off the "cap" part, & he climbed up the ladder (takes 'balls" imo, even for older folks) & he then said:

"Can I help Uncle Al?"

& I was like:

"Gord! Climb down off the ladder, right now man...!!!"

& he did...

(However, he got tar all over his hands & feet (from the ladder where I left it off of my gloves, can't avoid it))

... & I had NO idea he got covered in it!

All I heard from the inside was:

"AAAAAAA!!!"

(Massive yelling from my ma, because my nephew got roofing tar on her rug on the steps where you come into her home...)

APK

P.S.=> It was only a couple spots, which I cut out & glued in shavings of the rug from extra remnants we had from when it was put in, thank goodness... & the boy was ONLY trying to help, so he did not 'catch a beating' & all that! I thought it was funny, & something to share, about roofing!

The lesson? Don't let those with even "the best intentions" come up & help... they're almost GUARANTEED to get smeared in roofing tar, everytime! 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:05pm.
APK is offline
Reply With Quote
View Public Profile Visit APK's homepage! Send a private message to APK
 
Old Jun 19, 2008, 12:12pm Default Re: Today !
APK
APK's Avatar
Elite Member

Posts: 354
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
 
Old Jun 19, 2008, 02:58pm Default Re: Today !
sepulchre's Avatar
Elite Member

Posts: 457
Name: Ken
Karma: sepulchre will become famous soon enough
Recursive iteration is the basis of all fractal generation programs. It's also employed in compression routines.
__________________
(\__/)
(='.'=)
(")_(")
sepulchre is offline
Reply With Quote
View Public Profile Send a private message to sepulchre
 
Old Jun 19, 2008, 03:03pm Default Re: Today !
ianm's Avatar
Just Cuddly Old Me™

Posts: 1,467
Karma: ianm is on a distinguished road
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
ianm is offline
Reply With Quote
View Public Profile Visit ianm's homepage! Send a private message to ianm
 
Old Jun 19, 2008, 07:25pm Default Re: Today !
APK
APK's Avatar
Elite Member

Posts: 354
Name: The Duke of URL
Karma: APK will become famous soon enough
Quote:
Originally Posted by sepulchre View Post
Recursive iteration is the basis of all fractal generation programs. It's also employed in compression routines.
Yup, agreed, & the problem's NOT the recursion (no memory exhaustion, etc. over 1.5 million line entries thusfar @ least), @ this point... the recursive function's working, perfectly now in fact...

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.
APK is offline
Reply With Quote
View Public Profile Visit APK's homepage! Send a private message to APK
 
Old Jun 20, 2008, 01:17am Default Re: Today !
Junior Member

Posts: 29
Karma: Kanolo1 is on a distinguished road
Today ;
I design the sign of my new store.
That take a lot of brain's resource.
__________________
Diet l Business l Automotive l Technology l Online Store
Kanolo1 is offline
Reply With Quote
View Public Profile Visit Kanolo1's homepage! Send a private message to Kanolo1
 
Old Jun 20, 2008, 10:49am Default Re: Today !
ianm's Avatar
Just Cuddly Old Me™

Posts: 1,467
Karma: ianm is on a distinguished road
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
ianm is offline
Reply With Quote
View Public Profile Visit ianm's homepage! Send a private message to ianm
 
Old Jun 20, 2008, 11:02am Default Re: Today !
Babe

Posts: 2,477
Name: Cindy
Karma: Cat-tranz is a jewel in the roughCat-tranz is a jewel in the roughCat-tranz is a jewel in the rough
Hope you feel better soon Ian
__________________
New members - before you post please read the TNT Rules
Cat-tranz is offline
Reply With Quote
View Public Profile Send a private message to Cat-tranz
 
Reply
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search





All times are GMT -4. The time now is 05:46pm.

RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML


Copyright © 2006 - 2008 by The New Tech

vBulletin, Copyright © 2000-2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC5