3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-23 03:02:47 +01:00

Improve quotegrab export and touch-up database

This commit is contained in:
Pragmatic Software 2013-10-12 04:35:01 +00:00
parent 701e554ecf
commit ba5042259f
3 changed files with 20 additions and 18 deletions

View File

@ -175,10 +175,12 @@ sub export_quotegrabs() {
print FILE "</tbody>\n</table>\n" if $had_table;
print FILE "<script type='text/javascript'>\n";
$table_id--;
print FILE '$(document).ready(function() {' . "\n";
while($table_id > 0) {
print FILE '$(document).ready(function() { $("#table' . $table_id . '").tablesorter(); });' . "\n";
print FILE '$("#table' . $table_id . '").tablesorter();' . "\n";
$table_id--;
}
print FILE "});\n";
print FILE "</script>\n";
close(FILE);
return "$i quotegrabs exported to http://blackshell.com/~msmud/candide/quotegrabs.html";

View File

@ -13,7 +13,7 @@ use warnings;
# These are set automatically by the build/commit script
use constant {
BUILD_NAME => "PBot",
BUILD_REVISION => 439,
BUILD_REVISION => 440,
BUILD_DATE => "2013-10-11",
};

View File

@ -44,7 +44,6 @@ pragma_ ##philosophy 1260828964.99089 pragma_ I've known for a long while that p
r0b0t1 ##c 1260830770.32572 pragma_ I wrote a audio driver in brainfuck once.
pragma_ ##philosophy 1261001833.7305 pragma_ "I just had an argument with a girl I know. She was saying how it's unfair that if a guy fucks a different girl every week, he's a legend, but if a girl fucks just two guys in a year, she's a slut. So in response I told her that if a key opens lots of locks, then it's a master key. But if a lock is opened by lots of keys, then it's a shitty lock. That shut her up."
kronix ##philosophy 1261312046.39745 pragma_ I found a photo of Sailormoon: http://semantink.com/wordpress/wp-content/uploads/2009/08/bad_cosplay_1.jpg
pragma_ ##philosophy 1261317031.77827 kronix Utopiah: please die a slow torturous death
zhivago ##c 1261637602.64852 pragma_ Produce a goddamned test program that demonstrates your problem so that we can stop listening to your confused gibberish and explain what enormously stupid thing you are doing.
incarnation ##philosophy 1262408367.92508 pragma_ i dont think 4chan exhibits immaturity, i think 4chan exhibits a sort of collective and extreme satire of the absurdity of hypocrisy
parliament ##philosophy 1262471120.84726 notk0 dear diary, today pragma_ and notk0 couldn't stop talking about my 5 phds and how they wish they could be me
@ -59,13 +58,10 @@ tau ##philosophy 1269059937.1648 SailorReality SailorReality: i had problems wit
sarajevo ##philosophy 1269582855.14739 pragma_ anyways, i found out that my gf was cheating me with some fat fuck
tau ##philosophy 1269644587.26478 SailorReality SailorReality: stop or i will fill your face of beat.
zap0 ##c 1269682121.06343 pragma_ i use PHP for scripting all the time, non-web stuff.
manizzle ##c 1269682683.26289 awake1 fuck
pragma_ ##philosophy 1269728101.01148 PARLIAMENT i've had the cat pass through that flag with a red face at least twice
tau ##philosophy 1269759784.63332 SailorReality but i never mated with one.
plato ##philosophy 1269809467.18331 SailorReality lol my sister gave me ringworms because we shared the same shower
daleee ##c 1269817584.84332 pragma_ Yo dawg, I herd yo and yo dawg like yo yos so we put yo dawg in a yo yo so yo can yo yo yo dawg while yo dawgs yo yos, dawg.
tau ##philosophy 1269848420.30499 SailorReality SailorReality: what do you think about we marry ?
tau ##philosophy 1269848549.64328 SailorReality stinking
zhivago ##c 1271266510.33855 pragma_ I don't know why people insist on saying binary when they really probably mean 'base 2 to the 32nd'.
pragma_ ##c 1271788394.29331 pragma_ Since I don't know off the top of my head, I'd end up checking the manpage or --help, failing that, I'd google. But instead of doing this for you and then telling you the answer and acting like I'm a genius and hardcore hacker, I'm going to just tell you to go look it up your own damned self.
tp76 ##c 1271800368.79326 pragma_ See, candide is the result of a brain damaged by too much Perl.
@ -118,15 +114,12 @@ wulf ##c 1297290701.12426 pragma_ ,cc #define foo pri \n #define bar ntf \n #def
pragma_ ##cc 1297486050.68282 pragma_ i just have these moments where i conveniently forget that i'm insane
pragma_ #pbot2-test 1297486300.5413 pragma_ I think most people who remain in academia are actually the self-conscious insecure folks that are afraid of not knowing anything. The other people who understand what knowledge is just shrug their shoulders and go around trolling people, like Socrates and 4chan.
pragma_ ##c 1297811778.29007 pragma_ Some people in here benefit from warnings such as "Do not use hand to stop chain" on chainsaws.
pragma_ ##c 1297985866.71355 pragma_ :D
pragma_ ##c 1297985861.03266 pragma_ "Such an extensive computer science education opened up a wide range of career options, ranging from a professor at a university to ... a professor at another university."
kulp ##c 1297986017.39203 pragma_ "The pig go. Go is to the fountain. The pig put foot. Grunt. Foot in what? ketchup. The dove fly. Fly is in sky. The dove drop something. The something on the pig. The pig disgusting. The pig rattle. Rattle with dove. The dove angry. The pig leave. The dove produce. Produce is chicken wing. With wing bark. No Quack." — A Neural Network
zhivago ##c 1300081855.23997 n00p nubnub: All that big O can tell you is how _one particular algorithm_ scales _with respect to itself_.
tzanger ##c 1300326093.27169 rizlah it's innocent enough to start up a few, but then you find yourself a few days later with dozens of them and all kinds of locking and exclusivity code wrapping odd parts of the software, an overflowing ashtray and empty bottles of alcohol scattered around the floor
caze ##c 1300517427.14627 n00p This porridge is too hot. This porridge it too cold. Boo hoo.
van7hu ##c 1300653974.61016 van7hu JOIN
twkm ##c 1301070961.89707 n00p have tons of fun, use utf-7.
taylanub ##c 1301342198.95665 CaZe ??
taylanub ##c 1301342087.26808 CaZe i don't have any real lisp experience but what i hear is enough
zid` ##c 1302298869.94301 n00p I wasn't aware socrates was an asshole.
pragma_ ##c 1302421933.15632 pragma_ If you ask me to do an oil change on your car, I'd probably end up taking the whole car apart, and would probably have pieces left over if I put it back together again; but it'd probably run better!
@ -165,7 +158,7 @@ duclare ##c 1333291563.14411 sha0 use brain never
kesselhaus_ ##c 1333291594.7014 sha0 brain is out ..
chris ##c 1335122126.63198 sha0 Leave my typos alone.
dizzylizzy ##c 1335398927.25691 sha0 could not possibly be clearer
sha0 ##c 1335401924.63693 pragma- likes Mr. Noodles, anyway.
sha0 ##c 1335401924.63693 pragma- /me likes Mr. Noodles, anyway.
applebloom ##c 1335588079.68576 pragma- <pragma-> applebloom: I think your problem isn't your eyes but the fact that you seem to prefer to remain in a state of perplexed stupidity while exclaiming confused startled profanties
pragma- ##c 1336200267.25643 sha0 "That's what." -- She
she ##c 1336200433.72763 pragma- That's what.
@ -177,7 +170,7 @@ poppavic ##c 1341709294.90064 engla alas, plan9 is in a parallel dimension.
chris ##c 1342102921.74647 pragma- Normally loving C is a symptom of not knowing other languages.
zhivago ##c 1343808794.97363 CaZe Enthusiastically stupid things make good puppydog but bad programmers.
zhivago ##c 1343813879.05418 pragma- Ah, never mind -- I'm not very clever today.
georgej ##c 1343814677.93426 pragma- grabs candide's arse.
georgej ##c 1343814677.93426 pragma- /me grabs candide's arse.
zhivago ##c 1343902931.25946 pragma- Sarajevo: Then you will be please to learn that you are a passive homosexual.
xgc ##c 1343961042.25175 pragma- hays: Undefined behavior can be very confusing. It can sometimes feel like the position your cat is sleeping can change the behavior of your C program.
zhivago ##c 1343961113.1988 pragma- hays: Hmm. You might want to visit your doctor and have him check you for mental retardation.
@ -200,12 +193,10 @@ caze ##c 1348740405.29193 pragma- If the moon were made of cheese, what kind of
eboy ##c 1351666535.32506 pragma- When I'm on a bumpy trip I have to enclose my mouth around it to make sure it doesn't spill
goldstar ##c 1357482420.75581 CaZe yeboot: theoretically speaking, shouldnt it throw an exception or something ? Since printf is looking for a signed value from a variable that is declared unsigned?
euthy ##c 1357485792.12709 mrout orbitz: What does "is" mean, to you?
notk0 ##c 1358442622.38881 engla pragma-: please?
magisterquis ##c 1358546933.23674 engla points to his dunce cap.
magisterquis ##c 1358546933.23674 engla /me points to his dunce cap.
orbitz ##c 1358801051.71616 pragma- pragma-: wait until yo utaste my short ribs that fall off the boner
cam ##c 1358827419.15797 CaZe I thought that as long as one pointer was open it wouldn't allow a free() to remove the object from memory.
engla engla 1358879960.55001 engla ,rq .* ##c dunce
engla ##c 1358987147.17343 engla hangs out "Poppa == No shoppa" sign
engla ##c 1358987147.17343 engla /me hangs out "Poppa == No shoppa" sign
zhivago ##c 1359017410.65423 pragma- Anyone who doesn't know what data representation they want should be aborted.
zhivago ##c 1359639507.80439 engla "You are a cad! Unfit to lick even the sole of my sand nigger boots."
comex ##c 1359660136.82085 AeroNotix c arrays are weird(tm)
@ -235,8 +226,7 @@ richardi ##c 1372004344.40872 pragma- i have a small penis
pragma- ##c 1372004404.41204 Ebony ,grab richardi penis
kate` ##c 1372020332.52302 rob`` are you full of penis, orbitz?
orbitz ##c 1372022826.21166 kate` lemonade`: i don't know what point you're trying to make but i'm convinced it's both wrong and stupid.
pragma- ##c 1372462203.32531 nitrix huhu? are you a chimpanzee?
xgc ##c 1372641461.44271 nitrix Left_Turn: Right.
pragma- ##c 1372462203.32531 nitrix "huhu?" are you a chimpanzee?
guidj0s ##c 1373832274.50267 beaky Goplat: "Stack allocation" is a ridiculous, vague and imprecise term.
zhivago ##c 1374136478.70222 CaZe You can implement a stack using three eggs and a length of string.
zhivago ##c 1374559884.2237 Ebony kanupatar: Are actual Indians called names like Baraguruswamy?
@ -258,6 +248,16 @@ maxdamantus ##c 1379593366.07943 mar77i Replace || with )))))))))))||(((((((((((
stormhawk ##c 1379674724.19653 beaky Wow, beaky recommends it, that's enough to kill sales for a few years.
kesselhaus_ ##c 1379718995.21907 beaky aaahhhh ... 3 weeks OFF .. out of that chaos computing club called "work"
edk ##c 1380666146.7031 pragma- Mine got in first on my end!
pragma- ##c 1380745690.32544 pgib pgib can eat a turd for all I care
edk ##c 1380858433.12446 pragma- sha0: That's terrible. It's unknown whether you may pass into a mordor(); you may not pass into a mordor(void).
sha0+pragma- ##c 1380862013.76601 pragma-!~chaos@unaffiliated/pragmatic-chaos Will you please put that in the right place? <pragma-> That's what she said.
phox+phox+phox+rob`` ##c 1380924292.02233 pragma-!~chaos@unaffiliated/pragmatic-chaos strcmp has an alternate personality that's a hermit crab <phox> so in its mind it's always in a shell <phox> at least that's what I tell students (: <rob``> wat?
pragma- ##c 1380948711.51289 nitrix!~nitrix@unaffiliated/nitrix Do you typically put a lot of things in your butt?
suit_of_sables+pragma- ##c 1380951714.86938 pragma-!~chaos@unaffiliated/pragmatic-chaos Hmm I guess I have little choice. My only other option would be to factor out the inner loop and make it into a function call. But I think I'd have to pass a butt-load of variables to it to make it work as it does right now <pragma-> Do you typically put a lot of things in your butt?
pragma- ##c 1380952389.11999 Plazma!~Plazma@freenode/staff/plazma code is like a penis...
pragma-+pragma- ##c 1380952699.77456 pragma-!~chaos@unaffiliated/pragmatic-chaos code is like a penis... <pragma-> The longer and harder it is the better it works.
jennie+pragma- ##c 1380970542.41631 pragma-!~chaos@unaffiliated/pragmatic-chaos hi <pragma-> oh no.
fisted ##c 1381092170.59783 nitrix!~nitrix@unaffiliated/nitrix does visual studio even have Clippy?
i-love-boobies ##c 1381283609.40347 nitrix!~nitrix@unaffiliated/nitrix I don't like periods either.
nitrix ##c 1381403133.86417 pragma-!~chaos@unaffiliated/pragmatic-chaos Sounds like you didn't even search on youtube.
beaky+edk ##c 1381509430.82671 edk!edk@unaffiliated/edk highlights? <edk> it's where you colour a bit of your hair differently from your other hair because your parents didn't love you
nitrix ##c 1381509578.91181 pragma-!~chaos@unaffiliated/pragmatic-chaos Of course, I could see it like I suck at everything, but it's only because I always aim at higher than what I can do.