You always think harder is better. Maybe next time I patrol, I should carry bricks and use a stake made out of butter.

Buffy ,'The Killer In Me'


Buffistas Building a Better Board  

Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.

To-do list


msbelle - Nov 21, 2002 9:41:36 am PST #1687 of 10000
I remember the crazy days. 500 posts an hour. Nubmer! Natgbsb

oh look posts in BBaBB that I understand.

now talk some code again! t channeling Wanda-like person


CaBil - Nov 21, 2002 11:56:28 am PST #1688 of 10000
Remember, remember/the fifth of November/the Gunpowder Treason and Plot/I see no reason/Why Gunpowder Treason/Should ever be forgot.

Sophia, I just got Jesse's address. Thanks!


§ ita § - Nov 21, 2002 2:21:32 pm PST #1689 of 10000
Well not canonically, no, but this is transformative fiction.

Hostrocket has told me they can't offer CVS for our purposes. I've replied asking them for what purposes it's usable.


Karl - Nov 21, 2002 2:39:29 pm PST #1690 of 10000
I adore all you motherfuckers so much -- PMM.

I'll be over here, setting something up in case hostrocket doesn't work out. ita, profile addy is good if you need anything from me.


Rob - Nov 21, 2002 2:57:18 pm PST #1691 of 10000

I think we should just go with Karl's machine.


§ ita § - Nov 21, 2002 3:07:26 pm PST #1692 of 10000
Well not canonically, no, but this is transformative fiction.

Karl, yell when you have something set up we can poke, can you?


John H - Nov 21, 2002 4:10:06 pm PST #1693 of 10000

they can't offer CVS for our purposes

I think in this case that "for your purposes" is just one of those meaningless strings that businesses add to the end of sentences so they won't just say "No.".

In other news, the last approach to parsing HTML, where I processed all end tags against start tags, is fatally flawed, as it will pass this:

</i><i>

as perfectly good code, what with the matching and the cancelling and the flavin.

Order is important. So, here's the new theory. We count all troublesome starting tags, and if there's a matching end-tag for them, we delete both. That won't find really curly problems but it will at least make a cursory inspection and identify unclosed tags.

Is it just me, or does that seem too easy? It would find unclosed table tags and unmatched TD tags.


Rob - Nov 21, 2002 4:24:21 pm PST #1694 of 10000

Is it just me, or does that seem too easy?

It seems like it will have the same problem you're having now.

I think we need to process the tags in order, so we have to figure out how iteratate over all the tags in order in PHP. If we can do that, the current algorithm will work fine.


§ ita § - Nov 21, 2002 4:27:20 pm PST #1695 of 10000
Well not canonically, no, but this is transformative fiction.

we have to figure out how iteratate over all the tags in order in PHP

Like

foreach ($taglist as $tag) {
    dojohnhmagic();
}
or has my skimming impaired my understanding of where we are right now?


Rob - Nov 21, 2002 4:30:09 pm PST #1696 of 10000

Hmm, actually, if we can change the regex to collect both open and close tags, and if they are returned in the order they appear in the text, ita's suggestion is right on the nose.