Not that it's at all hard to patch it by hand. It's nothing but adding a function and inserting it into the list of available hashes. If you're even intending to run this sort of thing in the first place, you also probably want to use a much better tripcode algorithm anyway, which also doesn't waste CPU cycles doing HTML conversions. Theoretically, when building a table of all printable characters, the code will eventually produce the same escape sequences, and by not encoding them explicitly, you also allow for alternative renderings for other boards that don't encode those characters.
Retrospectively speaking, posting it on a pastebin would probably have been a good idea too. For instance: + case ',': strcat(pw, "," ); p += 5; break;
That's practically guaranteed to break in the stupidest way possible. Apparently shitchan encodes some &-escapes... but not all of them. Always nice to have a programming board that hopelessly mangles code.
>>83
The point of tripcode searchers isn't primarily to crack your shitty tripcode. It's to find interesting novelty tripcodes.
Name:
Anonymous2009-02-26 12:30
my CS teacher said multiple returns in a switch statement is bad programming practice.
Name:
Anonymous2009-02-26 12:51
>>86
Anonymous on /prog/ said your CS teacher is a bad programmer.
Name:
Anonymous2009-02-26 13:10
>>86
My CS teacher didn't know you can do a While True loop (problem: infer the language from the code snippet).
Name:
Anonymous2009-02-26 13:35
>>88
Looks like Haskell to me. I don't know how to do a data WhileLoop = While Bool loop though.
Name:
Anonymous2009-02-26 13:45
>>86
Anyone who talks about programming practice like that is usually a total retard when it comes to actually programming in the real world. They're the kind of people who have huge 20000 line classes that take years to run, whereas a elite c coder will be returning all over the place and his code will run in seconds
Name:
Anonymous2009-02-26 14:12
>>90
Anyone who overgeneralizes will miss the point that the code in this particular case is actually shitty, and it'd be much more efficient to use a lookup table instead. >>86's CS teacher has a point.