Jayne: Captain, can you stop her from bein' cheerful, please? Mal: I don't believe there is a power in the 'verse that can stop Kaylee from being cheerful. Sometimes you just wanna duct tape her mouth and dump her in the hold for a month.

'Serenity'


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 09, 2002 4:33:10 pm PST #1346 of 10000

Re: tagline-character-counting scripts:

we need to have it count hard returns as two characters, not one.

But I fixed that ages ago.

I put a version up for testing at [link] a few days ago.

It gives annoying messages, but just for debugging purposes. It finds the length, then checks for returns and adds one to the length variable for each one it finds.

I just would like it tested on Windows and *NIX computers because I'm not quite sure what "\\r" means on other platforms. We might need to use ("\\r" or "\\n") for instance.


Jon B. - Nov 09, 2002 4:43:36 pm PST #1347 of 10000
A turkey in every toilet -- only in America!

Did you tell me you'd done that? Last I heard, you said you were going to do it. I'll check it out.


Jon B. - Nov 09, 2002 4:52:42 pm PST #1348 of 10000
A turkey in every toilet -- only in America!

It's not working on my Windows ME machine. It's still treating returns as one character.


Jon B. - Nov 09, 2002 4:58:55 pm PST #1349 of 10000
A turkey in every toilet -- only in America!

Correction: It's doing something in IE, but not in Mozilla.


John H - Nov 09, 2002 4:59:46 pm PST #1350 of 10000

Sorry about the confusion. From memory, I said something ambiguous like "want to check it out?".

It's not working on my Windows ME machine. It's still treating returns as one character.

OK so if you put in text with returns, it says "original length x", and then the next dialog that appears says "adjusted length x"?


John H - Nov 09, 2002 5:04:18 pm PST #1351 of 10000

OK I'm looking at it in Mozilla too and you're right, it doesn't see any linebreaks.

I'll tweak it.


John H - Nov 09, 2002 5:15:50 pm PST #1352 of 10000

OK tweaks completed. It adds one to the length for either a CR or an LF, as much as I understand those terms. It's the kind of stuff that baffles me.

As long as there isn't a platform/browser which puts CR and LF into a TEXTAREA when you hit return, then we're rocking and rolling.


Jon B. - Nov 09, 2002 5:45:27 pm PST #1353 of 10000
A turkey in every toilet -- only in America!

OK, this is what I get for not checking things thoroughly beforehand -

Ignoring your tweaks, John, IE always counts a forced return as two characters whereas Mozilla (which I normally use) counts it as one. I'm sorry that I didn't notice this before.

So, now, with your tweaks, the script works in Mozilla, but overcounts in IE.


§ ita § - Nov 09, 2002 10:02:09 pm PST #1354 of 10000
Well not canonically, no, but this is transformative fiction.

Oh, dear. Perusing the November search strings (and it's early yet, folks), I find "bertiz agnes", "clex smallville slash fan fiction", and "joss erection vampire interview".


§ ita § - Nov 09, 2002 10:18:11 pm PST #1355 of 10000
Well not canonically, no, but this is transformative fiction.

And I was running numbers ... fiddling to find out post sizes (including HTML). Longest post is 6038 characters, and I have no idea how that slipped past the code limits. The ten wordiest posters average 1190.5, 1188, 944.42, 863.5, 790, 737, 699.94, 647, 643, and 628.24 characters per post.