--- Log opened Thu Jan 20 00:00:57 2011 |
--- Log closed Thu Jan 20 00:06:57 2011 |
--- Log opened Thu Jan 20 00:37:39 2011 |
00:37 | | TheWatcher [chris@Nightstar-b4529b0c.zen.co.uk] has joined #code |
00:37 | | Irssi: #code: Total of 26 nicks [6 ops, 0 halfops, 0 voices, 20 normal] |
00:37 | | mode/#code [+o TheWatcher] by Reiver |
00:38 | | Irssi: Join to #code was synced in 56 secs |
00:45 | | You're now known as TheWatcher[T-2] |
00:46 | <@ToxicFrog> | Vornicus: yes. And then those commands need to be associated with UI gestures. |
00:47 | <@ToxicFrog> | Granted, there is a command for "action list" (right-click, opens a context menu), but it would be nice not to have to do that for everything. |
00:47 | <@ToxicFrog> | Hmm. |
00:47 | | You're now known as TheWatcher[zZzZ] |
00:47 | | Orthia [orthianz@Nightstar-39960c31.xnet.co.nz] has joined #code |
00:47 | <@ToxicFrog> | Maybe the object can list suggested bindings, which the UI is free to ignore or remap. |
00:47 | <@ToxicFrog> | Eg: |
00:48 | <@ToxicFrog> | mixin "ui.actions" { |
00:48 | <@ToxicFrog> | draw = "click_left"; |
00:48 | <@ToxicFrog> | pickup = "click_left_shift"; |
00:48 | <@ToxicFrog> | spread = "click_middle"; |
00:48 | < celticminstrel> | Perl? |
00:48 | <@ToxicFrog> | "shuffle", "sort", "cut"; -- no default binds for these |
00:48 | <@ToxicFrog> | } |
00:48 | <@ToxicFrog> | Lua. |
00:48 | < celticminstrel> | Wait Ruby was what I meant to suggest, I think. |
00:49 | < celticminstrel> | It's Ruby, not Perl, that has mixins with a mixin keyword, right? |
00:49 | < celticminstrel> | Of course I could be entirely wrong. 9_9 |
00:50 | | Reiv [orthianz@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
00:50 | | AnnoDomini [annodomini@Nightstar-6ce79ea8.adsl.tpnet.pl] has quit [[NS] Quit: Sleep.] |
00:56 | <@ToxicFrog> | I have no idea. |
00:56 | <@ToxicFrog> | They could easily both have it. |
00:57 | <@ToxicFrog> | But in this case it's a function, not a keyword. |
00:59 | <@ToxicFrog> | Anyways, I think this could definitely work. |
01:00 | <@ToxicFrog> | You tell the UI what actions you support, each one optionally associated with a control binding. The UI does whatever it damn well pleases as long as all of the actions are reachable by the user. |
01:01 | <@ToxicFrog> | And if/when I actually have a control binding screen, it can associate the actions with the object type, for persistence purposes |
01:08 | | Attilla [Some.Dude@Nightstar-f5daee08.threembb.co.uk] has quit [[NS] Quit: ] |
01:20 | | ComradeBear [ZLOK@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds] |
01:55 | | Orthia is now known as Reiv |
02:05 | < celticminstrel> | ...man seems to be randomly broken for some reason. |
02:07 | | Derakon [Derakon@Nightstar-cfae48c3.ca.comcast.net] has joined #code |
02:07 | | mode/#code [+o Derakon] by Reiver |
02:12 | | * Derakon turns Tcher into a Nerf Knight. |
02:12 | <@Derakon> | Mischan. |
02:16 | < Alek> | naa, seems pretty appropriate to me. :P |
02:16 | < Alek> | idly, say hi to Tcherie for me. :) |
02:19 | <@McMartin> | Daniel Remar has released the source to his freeware games. |
02:19 | <@McMartin> | Including Iji and Hero Core. |
02:21 | <@McMartin> | Hm. But they're using an older version of GM than I am. |
02:22 | <@McMartin> | I'll have to test them out. |
02:22 | | Kindamoody is now known as Kindamoody[zZz] |
02:23 | < celticminstrel> | Is it illogical to expect C# code to compile in Mono without changes? |
02:24 | < celticminstrel> | I'm getting errors about "Window" and "Drawing" not existing in the "System" namespace. |
02:24 | < celticminstrel> | Sorry, "Windows" is plural. |
02:25 | <@McMartin> | Depends on the C# code, IIRC. Not all of the System namespace is implemented in Mono yet. |
02:26 | < celticminstrel> | Huh, so I might have to do without this. At least it's not particularly important. |
02:42 | <@ToxicFrog> | celticminstrel: man 'broken' how? |
02:42 | <@ToxicFrog> | And yeah, you should be able to expect it compile without changes if it only uses the subset of .NET that mono implements. |
02:43 | < Namegduf> | The idea being that they get the popularity and support for being portable where necessary, but lazy devs still write Windows-specific code, giving them their wonderful vendor lock-in goodness. |
02:44 | < Namegduf> | (Ballmer described this idea in an interview once) |
02:52 | < celticminstrel> | Something about "fork: resource unavailable" |
02:57 | <@ToxicFrog> | celticminstrel: that implies that you are out of memory/process handles/etc. Are you on a system with really restrictive process quotas or ulimits or something? |
02:57 | <@ToxicFrog> | (and do other programs work?) |
03:00 | < celticminstrel> | Other programs have been working fine. |
03:00 | < celticminstrel> | And not just ones already running. |
03:01 | <@ToxicFrog> | Other programs in the same shell? |
03:01 | < celticminstrel> | Yup. |
03:02 | <@ToxicFrog> | What does ulimit -u -v -n say? |
03:03 | <@ToxicFrog> | Also, what's memory pressure like? |
03:04 | <@ToxicFrog> | (for background, 'fork' is the system call used to create a child procss in *nix. When it fails, this typically means that either you don't have enough memory to create a new process full stop, or you're limited in the number of processes you can run and have hit that limit) |
03:04 | < celticminstrel> | 256, unlimited, 256 |
03:05 | < celticminstrel> | I know what fork does. |
03:33 | <@ToxicFrog> | ...that seems really low. |
03:35 | < celticminstrel> | 'ps -A | wc -l' prints 311. |
03:39 | < Reiv> | hn |
03:40 | < Reiv> | Is there a way to wrangle Steam to start a download at a certain time, then stop later? |
03:40 | < Reiv> | I think I've got the 'start' down - set it downloading then close it; schedule a task to start it up again and it'll continue to download |
03:40 | < Reiv> | But not so sure how to wrangle it to stop. |
03:41 | < Reiv> | Were it *nix you'd just schedule a start and a kill, but~ |
03:48 | <@ToxicFrog> | celticminstrel: what about 'ps -uusername' to just list -your- processes? |
03:49 | < celticminstrel> | 263 |
03:50 | <@ToxicFrog> | celticminstrel: and ulimit sets your process limit at 256. |
03:50 | <@ToxicFrog> | Might want to raise that. |
03:51 | <@ToxicFrog> | And/or figure out why you have 263 processes running. |
03:51 | <@ToxicFrog> | Reiv: I just tried combining cygwin's SIGSTOP with Steam...it didn't go well |
03:51 | < celticminstrel> | A huge number of them are something called (smbclient). :| |
03:51 | <@ToxicFrog> | That's the client for windows file sharing |
03:52 | < celticminstrel> | ...well that's odd. |
03:52 | <@ToxicFrog> | Sounds like something has gone badly wrong with it and/or you have a shitload of windows file shares open |
03:52 | <@ToxicFrog> | (in normal usage you should have one per active share, tops) |
03:52 | < celticminstrel> | Would it have omitted dead processes? |
03:53 | <@ToxicFrog> | Yes. |
03:53 | <@ToxicFrog> | (but not zombies - those will be marked <defunct>) |
03:53 | < celticminstrel> | I guess it'd be safe to just kill them all. |
03:53 | <@ToxicFrog> | Try 'pkill smbclient' or 'killall smbclient', yeah |
04:02 | < celticminstrel> | I wonder if being in parentheses means it's a zombie... |
04:05 | < celticminstrel> | Somehow I turned echo off in this shell. Good thing I vaguely remembered how to fix that. |
04:06 | <@McMartin> | Sweet, GM8 will load the old files |
04:06 | <@McMartin> | They don't necessarily *run*, because the stdlib has changed |
04:06 | <@McMartin> | But, frex, GGC will run unchanged |
04:06 | <@ToxicFrog> | celticminstrel: the parens mean that ps was unable to determine the process's current name or complete command line and instead is using its "accounting name" |
04:07 | <@ToxicFrog> | This can happen if it changes its name after starting up, or if it has a very large argv |
04:18 | < celticminstrel> | So, killall says no matching processes, and kill <pid> has no effect. |
04:18 | < Namegduf> | Try kill -9 |
04:18 | < Namegduf> | It's likely to be hanging |
04:19 | < celticminstrel> | Still listed... :| |
04:40 | <@ToxicFrog> | Try killing its parent, if it's something you can kill safel. |
04:44 | < celticminstrel> | How do I know what its parent is? |
04:46 | <@ToxicFrog> | That's the "ppid" field |
04:46 | <@ToxicFrog> | Or you can use something like pstree for a graphical representation |
04:46 | <@ToxicFrog> | Just don't go too high up and kill init~ |
04:47 | <@ToxicFrog> | Alternately, say "fuck it" and log out/reboot |
04:58 | <@McMartin> | Ahahahahahahahaaaaa |
04:58 | | * McMartin looks at Iji source discovers something hilarious about reallyjoel's dad mode |
04:58 | <@McMartin> | It really is impossible~ |
04:59 | <@McMartin> | There's a block blocking the exit in that mode that puts a "100% kills required" marker up top |
04:59 | <@McMartin> | And it adds many, many more enemies, all of whom are things like Tasen Elites and such, and under the time limit there isn't enough time to kill them all even if you spent the whole time shooting and every shot landed. |
05:02 | | * ToxicFrog eyes this assignment. He got the right answer...but I'm pretty sure based on his explanation that he did it entirely through dumb luck. |
05:02 | <@ToxicFrog> | McMartin: excellent. |
05:23 | | * Vornicus fiddles once again with GM8, trying to figure out some "basic" things. |
05:35 | | SmithKurosaki [smith@Nightstar-bd012c7e.dsl.teksavvy.com] has quit [Ping timeout: 121 seconds] |
05:37 | < celticminstrel> | I guess restart is probably the easiest option. |
05:38 | <@jerith> | celticminstrel: If a kill -9 doesn't help, it's probably stuck in a syscall that hasn't returned. |
05:39 | <@jerith> | I've seen that with processes trying to use a broken NFS server. |
05:40 | | celticminstrel [celticminst@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.] |
05:40 | | SmithKurosaki [smith@Nightstar-652c5778.dsl.teksavvy.com] has joined #code |
06:23 | <@McMartin> | Vorn: Anything in particular? |
06:26 | | Derakon is now known as Derakon[AFK] |
06:45 | <@McMartin> | Blargh, multiple arity in systems not designed for it |
06:59 | | * kwsn needs to figure out how to get java on command line again |
07:01 | | Rhamphoryncus [rhamph@Nightstar-473f8685.abhsia.telus.net] has joined #code |
07:09 | <@ToxicFrog> | kwsn: should just be called 'java'. The compiler is 'javac'. |
07:10 | <@ToxicFrog> | Invoke with 'javac Foo.java'/'java Foo'/'java -jar Foo.jar' |
07:36 | | SmithKurosaki [smith@Nightstar-652c5778.dsl.teksavvy.com] has quit [Operation timed out] |
07:48 | | Kindamoody[zZz] [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has quit [Operation timed out] |
07:48 | | Kindamoody[zZz] [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has joined #code |
07:51 | < kwsn> | t-2 all |
07:51 | < kwsn> | ToxicFrog: i know java/javac, only problem is that it's not a valid command |
07:52 | | kwsn [kwsn@Nightstar-5a8951e9.res.rr.com] has left #code [] |
08:03 | <@Vornicus> | McM: well, I need to be able to, um. Restrict pathing; if you press down near a southward path but you're not /at/ the path, you should move towards the path. |
08:06 | <@McMartin> | Hm |
08:07 | <@McMartin> | In other news, \o/ |
08:07 | <@McMartin> | I have just lost to my AI |
08:08 | <@Vornicus> | \o/ |
08:11 | | AnnoDomini [annodomini@Nightstar-6ce79ea8.adsl.tpnet.pl] has joined #code |
08:11 | | mode/#code [+o AnnoDomini] by Reiver |
08:33 | <@McMartin> | http://hkn.eecs.berkeley.edu/~mcmartin/GM8/inverter.exe updated |
08:34 | <@Vornicus> | \o/ |
08:35 | <@McMartin> | While fixing one of my move-priority bugs I got another test backwards and it started playing giveaway -_- |
08:37 | | Kindamoody[zZz] is now known as Kindamoody |
09:03 | | You're now known as TheWatcher |
09:18 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code |
10:01 | | AnnoDomini [annodomini@Nightstar-6ce79ea8.adsl.tpnet.pl] has quit [[NS] Quit: leaving] |
10:08 | | Kindamoody [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has quit [Ping timeout: 121 seconds] |
10:14 | | Kindamoody [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has joined #code |
10:21 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code |
10:25 | | ComradeBear [ZLOK@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
10:53 | | AnnoDomini [annodomini@F67919.F326B3.98D923.BDA7B6] has joined #code |
10:54 | | mode/#code [+o AnnoDomini] by Reiver |
11:02 | | Vornicus is now known as Vornicus-Latens |
11:18 | | Kindamoody is now known as Kindamoody|work |
12:24 | | cpux is now known as shade_of_cpux |
12:38 | | Kindamoody|work [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has quit [Ping timeout: 121 seconds] |
12:42 | | AnnoDomini [annodomini@F67919.F326B3.98D923.BDA7B6] has quit [[NS] Quit: Need to flee.] |
12:45 | | TarinakyKai [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code |
12:49 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Ping timeout: 121 seconds] |
13:18 | | TarinakyKai [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed] |
13:50 | | Kindamoody [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has joined #code |
13:59 | | Kindamoody [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has quit [Ping timeout: 121 seconds] |
14:13 | | Kindamoody [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has joined #code |
14:38 | | You're now known as TheWatcher[afk] |
17:02 | | AnnoDomini [annodomini@Nightstar-6ce79ea8.adsl.tpnet.pl] has joined #code |
17:03 | | mode/#code [+o AnnoDomini] by Reiver |
17:07 | | ComradeBear [ZLOK@3A600C.A966FF.5BF32D.8E7ABA] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.] |
17:13 | <@ToxicFrog> | Woo, ui.actions working for prebound actions |
17:13 | <@ToxicFrog> | Now to research GtkMenu |
17:44 | | Reiv [orthianz@Nightstar-39960c31.xnet.co.nz] has quit [Ping timeout: 121 seconds] |
18:02 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code |
18:22 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Operation timed out] |
18:27 | <@ToxicFrog> | ...hrm. Shit. |
18:27 | <@ToxicFrog> | How does the menu know what object it should be manipulating? |
18:27 | <@ToxicFrog> | I suppose I can have the menu created in __init, although that seems kind of ugly (and wasteful) |
18:28 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code |
18:32 | | ComradeBear [ZLOK@26ECB6.A4B64C.298B52.D80DA0] has joined #code |
18:33 | | You're now known as TheWatcher |
18:34 | | Serah [ZLOK@26ECB6.A4B64C.298B52.D80DA0] has joined #code |
18:36 | | * ToxicFrog puts his second HACK HACK HACK in |
18:36 | | ComradeBear [ZLOK@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds] |
18:43 | | Serah [ZLOK@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds] |
18:43 | < gnolam> | WORKAROUND HACK HACK |
18:46 | <@ToxicFrog> | Yeah, this is less "workaround" and more "I can't see a way to do this that isn't either inordinately expensive or inordinately ugly" |
19:10 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Ping timeout: 121 seconds] |
19:11 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code |
19:12 | | SmithKurosaki [smith@Nightstar-652c5778.dsl.teksavvy.com] has joined #code |
19:26 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed] |
19:36 | | ComradeBear [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code |
19:45 | | AnnoDomini [annodomini@Nightstar-6ce79ea8.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds] |
19:47 | | AnnoDomini [annodomini@Nightstar-0ecc102d.adsl.tpnet.pl] has joined #code |
19:47 | | mode/#code [+o AnnoDomini] by Reiver |
19:55 | | RichardBarrell [mycatverbs@Nightstar-3b2c2db2.bethere.co.uk] has joined #code |
20:41 | | SmithKurosaki [smith@Nightstar-652c5778.dsl.teksavvy.com] has quit [Client closed the connection] |
20:42 | | SmithKurosaki [smith@Nightstar-652c5778.dsl.teksavvy.com] has joined #code |
21:01 | | Vornicus-Latens is now known as Vornicus |
22:24 | | Reiv [orthianz@Nightstar-4f305c4d.xnet.co.nz] has joined #code |
22:30 | | kwsn [kwsn@Nightstar-5a8951e9.res.rr.com] has joined #code |
23:09 | | Attilla [Some.Dude@Nightstar-66744971.threembb.co.uk] has joined #code |
23:09 | | mode/#code [+o Attilla] by Reiver |
23:31 | | shade_of_cpux is now known as cpux |
23:53 | | You're now known as TheWatcher[T-2] |
--- Log closed Fri Jan 21 00:00:58 2011 |