--- Log opened Mon Nov 05 00:00:53 2007 |
00:22 | <@McMartin> | You're missing a static again. |
00:23 | <@McMartin> | And quite possibly a declaration of Player as Serializable. |
00:56 | <@ToxicFrog> | Except the entire reason I have a seperate PlayerStats is that serializing Player is a huge pain in the ass. |
00:56 | <@ToxicFrog> | Turned out the problem is that inner classes have implicit references to the enclosing class, so they can't be serialized unless their enclosure can be as well. |
01:04 | <@ToxicFrog> | McMartin: unrelatedly, is there an easy way to iterate over the members of an enum? |
01:05 | <@ToxicFrog> | They aren't Collections, so you can't use the collective for loop; they don't have any method that turns them into collections; you can't use the numeric for loop because there's no way to map numbers back into enums (without setting up your own array or something ahead of time)... |
01:42 | <@McMartin> | Enums are deprecated, and I believe there's a transformer in java.util.Collections to make a Collection out of them. |
01:42 | <@McMartin> | Er, if this is Enumeration |
01:43 | <@McMartin> | If they're the "typesafe enum" pattern, which is horrifically ugly, then use an array |
01:43 | <@McMartin> | Wait |
01:43 | <@McMartin> | It would be a converter to Iterator. |
01:43 | | * McMartin checks |
01:44 | <@McMartin> | static<T> ArrayList<T> Collections.list(Enumeration<T> e) |
01:45 | <@McMartin> | Erm, um. Unless you mean java.lang.Enum |
01:45 | <@McMartin> | Which is something the 1.5 compiler autogenerates and with which I am wholly unfamiliar. |
02:03 | <@ToxicFrog> | java.lang.Enum, I think |
02:04 | <@ToxicFrog> | It's whatever you get when you go, for example, public static enum Direction { NORTH, SOUTH, EAST, WEST } |
02:04 | <@ToxicFrog> | Which according to javadoc is indeed a descendant of java.lang.Enum. |
02:05 | | gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has quit [Quit: Z?] |
02:06 | <@McMartin> | Beyond my ken. =/ |
02:07 | <@Vornicus> | java.lang.Enum has pretty opaque docs, too. |
02:07 | <@McMartin> | Yeah, because it's a Synthetic Class. |
03:02 | | Vornicus is now known as Vornicus-Latens |
03:28 | | ReivZzz is now known as Reiver |
04:26 | | Forj [~Forj@Nightstar-9586.ue.woosh.co.nz] has joined #code |
04:26 | | mode/#code [+o Forj] by ChanServ |
04:32 | | GeekSoldier|bed is now known as GeekSoldier|work |
04:39 | | Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code |
04:39 | | mode/#code [+o Chalcedon] by ChanServ |
05:18 | | Bob_work [~c6b3e33a@207.250.49.ns-12382] has joined #code |
05:19 | | Bob_work [~c6b3e33a@207.250.49.ns-12382] has left #code [] |
05:24 | | You're now known as TheWatcher |
06:44 | | Thaqui [~Thaqui@Nightstar-26126.jetstream.xtra.co.nz] has quit [Quit: This computer has gone to sleep] |
07:06 | | GeekSoldier|work [~Rob@Nightstar-4297.pools.arcor-ip.net] has quit [Connection reset by peer] |
08:46 | | Forj [~Forj@Nightstar-9586.ue.woosh.co.nz] has quit [Quit: Gone] |
09:34 | | Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Quit: Gone] |
09:56 | | Thaqui [~Thaqui@Nightstar-26126.jetstream.xtra.co.nz] has joined #code |
09:56 | | mode/#code [+o Thaqui] by ChanServ |
10:21 | | gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has joined #Code |
10:21 | | mode/#code [+o gnolam] by ChanServ |
10:25 | | MyCatSchemes [~rb6822@Nightstar-23320.cs.bris.ac.uk] has joined #code |
10:33 | | MyCatSchemes [~rb6822@Nightstar-23320.cs.bris.ac.uk] has quit [Quit: Swim, swim, hungry!] |
10:42 | | MyCatSchemes [~rb6822@Nightstar-23320.cs.bris.ac.uk] has joined #code |
10:59 | | MyCatSchemes [~rb6822@Nightstar-23320.cs.bris.ac.uk] has quit [Quit: Swim, swim, hungry!] |
11:04 | | Thaqui [~Thaqui@Nightstar-26126.jetstream.xtra.co.nz] has quit [Quit: This computer has gone to sleep] |
11:32 | | GeekSoldier|work [~Rob@Nightstar-3348.pools.arcor-ip.net] has joined #code |
13:38 | | Vornicus-Latens is now known as Vornicus |
13:59 | | MyCatSchemes [~rb6822@Nightstar-23968.cs.bris.ac.uk] has joined #code |
15:41 | | EvilDarkLord [~jjlehto3@Nightstar-2194.vipunen.hut.fi] has quit [Ping Timeout] |
15:51 | | EvilDarkLord [~jjlehto3@Nightstar-2194.vipunen.hut.fi] has joined #code |
15:52 | | EvilDarkLord is now known as NSGuest-2204 |
16:14 | | MyCatSchemes [~rb6822@Nightstar-23968.cs.bris.ac.uk] has quit [Quit: Swim, swim, hungry!] |
16:14 | | NSGuest-2204 is now known as EvilDarkLord |
17:06 | | You're now known as TheWatcher[afk] |
17:13 | | AnnoDomini [AnnoDomini@Nightstar-29077.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
17:20 | | AnnoDomini [AnnoDomini@Nightstar-28937.neoplus.adsl.tpnet.pl] has joined #Code |
17:20 | | mode/#code [+o AnnoDomini] by ChanServ |
17:52 | | Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code |
17:52 | | mode/#code [+o Chalcedon] by ChanServ |
18:00 | | Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout] |
18:09 | | NSGuest-2210 [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code |
18:47 | | You're now known as TheWatcher |
18:49 | | NSGuest-2210 is now known as Chalcedon |
18:50 | | Chalcedon is now known as NSGuest-2212 |
18:50 | | Chalcy [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code |
18:51 | | mode/#code [+o Chalcy] by ChanServ |
18:51 | | Chalcy is now known as Chalcedon |
18:52 | | NSGuest-2212 [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout] |
18:53 | | * gnolam stabs Atmel's website with a bent fork. |
18:55 | <@gnolam> | Well, the good news is I have AVR Studio on my borrowed laptop. The bad news is that I have no 802.11 in my apartment. |
19:04 | | GeekSoldier|work is now known as GeekSoldier |
19:10 | <@gnolam> | It's also interesting to note that they haven't even bothered to set up a decent error/redirect, so everything that isn't the index page returns a 404. |
19:15 | | Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout] |
19:17 | | Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code |
19:17 | | mode/#code [+o Chalcedon] by ChanServ |
19:23 | | Chalcy [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code |
19:23 | | mode/#code [+o Chalcy] by ChanServ |
19:24 | | Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout] |
19:28 | | Chalcy [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout] |
19:30 | | Chalcy [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code |
19:30 | | mode/#code [+o Chalcy] by ChanServ |
19:39 | | Chalcy is now known as Chalcedon |
19:52 | | Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout] |
19:54 | | ChalcyNap [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code |
19:59 | | GeekSoldier is now known as GeekSoldier|bed |
20:54 | < jerith> | gnolam: Don't you rather want gcc and avrlibc? |
20:54 | < jerith> | From what little of AVRStudio I recall, the open source stuff was much nicer. |
21:06 | <@gnolam> | Not if the hardware the software is supposed to run isn't done yet. The emulation stuff AVR provides is really nice. |
21:07 | <@gnolam> | s/AVR/Atmel |
21:13 | <@gnolam> | Things will become so much easier when the Bluetooth module is up and running. Then we can start doing macro-scale debugging. ... well, when the I2C stuff is done as well, anyway. |
21:14 | | Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code |
21:14 | | mode/#code [+o Chalcedon] by ChanServ |
21:14 | | ChalcyNap [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout] |
21:25 | | Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout] |
21:28 | | NSGuest-2214 [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code |
21:41 | | NSGuest-2214 [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout] |
21:41 | | Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code |
21:41 | | mode/#code [+o Chalcedon] by ChanServ |
22:00 | | Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Ping Timeout] |
22:03 | | NSGuest-2217 [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has joined #code |
22:10 | | NSGuest-2217 is now known as Chalcedon |
22:15 | | Forj [~Forj@Nightstar-9586.ue.woosh.co.nz] has joined #code |
22:15 | | mode/#code [+o Forj] by ChanServ |
22:17 | | Chalcedon [~Chalcedon@Nightstar-9586.ue.woosh.co.nz] has quit [Quit: mutter mutter bouncy internet mutter] |
22:21 | | Forj [~Forj@Nightstar-9586.ue.woosh.co.nz] has quit [Quit: Gone] |
23:30 | | Attilla [~The.Attil@194.72.70.ns-11849] has quit [Ping Timeout] |
23:32 | | Attilla [~The.Attil@194.72.70.ns-11849] has joined #code |
--- Log closed Tue Nov 06 00:00:59 2007 |