--- Log opened Sun Apr 06 00:00:32 2008 |
00:24 | <@McMartin> | HARDCORE REFACTORING |
00:24 | | Shoukanjuu_ [~Shoukanju@71.48.224.ns-3853] has joined #code |
00:26 | <@McMartin> | Hee |
00:26 | | Shoukanjuu [~Shoukanju@71.48.224.ns-3853] has quit [Ping Timeout] |
00:26 | | Shoukanjuu_ is now known as Shoukanjuu |
00:26 | <@McMartin> | /* XXX: Note that if the Syreen had a homeworld you could fight, all Syreen ships there would be crewed to the maximum, instead of the normal level */ |
00:26 | <@JeffL> | What's that comment from? |
00:26 | <@McMartin> | UQM source |
00:27 | <@McMartin> | Near but not actually the source of the aforementioned Hardcore Refactoring. |
00:28 | | * McMartin is decoupling "Hey, which ship am I?" from the file loading code. |
00:30 | <@JeffL> | EAP on UQM. |
00:30 | <@McMartin> | http://sc2.sf.net/ |
00:30 | <@McMartin> | "Ur-Quan Masters" - the port of the old Star Control 2 game |
00:30 | <@McMartin> | A project with which I have been involved for some time. |
01:06 | | * McMartin cleans up after his army of robots. |
01:06 | | AnnoDomini [AnnoDomini@83.21.51.ns-25885] has quit [Quit: Oh, I'm no end-table. I'm a nightstand.] |
01:07 | < Shoukanjuu> | I have become quite confounded from your previous statement, so much so that it has become quite humorous how abnormal the said statement is. |
01:46 | | GeekSoldier is now known as GeekSoldier|bed |
02:00 | | * McMartin commits, updates the roadmap. |
02:00 | <@McMartin> | Hooray! UQM Progress! |
02:07 | <@Vornicus> | wootcake |
02:49 | < Shoukanjuu> | Like Is aid, he taught himself how to do C++ after starting with ARM 7 and moving on to ARM 9 ASM |
02:50 | < Shoukanjuu> | Granted, he's probably only a novice(better than I) at C++ |
02:50 | <@Vornicus> | I like the ARM arch a lot. |
02:54 | | Pi [~sysop@ServicesAdmin.Nightstar.Net] has quit [Ping Timeout] |
03:14 | <@McMartin> | I seem to have gotten some emails from Graham Nelson re: I7 bugs I reported many moons ago |
03:14 | <@McMartin> | Perhaps a new I7 release is imminent! |
03:15 | < Shoukanjuu> | :O |
03:16 | <@Vornicus> | (I7 being Inform 7, the natural-language programming language for interactive fiction. It is made of awesome.) |
03:25 | <@McMartin> | (And at some point I need to write up a reasonably expressive analysis of why one would want to choose it.) |
03:28 | < Shoukanjuu> | So, how many of you have fooled would be programmers into thinking that e^(pi)-pi is supposed to be 20? >_> |
03:31 | | * Vornicus never heard of that one until xkcd mentioned it. |
03:31 | < Shoukanjuu> | Yeah, that's where I got it from, and then someone mentioned it to me, and I tried to foll them into thinking that it's 20...And they fell for it, destroying their entire little project. :3 |
03:32 | < Shoukanjuu> | I don't know what they were doing, but apparently... >___> |
03:41 | | * Vornicus shoots Shou for being evil |
03:42 | | * Shoukanjuu live s on in the hearts of man |
03:42 | <@Vornicus> | At least it's not kitten hearts |
03:43 | < Shoukanjuu> | If there is evil it this world, it lurks in the hearts of man >_> |
03:50 | | Jeff [Kaline@Nightstar-12038.dsl.sndg02.pacbell.net] has joined #code |
03:52 | | JeffL [Kaline@Nightstar-12038.dsl.sndg02.pacbell.net] has quit [Ping Timeout] |
03:53 | | C_tiger [~c_wyz@Nightstar-15879.nycmny.east.verizon.net] has quit [Ping Timeout] |
03:54 | | AFKSkull [~none@Nightstar-7066.dyn.optonline.net] has quit [Ping Timeout] |
03:55 | | William__ [Kaline@Nightstar-12038.dsl.sndg02.pacbell.net] has joined #code |
03:56 | | AFKSkull [~none@Nightstar-7066.dyn.optonline.net] has joined #code |
03:56 | | Serah [~Z@87.72.35.ns-26506] has quit [Ping Timeout] |
03:57 | | Jeff [Kaline@Nightstar-12038.dsl.sndg02.pacbell.net] has quit [Ping Timeout] |
03:59 | | ASCIISkull [~none@Nightstar-7066.dyn.optonline.net] has joined #code |
03:59 | | Serah [~Z@87.72.35.ns-26506] has joined #Code |
03:59 | | mode/#code [+o Serah] by ChanServ |
03:59 | | AFKSkull [~none@Nightstar-7066.dyn.optonline.net] has quit [Ping Timeout] |
04:04 | | William__ is now known as Jeff |
04:05 | | Jeff is now known as NSGuest-5887 |
04:09 | | Pi-2 [~sysop@76.104.167.ns-11816] has joined #code |
04:09 | | Pi-2 is now known as Pi |
04:45 | <@ToxicFrog> | ...why would e^pi-pi be 20? |
04:45 | < Shoukanjuu> | Exactly. |
04:46 | < Shoukanjuu> | That's the point. |
04:46 | <@Vornicus> | It wouldn't. |
04:46 | <@Vornicus> | The consequences of it actually being so would be immense though |
04:46 | <@ToxicFrog> | Yeah, but I don't see how you could possibly convince someone of that |
04:47 | < Shoukanjuu> | It would be amusing at the least. >_> |
04:49 | <@ToxicFrog> | Also, where was this mentioned in xkcd? |
04:49 | < Shoukanjuu> | One of the comics was about that, I believe. |
04:49 | < Shoukanjuu> | ne of his "oby" comics, I think. |
04:49 | < Shoukanjuu> | hobby* |
05:01 | | * Vornicus can't find it now. |
05:02 | <@Vornicus> | http://xkcd.com/217/ |
05:02 | <@Vornicus> | Just need to actually use thefind button, duh |
05:09 | <@ToxicFrog> | ...I'm an idiot |
05:09 | <@ToxicFrog> | omdl doesn't need a hacked version of wget at all |
05:09 | <@ToxicFrog> | It just needs the -erobots=off option on the command line. |
05:09 | <@ToxicFrog> | >.< |
05:12 | | NSGuest-5887 is now known as Jeff |
05:12 | < Jeff> | Vornicus, what consequences would there be? IE, a sudden easy way of calculating it or what? |
05:13 | | Jeff is now known as NSGuest-5888 |
05:13 | <@Vornicus> | A lot of wacky things like that |
05:18 | | NSGuest-5888 is now known as Jeff |
05:19 | <@McMartin> | omdl? |
05:20 | <@Vornicus> | Onemanga downloader |
05:20 | < Shoukanjuu> | >_> |
05:20 | < Shoukanjuu> | Onemanga downloader? @_@ |
05:20 | <@Vornicus> | It spiders the onemanga site and can build a nicely-htmlized version of any manga you want. |
05:21 | < Shoukanjuu> | ...Sexy. |
05:23 | <@ToxicFrog> | Or manga series. |
05:23 | < Shoukanjuu> | Yeah. |
05:23 | <@ToxicFrog> | Supports output as image files, HTML, and CBT. |
05:23 | < Shoukanjuu> | I haven't finished Black Cat or Tenjou Tenge yet... |
05:23 | < Shoukanjuu> | I should get aroudn to doing that...Is there a new Claymore chapter up yet? |
05:24 | <@ToxicFrog> | It's up to 74 last I checked. |
05:25 | < Shoukanjuu> | Nope, no new ones ; ; |
06:59 | | C_tiger [~c_wyz@Nightstar-25761.nycmny.east.verizon.net] has joined #code |
06:59 | | mode/#code [+o C_tiger] by ChanServ |
07:57 | | Vornicus is now known as Vornicus-Latens |
08:34 | | AnnoDomini [AnnoDomini@83.21.51.ns-25885] has joined #Code |
08:34 | | mode/#code [+o AnnoDomini] by ChanServ |
08:53 | | GeekSoldier|bed is now known as GeekSoldier |
10:58 | | GeekSoldier [~Rob@91.18.127.ns-3258] has left #code [] |
10:58 | | GeekSoldier [~Rob@91.18.127.ns-3258] has joined #code |
10:58 | | mode/#code [+o GeekSoldier] by ChanServ |
12:04 | | Reiver [~reaverta@Admin.Nightstar.Net] has quit [Quit: I ATENT'T DEAD] |
13:05 | | ASCIISkull [~none@Nightstar-7066.dyn.optonline.net] has quit [Ping Timeout] |
13:20 | | AnnoDomini [AnnoDomini@83.21.51.ns-25885] has quit [Ping Timeout] |
13:26 | | GeekSoldier [~Rob@91.18.127.ns-3258] has left #code [] |
13:26 | | GeekSoldier [~Rob@91.18.127.ns-3258] has joined #code |
13:26 | | mode/#code [+o GeekSoldier] by ChanServ |
13:27 | | AnnoDomini [AnnoDomini@83.21.53.ns-3400] has joined #Code |
13:27 | | mode/#code [+o AnnoDomini] by ChanServ |
13:55 | | gnolam [lenin@85.8.5.ns-20483] has joined #Code |
13:55 | | mode/#code [+o gnolam] by ChanServ |
14:38 | | Reiver [~reaverta@Admin.Nightstar.Net] has joined #Code |
14:38 | | mode/#code [+o Reiver] by ChanServ |
17:51 | | Vornicus-Latens is now known as Vornicus |
18:21 | | GeekSoldier [~Rob@91.18.127.ns-3258] has quit [Ping Timeout] |
18:34 | | GeekSoldier [~Rob@91.18.94.ns-3827] has joined #code |
18:34 | | mode/#code [+o GeekSoldier] by ChanServ |
19:25 | | Pitirl [~iampitere@Nightstar-3668.be.jnj.com] has joined #code |
20:07 | | ASCIISkull [~none@Nightstar-7066.dyn.optonline.net] has joined #code |
20:08 | | ASCIISkull is now known as NSGuest-5896 |
20:09 | | NSGuest-5896 is now known as AFKSkull |
20:10 | | Pitirl [~iampitere@Nightstar-3668.be.jnj.com] has quit [Quit: ] |
20:52 | | Derakon [~Derakon@67.160.122.ns-11558] has joined #code |
20:52 | | mode/#code [+o Derakon] by ChanServ |
20:52 | | * Derakon pokes at Perl, trying to figure out how to read and write binary files properly. |
20:53 | <@Derakon> | I mean, sure, there's binout. But printing 34 to a binout'd output stream gets me "34" instead of the '"' character. |
20:55 | <@C_tiger> | if you set binmode, perl will do conversions to binary behind your back, IIRC. |
20:55 | <@Derakon> | The ultimate goal here is to make a program that can parse the Dwarf Fortress map datafiles, which are in binary. |
20:57 | <@C_tiger> | Um, are you sure they're not compressed or encrypted in some way? |
20:57 | <@Vornicus> | Point here is that the binaryifying is not working |
20:57 | <@Derakon> | Reasonably. http://www.dwarffortresswiki.net/index.php/User:Rick/Save_research#Region_Map |
20:57 | <@Vornicus> | He's getting 34 as a string instead of as an ascii code |
20:57 | <@Derakon> | But right now I'm just trying to figure out Perl's binary functions so I can read and write my own files. |
20:59 | | Vornicus is now known as Finerty |
20:59 | <@C_tiger> | I think he's printing 34 as a string and not as an ascii code. |
20:59 | <@McMartin> | Derakon: I believe it's chr() or the like. |
20:59 | <@Derakon> | Yes, C, clearly. The question is how I print it as an ASCII code. |
21:00 | <@Derakon> | I'm trying to make a file that is "34<EOF>" in binary, which should, when read in text mode, give me a single ". |
21:01 | <@C_tiger> | Hmmm... I wonder if you need use bytes |
21:02 | <@Derakon> | No, not that either... |
21:02 | | * Finerty is glad for struct. |
21:02 | <@Derakon> | Maybe chr() is what I want...? |
21:02 | <@Derakon> | chr returns the character represented by x, and ord returns the number that represents c. |
21:02 | <@C_tiger> | $x = chr(34); print $x |
21:03 | <@C_tiger> | But use bytes will force byte context so you don't accidentally make unicode characters that take two bytes. |
21:03 | <@Derakon> | Okay, yeah, that appears to work. |
21:03 | | * Derakon nods. "Good to know." |
21:04 | <@C_tiger> | Apparently you can also do print 0x(something in hex) |
21:04 | <@C_tiger> | No, that just does conversion, I'm sorry. |
21:05 | | * Finerty yays for Python and struct. |
21:05 | <@Derakon> | What does struct do? |
21:06 | <@Derakon> | I'm not married to Perl; I just have relatively little experience with Python. |
21:07 | <@Finerty> | struct is a library that unpacks binary data from strings into tuples using a given format, and vice versa |
21:07 | <@Derakon> | Ahh. |
21:07 | <@Derakon> | Part of the problem here is that I don't know the complete structure of the binary file. |
21:08 | <@Derakon> | I figured that once I had refined my script a bit, I'd be able to experiment with various worlds and tweaking the file to see what changed, and thereby refine my knowledge of the file structure. |
21:08 | <@C_tiger> | Vorn, I'm sure there's a perl library that does the same. |
21:08 | <@Derakon> | (What happens if I set what I think are the world dimensions to 1x1?) |
21:09 | <@C_tiger> | pointland! |
21:09 | <@Derakon> | Your starting seven dwarves, their pets, the wagon, and a single block of granite collapse into a singularity. |
21:11 | <@gnolam> | Not into a dwarf star? |
21:12 | <@Derakon> | Heh. Fair enough. |
22:32 | | GeekSoldier is now known as GeekSoldier|bed |
23:46 | | AFKSkull [~none@Nightstar-7066.dyn.optonline.net] has quit [Ping Timeout] |
23:47 | | AnnoDomini [AnnoDomini@83.21.53.ns-3400] has quit [Quit: Violence is not the answer. Violence is the question. The answer is "YES!"] |
--- Log closed Mon Apr 07 00:00:42 2008 |