Important notice about the future of Stripcreator (Updated: May 2nd, 2023)

stripcreator forums
Jump to:

Stripcreator » General Discussion » Help Me Out

Author

Message

wirthling
supercalifragilisticexpialadosucks

Member Rated:

I'll have to look a bit more into Perl. Perl is more-or-less an interpreted version of C++, right? Would I need to add my own libraries to the server or is there a standard set that comes included in IIS or something?

Is "WordsDocuments" the "cornhole 12 35 98 142 1209" file? Or is that an example of a "Words" table?

Would you run the indexer manually or set it up to run automatically at some specified interval? (I update individual web pages irregularly--sometimes there are several changes and new pages (or removed pages) per day, sometimes nothing is changed for several days.)

I'll have to look that one up.

Breaking up the dictionary into several files is done to make the search faster, yes?

I am guessing that your script is huge. In the past, I have been intimidated by looking at complex examples. I find I learn better by dinking away and building up a script slowly from scratch, learning about how to add each layer of complexity as I go. Thanks, though. I may reconsider if I get stuck.

Yeccch. I do have some experience with Access, but it seems like overkill for what I'm doing. Plus, that requires using VBAccess for scripting, doesn't it?

Do you do murder-for-hire?

---
"And Wirthling isn't worth the paper he isn't printed on."

2-22-02 3:11pm (new)
quote : comics : pm : info


boorite
crazy knife lady

Member Rated:

Answering quick cuz heading out of here:

quote:

I'll have to look a bit more into Perl. Perl is more-or-less an interpreted version of C++, right?

Not really. It has C++ like syntax and is actually written in C++. It has lots of features to make your life easier than coding it all up from scratch.

quote:

Would I need to add my own libraries to the server or is there a standard set that comes included in IIS or something?

Many libraries come with the ActiveState (Win32) build of Perl, and others, you can get. You should only have to write your own libs for very idiosyncratic stuff, e.g., the look and feel of your intranet.

quote:
Is "WordsDocuments" the "cornhole 12 35 98 142 1209" file? Or is that an example of a "Words" table?

Well the example I gave uses flat files. The WordsDocs table would be the middle table in a relational schema. You have a table of words. You have a table of docs. In between, you have a table that links them up-- shows which words go with which docs. Relational design.

quote:
Would you run the indexer manually or set it up to run automatically at some specified interval?

The latter. I use a task scheduling tool called LaunchPad but NT has built-in facilities for this.

quote:
Breaking up the dictionary into several files is done to make the search faster, yes?

Yes.

quote:
I am guessing that your script is huge.

Nope, quite small. But looking back on it I see a lot of goofy redundancies and wasted code.

No, Perl has a library called Win32::ODBC. Very cool API.

Not in a while.

---
What others say about boorite!

2-22-02 3:55pm (new)
quote : comics : pm : info


bunnerabb
Some bloke.

Member Rated:

So... the suggestion box entries were crap?

---
I wanted my half in the middle and I wound up on the edge.

2-22-02 4:06pm (new)
quote : comics : pm : info


crabby
I have an awesome avatar.

Member Rated:

Question: I found a rat skelton in my sandwich what should I do with it?

Response: You should eat it. It's a proven fact that eating a fallen predators skeletal bones will provide you with power.

2-24-02 10:30pm (new)
quote : comics : pm : info


DexX
What the Cat Dragged In

Member Rated:

Q - The "rice" you served me is wriggling around on my plate. Is this normal?

A - Yes. We make it mobile so you get the intellectual stimulation of chasing it around before eating it.

Q - A rat the size of a corgi just stole my meatloaf. It didn't get far before falling to the floor and convulsing violently, before finally dying. Should I be upset about this, or grateful?

A - That wasn't a rat. It was one of the company's lawyers. We should probably all be grateful.

Q - Is it possible for me to join the union formed by the fungus growing in your kitchen? It seems to have more lobbying power then mine.

A - Are you fungus? There's your answer.

---
This signature has performed an illegal operation and has been shut down.

2-25-02 12:57am (new)
quote : comics : pm : info


pita
La fille qui a joué avec le feu

Member Rated:

Gawd, DexX, it sure is good to have you back !

Between you & bunner... I'm over here ROFPMPO
(rolling on the floor pissing my pants off).

---
“It is only with the heart that one sees rightly; what is essential is invisible to the eye.” - The Little Prince by Antoine de Saint-Exupéry (1945)

2-25-02 7:07am (new)
quote : comics : pm : info


bunnerabb
Some bloke.

Member Rated:

quote:
I'm over here ROFPMPO
(rolling on the floor pissing my pants off).

ewwwww...

---
I wanted my half in the middle and I wound up on the edge.

2-25-02 7:25am (new)
quote : comics : pm : info


DexX
What the Cat Dragged In

Member Rated:

To urinate with enough force to remove your pants is an impressive talent!

---
This signature has performed an illegal operation and has been shut down.

2-25-02 7:48am (new)
quote : comics : pm : info


wirthling
supercalifragilisticexpialadosucks

Member Rated:

Boorite (or anyone else familiar with RegEx):

I am working on my search script. I was able to lift some code from someone else that strips out html tags, but I'm not sure how to phrase the RegEx pattern to strip out scripting. Any suggestions? I'm reading stuff about RegExes but having trouble making it work.

The pattern I'm using to strip html tags is "]*>". How do I alter that to strip ""?

(Obviously, I would strip the scripting before the other html tags.)

---
"And Wirthling isn't worth the paper he isn't printed on."

2-26-02 4:37pm (new)
quote : comics : pm : info


wirthling
supercalifragilisticexpialadosucks

Member Rated:

I think I figured it out. I tried "" and it seems to work. I finally realized that the expression in the middle ("[^~]") needed to exclude any character that might be found in a script. At least that's what I think I figured out.

---
"And Wirthling isn't worth the paper he isn't printed on."

2-26-02 5:45pm (new)
quote : comics : pm : info


wirthling
supercalifragilisticexpialadosucks

Member Rated:

I have a general programming question. I noticed that in example ASP/VBScript code, they all end with emptying the objects (e.g. "set regEx = nothing"). I understand (I think) that this is done to free up the memory that was being taken up by that object. Is it also a good idea to empty arrays if you're not sending them to another page?

---
"And Wirthling isn't worth the paper he isn't printed on."

2-26-02 5:49pm (new)
quote : comics : pm : info


gabe_billings
President and CEO of Wirthlingsux Inc.

Member Rated:

This all sounds far too complicated. Here's what I did at work today. I'm also working on a Flash based version of Connect 4. They really should keep a closer eye on me.

---
100 pounds of shit in a 25 pound sack.

2-26-02 7:47pm (new)
quote : comics : pm : info


Jabizo
Member - Tobor Fan Club

Member Rated:

You get to make Tobor animations at work!? May I have your job when you move?

---
Vulgarity is simply the conduct of others. -Oscar Wilde

2-27-02 5:41am (new)
quote : comics : pm : info


boorite
crazy knife lady

Member Rated:

The statement I always used for stripping out HTML tags was:

$whatever =~ s///gs;

It might not work in all cases. I forget why.

Anyway, if you leave out the ?, you get "greedy" pattern matching: The pattern would be the first and everything in between. The substitution would be performed on practically the entire document. The ? makes it non-greedy: the match is everything between the .

g = global

s = treat whole string as a single line, IIRC-- something like that.

Similarly, to strip out scripting, I would go:

$whatever =~ s///gis;

Note that I had to "escape" the / in '/script' using a backslash.

i = ignore case

Don't worry too much about freeing up memory unless you're using megs and megs and megs of it (or unless you're working on an old Timex/Sinclair).

---
What others say about boorite!

2-27-02 7:30am (new)
quote : comics : pm : info


gabe_billings
President and CEO of Wirthlingsux Inc.

Member Rated:

I wouldn't go so far as to say that I 'get' to. But I do. And I actually think I'll be keeping my job when I move but doing it from home instead of the office. Yahoo!

---
100 pounds of shit in a 25 pound sack.

2-27-02 12:34pm (new)
quote : comics : pm : info


KajunFirefly
chooby digital (in stereo)

Member Rated:


You're the luckiest bald man I know!

---
Dad was flammable

2-27-02 12:37pm (new)
quote : comics : pm : info

Stripcreator » General Discussion » Help Me Out


reload page with comics

Jump to:

Post A Reply


stripcreator
Make a comic
Your comics
Log in
Create account
Forums
Help
comics
Random Comic
Comic Contests
Sets
All Comics
Search
featuring
diesel sweeties
jerkcity
exploding dog
goats
ko fight club
penny arcade
chopping block
also
Brad Sucks