--- Log opened Mon Jan 17 00:00:32 2011 |
--- Day changed Mon Jan 17 2011 |
00:00 | | You're now known as TheWatcher[zZzZ] |
00:16 | | Kindamoody [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has quit [Ping timeout: 121 seconds] |
00:31 | | Kindamoody [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has joined #code |
00:37 | | Kindamoody [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has quit [Operation timed out] |
00:39 | | AnnoDomini [annodomini@Nightstar-6bb53731.adsl.tpnet.pl] has quit [[NS] Quit: Zzz.] |
00:41 | | Kindamoody [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has joined #code |
00:57 | | Attilla [Some.Dude@Nightstar-eff1d294.threembb.co.uk] has quit [[NS] Quit: ] |
02:03 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?] |
02:33 | <@McMartin> | Man, I've been going about this AI stuff all wrong |
02:34 | | * McMartin adds in the code for destroying all organic life and carefully instructs it that it should never use it. |
02:34 | <@McMartin> | Here's hoping I didn't get that test backwards, but this seems to be an important step. |
02:38 | <@McMartin> | More seriously: I just figured out that frame-interruptible tree recursion is way easier than I was making it be. |
02:39 | <@McMartin> | To the point that I shouldn't even need to explicitly build the tree. |
02:39 | <@ToxicFrog> | "frame-interruptible"? |
02:39 | <@McMartin> | So, I'm not convinced that my AI script in GM8 runs in a separate thread, which means if it spends too long thinking, it will choke out the Windows event pump; |
02:40 | <@McMartin> | (For Hex Inverter, the board game I'm working on) |
02:40 | <@McMartin> | So I wanted to have the script basically do "one frame worth" of thinking and then hold the phone until the next frame. |
02:40 | <@ToxicFrog> | Aah. |
02:41 | <@McMartin> | Since alpha-beta pruning is fundamentally a tree-recursive algorithm, this kind of blows |
02:41 | | * ToxicFrog nods |
02:41 | <@McMartin> | However! The board isn't changing between frames, so I can use that grid as a starting point and then just record what the call-stack was in the last frame. |
02:41 | <@ToxicFrog> | No continuations/coroutines? |
02:42 | <@McMartin> | Not explicitly. However, I can use a recording of what the stack was when we ran out of positions as a continuation, because the search order is fixed. |
02:42 | <@McMartin> | GML is a toy language, providing only the basics, and not in the set theory sense. |
02:42 | <@McMartin> | It has accelerated stack datatypes, and one of those plus the actual game board data gives me all the continuations I need. |
02:43 | <@ToxicFrog> | Aha. |
02:43 | <@McMartin> | The "coroutines" are simulated by the fact that objects receive triggers every frame. |
02:43 | <@McMartin> | I'm already using those as a message passing mechanism; I can wire in the Step signal too for a "hey, listen, it's your turn" signal. |
02:44 | <@McMartin> | And that will process, say, 300 game positions, record its state, and then wait for the next signal. |
02:44 | <@McMartin> | If it's *done* at that point, it can then change the global game state to "I have decided on move X; do your thing, game engine" |
02:45 | < simon_> | anyone up for a git question? |
02:45 | <@McMartin> | Shoot |
02:45 | < simon_> | I've got a local branch foo and a remote branch foo, and they're not synchronized. the local branch has commits that I want pushed. |
02:45 | < simon_> | the remote repo is the origin. |
02:46 | <@McMartin> | I'm assuming "git push" isn't working here, or you wouldn't be asking? |
02:46 | <@McMartin> | ( http://hkn.eecs.berkeley.edu/~mcmartin/GM8/inverter.exe is my current, nonrecursive, one-ply AI) |
02:47 | <@McMartin> | (...oh hey, I can about halve my memory usage and make function calls a lot easier to deal with) |
02:48 | <@McMartin> | Hmm. My laptop power is dangerously low. I'm going to have to shut down before there are disasters. |
02:48 | <@McMartin> | (I will keep logging, so if it isn't answered by the time I get back, I'll see if I can answer then) |
02:57 | <@ToxicFrog> | I may be able to help in the meantime. |
02:58 | <@ToxicFrog> | simon_: "git push" with no other arguments should do this. If you want to push just this branch (and not all matching branches), use 'git push origin foo' or 'git push origin HEAD' |
03:00 | < simon_> | thanks! pushing and pulling a little made git complain about a lack of a default destination, after which it suggested a configuration change. |
03:04 | <@ToxicFrog> | That's fairly common but I don't remember exactly what0o cai98uses it, or how to fix it - it should default to "origin" as the repo and "all matching branches" as the branches to push. |
03:06 | <@ToxicFrog> | But in general 'git push <repo> [branches]' should always work. |
03:07 | <@ToxicFrog> | (if you give me the exact error message I may be able to be more helpful) |
03:07 | < simon_> | I figured it out! |
03:08 | < simon_> | adding the branch to .git/config with remote = origin and merge = refs/heads/<branchname> worked |
03:10 | <@ToxicFrog> | Aah, yes. I take it that this wasn't cloned, you did a 'git remote add' at some point? |
03:17 | < simon_> | yes |
03:17 | < simon_> | I already had commits in my local branch, so I needed the origin to reflect that. |
03:18 | <@ToxicFrog> | Yeah. What I mean is if you do 'git clone origin', those config entries happen automatically; if you create a new repo and then 'git remote add origin', they don't. |
03:20 | < simon_> | ok. |
03:35 | | Kindamoody is now known as Kindamoody[zZz] |
03:44 | <@McMartin> | Yeah, that covers it, I think |
06:01 | | ComradeBear [Stalker@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds] |
06:03 | | TarinakyKai [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed] |
07:01 | | Derakon is now known as Derakon[AFK] |
07:14 | | You're now known as TheWatcher |
07:38 | | ComradeBear [Stalker@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
07:50 | | celticminstrel [celticminst@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
08:01 | | AnnoDomini [annodomini@Nightstar-07a64a0c.adsl.tpnet.pl] has joined #code |
08:02 | | mode/#code [+o AnnoDomini] by Reiver |
08:11 | | You're now known as TW[jurying] |
08:21 | | gnolaptop [lenin@Nightstar-6cc246e6.eduroam.liu.se] has joined #code |
08:35 | | Kindamoody[zZz] is now known as Kindamoody |
08:47 | | gnolaptop [lenin@Nightstar-6cc246e6.eduroam.liu.se] has quit [[NS] Quit: Gone] |
08:53 | | kwsn [kwsn@Nightstar-5a8951e9.res.rr.com] has quit [Ping timeout: 121 seconds] |
09:21 | | ComradeBear [Stalker@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds] |
09:32 | | Kindamoody is now known as Kindamoody|work |
10:09 | | AnnoDomini [annodomini@Nightstar-07a64a0c.adsl.tpnet.pl] has quit [[NS] Quit: Time for Uni.] |
10:49 | | AnnoDomini [annodomini@F67919.F326B3.98D923.BDA7B6] has joined #code |
10:49 | | mode/#code [+o AnnoDomini] by Reiver |
11:16 | | * AnnoDomini mucks around with Java, trying to make a decently-looking interface. |
11:16 | <@AnnoDomini> | Has anyone here managed to figure out how to use layout managers? I never did, and all I ever do is disable them for panels, and micromanage my component placement. |
11:38 | <@jerith> | Heh. I was just commenting, in another #code, about how Android's UI framework manages to be utterly crap while still being orders of magnitude better than anything else I've seen in Java. |
11:40 | < EvilDarkLord> | Just for reference, what's a good UI framework? |
11:40 | <@AnnoDomini> | Curses. |
11:41 | < EvilDarkLord> | I thought that was named for the verb associated with its use. |
11:41 | < EvilDarkLord> | Or noun. Whichever. |
11:43 | <@AnnoDomini> | Well, Java is the best of the things I've actually used, when it comes to a graphical UI designed from the code side. |
11:46 | < Vornicus> | qt |
11:47 | < Vornicus> | makes native ui on the big three, has python integration and others, and has a designer tool. |
11:47 | <@AnnoDomini> | In various C-things, I'd just used the supplied UI editors. |
11:47 | <@AnnoDomini> | With no idea how code side works. |
11:48 | <@jerith> | I prefer GTK to QT, but my opinion is coloured by not having used either of them very much and, in fact, actively avoiding UI work as far as possible. |
11:50 | < Vornicus> | My only actual gui work has been in javascript, which aside from the occasional cross-browser shrieking horror is a nice language. |
11:51 | < Vornicus> | html/css/javascript that is. |
12:32 | | Vornicus is now known as Vornicus-Latens |
12:42 | | AnnoDomini [annodomini@F67919.F326B3.98D923.BDA7B6] has quit [[NS] Quit: AWay.] |
13:30 | | Rhamphoryncus [rhamph@Nightstar-473f8685.abhsia.telus.net] has joined #code |
14:01 | | ComradeBear [ZLOK@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
14:18 | | AnnoDomini [annodomini@Nightstar-07a64a0c.adsl.tpnet.pl] has joined #code |
14:18 | | mode/#code [+o AnnoDomini] by Reiver |
14:33 | | celticminstrel [celticminst@Nightstar-f8b608eb.cable.rogers.com] has joined #code |
15:02 | | ComradeBear [ZLOK@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds] |
15:04 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code |
15:23 | | Derakon[AFK] [Derakon@Nightstar-cfae48c3.ca.comcast.net] has quit [Ping timeout: 121 seconds] |
15:44 | | ComradeBear [ZLOK@26ECB6.A4B64C.298B52.D80DA0] has joined #code |
16:49 | | Derakon [Derakon@Nightstar-cfae48c3.ca.comcast.net] has joined #code |
16:49 | | mode/#code [+o Derakon] by Reiver |
16:57 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code |
18:23 | | Attilla [Some.Dude@Nightstar-735cedc6.threembb.co.uk] has joined #code |
18:23 | | mode/#code [+o Attilla] by Reiver |
18:25 | | You're now known as TheWatcher |
19:17 | | Rhamphoryncus [rhamph@Nightstar-473f8685.abhsia.telus.net] has quit [Client exited] |
19:26 | | Kindamoody|work is now known as Kindamoody |
20:55 | | jerith [jerith@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
21:14 | | jerith [jerith@Nightstar-bf52129d.slipgate.za.net] has joined #code |
21:14 | | mode/#code [+o jerith] by Reiver |
21:39 | | Kindamoody [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has quit [Ping timeout: 121 seconds] |
22:06 | < gnolam> | Hmm. |
22:06 | < gnolam> | Time to go Dawkins on world.cpp! |
22:44 | | Kindamoody [Kindamoody@Nightstar-ad297e24.telia.com] has joined #code |
23:01 | <@McMartin> | "A universally applicable illustration for articles about security systems" |
23:02 | <@McMartin> | http://blogs.pcmag.com/securitywatch/2011/01/real_physical_security.php |
23:03 | | AnnoDomini [annodomini@Nightstar-07a64a0c.adsl.tpnet.pl] has quit [[NS] Quit: Zzz.] |
23:14 | < gnolam> | :) |
23:19 | < Tarinaky> | That is a beautiful metaphor. |
23:32 | | ComradeBear [ZLOK@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds] |
23:50 | | Kindamoody is now known as Kindamoody[zZz] |
23:56 | | You're now known as TheWatcher[T-2] |
23:57 | <@Derakon> | Nini, TW. |
--- Log closed Tue Jan 18 00:00:09 2011 |