--- Log opened Sat Oct 30 00:00:21 2010 |
00:12 | | Derakon[AFK] is now known as Derakon |
00:36 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed] |
01:08 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?] |
01:53 | | Anno[Laptop] [annodomini@Nightstar-416fd987.adsl.tpnet.pl] has quit [[NS] Quit: Going to sleep.] |
02:00 | | PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has quit [[NS] Quit: sigh, fucking irssi] |
02:00 | | PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code |
02:01 | | Zed_ [Zed@Nightstar-556ea8b5.or.comcast.net] has joined #code |
02:03 | | Zed [Zed@Nightstar-556ea8b5.or.comcast.net] has quit [Connection reset by peer] |
02:07 | | Orthia [orthianz@Nightstar-e4d805d0.xnet.co.nz] has quit [Ping timeout: 121 seconds] |
02:09 | | Orthia [orthianz@Nightstar-85b439c5.xnet.co.nz] has joined #code |
02:10 | | Orthia [orthianz@Nightstar-85b439c5.xnet.co.nz] has quit [Connection reset by peer] |
02:18 | | Orthia [orthianz@Nightstar-85b439c5.xnet.co.nz] has joined #code |
02:19 | | Orthia [orthianz@Nightstar-85b439c5.xnet.co.nz] has quit [Client closed the connection] |
02:19 | | Attilla [Some.Dude@Nightstar-ae35f77d.threembb.co.uk] has joined #code |
02:20 | | mode/#code [+o Attilla] by Reiver |
02:26 | | Orthia [orthianz@Nightstar-85b439c5.xnet.co.nz] has joined #code |
02:33 | | Attilla [Some.Dude@Nightstar-ae35f77d.threembb.co.uk] has quit [[NS] Quit: ] |
03:11 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code |
03:57 | | kwsn [kwsn@Nightstar-1def9d24.dyn.centurytel.net] has joined #code |
04:16 | <@Vornicus> | Seriously. Spreadsheets in Space games should have the ability to act as a data source. |
04:19 | <@ToxicFrog> | :wtc: |
04:20 | <@ToxicFrog> | Got email from Dr. Gardner asking me to regrade one of the assignments, because the paper the student turned in has results indicating that he was able to run the program. |
04:20 | <@ToxicFrog> | Did so, still crashes, dug a little deeper, found the problem. |
04:20 | <@ToxicFrog> | I've been passing it absolute paths to the parallaldos and targets directories, which are located outside PWD. |
04:20 | <@ToxicFrog> | Here's how the program handles it. |
04:21 | | * celticminstrel waits... |
04:21 | <@ToxicFrog> | - opendir+readdir on the path it was passed to build a list of filenames without leading path components |
04:21 | <@ToxicFrog> | - (allocate 100 bytes for each filename in the list, regardless of how long it actually is, so don't use this on anything with a filename longer than 100 bytes) |
04:22 | <@ToxicFrog> | - turn each filename in the parallaldos list into a complete path by prepending "./parallaldos/" to it regardless of what the path you were originally passed is |
04:22 | <@ToxicFrog> | - fopen that |
04:22 | <@ToxicFrog> | - don't do any sort of error checking |
04:22 | <@ToxicFrog> | - pass the NULL that fopen returned to fscanf |
04:22 | <@ToxicFrog> | - hilarity ensues |
04:22 | | Ortiha [orthianz@Nightstar-3fe5a237.xnet.co.nz] has joined #code |
04:23 | <@Vornicus> | ...wtc |
04:23 | <@ToxicFrog> | I was merciful and reported that by my metrics, that means they start from a grade of 4/6 (major functional problems) rather than 3/6 (nonfunctional) |
04:23 | <@ToxicFrog> | Although that only bumps them half a point rather than a full point because, now that it's working, I can see that they got the output format wrong. |
04:25 | | Orthia [orthianz@Nightstar-85b439c5.xnet.co.nz] has quit [Ping timeout: 121 seconds] |
04:25 | < celticminstrel> | ...wait, so they basically assume that the file is in a different folder than the one you tell them it is in. |
04:28 | <@ToxicFrog> | They assume that the files are always in folders named "parallaldos" and "targets" in the current directory. |
04:28 | <@ToxicFrog> | And that none of them have names longer than 100 bytes. |
04:28 | <@ToxicFrog> | I'm now re-testing the others that I marked nonfunctional in light of this; two of them have the same issue. |
04:29 | <@ToxicFrog> | This may actually make me angrier than checking in code that flat out doesn't work. |
04:30 | < celticminstrel> | Hehe. |
04:34 | <@ToxicFrog> | Seriously. I never even tested for this because it never occurred to me that anyone would make mistakes that stupid after their first year. |
04:35 | | Ortiha [orthianz@Nightstar-3fe5a237.xnet.co.nz] has quit [Client closed the connection] |
04:44 | | Orthia [orthianz@Nightstar-3fe5a237.xnet.co.nz] has joined #code |
04:44 | | Orthia [orthianz@Nightstar-3fe5a237.xnet.co.nz] has quit [Client closed the connection] |
04:45 | | shade_of_cpux is now known as cpux |
04:52 | | Orthia [orthianz@Nightstar-3fe5a237.xnet.co.nz] has joined #code |
05:14 | | Orthia [orthianz@Nightstar-3fe5a237.xnet.co.nz] has quit [Client closed the connection] |
05:20 | | McMartin [mcmartin@Nightstar-253cbfbb.pltn13.sbcglobal.net] has quit [[NS] Quit: Daily network reset] |
05:29 | | Orthia [orthianz@Nightstar-3fe5a237.xnet.co.nz] has joined #code |
05:39 | | McMartin [mcmartin@Nightstar-26a6859f.pltn13.sbcglobal.net] has joined #code |
05:39 | | mode/#code [+o McMartin] by Reiver |
05:43 | | McMartin [mcmartin@Nightstar-26a6859f.pltn13.sbcglobal.net] has quit [[NS] Quit: network is screwed] |
06:31 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
07:06 | | Orthia [orthianz@Nightstar-3fe5a237.xnet.co.nz] has quit [Ping timeout: 121 seconds] |
07:07 | | Orthia [orthianz@Nightstar-89ce0abf.xnet.co.nz] has joined #code |
07:08 | | You're now known as TheWatcher |
07:46 | | Zed_ [Zed@Nightstar-556ea8b5.or.comcast.net] has quit [Client closed the connection] |
08:10 | | McMartin [mcmartin@Nightstar-e47ca217.pltn13.sbcglobal.net] has joined #code |
08:10 | | mode/#code [+o McMartin] by Reiver |
08:20 | | You're now known as TheWatcher[afk] |
08:25 | | Orthia [orthianz@Nightstar-89ce0abf.xnet.co.nz] has quit [Connection reset by peer] |
08:30 | | Derakon is now known as Derakon[AFK] |
08:31 | | Orthia [orthianz@Nightstar-89ce0abf.xnet.co.nz] has joined #code |
08:36 | | McMartin [mcmartin@Nightstar-e47ca217.pltn13.sbcglobal.net] has quit [Ping timeout: 121 seconds] |
08:54 | | McMartin [mcmartin@Nightstar-a7772d31.pltn13.sbcglobal.net] has joined #code |
08:54 | | mode/#code [+o McMartin] by Reiver |
09:14 | | * McMartin struggles to get OO working in GM8. |
09:22 | | kwsn [kwsn@Nightstar-1def9d24.dyn.centurytel.net] has quit [Ping timeout: 121 seconds] |
09:25 | | Orthia [orthianz@Nightstar-89ce0abf.xnet.co.nz] has quit [Connection reset by peer] |
09:26 | <@McMartin> | Hm. This isn't looking very good. |
09:26 | | * McMartin spins the design to data-direction. |
09:31 | | Orthia [orthianz@Nightstar-89ce0abf.xnet.co.nz] has joined #code |
09:33 | | Orthia [orthianz@Nightstar-89ce0abf.xnet.co.nz] has quit [Connection reset by peer] |
09:46 | | Vornicus is now known as Vornicus-Latens |
09:48 | | Orthia [orthianz@Nightstar-89ce0abf.xnet.co.nz] has joined #code |
10:00 | | Orthia [orthianz@Nightstar-89ce0abf.xnet.co.nz] has quit [Client closed the connection] |
10:16 | | Orthia [orthianz@Nightstar-89ce0abf.xnet.co.nz] has joined #code |
10:16 | | Orthia [orthianz@Nightstar-89ce0abf.xnet.co.nz] has quit [Client closed the connection] |
10:16 | | Orthia [orthianz@Nightstar-89ce0abf.xnet.co.nz] has joined #code |
10:19 | | Orthia [orthianz@Nightstar-89ce0abf.xnet.co.nz] has quit [Client closed the connection] |
10:25 | | Orthia [orthianz@Nightstar-89ce0abf.xnet.co.nz] has joined #code |
10:26 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code |
10:42 | | Attilla [Some.Dude@Nightstar-a920db03.threembb.co.uk] has joined #code |
10:42 | | mode/#code [+o Attilla] by Reiver |
10:55 | | Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
11:15 | | * McMartin gets the basic rules working on his game: http://hkn.eecs.berkeley.edu/~mcmartin/GM8/inverter.exe |
11:20 | | Anno[Laptop] [annodomini@Nightstar-416fd987.adsl.tpnet.pl] has joined #code |
12:15 | | Ortiha [orthianz@Nightstar-dc898c4a.xnet.co.nz] has joined #code |
12:18 | | Orthia [orthianz@Nightstar-89ce0abf.xnet.co.nz] has quit [Ping timeout: 121 seconds] |
12:36 | | Ortiha [orthianz@Nightstar-dc898c4a.xnet.co.nz] has quit [Ping timeout: 121 seconds] |
12:45 | | Orthia [orthianz@Nightstar-091512a6.xnet.co.nz] has joined #code |
13:01 | | Anno[Laptop] [annodomini@Nightstar-416fd987.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds] |
13:03 | | Anno[Laptop] [annodomini@Nightstar-bcc3e902.adsl.tpnet.pl] has joined #code |
13:29 | | Attilla_ [Some.Dude@Nightstar-88a39c76.threembb.co.uk] has joined #code |
13:32 | | Attilla [Some.Dude@Nightstar-a920db03.threembb.co.uk] has quit [Ping timeout: 121 seconds] |
14:48 | | Ortiha [orthianz@Nightstar-3a1d1776.xnet.co.nz] has joined #code |
14:49 | | Orthia [orthianz@Nightstar-091512a6.xnet.co.nz] has quit [Ping timeout: 121 seconds] |
15:18 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code |
15:21 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code |
15:50 | | Anno[Laptop] is now known as AnnoDomini |
16:24 | | Ortiha [orthianz@Nightstar-3a1d1776.xnet.co.nz] has quit [Connection reset by peer] |
16:30 | | Orthia [orthianz@Nightstar-3a1d1776.xnet.co.nz] has joined #code |
16:33 | | Orthia [orthianz@Nightstar-3a1d1776.xnet.co.nz] has quit [Connection reset by peer] |
16:41 | | Orthia [orthianz@Nightstar-3a1d1776.xnet.co.nz] has joined #code |
17:29 | | kwsn [kwsn@Nightstar-1def9d24.dyn.centurytel.net] has joined #code |
18:05 | | Vornicus-Latens is now known as Vornicus |
18:20 | | Orthia [orthianz@Nightstar-3a1d1776.xnet.co.nz] has quit [Ping timeout: 121 seconds] |
18:34 | | You're now known as TheWatcher |
18:57 | | Orthia [orthianz@Nightstar-3a1d1776.xnet.co.nz] has joined #code |
19:21 | | Orthia [orthianz@Nightstar-3a1d1776.xnet.co.nz] has quit [Ping timeout: 121 seconds] |
19:47 | < AnnoDomini> | Does Debian, by default, allow processes to fiddle with other processes' memory? |
19:49 | <@Vornicus> | ...why the hell would it allow that |
19:51 | < AnnoDomini> | Well, it would allow one to use Dwarf Therapist with Dwarf Fortress. |
19:52 | < AnnoDomini> | I've researched the problem of DT on Linux, and it seems that the newest Ubuntu has disallowed this. I'm wondering whether Debian does it too. |
19:52 | <@Vornicus> | i'm surprised that works on Windows, let alone anywhere else. |
19:54 | <@Vornicus> | You can maybe do it by hooking as a debugger, but you have to start the df process as a child of the debugger process. |
19:57 | <@McMartin> | Yeah, Windows would only allow this if you were in some way able to negotiate shared memory or by hooking as a pretend debugger. |
19:57 | <@McMartin> | But you're going to do the latter with thread injection, not arbitrary shared memory. |
19:57 | <@McMartin> | (And you have to be root to do it) |
19:57 | < AnnoDomini> | I've run DT on Windows. It seemed very straightforward. |
19:58 | < AnnoDomini> | It just needed the pile of offsets for the version of DF running. |
19:58 | <@McMartin> | That's because becoming root on Windows involves either doing nothing or pushing a button. |
19:58 | <@McMartin> | If I had to guess, it's doing its work inside the DF process itself. |
19:58 | <@McMartin> | Though you *might* be able to map memory from other processes directly. |
19:59 | <@Namegduf> | You do not need to start a process as a child of a debugger to attach a debugger. |
19:59 | <@Namegduf> | gdb can attach to existing processes, after all. |
19:59 | <@Namegduf> | (On Linux) |
20:00 | <@McMartin> | The Windows NT equivalent is http://msdn.microsoft.com/en-us/library/ms681674%28VS.85%29.aspx |
20:00 | <@McMartin> | It requires a shitload of privilege to do, though. |
21:46 | | * Tarinaky pokes the channel. I've just tried to improve my CV a little. Anyone able/willing to have a brief look over it? |
22:38 | | * AnnoDomini rages at the Linux source for Dwarf Therapist, which looks and compiles like someone was coding furiously, realized it was 4 AM, sent what they did to the repository, and then forgot all about it. |
22:43 | | You're now known as TheWatcher[T-2] |
22:45 | | You're now known as TheWatcher[zZzZ] |
22:59 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
--- Log closed Sun Oct 31 00:00:22 2010 |