#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2013-11-01

Timestamps are in GMT/BST.

16:34:01-dickson.freenode.net- *** Looking up your hostname...
16:34:01-dickson.freenode.net- *** Checking Ident
16:34:01-dickson.freenode.net- *** No Ident response
16:34:01-dickson.freenode.net- *** Couldn't look up your hostname
16:34:07BFLogBot has joined
16:34:07-ChanServ- [#bitfighter] Welcome to #bitfighter. This is an IRC channel, many or all of the users may not be paying attention. Please have patience when waiting for a response.
16:34:24raptorwelcome back BFLogBot!
16:34:24BFLogBotBut the important thing is persistence. -- Calvin trying to juggle eggs
16:36:49raptorodd - we now have 8.3 TB of free RAM on the master server server
16:47:39thread_I lost my thread I started about BCL...
16:53:14raptor:(
16:55:36kaenraptor: was that a typo?
16:55:46raptorwhich?
16:55:50kaen8.3TB
16:55:52raptornope
16:56:18kaenwow that's amazing
16:56:18raptorused: 210(MB)
16:56:26raptorfree: 8388397(MB)
16:56:45raptormust be something to do with their new VPS set up
16:56:49kaenhas to be
16:57:01raptormaybe now we run the java logbot!
16:57:12kaenlol
16:57:25raptor!motd
16:57:30raptorok that still works
16:57:39raptorthis python bot is better on all counts anyways..
17:01:32kaenhey do you think we could add a lua evaluator to it?
17:02:56raptori'm unfamiliar with the term 'elevator' in that usage
17:03:01raptorbut sure!
17:03:40raptoryou can check it out, it's in the 'tools' repo
17:04:03kaenoh ok :)
17:04:12raptorwhat do you mean by 'elevator' ?
17:04:20kaenevaluator :)
17:04:35raptoroh sheesh
17:04:46kaenlike it'll run a little snippet of code print the result
17:04:51raptorha
17:04:59raptori sure read that wrong...
17:06:43BFLogBot Commit: d7dad79c9653 | Author: buckyballreaction | Message: Remove old Java logbot, it is superseded by the python bot
17:06:46raptorgood bye java bot *sniff* I'll miss you..
17:07:44kaenha! I forgot I already wrote a python lua evaluator: https://github.com/kaen/luaex
17:08:01Watusimotohi
17:08:04kaenhi
17:08:36Watusimotowe lost the forums as well?
17:08:56raptorhi
17:09:02raptor1 week of posts, that's all
17:09:29Watusimotowe need to do regular database dumps
17:09:32raptori can't believe i did a search for 'lua elevator'...
17:09:39raptorwe do
17:09:47raptorit's just that they're not synced off-server
17:10:06Watusimotowell, I'm going to start a regular download process
17:10:14Watusimotofrom one of my other vps's
17:11:15raptorthey're found here: /home/master/backup/dumps
17:11:49raptoralthough, I'm not sure if it backs up any new database you may have added
17:17:29raptoroh it does
17:17:35raptorok good
17:25:27Watusimotoactually, can we put those in google code repo?
17:28:16raptorput what?
17:28:19raptorthe backups?
17:28:27Watusimotoyes
17:28:36raptorprobably, but they are gzip compressed, and rotated daily
17:28:47Watusimotothere all text, I imagine, and the diffs are all that would go in
17:29:05raptorso they'd fill it up fast..
17:29:27raptoralso... i'm not sure we want player's unsalted hashed passwords in google code?
17:29:45Watusimotono
17:29:47Watusimotogood point
17:30:07raptori could probably have them not be gzipped, then the diffs would work
17:35:39Watusimotonah, leave it as is
17:39:16raptorso the backups run at 1am each night (or they're supposed to be...)
17:39:45raptorexcept the server says its 17:39 right now
17:39:50raptorit must be on UTC
17:41:14HylianSavior has joined
17:46:02raptoroh yay, I just read that the NSA has found a way to scrape Google and Yahoo internal networks without them knowing...
17:47:27Skybax has joined
17:55:54Watusimotois that without them knowing, or without them "knowing"?
17:56:11raptorthe first, I think
17:56:23Watusimotoi think I agree
17:56:52raptorhttp://www.washingtonpost.com/world/national-security/nsa-infiltrates-links-to-yahoo-google-data-centers-worldwide-snowden-documents-say/2013/10/30/e51d661e-4166-11e3-8b74-d89d714ca4dd_story.html
17:57:09raptormakes it sound like Google isn't so happy
17:58:04BFLogBot Commit: 6a510246152f | Author: watusimoto | Message: Add toggle level rating key to define keys menu
17:58:06BFLogBot Commit: c7a9f3aca87b | Author: watusimoto | Message: Update ip address for bitfighter.org, add bitfighter.net as a fallback
17:58:07BFLogBot Commit: 8a56277436f7 | Author: watusimoto | Message: Maybe IP address shuold go last?
17:58:08Watusimotoi wonder if they can stop it
17:58:09BFLogBot Commit: 9dc4e29b99be | Author: watusimoto | Message: Change default rating from 0 to Unknown (should only matter if db is unreachable)
17:59:39raptorip address should go last
17:59:57raptorbitfighter.net? where does that point to?
18:03:19raptoralso, i don't see a case where bitfighter.net would work and bitfighter.org wouldn't...
18:08:18raptorunless bitfighter.net is pointing to a fallback master on a different IP
18:12:11thread_ Quit (Ping timeout: 250 seconds)
18:23:07BFLogBot Commit: 3f41fbf8ee8a | Author: watusimoto | Message: Default should be unknown, not 0
18:25:25Watusimotobitfighter.net and bitfighter.org point to same ip at the moment
18:25:30Watusimotobut we could remap one in the future
18:26:41raptorok, that makes sense
18:26:46YoshiSmb has joined
18:29:38Watusimotoin fact, if I had realized what was going to happen, I could have remapped bitfighter.net to the new url a few days ago
18:37:42raptoryay halloween is over
18:39:16YoshiSmb Quit (Quit: Page closed)
18:39:44raptormy wife gave our 2 year old 1/2 a kitkat bar
18:39:45YoshiSmb has joined
18:40:22raptorhe turned from a normally very sweet, tender, genuine child into an inconsolable monster
18:40:34raptorhe screamed so much that he lost his voice
18:41:02Watusimotowow
18:41:08Watusimotohe needs more candy
18:41:12YoshiSmb...
18:41:34raptorhe had such a reaction to the chocolate that it seemed borderline allergic
18:41:38Watusimotothough it is conceivable he had a bad reaction to soemtihng
18:41:42Watusimotoyes, exactly
18:41:55Watusimotothough that is not a common allergy
18:42:04Watusimotothere may be something else in there like nuts
18:42:12raptorthis is the kid that proceeded to run in 2 foot circles when he had half a handful of brownie
18:42:15SkybaxMy first bite of dark chocolate makes me sneeze twice
18:42:31Watusimotocaffine?
18:42:32raptorwe think it's the chocolate
18:42:37raptoryes, probably the caffeine
18:42:52raptorour 4 year old has no problem with it (and we rarely have chocolate in the house)
18:42:53YoshiSmbthere is a old tale i remember for Hallowen.
18:42:55Watusimotowell, chocolate is easy to test -- get some of the pure stuff and see how he reacts
18:43:19Watusimotobecause there;s lots of other weird stuff in a kitkat
18:43:46Watusimotothings that seem more likely to trigger a reaction -- colors, flavors, preservatives, nuts (probably at trace levels)
18:43:47raptorwhat do you consider the pure stuff? this is the 3rd or 4th time he's gone crazy with foods that have had chocolate in them
18:44:19Watusimotoyou can buy pure bakers chocolate. Melt some with sugar and give him a teaspoon
18:44:43raptorthe bitter stuff?
18:44:52Watusimotoyes
18:45:00Watusimotothough there may be other ways of getting it pure
18:45:13Watusimotoon the other hand, you could just avoid chocolate for him for a year or two
18:45:25Watusimotoand just not worry about it
18:45:28raptorthose brownies used some sort of bitter cocoa powder
18:45:36Watusimotobut chocolate is rather common
18:45:48raptordidn't have nuts
18:46:30Watusimotothis from a good medical source:
18:46:48WatusimotoAllergies to cacao (the bean that is the main ingredient in chocolate) are possible but so rare as to be virtually nonexistent in recent medical literature. Therefore, if you've experienced food allergy symptoms after eating chocolate, you can safely assume that another ingredient in the chocolate is causing your symptoms unless testing shows otherwise.
18:46:54Watusimoto(about.com)
18:46:57bobdaduck has joined
18:47:04raptorinteresting...
18:47:07bobdaduckRemind me how to rotate a circle in radians?
18:47:11Watusimotonote the source
18:47:31bobdaduck0pi being to the right, and if I want it facing up I do 1/4 tau * 3?
18:47:38raptori can't tell if you're serious... i don't know much about about.com
18:47:45Watusimotobobdaduck: luckily for you, a rotated circle looks just like the original, so I'd save yourself the work and pretend it was rotated
18:47:54raptorhi bobdaduck
18:48:05Watusimotoabout.com is a total crap spam-like info site
18:48:28raptori can't remember which way it rotated, but if it is clockwise, then you are correct 3/4 * tau
18:48:31Watusimotosometimes the info is ok, but I usually get there on a search for computer stuff and the answer is waaaay basic
18:48:37bobdaduckOr if I want it facing to the top left, it would be something like 1/8 tau * 4?
18:49:02Watusimotowell, here, read the whole article
18:49:03Watusimotohttp://foodallergies.about.com/od/commonfoodallergies/f/chocolate.htm
18:49:27raptorjust think of the fraction of the circle you want to rotate it, from the starting point; so if clockwise, and starting point is to the right, then 5/8 * tau
18:49:39Watusimototake it with a grain of salt, but it sounds reasonable
18:49:51bobdaduckOkay thanks
18:49:53bobdaduck has left #bitfighter
18:50:32raptorWatusimoto: take a look at their math under 'Caffeine'
18:50:41SkybaxI just applied for a job at dominoes
18:51:08raptorSkybax: then you can solve the 'traveling salesman' problem!
18:51:22SkybaxThe what?
18:51:38raptorhttp://en.wikipedia.org/wiki/Travelling_salesman_problem
18:52:09BFLogBot Commit: a5e1c9e42849 | Author: watusimoto | Message: Remove rarely used RetrievingRating, and don't send personal ratings outside of -1=>1 range
18:52:10Watusimotough there are so many edge cases with the ratings system
18:52:29Watusimotoand we can't use our testing with the master at the moment
18:52:35YoshiSmb Got a Headache
18:53:15Watusimotoraptor: I think we got accepted into GCI
18:53:23SkybaxOh that's like a puzzle lol
18:53:30raptoroh boy!
18:53:43WatusimotoSkybax: it's not a puzzle, just a nearly unsolvable problem
18:53:48raptorSkybax: working for dominoes -> delivering pizzas -> solve math
18:54:00Watusimotoyou can optimize a solution, but never be sure you got the best one
18:54:01SkybaxI think I've done a puzzle like that before tho
18:54:18Watusimotoyes, but you're not a computer :-)
18:54:24Watusimotoat least I don;t think you are
18:54:32SkybaxI'm an imperfect computer lol
18:54:45raptormessage from Arc!
18:55:06raptorhttp://google-opensource.blogspot.com/2013/11/mentoring-organizations-for-google-code.html
18:55:21raptoroh wow, only 10 orgs got in!
18:57:23SkybaxThat looks interesting
18:59:24YoshiSmbMEN WE GOT A LAN PARTY OF 8 PLAYERS!!!!!
18:59:40raptorsay what?
18:59:59YoshiSmbAN PARTY OF 8 PLAYERS
19:00:47YoshiSmblan party
19:02:53Flynnn has joined
19:03:56raptorso the two year old has eaten all 10 of his pieces of candy which we let him keep (none of them had any chocolate) and he is normal
19:04:29raptor3 of which were smarties-like candies
19:06:37Watusimotowow... I used to stretch my candy out for a year (or more!)
19:07:18Watusimotopeople are trying to do halloween here, but haven't quite got the knack for it... people were coming today, for example
19:11:24LordDVG Quit (Read error: Connection reset by peer)
19:13:06raptorhaha
19:13:10raptorday of the dead maybe?
19:13:32kodapad has joined
19:13:41raptoralso we took the other 150 pieces or so and set them out for the Great Pumpkin
19:13:52raptorwho came in the night and traded them for books
19:19:41kodapadO/
19:19:48raptorhi kodapad
19:20:06kodapadHalloween topic?
19:22:39raptora bit... talking about my kid's reaction to chocolate candy (and how his sly, underhanded parents take it all away)
19:22:46kumul Quit (Ping timeout: 240 seconds)
19:27:49kodapadThey wanted it all for themselves
19:59:01kumul has joined
20:05:27Flynnn Quit (Quit: This computer has gone to sleep)
20:11:49Flynnn has joined
20:19:40raptoractually, there were only 10 orgs last year, too
20:20:43raptorWatusimoto: you updated the master server on the normal port?
20:21:22Watusimotoyes
20:21:41WatusimotoI figured it was time
20:21:44raptori just logged in with 017b, and crashed when trying to get high scores...
20:21:50Watusimotoreally??
20:21:50raptor018a is OK though
20:21:56raptoryes
20:22:07Watusimotothe client crashed
20:22:11Watusimotoor the master?
20:22:15raptorclient
20:22:40raptorI think 017b had the IP coded first... so it takes a while to connect
20:23:22YoshiSmbthat crash as happend on 018a with my client, i tried to see the highscore and it's crashed
20:23:30raptorfloating point error
20:23:36raptorYoshiSmb: really?
20:23:45YoshiSmbYes
20:23:49raptorhmmm
20:23:55raptornow it's working on my 017b...
20:24:13WatusimotoI can get high scores with 018a
20:24:59Watusimotoalso with 019
20:25:39raptoryes, but I've gotten this crash on 019 before, too...
20:25:59Watusimotobut only on the client
20:26:00Watusimoto?
20:27:51Watusimotoso we have this sql query:
20:27:52Watusimotostring sql = "SELECT levels.rating from pleiades.levels WHERE id=" + itos(databaseId) + "; ";
20:28:04Watusimotowell, let's take the other one
20:28:13Watusimotostring sql =
20:28:13Watusimoto"SELECT ratings.value FROM pleiades.ratings "
20:28:13Watusimoto"INNER JOIN bf_phpbb.phpbb_users "
20:28:13Watusimoto"WHERE ratings.level_id = " + itos(databaseId) + " AND "
20:28:13Watusimoto"ratings.user_id = phpbb_users.user_id AND "
20:28:14Watusimoto"phpbb_users.username = '" + name.getString() + "';";
20:28:26Watusimotomore complex, but it's the real case
20:28:36Watusimotoif the database is down, this returns 0 records
20:28:40Watusimotowhich is fine
20:28:57Watusimotobut if the spedified user has not rated this level, it also returns 0 records
20:29:02Watusimotowhich is also fine
20:29:11Watusimotoexcept that I can't tell those two situations apart
20:29:32raptoryes, only on client
20:29:40raptorYoshiSmb: what OS are you on?
20:29:53Watusimotoso I'm trying to think of a way that if the user doesn;t have a rating for the level, it returns 1 record with a 0 in it
20:30:16Watusimotoso that 0 records means an error or something going wrong
20:30:27raptorhmmm
20:30:47Watusimotoactually, it could return 2 records and be ok
20:30:50YoshiSmbWindows XP Profesional (Colossus) Service Pack 3
20:30:58Watusimotoso maybe I can union in a 0
20:31:06YoshiSmbVersion 2002
20:31:09raptorYoshiSmb: when you get that crash, is there a crash report that windows generates?
20:31:17YoshiSmbyes
20:31:26raptorcan you save that report and give it to us?
20:31:28raptorplease
20:31:58YoshiSmbwait, i tried again and it dint crash.
20:32:07raptorWatusimoto: if database is down, you shouldn't get any response, right?
20:32:16YoshiSmbthe crash started 45 minutes ago.
20:32:24YoshiSmbnow it's doesn't give it anymore.
20:32:46raptoroh fun, we're hunting a time-based crash
20:34:50WatusimotoI'm going to restart the master in about 3 minutes; please see if you can reproduce the crash after I restart it.
20:35:03YoshiSmbit's very strange that crashed after i tried the highscore, now, why doens't crash anymore?
20:35:12YoshiSmb*sigh*
20:35:25YoshiSmbok
20:39:17raptortell me when it restarts
20:43:51BFLogBot Commit: d69d34ea1275 | Author: watusimoto | Message: Fix unlikely crash with ratings, also check for more possible error conditions
20:43:52BFLogBot Commit: 01e945159445 | Author: watusimoto | Message: Try to distinguish an unrated level from a database error
20:44:35Watusimotomaster restarted
20:45:16Watusimotocrash
20:45:24Watusimoto018a retrieving high scores
20:45:57raptordidn't crash for me
20:46:02Watusimotoit appears to happen on the first retrieval of high scores after the master restarts
20:46:06raptordid you get a trace?
20:46:22Watusimotono, but I'll restart in a few minutes and see if I can reproduce on 019
20:46:37YoshiSmb has left #bitfighter
20:46:38Watusimotoif not, I'll revert to 018a code base and run it in the debugger
20:47:48raptorI've gotten it on 019
20:47:57YoshiSmb_ has joined
20:50:09Watusimotogood!
20:51:33kodapad Quit (Quit: K Thx Bai)
20:55:26YoshiSmb_so, did you find the Crash?
20:58:50Watusimotonot yet
20:59:14WatusimotoI'm trying to solve about 3 problems all at once!
20:59:25Watusimoto(the crash being one of them)
21:04:49kumul Quit (Read error: Connection reset by peer)
21:06:40Flynnn Quit (Quit: This computer has gone to sleep)
21:10:14BFLogBot Commit: 8e7c7519db86 | Author: watusimoto | Message: Sql needs spaces to work properly
21:10:14raptorWatusimoto: did you see my fix for feedback of the in-game-help-reset?
21:10:50WatusimotoI think so, but if you're asking, then probably not
21:11:02raptori'm just wondering if it is too ugly
21:11:27Watusimotohaven't tried it yet
21:11:37Watusimotocrash!
21:11:38raptorscreenie: http://imagebin.org/275464
21:11:48raptorand that fades after 4 seconds
21:11:51Watusimotodivide by 0
21:12:14Watusimotoit's kind of ugly :-)
21:12:15raptora black hole was created!
21:12:32raptoryes... any suggestions?
21:12:52raptormaybe use a red notice..
21:13:02raptorlike in the game lobby
21:13:24WatusimotoI'm guessing this is a preexisting bug that we just don't notice because 1) we don't restart master very often and 2) no one looks at high scores anyway
21:13:32raptorye
21:13:34raptors
21:13:44Watusimotobut now we found it and have to fix it...
21:13:51Watusimotonot sure if we can do soemthing to fix older clients
21:14:15raptorprobably not
21:16:43Watusimotoactually, we might be able to
21:17:59Watusimotowe have to make sure to stuff some dummy entries into the lists if we get back fewer than the requested number of items (3 in this case)
21:18:10Watusimotoone of the lists is coming back with 0 items
21:18:31Watusimotowait, we already do that
21:18:46raptordid you get a trace?
21:18:55Watusimotoyes
21:19:09Watusimotoit's very simple
21:19:18Watusimotothe error is here:
21:19:18WatusimotoS32 scoresPerGroup = names.size() / groupNames.size();
21:19:26Watusimotoinside void HighScoresUserInterface::setHighScores()
21:19:36raptorinteresting
21:19:47Watusimotoboth names and groupNames have 0 elements
21:19:59raptorthat shouldn't happen..
21:20:05Watusimototracing back, that data comes from m2cSendHighScores()
21:20:11Watusimotoand from there, from the master
21:20:33Watusimotoso it's a problem that is happening on the master, and can be fixed there
21:20:40Watusimotoodd that it only happens the first time
21:23:58Watusimotoback in a few minutes
21:38:03raptorWatusimoto: less ugly?: http://imagebin.org/275465
21:44:27Invisible1 has joined
21:49:36Watusimotoa bit, yes
21:50:16WatusimotoI'll look at it "in action" and see... it may be good enough until we modernize the menu fonts/appearance
21:59:02BFLogBot Commit: cfd031c2bffa | Author: watusimoto | Message: Add legend to level info menu showing what the ratings are
21:59:04BFLogBot Commit: 02d5a6c13bc9 | Author: watusimoto | Message: Pre-reserve some memory for results (minor performance improvement)
21:59:05BFLogBot Commit: 0af7663a3d61 | Author: watusimoto | Message: Add some temp logging to master
21:59:15Watusimotobtw, I really like your update_recompile_restart_master.sh script
22:00:08raptorthanks!
22:02:45Watusimotook, I see the problem with the high scores, it's a master problem. fixing it will probably fix all clients
22:02:48Watusimotothe question ishow
22:03:11raptordoes it have to do with empty strings?
22:03:19raptorif so, send a space
22:03:25Watusimotono
22:03:47Watusimotoit seems to be sending cached scores before any are cached
22:04:24raptoroh lovely
22:06:12Flynnn has joined
22:17:37raptorSkybax: if you want bittown to go back up, PM me the map again please (and sorry we lost it)
22:20:15Flynnn Quit (Quit: This computer has gone to sleep)
22:22:33BFLogBot Commit: de060b018c67 | Author: watusimoto | Message: Speculative fix for high scores crash
22:28:18BFLogBot Commit: b4d73ced0e72 | Author: watusimoto | Message: Fix a crapton of stupid, pointless warnings. Maybe we should just disable the warning somehow? This is just ridiculous!
22:28:19BFLogBot Commit: ff1d097f3ce8 | Author: watusimoto | Message: And a couple more...
22:28:21BFLogBot Commit: 37d0de0ceb76 | Author: watusimoto | Message: Warnings
22:29:35Watusimotoyay! retrieved scores on 018a and no crash!
22:29:55Watusimotoraptor: if you want to test 017b I can restart the server
22:29:58Watusimotojust let me know
22:33:34Watusimoto019 does not crash anymore either
22:33:39Watusimotolooks like we licked it!
22:43:33raptorok, back from a political discussion with my co-worker on how to raise kids in a post-scarcity society...
22:43:38raptorwant me to try 017b?
22:51:57raptoractually, i'm heading home
22:51:58raptorlater!
22:52:55raptor Quit ()
23:08:04Invisible1 Quit (Ping timeout: 260 seconds)
23:19:08Flynnn has joined
23:19:08Flynnn Quit (Client Quit)
23:26:07BFLogBot Commit: 4f84ef6f02ed | Author: watusimoto | Message: Using floats makes things line up much nicer!
23:32:13Watusimoto Quit (Ping timeout: 240 seconds)
23:38:50kumul has joined
23:58:42koda has joined
23:59:30kaenkumul, Skybax, YoshiSmb_, coming?
23:59:39YoshiSmb_huh?

Index Search ←Prev date Next date→

These logs were automatically created by BFLogBot on irc.freenode.net.