IRC log for #bzflag on 20090609

00:07.42KingRobotJefferyM: If I were to eliminate some unecessarily linked items via callbacks, the right way to set up & use the callback would be with the BZDB, right?
00:08.02JefferyMbzdb is not an object broker
00:08.37JefferyMit is used for data values that are stored in the client config, or kept synced between server and client
00:08.52KingRobotOk
00:09.03KingRobotI saw the "addCallback" / "removeCallback" ...
00:09.05JefferyMjust make an API that gets and sets callbacks for whatever you need
00:09.17JefferyMyeah that is for callbacks to be called when data values change
00:10.02JefferyMdo you want to do C style callbacks? or C++ handler objects?
00:11.03KingRobotI was thinking C style
00:11.09JefferyMthen it's pretty simple
00:12.06JefferyMcan there be more then one callbacks per event?
00:14.37KingRobotHypothetically. Something like SomeObject::doShotFiredStuff(), in place of SOUNDSYSTEM.play(SFX_FIRE); ForceFeedback::shotFired();
00:15.08JefferyMprobalby want to allow for more then one callback
00:15.24JefferyMthen you can have multiple subsystems hook into it easy
00:15.26JefferyMbut yeah
00:15.29JefferyMgo for it
00:15.35JefferyMvector of function pointers
00:16.17KingRobotok
00:16.48KingRobotI've noticed that bzflag often uses stl::vector over stl::list - is there a reason?
00:16.56JefferyMlazyness
00:17.04JefferyMlists are probably better in most cases
00:17.12JefferyMbut use a smidge more memory IIRC
00:17.12KingRobotok
00:18.27trepanstd::list is slower to loop through, and doesn't have indexed access
00:18.44JefferyMbut faster to delete from
00:18.55JefferyMso it depends on your use
00:18.58trepanand insert
00:19.02JefferyMja
00:19.17JefferyMvector has to reallocate the entire thing on each insert or delete
00:19.27JefferyMwell "may" on insert depending on the implementation
00:19.30trepannot really
00:19.43JefferyMmost of them do some buffering IIRC
00:19.48trepanya, iirc, the usual implementation does much the same as is oft done in bz
00:19.59JefferyMI think people like vector because it reminds them of a C array
00:19.59trepannewsize = oldsize * 2   (or some variant)
00:20.39trepanor because it's simply better suited to the task   ;)
00:20.54JefferyMdosn't put that much faith in developers ;)
00:22.39KingRobotIn depth answer :)
00:23.03JefferyMfor your use, it won't get added to or deleted from much
00:23.04JefferyMmostly just iterated
00:24.28KingRobotOn a different topic, what is Processor Affinity?
00:28.01trepanwhen you have multiple CPUs, the preferred cpuID for execution
00:30.24trepanalternatively, http://en.wikipedia.org/wiki/Processor_affinity
00:35.46*** join/#bzflag L4m3r (n=l4m3r@bzflag/developer/L4m3r)
00:35.46*** mode/#bzflag [+v L4m3r] by ChanServ
00:37.02KingRobotShould I set this callback class up like BZDB, or just have a function for each thing that needs to be done?
00:37.51KingRoboti.e.    this     SomeObject::doShotFiredStuff()     or this  SomeObject::doThing("ShotFiredStuff");
00:39.00KingRobottrepan: thank you
00:44.40KingRobot... we have avatars in bzflag?
01:20.50AAA_awrightIs the /set _<tab> crash still a problem? It works on my trunk (and didn't months ago), yet it is still in the TODO
01:22.45*** join/#bzflag Swigg_ (n=Default@98.104.149.22)
02:11.56blast007AAA_awright: can you reproduce the crash the revision when that TODO was added?
02:12.05blast007from the revision*
02:12.32AAA_awrightblast007: I am not able to, all the possible values are listed
02:12.38AAA_awrightI was wondering if someone else was able to
02:16.11spldarthow do I revert to a specific version checkout? Say the checkout that the bug was intro'd
02:16.29spldartwonders if the bug revealed it'self in lin and win
02:16.41spldartis in win now
02:18.23blast007probably faster to just checkout the revision you want into a new directory
02:19.22blast007should be something like: svn checkout -r 12345 https://blablabla.com/trunk/bzflag
02:20.01spldartgrr.. cannot get the todo I wanted... what rev would be the revelant one?
02:21.51spldartis wasting time avasting' a managers/ friends machine and wouldn't mine trying to confirm a bug
02:23.02spldartis searching sourceforge
02:23.45blast007spldart: you know about the svn blame command, right?
02:23.56spldartNope
02:24.07blast007svn blame TODO | less
02:24.16blast007the /set line shows like this:
02:24.17blast007<PROTECTED>
02:24.25spldartthat looks command line
02:24.26blast007so, revision 19046
02:24.36blast007oh, you're in Windows
02:24.47spldartthat's what I said :)
02:24.50blast007then right click the file and do it that way ;)
02:24.56blast007should be a "Blame" there too
02:25.05spldart"doesn't exitst"
02:25.16blast007what doesn't exist?
02:25.37spldart19046 by svn -r... lemme right click todo instead
02:29.05spldartYep... this is new territory
02:29.23spldartAnd yet not
02:30.23spldartDon't hold on me to verify this bug... I'm just trying
02:31.08spldartgrrrRRrrr
02:34.37spldartI keep getting fail waves and red text in my tortoise gui.... N/M
02:42.55AAA_awrightblast007: Why not just have the client prepend the callsign in a /me message, instead of the server?
02:43.27AAA_awrightThat is, after all, how regular chat messages do it
03:08.27*** join/#bzflag L4m3r_ (n=l4m3r@bzflag/developer/L4m3r)
03:08.27*** mode/#bzflag [+v L4m3r_] by ChanServ
03:23.55*** join/#bzflag Pimpi (n=frank@gondolin.pimpi.org)
03:46.17*** join/#bzflag jcp (n=jw@unaffiliated/javawizard2539)
03:47.30blast007AAA_awright: what? that's what it does right now
03:47.48blast007in trunk
04:30.45CIA-60BZFlag: 03will07c5 * r19887 10/trunk/bzworkbench/ (24 files in 6 dirs): added box, pyramid, arc, meshbox and meshpyr dialogs and updated the cone dialog
04:47.28*** join/#bzflag jcp (n=jw@unaffiliated/javawizard2539)
05:49.06*** join/#bzflag [Thot] (n=Mephiles@dslc-082-083-194-238.pools.arcor-ip.net)
06:11.42*** part/#bzflag KingRobot (n=mathew@unaffiliated/kingrobot)
06:54.27AAA_awrightblast007: Oh, sorry, I assumed it didn't change since 2.0. Cool.
07:01.20*** join/#bzflag tupone (n=alfredo@gentoo/developer/tupone)
07:01.31*** mode/#bzflag [+v tupone] by ChanServ
07:18.55*** join/#bzflag LongDon (n=LongDon@dyndsl-091-096-046-200.ewe-ip-backbone.de)
07:19.07*** part/#bzflag LongDon (n=LongDon@dyndsl-091-096-046-200.ewe-ip-backbone.de)
07:19.51blast007AAA_awright: yeah, there is now a message type byte
07:19.59blast007so no more hackish /me stuff
07:22.34*** join/#bzflag Constitution_ (n=const@ip72-223-14-112.ph.ph.cox.net)
07:49.22*** join/#bzflag Wyk3d (n=Wyk3d@c7.campus.utcluj.ro)
08:08.00*** join/#bzflag L4m3r (n=l4m3r@bzflag/developer/L4m3r)
08:08.00*** mode/#bzflag [+v L4m3r] by ChanServ
08:41.19*** join/#bzflag trepan (n=trepan@blk-7-235-20.eastlink.ca)
08:41.19*** mode/#bzflag [+v trepan] by ChanServ
09:23.30*** join/#bzflag bier|tp (n=bier@pD9E2CBC0.dip.t-dialin.net)
09:24.03*** join/#bzflag bier (n=bier@pD9E2CBC0.dip.t-dialin.net)
10:08.49*** join/#bzflag Wyk3d (n=Wyk3d@c7.campus.utcluj.ro) [NETSPLIT VICTIM]
10:08.49*** join/#bzflag TkTech (n=TkTech@bas1-ottawa23-1167871940.dsl.bell.ca) [NETSPLIT VICTIM]
10:16.46*** join/#bzflag {janis} (n=5abe1d20@bz.bzflag.bz)
10:17.03{janis}hello people
10:17.19{janis}need help with making a SDL.framework
10:24.25{janis}anybody here?
11:38.00*** join/#bzflag [Thot] (n=Mephiles@dslc-082-083-183-163.pools.arcor-ip.net)
11:48.33*** join/#bzflag Swigg_ (n=Default@98.104.149.22)
11:55.11*** join/#bzflag SpazzyMcGee (n=SpazzyMc@bzflag/contributor/SpazzyMcGee)
12:23.19*** join/#bzflag ep (n=quassel@68.97.126.55)
12:39.04*** join/#bzflag TD-Linux (n=wheeeeee@65.165.173.1)
13:23.22*** join/#bzflag dexter- (n=whodaman@bzflag/player/Dexter)
13:24.07dexter-BZBB admins: you might want to remove this as soon as possible: http://my.bzflag.org/bb/viewtopic.php?f=8&t=14168
13:24.15dexter-definitely something we don't want to on the forums..
13:24.22*** join/#bzflag Swigg (n=Default@bzflag/player/Swigg)
13:25.51BulletCatcherPlease click the "report this post" link for the article (exclamation mark in an inverted triangle button) if you have not already done so.  That will help the process.
13:26.34trepanpost removed, user removed, ip banned
13:27.00trepanthanks for heads-up
13:28.40dexter-trepan, yea, thanks. np
14:08.29*** join/#bzflag king1 (n=543e842a@bz.bzflag.bz)
14:38.17*** join/#bzflag spldart (n=spldart2@bzflag/contributor/spldart)
14:38.17*** mode/#bzflag [+v spldart] by ChanServ
15:07.47*** join/#bzflag Bambino (n=Bambino_@S0106002191dd19a8.gv.shawcable.net)
15:08.59*** join/#bzflag RAThomas_ (n=chatzill@email.fescorp.com)
15:12.11*** join/#bzflag Wyk3d1 (n=Wyk3d@c7.campus.utcluj.ro)
15:14.40*** join/#bzflag Upsetter (n=ups@i577B45AA.versanet.de)
15:33.47*** join/#bzflag LongDon1 (n=LongDon@host-091-097-188-093.ewe-ip-backbone.de)
15:33.56*** join/#bzflag [Thot] (n=Mephiles@dslc-082-083-207-218.pools.arcor-ip.net)
15:36.04*** join/#bzflag temp_dist (n=pidgin@bzflag/serverop/TemporalDistraction)
16:10.12*** join/#bzflag SpazzyMcGee (n=SpazzyMc@bzflag/contributor/SpazzyMcGee)
16:17.48*** join/#bzflag jcp (n=jw@unaffiliated/javawizard2539)
16:22.26*** join/#bzflag JefferyM (n=JefferyM@bzflag/projectadmin/JeffM)
16:22.26*** mode/#bzflag [+o JefferyM] by ChanServ
16:26.24*** join/#bzflag Upsetter1 (n=ups@i577B6544.versanet.de)
16:31.32*** join/#bzflag TD-Linux (n=wheeeeee@65.165.173.1)
16:44.11*** join/#bzflag Pythonoras (n=Pi@94.79.73.62)
16:46.17*** join/#bzflag TimRiker (i=timr@2002:ad75:1a03:0:0:0:0:1)
16:46.18*** mode/#bzflag [+o TimRiker] by ChanServ
17:12.51*** join/#bzflag MindstormsKid (n=msk@Wikipedia/MindstormsKid)
17:30.10*** join/#bzflag TD-Linux (n=wheeeeee@96-42-84-204.dhcp.roch.mn.charter.com)
17:34.08*** join/#bzflag temp_work (n=temporal@bzflag/serverop/TemporalDistraction)
18:11.42*** join/#bzflag Think_Differentl (n=fatass@bzflag/player/ThinkDifferent)
18:14.08*** join/#bzflag TimRiker (i=timr@bzflag/projectlead/TimRiker)
18:14.08*** mode/#bzflag [+o TimRiker] by ChanServ
18:26.23Will07c5I'm going back to fixing objects today since I made dialogs for all the ones I finished already (except base)
18:32.14*** join/#bzflag Qew (n=qew@82-69-126-225.dsl.in-addr.zen.co.uk)
18:51.35*** join/#bzflag SpazzyMcGee (n=SpazzyMc@bzflag/contributor/SpazzyMcGee)
19:02.51*** join/#bzflag me1 (n=ausom@bzflag/player/Me1)
19:06.49*** part/#bzflag LongDon1 (n=LongDon@host-091-097-188-093.ewe-ip-backbone.de)
20:13.50*** join/#bzflag Enkvist (n=5abe1d20@bz.bzflag.bz)
20:14.07EnkvistHello
20:14.13Enkvistany mac users online?
20:16.08Enkvistneed help with Developer Tools
20:18.44JefferyMwhat tools?
20:18.53JefferyMxcode?
20:19.41Enkvistwell,  if to be correct i am missing so called MACOSX10.4u.sdk Folder in the hdd/Developer/SDK folder
20:19.57JefferyMumm ok
20:20.04JefferyMthen you should get it
20:20.25Enkvisti have searched in the google, it told me that i have to reinstall XCode
20:20.38Enkvisti have done it and i have also installed all packages connected with SDK
20:20.58Enkvistbut i still dont have it
20:21.12EnkvistSDK folder conatins only MACOSX10.4.0.sdk
20:21.12JefferyMwe arn't really an OSX dev support channel
20:21.19JefferyMthere are probably better places for you to ask
20:21.41Enkvistwell, thought developers can help:)
20:21.58JefferyMyou are asking very specific things about your setup
20:22.10JefferyMthis is a channel for the bzflag game
20:22.20JefferyMour mac build system is mostly command line based.
20:23.12*** join/#bzflag Enkvist (n=5abe1d20@bz.bzflag.bz)
21:32.57*** join/#bzflag Pythonoras (n=Pi@94.79.73.62)
21:43.37*** join/#bzflag Gnurdux (n=gnurdux@c-68-48-77-168.hsd1.md.comcast.net)
21:50.31*** join/#bzflag Wyk3d (n=Wyk3d@c7.campus.utcluj.ro)
21:58.53*** join/#bzflag RAThomas (n=chatzill@email.fescorp.com)
22:03.59*** join/#bzflag GiantEnemyCrab (n=GiantEne@c-76-115-175-223.hsd1.wa.comcast.net)
22:28.12*** join/#bzflag Bulldozer (n=KingRobo@student4945.student.nau.edu)
22:35.08CIA-60BZFlag: 03Arch 07http://my.bzflag.org * r5868 10/w/Capture_the_Flag:
22:35.44CIA-60BZFlag: 03Arch 07http://my.bzflag.org * r5869 10/w/Capture_the_Flag:
22:42.04CIA-60BZFlag: 0396.237.60.237 07http://my.bzflag.org * r5870 10/w/User_talk:Me1/Style_Merges:
22:43.55*** join/#bzflag TimRiker (i=timr@bzflag/projectlead/TimRiker)
22:43.55*** join/#bzflag Wyk3d (n=Wyk3d@c7.campus.utcluj.ro) [NETSPLIT VICTIM]
22:43.55*** join/#bzflag SpazzyMcGee (n=SpazzyMc@bzflag/contributor/SpazzyMcGee) [NETSPLIT VICTIM]
22:43.55*** join/#bzflag TD-Linux (n=wheeeeee@about/essy/indecisive/TD-Linux) [NETSPLIT VICTIM]
22:43.55*** join/#bzflag TkTech (n=TkTech@bas1-ottawa23-1167871940.dsl.bell.ca) [NETSPLIT VICTIM]
22:43.55*** mode/#bzflag [+o TimRiker] by irc.freenode.net
22:43.55*** join/#bzflag Pythonoras (n=Pi@94.79.73.62)
22:43.56*** join/#bzflag TD--Linux (n=wheeeeee@96-42-84-204.dhcp.roch.mn.charter.com)
22:58.26*** join/#bzflag spldart (n=spldart2@bzflag/contributor/spldart)
22:58.26*** mode/#bzflag [+v spldart] by ChanServ
23:04.19*** join/#bzflag Swigg (n=Default@bzflag/player/Swigg)
23:35.13*** join/#bzflag Mets (n=Mets@c-24-19-170-53.hsd1.wa.comcast.net)
23:35.41*** part/#bzflag Mets (n=Mets@c-24-19-170-53.hsd1.wa.comcast.net)
23:51.45*** join/#bzflag temp_dist (n=pidgin@bzflag/serverop/TemporalDistraction)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.