#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2011-05-06

Timestamps are in GMT/BST.

00:15:00sam686 has joined
00:15:00ChanServ sets mode +v sam686
00:17:00raptor has joined
00:17:00raptor Quit (Changing host)
00:17:00raptor has joined
00:17:00ChanServ sets mode +o raptor
00:29:00raptori shoudl get back to coding bitfighter... but i'm having too much fun with IRC bots
01:36:00watusimoto has joined
01:43:00raptorgood evening
01:47:00watusimotohi there
01:47:00raptori'm hunting down a java memory leak in the logbot
01:52:00raptorthere's a bufferedreader in a while loop that is reading all messages in the channel
01:52:00raptorthe reader is holding onto the memory, though, i think
02:22:00raptor"""
02:26:00watusimotoman every time I tweak something, I get a full compile
02:26:00watusimotoor nearly so
02:26:00watusimotoit's very slow
02:26:00raptortoo many headers included everywhere?
02:27:00raptori've been slowly cleaning up the header hierarchy
02:27:00raptorlittle by little
02:27:00raptorand killing externs
02:28:00watusimotoexterns are ok, it's the includes that are bad
02:28:00raptorexterns are usually indicative of bad includes...
02:28:00raptorat least from what i've seen
02:28:00watusimotothe externs sometimes let you omit an include
02:29:00raptoryes, i guess that's true - it just seems messy, too, for some reason
02:29:00watusimotoit feels like everything is included now, through a long chain of things
02:29:00watusimotoit is a little
02:30:00watusimotobut don't get rid of them by replacing them with an include! please!
02:30:00raptori haven't done much of that
02:31:00raptori usually clean up the include chain by getting rid of any .h that I can in a .h file, and move them to the .cpp
02:34:00watusimotoyes, that will usually help
02:34:00watusimotoand forward declarations are great
02:36:00raptora forwad declaration is just moving the header piece of a called method to just before the method that calls it?
02:40:00raptorahh, i understand them better now
02:41:00raptorwhen only a pointer to an object is needed, don't include the definition of the pointer type, just declare it beforehand
02:44:00raptoradding '#pragma once' right above the header guard can increase the speed with some compilers
02:45:00-barjavel.freenode.net- *** Looking up your hostname...
02:45:00-barjavel.freenode.net- *** Checking Ident
02:45:00-barjavel.freenode.net- *** Couldn't look up your hostname
02:45:00-barjavel.freenode.net- *** No Ident response
02:45:00BitfighterLogBot has joined
02:45:00Topic is 'Latest release 015a http://bitfighter.org | Forums: http://bitfighter.org/forums/ | GC Project: http://code.google.com/p/bitfighter/'
02:45:00Set by raptor!~raptor@unaffiliated/greenmachine on Sun May 01 01:51:58 EDT 2011
02:45:00-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.
02:47:00-barjavel.freenode.net- *** Looking up your hostname...
02:47:00-barjavel.freenode.net- *** Checking Ident
02:47:00-barjavel.freenode.net- *** Couldn't look up your hostname
02:47:00-barjavel.freenode.net- *** No Ident response
02:47:00BitfighterLogBot has joined
02:47:00Topic is 'Latest release 015a http://bitfighter.org | Forums: http://bitfighter.org/forums/ | GC Project: http://code.google.com/p/bitfighter/'
02:47:00Set by raptor!~raptor@unaffiliated/greenmachine on Sun May 01 01:51:58 EDT 2011
02:47:00-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.
02:48:00raptorthis is good: http://stackoverflow.com/questions/373142/what-techniques-can-be-used-to-speed-up-c-compilation-times
02:48:00raptorexcept i don't quite understand the 'pimpl' technique
02:54:00watusimotonever heard of it, looking
02:55:00raptorit is apparently some refactor work with the added benefit of everything acting like a forward declaration.. sort of
02:55:00raptorfrom what i gather..
02:58:00watusimotoI kind of understand it... but not totally. I don't think it's relevant...
02:58:00watusimotobut I may be wrong!
02:58:00raptorapparently it is used in really large coding projects
02:58:00watusimotoReduce interdependancy
02:59:00watusimotounfortunately, my editor refactor is the opposite of this
02:59:00watusimotothough since I am using pointers, I may be able to replace some includes with forward declarations
02:59:00watusimotomaybe
03:00:00raptorapparently, in the header if all you are doing is somthing like this:
03:00:00raptorE h( E );
03:00:00raptorthen you can use a forward declaration there, too
03:01:00raptori.e. if only using the class as a parameter or return type
03:02:00raptorin fact - i bet that would clean up a lot of the headers that use Vector
03:07:00watusimotook, got 7 items working in the editor
03:07:00watusimotoI keep refactoring my refactor, which is slowing me down :-)
03:07:00watusimotoI'm working recursively
03:09:00raptorhow many items left?
03:12:00watusimoto18 all together, most of the polygon ones will be the same
03:12:00watusimotoand then walls
03:12:00watusimotowhich is the wildcard
03:12:00raptoroh boy
03:13:00watusimotoI'll probably get at least 2 more working tonight
03:13:00watusimotomore if I don't fall asleep
03:17:00raptori'm going through each header file and cleaning them up
03:18:00raptoractually, this is getting tedious fast
03:44:00raptor_ has joined
03:44:00raptor_ Quit (Changing host)
03:44:00raptor_ has joined
03:44:00ChanServ sets mode +o raptor_
03:46:00raptor was kicked from #bitfighter by raptor_
03:46:00raptor_ has left
03:47:00raptor has joined
03:47:00ChanServ sets mode +o raptor
03:51:00raptorfound this advice: "Always use the :: operator in header files. Never use a using namespace statement globally in a header file because it will merge its specified namespace with the global namespace in any program that uses the header file."
04:31:00watusimotodo you think this is relevant?
04:31:00raptormaybe a bit
04:36:00raptori think i could stay up all night cleaning these...
04:37:00watusimotonot sure we need to
04:37:00watusimotoI'm not convinced this is a problem
04:38:00raptori did mostly forward declaration stuff
04:39:00raptorbut i'm going to bed...
04:39:00raptorgood night
04:42:00raptor Quit (Remote host closed the connection)
05:44:00watusimoto Quit (Quit: Leaving.)
12:17:00watusimoto has joined
13:01:00raptor has joined
13:01:00ChanServ sets mode +o raptor
13:41:00raptori'm afraid to do any more refactor of classes
13:41:00raptori don't know what you've touched with your editor changes, watusimoto
14:00:00karamazovapywhat the eff is watusimoto doing for the Grand Duchy of Luxembourg...?
14:00:00raptordon't know
14:28:00watusimotoroyalist work
16:49:00watusimoto Quit (Quit: Leaving.)
17:19:00watusimoto has joined
17:45:00raptorkaramazovapy: did you ever find out which level was crashing your server and why?
18:30:00karamazovapyI don't know about crashing, but I did realize that the update we performed erased my robots and scripts folders
18:32:00raptoryeah sorry about that...
18:40:00karamazovapyI haven't gotten any crash e-mails though
18:40:00raptoroh good
18:41:00karamazovapylooks like my server is still up, so maybe it's working!
20:29:00raptor Quit (Remote host closed the connection)
21:13:00raptor has joined
21:13:00ChanServ sets mode +o raptor
21:59:00watusimoto1 has joined
22:01:00watusimoto Quit (Ping timeout: 240 seconds)
22:24:00watusimoto1 Quit (Quit: Leaving.)
23:20:00raptorsam686: are you working on something specific?
23:34:00raptora really goofy thing stated happening: when type in chat in-game, the shift keys had odd behaviour
23:35:00raptorpressing left shift would add a 'p' to the text area but holding it down would still capitalize letters
23:35:00raptorright shift did the same but added a 'q' instead
23:36:00sam686i haven't work nothing much in bitfighter.
23:37:00sam686maybe you missed up something causing left shift to add a 'p'..
23:38:00sam686or it could be a problem with linux version and not windows?
23:45:00raptorthis was in stock 015a
23:45:00raptorand it could be linux - always a possibility :]
23:45:00sam686that shift problem never happened to me in windows.
23:53:00sam686I don't have the in-game chat shift problem in windows, and i don't have that shift problem in linux ubuntu.
23:55:00sam686let me guess, a linux update or some other update started the chat, shift problem?
23:58:00raptornope
23:59:00raptorit was working normally for about 1/2 hour - then when i started a dungeon map on footloose's server, it started in the middle of a game
23:59:00raptorit was weird
23:59:00sam686does it happen all the time?

Index Search ←Prev date Next date→

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