--- Log opened Sun Dec 16 00:00:00 2007 |
00:09 | | You're now known as TheWatcher |
00:35 | | Vornicus is now known as Vornicus-Latens |
00:41 | <@McMartin> | Whoops. |
00:41 | <@McMartin> | So, I've made off-by-one errors (henceforth OBOEs) where I used zero where I needed one. |
00:41 | <@McMartin> | And I've made OBOEs where I've used 1 where I needed 0. |
00:42 | <@McMartin> | This is the first time I've used 2 where I needed 1. |
00:46 | <@C_tiger> | D'oh |
00:46 | <@C_tiger> | (Although I seem to have a tendency to use n when I should use n-1 |
00:46 | <@C_tiger> | ) |
00:48 | | * McMartin was splitting up a string, so he added 1 to skip the null byte when getting memory requirements for a string |
00:49 | | * McMartin however compensated for the null byte twice. |
01:01 | | gnolam [lenin@85.8.5.ns-20483] has quit [Quit: Z?] |
03:15 | | ilovefire [~santros_v@209.82.191.ns-11321] has joined #code |
03:44 | <@MyCatVerbs> | McMartin: OBOEs? Has a nicer ring than "fenceposts", I guess. |
05:04 | | You're now known as TheWatcher[zZzZ] |
06:03 | <@C_tiger> | Up late, ilf? |
06:03 | < ilovefire> | C: Yes, though I havne't had a chance yet to go over the code, due to I Had No Idea family get-togethers and a trip to Savannah for wintereenmas shopping. |
06:03 | < ilovefire> | well, okay, christmas shopping but a guy can wish. |
06:04 | <@C_tiger> | "holiday shopping" is an acceptable term these days. |
06:04 | <@C_tiger> | in fact it's the PC term. |
06:05 | | * ilovefire cares not for political correctness unless it'll get him sued.... wait, no one here's going to sue me, are they? |
06:05 | <@C_tiger> | It's probably too late to start coding now, but if you want to talk through any ideas for approaches you may have... I'll be on. |
06:05 | | * ilovefire nods. |
06:05 | <@C_tiger> | We won't sue you. |
06:05 | < ilovefire> | Yay. |
06:14 | | Vornicus-Latens is now known as Vornicus |
06:30 | | Vornicus is now known as Finerty |
07:13 | | Thaqui [~Thaqui@219.89.45.ns-13582] has joined #code |
07:13 | | mode/#code [+o Thaqui] by ChanServ |
07:36 | | ilovefire [~santros_v@209.82.191.ns-11321] has quit [Quit: Shut up ya wee CROTCH-GNOME, afore I take me hammer an' wail on me jimmies!] |
08:28 | | Finerty is now known as Vornicus |
08:46 | | Vornotron [~vorn@76.255.10.ns-11598] has joined #code |
08:47 | | Vornicus [~vorn@Admin.Nightstar.Net] has quit [Ping Timeout] |
09:34 | | AbuDhabi [AnnoDomini@83.21.38.ns-26598] has quit [Ping Timeout] |
09:35 | < Vornotron> | Okay, so. |
09:35 | < Vornotron> | Regions, Paths, Sites. |
09:35 | | AnnoDomini [AnnoDomini@Nightstar-29141.neoplus.adsl.tpnet.pl] has joined #Code |
09:35 | | mode/#code [+o AnnoDomini] by ChanServ |
09:35 | <@jerith> | Indeed. |
09:36 | | Kazriko [~kazrikna@Nightstar-26352.gdj-co.client.bresnan.net] has joined #code |
09:36 | <@jerith> | So, regions, paths, sites. |
09:37 | < Vornotron> | A Region has many Sites: you may have multiple settlements surrounding a region, and when that region is talked about, it does things to /each/ settlement it's attached to (rolling resources gives to each settlement; placing the robber steals from one). |
09:37 | <@jerith> | Sounds good so far. |
09:38 | < Vornotron> | A Region has many Paths: each path may take roads and ships according to its type; the Pirate works on ships that are on the paths adjacent to its region. |
09:38 | < Vornotron> | s/according to its type/according to the type of its neighboring regions/ |
09:39 | < Vornotron> | A Path has many Sites and a Site has many Paths: you may only build roads in places where you can reach via settlements and other roads; you may only build settlements where you can reach via roads/ships. |
09:40 | < Vornotron> | It's a nasty 3-way many-to-many relationship. |
09:40 | < Vornotron> | I haven't even /talked/ about Harbors, which are complicated in themselves. |
09:41 | <@jerith> | You have a table for each thing and a table for each relationship. |
09:42 | <@jerith> | So you have a table of paths, a table of sites and a table of site-path intersaections. |
09:42 | <@jerith> | -a |
09:42 | < Vornotron> | Right, that's pretty obvious, but then there's the validation, which is hell. |
09:42 | <@jerith> | Do you even need validation? |
09:42 | < Vornotron> | I... you know, I'm not actually sure. |
09:43 | <@jerith> | You set it up once at the start of the game and then it's read-only. |
09:43 | | * Vornotron has always been taught VALIDATE VALIDATE VALIDATE |
09:43 | <@jerith> | The relatioships, at least. |
09:43 | < Vornotron> | It's the Database Dalek. |
09:44 | < Vornotron> | quite true. |
09:44 | <@jerith> | What kind of validation do you want? |
09:44 | | * McMartin sends out the EMT Daleks. |
09:44 | <@McMartin> | DEFIBRILLATE! |
09:44 | <@McMartin> | DEFIBRILLATE! |
09:45 | < Vornotron> | Well, idunno. I'm looking at how pathological you can /get/ the data, but then I realize that the only thing that will be /making/ the data is a thing that actually knows how it works. |
09:46 | | Vornotron is now known as Vornicus |
09:46 | | mode/#code [+o Vornicus] by ChanServ |
09:46 | <@Vornicus> | http://vorn.dyndns.org/~vorn/catan/0.5/ <--- /me is still pleased that this is almost readable. |
09:49 | <@jerith> | You can run through the whole lot making sure every path has exactly two regions and two sites and that the sites have both regions. |
09:50 | <@jerith> | That kind of thing. |
09:55 | <@Vornicus> | In polyhedra there's something called "flags" - it's a triangle formed by the center, the midpoint of an edge, and a vertex at one of the ends of that edge. |
09:56 | <@Vornicus> | The pinnacle of validation of this would be to make sure that all the flags are sensical. |
09:56 | | * jerith ponders. |
09:57 | <@jerith> | I'm thinking it may be easier to make sure all the individual bits are good. |
09:57 | <@Vornicus> | Much. |
09:57 | <@jerith> | We already have paths validated. |
09:58 | <@Vornicus> | well, path validation is done by the land generation code. |
09:58 | <@jerith> | For sites, you ensure that each has exactly three paths and exactly three regions. |
09:59 | <@jerith> | You have already validated the identity of the regions in the path validation code. |
09:59 | <@Vornicus> | except that's not true - sites on the edge of the map may have only two paths, because you can't build to nowhere. |
09:59 | <@jerith> | Ah, right. |
10:00 | <@Vornicus> | (similarly, regions don't necessarily have six of each) |
10:00 | <@jerith> | Edge cases are always a bugger. |
10:00 | <@jerith> | I like to assume a spherical world. :-) |
10:00 | <@Vornicus> | Sites will /always/ have three regions connected to them, though. |
10:00 | <@jerith> | No edges. :-P |
10:00 | <@jerith> | Yes. |
10:00 | <@Vornicus> | http://vorn.dyndns.org/~vorn/geodesation/ |
10:01 | <@jerith> | Edge regions are special. |
10:03 | | * Vornicus fiddles. Needs to remember how to actually /use/ SQLAlchemy. |
10:42 | <@Vornicus> | The other interesting puzzle is game start. |
10:43 | | Chalcedon [~Chalcedon@Nightstar-1707.ue.woosh.co.nz] has quit [Quit: Gone] |
10:56 | | Forj [~Forj@Nightstar-1707.ue.woosh.co.nz] has quit [Quit: Gone] |
11:17 | | Thaqui [~Thaqui@219.89.45.ns-13582] has left #code [Leaving] |
11:27 | | You're now known as TheWatcher |
11:50 | | Attilla [~The.Attil@194.72.70.ns-11849] has quit [Quit: <Insert Humorous and/or serious exit message here>] |
11:56 | | gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has joined #Code |
11:56 | | mode/#code [+o gnolam] by ChanServ |
11:56 | | Attilla [~The.Attil@194.72.70.ns-11849] has joined #code |
16:31 | | * AnnoDomini has forgotten what he was supposed to be doing with the assembler program from last week. There are two identically named labels, and he doesn't know how to resolve them. :/ |
16:33 | <@gnolam> | And I'm they're both named "Wszystrziszki" or something like that. ;) |
16:34 | <@gnolam> | +sure |
16:35 | <@AnnoDomini> | "notprzesuniecie8bit" actually. |
16:35 | <@gnolam> | :D |
16:42 | <@AnnoDomini> | Oh, I see. It seems I've misnamed an entire block of program as 8bit-offsetted while it wasn't offsetted at all. |
16:44 | | Attilla [~The.Attil@194.72.70.ns-11849] has quit [Quit: <Insert Humorous and/or serious exit message here>] |
16:59 | | * EvilDarkLord finally solves one of the sub-100-solvers problems on Project Euler. |
17:19 | | ilovefire [~santros_v@209.82.191.ns-11321] has joined #code |
17:30 | | Forj [~Forj@Nightstar-1707.ue.woosh.co.nz] has joined #code |
17:30 | | mode/#code [+o Forj] by ChanServ |
17:31 | | Chalcedon [~Chalcedon@Nightstar-1707.ue.woosh.co.nz] has joined #code |
17:31 | | mode/#code [+o Chalcedon] by ChanServ |
17:36 | | ilovefire is now known as ilf_AFK |
17:41 | | ilf_AFK is now known as ilovefire |
17:50 | | Forj [~Forj@Nightstar-1707.ue.woosh.co.nz] has quit [Quit: Gone] |
18:00 | | * AnnoDomini finds a subroutine that consists of "{add RQ,z;} \HAX OMG". |
18:14 | <@AnnoDomini> | ARGH. The compiler crashes. :( |
18:56 | | * gnolam feeds AnnoDomini 0xdeadbeef. |
18:58 | | * AnnoDomini laughs. |
19:03 | <@gnolam> | Of course, since you're working with a 6800 I guess you'll have to split it up into four chunks... |
19:05 | <@AnnoDomini> | Naw, this is an Am2900 simulator used to simulate 8086.\ |
19:06 | <@AnnoDomini> | That is, we write Am2900 code, which is to collect stuff from memory and treat it like 8086 instructions. |
19:17 | <@gnolam> | Masochism, in other words. |
19:17 | <@AnnoDomini> | You don't know the half of it. |
19:20 | <@gnolam> | Oh, I think I know what the other half of $BLANK/Masochism is. |
19:33 | | Attilla [~The.Attil@172.203.151.ns-23296] has joined #code |
19:37 | | McMartin is now known as McM[thelegendaryjourneys] |
19:38 | <@Vornicus> | They're not just adventures today? |
19:38 | | Q-ZEAX [~lovingyou@81.215.111.ns-12121] has joined #Code |
19:44 | | Q-ZEAX [~lovingyou@81.215.111.ns-12121] has quit [Quit: ] |
19:48 | <@McM[thelegendaryjourneys]> | Nope |
19:48 | | ilovefire is now known as ilf_AFK |
19:54 | | ilf_AFK is now known as ilovefire |
19:55 | <@McM[thelegendaryjourneys]> | In particular, I am travelling over various mountain ranges and for much greater distances. |
19:57 | <@C_tiger> | Have fun. Don't forget the sunblock. |
20:03 | | ilovefire is now known as ilf_AFK[undeterminateperiodoft |
20:03 | | ilf_AFK[undeterminateperiodoft is now known as ilf_AFK[undeterminedperiodofti |
20:03 | | ilf_AFK[undeterminedperiodofti is now known as ilf_AFK[undeterminedtime] |
20:36 | | ilf_AFK[undeterminedtime] is now known as ilovefire |
20:43 | | Vornicus [~vorn@76.255.10.ns-11598] has quit [Ping Timeout] |
20:47 | | Vornicus [~vorn@76.255.10.ns-11598] has joined #code |
20:47 | | mode/#code [+o Vornicus] by ChanServ |
20:51 | | Vornicus is now known as Finerty |
21:07 | | Vornotron [~vorn@64.252.12.ns-12511] has joined #code |
21:08 | | Finerty [~vorn@76.255.10.ns-11598] has quit [Ping Timeout] |
21:08 | | Vornotron is now known as Finerty |
21:18 | | AnnoDomini [AnnoDomini@Nightstar-29141.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
21:20 | | AnnoDomini [AnnoDomini@Nightstar-29141.neoplus.adsl.tpnet.pl] has joined #Code |
21:20 | | mode/#code [+o AnnoDomini] by ChanServ |
22:41 | | Finerty [~vorn@Admin.Nightstar.Net] has quit [Ping Timeout] |
22:44 | | ilovefire is now known as ilf_cooking |
22:48 | | Finerty [~vorn@Admin.Nightstar.Net] has joined #code |
22:48 | | mode/#code [+o Finerty] by ChanServ |
23:07 | | Thaqui [~Thaqui@Nightstar-262.dialup.xtra.co.nz] has joined #code |
23:07 | | mode/#code [+o Thaqui] by ChanServ |
--- Log closed Mon Dec 17 00:00:07 2007 |