code logs -> 2011 -> Wed, 19 Oct 2011< code.20111018.log - code.20111020.log >
--- Log opened Wed Oct 19 00:00:14 2011
00:12
< ToxicFrog>
McMartin: concerning earlier conversations about TortoiseGit, it does look a lot nicer these days: http://i.imgur.com/qvd4w.png
00:21
< McMartin>
That is indeed significantly better, about where TortoiseHg was when last I checked
00:33
< McMartin>
Augh, this code makes me feel dirty.
00:33
< McMartin>
But it's what std::map was optimized for
00:34
< celticminstrel>
?
00:34
< McMartin>
I'm building a histogram of tokens, basiclaly
00:34
< McMartin>
so I loop through all values of token I read in, with a std::map<token_t, int>
00:34
< McMartin>
histo[token] += 1;
00:35
< McMartin>
Which creates it (at 0) if it doesn't exist and then adds 1 to whatever it is.
00:35
< celticminstrel>
The non-intuitive behaviour of [] working to your advantage. ;)
00:36
< McMartin>
Right, it's clearly what they intended for it.
00:36
< McMartin>
But it still makes me feel dirty to exploit it like that
00:41 Kindamoody[zZz] is now known as Kindamoody
00:48 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
00:55 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
01:04 Derakon[AFK] is now known as Derakon
01:08 You're now known as TheWatcher[T-2]
01:12 You're now known as TheWatcher[zZzZ]
01:26 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
01:32 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
01:40 Attilla [Some.Dude@Nightstar-f29f718d.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
02:14
< celticminstrel>
Okay, so I have the rotation basically working, but... it doesn't rotate quite how I want.
02:15
< celticminstrel>
Specifically, the direction of rotation doesn't seem to depend on the direction I move the mouse.
02:15
< Derakon>
Degrees vs. radians?
02:15
< celticminstrel>
I don't think it's that, but I could be wrong.
02:18 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
02:19 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
02:25 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
02:26 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has quit [Operation timed out]
02:30 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
02:33 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Z?]
02:39 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has joined #code
02:40 Derakon [Derakon@Nightstar-f68d7eb4.ca.comcast.net] has quit [Ping timeout: 121 seconds]
03:13 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
03:13 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
03:36 Kindamoody is now known as Kindamoody|nap
04:05 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
04:10 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
04:14 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
04:21 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
04:27 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
04:28 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
04:35 Derakon [Derakon@Nightstar-f68d7eb4.ca.comcast.net] has joined #code
04:36 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
04:42 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
04:43 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
04:56 Kindamoody|nap is now known as Kindamoody
05:17 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [Connection closed]
06:09 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
06:15 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has quit [Client exited]
06:19 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
06:41 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
06:42 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
06:59 Derakon is now known as Derakon[AFK]
07:27 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
07:32 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
08:32 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
09:14 Kindamoody is now known as Kindamoody|out
09:18 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
09:19 You're now known as TheWatcher
09:23 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
10:20 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
10:21 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
10:27 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
10:31 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
10:39 Attilla [Some.Dude@Nightstar-f29f718d.cable.virginmedia.com] has joined #code
11:35 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
11:36 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
13:09
< Simon_Shine>
heh
13:09
< Simon_Shine>
I'm playing with this 2D dungeon crawling game, and I'm adding a FOV radius now
13:09
< Simon_Shine>
and I thought "once I can select a number of positions corresponding to a radius, I can do other things with that as well."
13:10
< Simon_Shine>
since I'm using Standard ML, I thought I'd want to implement folding and mapping on a radius
13:10
< Simon_Shine>
and I thought there should be at least tornadofold, spiralfoldin and spiralfoldout
13:26 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
13:27 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
13:58
<@froztbyte>
uh, little bit of shameless plugging, though I reckon someone here might find this useful: http://blog.froztbyte.net/2011/10/terminal-quicksearch/
14:36 Kindamoody|out is now known as Kindamoody
14:42 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.]
15:04 You're now known as TheWatcher[afk]
15:09 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
15:13 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
15:20 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
15:21 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
16:21 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
16:29 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
16:41 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has joined #code
18:50 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
18:51 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
18:56 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
18:56 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
19:14 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
19:16 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
19:18 Reivles [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
19:20 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
19:25 Kindamoody is now known as Kindamoody[zZz]
20:08 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
20:28 Reivles [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
20:29 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
20:54 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
20:59 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
21:04 Derakon [chriswei@Nightstar-f68d7eb4.ca.comcast.net] has joined #code
21:10
< Derakon>
Man, this module just keeps getting bigger and bigger.
21:10
< Derakon>
I hadn't realized it'd be such a big project when I started...
21:11<~Vornicus> what is this?
21:11
< Derakon>
Our users run "site-visiting" experiments routinely.
21:11
< Derakon>
This is a system where they mark sites of interest on the slide, and visit each site at a routine interval, taking a single set of images there.
21:11
< Derakon>
Then later they want to compile the image sets, on a per-site basis, into a single file with a time axis.
21:11
< Derakon>
Currently they have to do this one site at a time, using a hand-
21:12
< Derakon>
hand-modified shell script.
21:12
< Derakon>
So I'm writing a GUI to make it easier.
21:12
< Derakon>
Currently just under 500 lines of Python.
21:13
< Derakon>
Currently looks like this: http://derakon.dyndns.org/~chriswei/temp2/sitevisitmerge.png
21:14
< Derakon>
The reordering bit is because sometimes they have to stop an experiment midway through and then restart it, at which point the "t" values in the filename start at 0 all over again.
21:17 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
21:21 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
21:30 * Derakon eyes some debugging output from his program.
21:30
< Derakon>
The "re-generate the entire UI to account for changes" code gets run six times when I first create the panel. O_o
21:31
< Derakon>
Oh wait no, I'm stupid.
21:31
< Derakon>
That's six different sub-panels each spitting out the same debugging output. Derp.
21:42 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
21:43 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
22:14 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
22:19 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
22:24 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
22:31 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
22:38 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has joined #code
23:01 * Derakon ponders his situation here.
23:01
< Derakon>
Okay, so this program is designed to handle running procedures on large numbers of files.
23:02
< Derakon>
You select a batch of files, fill out a form with parameters, and the program runs the corresponding procedure (based on the form) on each file in sequence.
23:02 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
23:02
< Derakon>
So I have this process that creates shell scripts for each file in turn, submits the scripts to a queue, etc.
23:02
< Derakon>
I also have a process for chaining the scripts together, so you can feed the output of one procedure into the input for another.
23:03
< Derakon>
This new procedure, though is about merging multiple files together into a single file, so it's kinda breaking that.
23:03
< Derakon>
Both the "run this same set of arguments on each single file in turn" aspect (since the merging procedure needs to know about all involved files) and the "feed outputs into inputs" bit (since multiple inputs create a single output).
23:05
< Derakon>
So, problematic all round.
23:05
< Derakon>
Any ideas?
23:09 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
23:25
< Derakon>
Yeesh, yeah, this one module is the biggest in the entire program.
23:25 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
23:25
< Derakon>
4460 lines for the program so far, average of 140 lines/file, and this one's at 513.
23:41 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
23:45 Derakon [chriswei@Nightstar-f68d7eb4.ca.comcast.net] has quit [[NS] Quit: leaving]
23:45 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
23:50 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
23:50 You're now known as TheWatcher
23:54 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
23:56 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
--- Log closed Thu Oct 20 00:00:29 2011
code logs -> 2011 -> Wed, 19 Oct 2011< code.20111018.log - code.20111020.log >

[ Latest log file ]