00:07.42 | KingRobot | JefferyM: 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.02 | JefferyM | bzdb is not an object broker |
00:08.37 | JefferyM | it is used for data values that are stored in the client config, or kept synced between server and client |
00:08.52 | KingRobot | Ok |
00:09.03 | KingRobot | I saw the "addCallback" / "removeCallback" ... |
00:09.05 | JefferyM | just make an API that gets and sets callbacks for whatever you need |
00:09.17 | JefferyM | yeah that is for callbacks to be called when data values change |
00:10.02 | JefferyM | do you want to do C style callbacks? or C++ handler objects? |
00:11.03 | KingRobot | I was thinking C style |
00:11.09 | JefferyM | then it's pretty simple |
00:12.06 | JefferyM | can there be more then one callbacks per event? |
00:14.37 | KingRobot | Hypothetically. Something like SomeObject::doShotFiredStuff(), in place of SOUNDSYSTEM.play(SFX_FIRE); ForceFeedback::shotFired(); |
00:15.08 | JefferyM | probalby want to allow for more then one callback |
00:15.24 | JefferyM | then you can have multiple subsystems hook into it easy |
00:15.26 | JefferyM | but yeah |
00:15.29 | JefferyM | go for it |
00:15.35 | JefferyM | vector of function pointers |
00:16.17 | KingRobot | ok |
00:16.48 | KingRobot | I've noticed that bzflag often uses stl::vector over stl::list - is there a reason? |
00:16.56 | JefferyM | lazyness |
00:17.04 | JefferyM | lists are probably better in most cases |
00:17.12 | JefferyM | but use a smidge more memory IIRC |
00:17.12 | KingRobot | ok |
00:18.27 | trepan | std::list is slower to loop through, and doesn't have indexed access |
00:18.44 | JefferyM | but faster to delete from |
00:18.55 | JefferyM | so it depends on your use |
00:18.58 | trepan | and insert |
00:19.02 | JefferyM | ja |
00:19.17 | JefferyM | vector has to reallocate the entire thing on each insert or delete |
00:19.27 | JefferyM | well "may" on insert depending on the implementation |
00:19.30 | trepan | not really |
00:19.43 | JefferyM | most of them do some buffering IIRC |
00:19.48 | trepan | ya, iirc, the usual implementation does much the same as is oft done in bz |
00:19.59 | JefferyM | I think people like vector because it reminds them of a C array |
00:19.59 | trepan | newsize = oldsize * 2 (or some variant) |
00:20.39 | trepan | or because it's simply better suited to the task ;) |
00:20.54 | JefferyM | dosn't put that much faith in developers ;) |
00:22.39 | KingRobot | In depth answer :) |
00:23.03 | JefferyM | for your use, it won't get added to or deleted from much |
00:23.04 | JefferyM | mostly just iterated |
00:24.28 | KingRobot | On a different topic, what is Processor Affinity? |
00:28.01 | trepan | when you have multiple CPUs, the preferred cpuID for execution |
00:30.24 | trepan | alternatively, 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.02 | KingRobot | Should I set this callback class up like BZDB, or just have a function for each thing that needs to be done? |
00:37.51 | KingRobot | i.e. this SomeObject::doShotFiredStuff() or this SomeObject::doThing("ShotFiredStuff"); |
00:39.00 | KingRobot | trepan: thank you |
00:44.40 | KingRobot | ... we have avatars in bzflag? |
01:20.50 | AAA_awright | Is 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.56 | blast007 | AAA_awright: can you reproduce the crash the revision when that TODO was added? |
02:12.05 | blast007 | from the revision* |
02:12.32 | AAA_awright | blast007: I am not able to, all the possible values are listed |
02:12.38 | AAA_awright | I was wondering if someone else was able to |
02:16.11 | spldart | how do I revert to a specific version checkout? Say the checkout that the bug was intro'd |
02:16.29 | spldart | wonders if the bug revealed it'self in lin and win |
02:16.41 | spldart | is in win now |
02:18.23 | blast007 | probably faster to just checkout the revision you want into a new directory |
02:19.22 | blast007 | should be something like: svn checkout -r 12345 https://blablabla.com/trunk/bzflag |
02:20.01 | spldart | grr.. cannot get the todo I wanted... what rev would be the revelant one? |
02:21.51 | spldart | is wasting time avasting' a managers/ friends machine and wouldn't mine trying to confirm a bug |
02:23.02 | spldart | is searching sourceforge |
02:23.45 | blast007 | spldart: you know about the svn blame command, right? |
02:23.56 | spldart | Nope |
02:24.07 | blast007 | svn blame TODO | less |
02:24.16 | blast007 | the /set line shows like this: |
02:24.17 | blast007 | <PROTECTED> |
02:24.25 | spldart | that looks command line |
02:24.26 | blast007 | so, revision 19046 |
02:24.36 | blast007 | oh, you're in Windows |
02:24.47 | spldart | that's what I said :) |
02:24.50 | blast007 | then right click the file and do it that way ;) |
02:24.56 | blast007 | should be a "Blame" there too |
02:25.05 | spldart | "doesn't exitst" |
02:25.16 | blast007 | what doesn't exist? |
02:25.37 | spldart | 19046 by svn -r... lemme right click todo instead |
02:29.05 | spldart | Yep... this is new territory |
02:29.23 | spldart | And yet not |
02:30.23 | spldart | Don't hold on me to verify this bug... I'm just trying |
02:31.08 | spldart | grrrRRrrr |
02:34.37 | spldart | I keep getting fail waves and red text in my tortoise gui.... N/M |
02:42.55 | AAA_awright | blast007: Why not just have the client prepend the callsign in a /me message, instead of the server? |
02:43.27 | AAA_awright | That 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.30 | blast007 | AAA_awright: what? that's what it does right now |
03:47.48 | blast007 | in trunk |
04:30.45 | CIA-60 | BZFlag: 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.27 | AAA_awright | blast007: 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.51 | blast007 | AAA_awright: yeah, there is now a message type byte |
07:19.59 | blast007 | so 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.07 | dexter- | 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.15 | dexter- | definitely something we don't want to on the forums.. |
13:24.22 | *** join/#bzflag Swigg (n=Default@bzflag/player/Swigg) |
13:25.51 | BulletCatcher | Please 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.34 | trepan | post removed, user removed, ip banned |
13:27.00 | trepan | thanks for heads-up |
13:28.40 | dexter- | 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.23 | Will07c5 | I'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.07 | Enkvist | Hello |
20:14.13 | Enkvist | any mac users online? |
20:16.08 | Enkvist | need help with Developer Tools |
20:18.44 | JefferyM | what tools? |
20:18.53 | JefferyM | xcode? |
20:19.41 | Enkvist | well, if to be correct i am missing so called MACOSX10.4u.sdk Folder in the hdd/Developer/SDK folder |
20:19.57 | JefferyM | umm ok |
20:20.04 | JefferyM | then you should get it |
20:20.25 | Enkvist | i have searched in the google, it told me that i have to reinstall XCode |
20:20.38 | Enkvist | i have done it and i have also installed all packages connected with SDK |
20:20.58 | Enkvist | but i still dont have it |
20:21.12 | Enkvist | SDK folder conatins only MACOSX10.4.0.sdk |
20:21.12 | JefferyM | we arn't really an OSX dev support channel |
20:21.19 | JefferyM | there are probably better places for you to ask |
20:21.41 | Enkvist | well, thought developers can help:) |
20:21.58 | JefferyM | you are asking very specific things about your setup |
20:22.10 | JefferyM | this is a channel for the bzflag game |
20:22.20 | JefferyM | our 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.08 | CIA-60 | BZFlag: 03Arch 07http://my.bzflag.org * r5868 10/w/Capture_the_Flag: |
22:35.44 | CIA-60 | BZFlag: 03Arch 07http://my.bzflag.org * r5869 10/w/Capture_the_Flag: |
22:42.04 | CIA-60 | BZFlag: 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) |