--- Log opened Wed Jun 20 00:00:00 2012 |
--- Day changed Wed Jun 20 2012 |
00:00 | | Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has quit [[NS] Quit: ] |
00:13 | | Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has joined #code |
00:20 | | Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has quit [[NS] Quit: ] |
00:27 | | maoranma [nbarr@Nightstar-7e7a7e5b.pools.spcsdns.net] has joined #code |
00:30 | | Noah [nbarr@Nightstar-5d478c5e.pools.spcsdns.net] has quit [Ping timeout: 121 seconds] |
00:43 | | You're now known as TheWatcher[T-2] |
00:45 | | You're now known as TheWatcher[zZzZ] |
00:47 | | Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has joined #code |
01:04 | | io|driving is now known as iospace |
01:20 | | Derakon[AFK] is now known as Derakon |
01:50 | <@ToxicFrog> | Alek: what I mean is, once the actual game starts it seems like the player doesn't have anything to actually do. |
01:51 | <@ToxicFrog> | They just watch cards get flipped over. |
01:52 | <@ToxicFrog> | The outcome is determined as soon as you finish shuffling the deck. |
01:53 | <@ToxicFrog> | And I mean, yes, you can make a game out of that (see: Gratuitous Space Battles), but it takes a fair bit of dressing up. |
01:53 | <@ToxicFrog> | (and GSB doesn't really have the random element) |
02:01 | <@Alek> | true enough. |
02:01 | <@Alek> | I'm sure it can take some more fiddling. XD |
02:07 | | Attilla_ [Obsolete@Nightstar-245c4d9c.as43234.net] has joined #code |
02:09 | | Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has quit [Ping timeout: 121 seconds] |
02:16 | | Attilla_ [Obsolete@Nightstar-245c4d9c.as43234.net] has quit [Ping timeout: 121 seconds] |
02:17 | | Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has joined #code |
02:30 | <@ToxicFrog> | In the case of, say, GSB, you design your ships, set up your fleet, give them their initial formation and starting orders (eg, "concentrate on fighters", "defend the flagship") and then you get to see all the ships fight it out. |
02:51 | | * Alek nods. |
02:51 | <@Alek> | I think I have it. should install. XD |
02:51 | <@Alek> | but anywho. the random element isn't absolutely necessary either. |
02:52 | <@Alek> | I was just setting a challenge for myself during work, to come up with a new card-game mechanic. |
02:52 | <@Alek> | the playability can be adjusted, I'm sure. <_< |
03:08 | | Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited] |
03:44 | | himi [fow035@D741F1.243F35.CADC30.81D435] has quit [Connection closed] |
03:44 | | himi [fow035@D741F1.243F35.CADC30.81D435] has joined #code |
03:44 | | mode/#code [+o himi] by ChanServ |
04:10 | | Kindamoody[zZz] is now known as Kindamoody |
05:31 | | Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has quit [Ping timeout: 121 seconds] |
05:46 | | iospace is now known as iospacedout |
05:46 | | RichyB [MyCatVerbs@Nightstar-3b2c2db2.bethere.co.uk] has quit [Ping timeout: 121 seconds] |
06:15 | | Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!] |
06:19 | | Derakon is now known as Derakon[AFK] |
06:35 | | Kindamoody is now known as Kindamoody|out |
07:35 | | Reiver [reiverta@5B433A.F67240.9707AC.3F7400] has joined #code |
07:36 | < Reiver> | So, would anyone have those links jerith kindly calculated up the dice probabilities for me last night? |
07:44 | | celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
08:04 | <&jerith> | Reiver: Some of those had short expiries. |
08:05 | <&jerith> | Reiver: http://pastebin.starforge.co.uk/527 |
08:06 | <&jerith> | That's a new one expiring in a month instead of a day. It combines the last two, to give various botch tables along with the success table. |
08:18 | < Reiver> | oh nice, cheers :) |
08:18 | < Reiver> | So hm |
08:34 | | himi [fow035@D741F1.243F35.CADC30.81D435] has quit [Ping timeout: 121 seconds] |
08:52 | | Reiv [reiverta@5B433A.3CF6C7.D8E52E.5319C0] has joined #code |
08:53 | | Reiver [reiverta@5B433A.F67240.9707AC.3F7400] has quit [Ping timeout: 121 seconds] |
09:01 | | Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has joined #code |
09:46 | | Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has quit [Ping timeout: 121 seconds] |
09:47 | | Reiv [reiverta@5B433A.3CF6C7.D8E52E.5319C0] has quit [Ping timeout: 121 seconds] |
09:48 | | Reiver [reiverta@5B433A.3CF6C7.35FEBD.C466C0] has joined #code |
09:51 | | Reiv [reiverta@5B433A.3CF6C7.F62BB2.1A34E6] has joined #code |
09:52 | | Reiver [reiverta@5B433A.3CF6C7.35FEBD.C466C0] has quit [Ping timeout: 121 seconds] |
09:54 | | Reiver [reiverta@5B433A.F67240.A0B5A2.73A4B6] has joined #code |
09:55 | | Reiv [reiverta@5B433A.3CF6C7.F62BB2.1A34E6] has quit [Ping timeout: 121 seconds] |
10:00 | | Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has joined #code |
10:02 | | You're now known as TheWatcher |
10:05 | | Attilla_ [Obsolete@Nightstar-245c4d9c.as43234.net] has joined #code |
10:09 | | Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has quit [Ping timeout: 121 seconds] |
10:20 | | Attilla_ is now known as Attilla |
10:32 | | RichyB [MyCatVerbs@Nightstar-3b2c2db2.bethere.co.uk] has joined #code |
10:45 | | RichyB [MyCatVerbs@Nightstar-3b2c2db2.bethere.co.uk] has quit [Ping timeout: 121 seconds] |
10:59 | | Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has quit [[NS] Quit: ] |
10:59 | | RichyB [MyCatVerbs@Nightstar-3b2c2db2.bethere.co.uk] has joined #code |
11:14 | | Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code |
11:22 | | Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has joined #code |
11:53 | | iospacedout is now known as iospace |
11:58 | < gnolam> | http://laughingsquid.com/wp-content/uploads/cross.jpg |
12:00 | | * Alek thumbs up. |
12:18 | <@TheWatcher> | ... *facepalm* |
12:45 | < Rhamphoryncus> | Oh, after reading about doing virtual texture tile determination by rendering the scene and encoding tile information as the pixels, now I *really* want to implement that :D |
12:47 | | iospace is now known as io|driving |
12:49 | < Rhamphoryncus> | aww, they do mention using jitter. My idea isn't new, heh |
12:56 | | Reiver [reiverta@5B433A.F67240.A0B5A2.73A4B6] has quit [Ping timeout: 121 seconds] |
12:58 | < Tarinaky> | Does anyone know if '--pdb' is a switch for ipython or python? |
12:58 | < Tarinaky> | Trying to find which documentation it's in. |
12:58 | < Rhamphoryncus> | I would guess ipython |
12:59 | <&jerith> | Probably not python, since pdb is a separate thing. |
12:59 | < Tarinaky> | PyDev claims to support using ipython. |
12:59 | <&jerith> | -[no]pdb |
12:59 | <&jerith> | Automatically call the pdb debugger after every uncaught excep- |
12:59 | < Rhamphoryncus> | python has -i and -m pdb |
12:59 | <&jerith> | From "ipython --help". |
13:02 | < Tarinaky> | So -i -m pdb will give python the same behavior as --pdb? |
13:02 | | * Tarinaky doesn't, currently, have a test case as his code is without exceptions >.> |
13:02 | < Tarinaky> | +currently |
13:07 | <&jerith> | Tarinaky: Write a little script which just does "raise ValueError('bleh')" or something. |
13:07 | < Tarinaky> | Hmm... -m pdb seems to invoke the debugger there and then. |
13:07 | < Tarinaky> | Rather than executing a script in the debugger. |
13:18 | < Tarinaky> | Hmm. ipython doesn't have an -m switch :/ |
13:23 | < Rhamphoryncus> | Easy method is to use -i, then on error do "import pdb; pdb.pm()" |
13:32 | | * TheWatcher eyes this message in a forum Elsewhere |
13:32 | <@TheWatcher> | "Clearly you should only really worry about the warning with the exclamation mark." |
13:32 | | * TheWatcher makes a note to be more liberal with his exclamation marks |
13:32 | < froztbyte> | haha |
14:13 | | Kindamoody|out is now known as Kindamoody |
14:20 | | io|driving is now known as iospace |
14:25 | | Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has quit [Ping timeout: 121 seconds] |
14:30 | | Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has joined #code |
15:32 | | RichyB [MyCatVerbs@Nightstar-3b2c2db2.bethere.co.uk] has quit [Ping timeout: 121 seconds] |
15:36 | | RichyB [MyCatVerbs@Nightstar-3b2c2db2.bethere.co.uk] has joined #code |
16:22 | | celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code |
16:39 | | Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds] |
16:40 | | Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code |
16:52 | < iospace> | ... oh ipxe |
16:52 | < iospace> | *txbufs = "Which idiot designed this API?"; |
16:57 | < froztbyte> | my world is still full of Mr Anvin's thing |
16:57 | < froztbyte> | pxelinux, I think? |
16:58 | | maoranma is now known as Noah |
17:01 | < iospace> | froztbyte: just ipxe |
17:15 | | Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds] |
17:16 | | Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code |
17:32 | < gnolam> | froztbyte: sounds dirty |
17:33 | | Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has joined #code |
17:33 | | mode/#code [+o Vash] by ChanServ |
17:46 | | Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds] |
17:51 | < celticminstrel> | Xcode's variable view and navigator both need either line-wrapping or horizontal scrollbars. |
18:20 | | Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code |
18:20 | | mode/#code [+ao Derakon Derakon] by ChanServ |
19:07 | | Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!] |
19:08 | | RichyB [MyCatVerbs@Nightstar-3b2c2db2.bethere.co.uk] has quit [[NS] Quit: Leaving] |
19:11 | < celticminstrel> | Is there no iterable wrapper for a dynamically allocated array? |
19:11 | < celticminstrel> | (C++) |
19:14 | < gnolam> | It's called a vector. |
19:14 | < celticminstrel> | Yeah, that's not it. |
19:15 | < celticminstrel> | It's not fixed-length. |
19:18 | < celticminstrel> | And std::array can't be dynamically allocated with a size determined at runtime. |
19:22 | < celticminstrel> | I'm using boost::shared_array, but it's not iterable, so I have to call .get() and add the length when passing it to algorithms. |
19:22 | < celticminstrel> | This is for a temporary buffer passed to an ObjC call. |
19:27 | < celticminstrel> | On an unrelated note, why is there a non-ASCII character in the error message returned by these ObjC calls? |
19:28 | < celticminstrel> | It's an apostrophe. It could easily be an ASCII character. |
19:31 | < celticminstrel> | Speaking of boost::shared_array, is there a reason it isn't in the C++ standard? At least, if it is I haven't found it. |
19:32 | | Noah [nbarr@Nightstar-7e7a7e5b.pools.spcsdns.net] has quit [[NS] Quit: Leaving] |
19:32 | < celticminstrel> | Oh, apparently shared_ptr is specialized for it... that seems a bit of a step backwards almost... |
19:35 | < celticminstrel> | They could've kept shared_array but made it iterable. |
19:35 | < celticminstrel> | Is there a reason for not doing that or did they just not think of it? |
19:36 | <@rms> | ... are we talking about Boost or the STL? |
19:37 | < celticminstrel> | STL, I think. <_< |
19:37 | <@rms> | No idea. |
19:37 | | * rms doesn't know why people think iterators are useful though. |
19:38 | < celticminstrel> | Do you think they're not useful? |
19:38 | <@rms> | for (int i = 0; i < thing.size(); ++i) |
19:38 | < celticminstrel> | Well yeah, I wouldn't replace that with iterators... though, I would replace it with a foreach loop. |
19:39 | < Tarinaky> | That doesn't work if you're modifying thing. |
19:39 | <@rms> | Beats having to find what really-long-named type I need to make a special variable for is. |
19:39 | < Tarinaky> | Or if size() is expensive to calculate. |
19:39 | < celticminstrel> | Well, iterators generally don't work either if you're modifying the container. |
19:39 | < celticminstrel> | Unless it's a linked list of some kind. |
19:39 | < Tarinaky> | Well, yes. |
19:39 | <~Vornicus> | Iterators are more useful for situations when you're doing something more crazy than array traversal |
19:39 | < celticminstrel> | ie, std::list or std::forward_list |
19:39 | <~Vornicus> | Which is a lot of situations. |
19:39 | < Tarinaky> | celticminstrel: That's more a problem with vectors than with iterators. |
19:40 | < celticminstrel> | Mostly I use them for <algorithm> calls. |
19:41 | <~Vornicus> | aside from size being expensive, your iterator also has the ability to generate data where once it didn't exist. You can use iterators to generate permutations or other goodies like that. |
19:42 | | Kindamoody is now known as Kindamoody[zZz] |
19:43 | <~Vornicus> | Or, for instance, reading lines off a file. |
19:43 | < Tarinaky> | I can't imagine traversing a tree without an iterator. |
19:44 | < celticminstrel> | I must've done it at some point in the data structures class... |
19:44 | < celticminstrel> | I can't remember it though. |
19:44 | < Tarinaky> | Well, I can. |
19:44 | < Tarinaky> | But it basically involved reimplementing iterators :p |
19:44 | < celticminstrel> | Speaking of reading lines, I keep meaning to check if that's what the input stream iterators do. |
19:45 | <~Vornicus> | So yeah. For all except the most absolute basic of cases - iterating over an array of known size - iterators win. |
20:07 | | Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has joined #code |
20:07 | | mode/#code [+o Vash] by ChanServ |
20:11 | | Attilla_ [Obsolete@Nightstar-ee4c9094.as43234.net] has joined #code |
20:13 | | Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has quit [Ping timeout: 121 seconds] |
20:41 | | * TheWatcher fingertappity |
20:41 | <@Tamber> | Uhoh. |
20:41 | <@TheWatcher> | To write a non-shitty ticker program, or to not write one. Hrm. |
21:05 | | Attilla_ is now known as Attilla |
--- Log closed Wed Jun 20 21:58:47 2012 |
--- Log opened Wed Jun 20 21:58:56 2012 |
21:58 | | TheWatcher [chris@Nightstar-3762b576.co.uk] has joined #code |
21:58 | | Irssi: #code: Total of 26 nicks [7 ops, 0 halfops, 0 voices, 19 normal] |
21:58 | | mode/#code [+o TheWatcher] by ChanServ |
21:59 | | Irssi: Join to #code was synced in 43 secs |
22:14 | | iospace is now known as io|driving |
22:50 | | Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
22:53 | | Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!] |
--- Log closed Thu Jun 21 00:00:05 2012 |