Forum Overview :: Gamerasutra
 
Re: No need to bother by Entropy Stew 07/23/2003, 8:08pm PDT
bastage wrote:

Entropy Stew wrote:

3. I'm not overly worried about the cpu usage since its only used when quoting chat logs

Except when BadGuy Hacker specifically targets it. I assumed he meant non-accidental 'mistakes'.

Explain something to a non-programmer: Whatever code you use to convert it into chat-log format would run independent of the forum code, right ..? Meaning, just because you check for post size doesn't mean that he shouldn't too since his converter doesn't have to play by your rules until it eventually tries to spit something out.


No, actually, it wouldn't. I'm going to have a little function where I go colorifyAIM($text) and it spits out happy fun colors, where $text is the stuff inbetween [aim] tags, or [log format="aim"] tags. If I'm feeling particularly saucy, I might even object orientalize it.

Or would the call to the converter be setup to only hand off 'X' number of characters in the first place ..?

Did that make sense ..?


Made sense; the assumptions you based it off of were just wrong. The PHP module that runs in Apache has a max post (in http terms, not forum) size of a few megs. Furthurmore, within the pointy forum code, I have a max post size of approx. a couple hudred k. If somebody is hitting that upper limit, they're most likely spamming anyhow, so they'll just get deleted. Another thing is, the code isn't doing anything terribly complicated, so it's running pretty fast already. The calcode.exe is instantaneous for me, and it has to deal with the additional overhead of starting a new process, uncompressing itself, and generating a few temp files.

-/ES/-
PREVIOUS NEXT REPLY QUOTE
 
because I need a break from HL2 coverage by FABIO 07/20/2003, 3:51am PDT NEW
    AWFUL FORMATTING -nt- by Entropy Stew 07/20/2003, 4:02am PDT NEW
        Also not shown: El Koba and I chatting about guns for two straight hours today. NT by Senor Barborito 07/20/2003, 4:04am PDT NEW
            I WOULD MUCH RATHER READ YOU GOING ON FOR 5 HOURS ABOUT YOUR MEDS NT by Flurgendorf J. Creexul 07/20/2003, 4:30am PDT NEW
        I'm with ES on this one. by I need clarification 07/20/2003, 12:29pm PDT NEW
        More of my AIM logs by Senor Barborito 07/20/2003, 6:02pm PDT NEW
            Colors corrected by Senor Barborito 07/20/2003, 6:10pm PDT NEW
        Much faggotry by Bitter 07/21/2003, 12:54am PDT NEW
            You're like a superhero -nt- NT by E. L. Koba 07/21/2003, 1:17am PDT NEW
            Re: Much faggotry by Flurgendorf J. Creexul 07/21/2003, 1:30am PDT NEW
                It's a perl script you run your AIM copy/pastes through, I guess. by Senor Barborito 07/21/2003, 2:31am PDT NEW
            Cool! In spirit. by Fussbett 07/21/2003, 1:49am PDT NEW
            Bitter makes it. BASF makes it better. by Entropy Stew 07/21/2003, 4:23am PDT NEW
                Also by Entropy Stew 07/21/2003, 4:31am PDT NEW
                Re: Bitter makes it. BASF makes it better. by Bitter 07/21/2003, 10:09pm PDT NEW
                    Re: ActiveState PDK by Entropy Stew 07/21/2003, 10:17pm PDT NEW
                        Re: ActiveState PDK by Bitter 07/22/2003, 12:20am PDT NEW
                            No need to bother by Entropy Stew 07/22/2003, 1:32am PDT NEW
                                Re: No need to bother by bastage 07/22/2003, 10:32pm PDT NEW
                                    Re: No need to bother by Entropy Stew 07/23/2003, 8:08pm PDT NEW
                                        Too late by Bitter 07/24/2003, 12:24am PDT NEW
                                            Re: pre by Entropy Stew 07/24/2003, 2:30am PDT NEW
    I will never ever install that IM shit. What's wrong with irc? NT by foogla 07/20/2003, 7:10am PDT NEW
        IRC users, to start with. NT by Flurgendorf J. Creexul 07/20/2003, 4:43pm PDT NEW
    redone in order to save ES and INC's precious weepy vagina eyes by FABIO 07/20/2003, 12:41pm PDT NEW
        STILL NO WAY I'M READING IT by whydirt 07/20/2003, 1:53pm PDT NEW
        A less-funny cousin to Fussbett-Creexul logs everywhere NT by Choson 07/20/2003, 3:39pm PDT NEW
            :( by FABIO 07/20/2003, 8:36pm PDT NEW
                Re: :( by Flurgendorf J. Creexul 07/20/2003, 9:21pm PDT NEW
        Re: redone in order to save ES and INC's precious weepy vagina eyes by laudablepuss 07/20/2003, 8:16pm PDT NEW
        Re: redone in order to save ES and INC's precious weepy vagina eyes by Flurgendorf J. Creexul 07/22/2003, 12:19am PDT NEW
 
powered by pointy