Anya: We should drop a piano on her. It always works for that creepy cartoon rabbit when he's running from that nice man with the speech impediment. Giles: Yes, or perhaps we could paint a convincing fake tunnel on the side of a mountain.

'Touched'


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


John H - Nov 19, 2002 9:55:54 pm PST #1660 of 10000

Aha, ita, you rock.

Do the dance of break.

Or not, because ... breakdancing.

[Edit: not only may I do a break, break in PHP has an optional number, so I can break out of the loop I'm in or any number of enclosing loops.]


Rob - Nov 19, 2002 10:18:14 pm PST #1661 of 10000

I had imagined searching and removing the tags from the open list immediately after finding a close tag, as opposed to collecting all the opens and closes and doing it after. I don't think it makes a difference, except it might be slightly more efficient doing it immediately, since in most cases the list of open tags will never get very long.

Break with a number scares the hell out of me.


John H - Nov 19, 2002 10:21:23 pm PST #1662 of 10000

I had imagined searching and removing the tags from the open list immediately after finding a close tag, as opposed to collecting all the opens and closes and doing it after.

That's in the list of "Things I Know How To Do In Perl, But Not In PHP" I'm afraid.

I'm using a regex function to grab all the openers and put them in an array, and the same function to grab all the closers, but I don't see a way to do "while(still finding tags){code}" in PHP.


John H - Nov 19, 2002 10:46:01 pm PST #1663 of 10000

OK have a look at [link] and see what you think.


Rob - Nov 19, 2002 10:49:05 pm PST #1664 of 10000

Looks great. Only thing I see is the tag comparison needs to be case-insensitive.


John H - Nov 19, 2002 10:56:01 pm PST #1665 of 10000

the tag comparison needs to be case-insensitive

Ahem. Adding a couple of lowercasing functions...


§ ita § - Nov 20, 2002 11:38:49 am PST #1666 of 10000
Well not canonically, no, but this is transformative fiction.

Hokay.

Know what we need, as more people dive into the coding pool? CVS¹ or something like. It was bad enough managing versions when it was just me, but as the holdup with me rolling out Jon's changes attests, n is larger than one, and it's going to get messy.

Can anyone run a CVS server?

¹ No, not the pharmacy chain.


Rob - Nov 20, 2002 11:50:09 am PST #1667 of 10000

Can anyone run a CVS server?

I know how. I don't have a server that can host it.


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

Yeah, me too.


Rob - Nov 20, 2002 12:35:24 pm PST #1669 of 10000

Does the host of buffistas.org allow ssh or telnet access? If so, you might be able to host CVS here.