--- Log opened Mon Oct 29 00:00:00 2012 |
00:03 | | PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code |
00:03 | | mode/#code [+o PinkFreud] by ChanServ |
00:04 | | himi [fow035@D741F1.243F35.CADC30.81D435] has joined #code |
00:04 | | mode/#code [+o himi] by ChanServ |
00:05 | | 459AAB97H is now known as gnolam |
00:10 | | Vornotron is now known as Vornicus |
00:10 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
00:40 | | You're now known as TheWatcher[T-2] |
00:42 | | You're now known as TheWatcher[zZzZ] |
01:45 | | celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.] |
01:45 | | celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code |
02:26 | | Derakon[AFK] is now known as Derakon |
02:34 | | Attilla [Obsolete@Nightstar-c5c74f4b.as43234.net] has quit [[NS] Quit: ] |
03:21 | | SmithKurosaki [smith@Nightstar-ad56e792.home1.cgocable.net] has joined #code |
03:30 | <@Reiv> | A puzzle in SQL (SQL Server, if it makes a difference): |
03:30 | <@Reiv> | We all know how LIKE works. |
03:31 | <@Reiv> | Is there a way to compare two columns against each other with a LIKE in place? |
03:31 | | * Reiv suspects the question is nonsensical, but isn't too sure how else to do it. |
03:33 | | Kindamoody[zZz] is now known as Kindamoody |
03:38 | <@Reiv> | Basically, I have two columns, and am trying to find out how many rows of these are mostly, but not quite, the same. |
03:39 | <@syksleep> | um |
03:39 | <@Reiv> | To which I mean I'm willing to accept up to two characters at the front of each, or one non-numeric character on the end of either, and provided the rest in between is the same, it's considered equivalent. |
03:40 | <&Derakon> | So if a[2:-1] == b[2:-1] then they match? |
03:40 | <&Derakon> | Well, but you have that non-numeric constraint. |
03:41 | | syksleep is now known as Syk |
03:43 | <@Syk> | oh how I wish I could be home writing my apps and stuff |
03:43 | <@Syk> | rather than writing documentation for a system that I don't even get to finish >v< |
03:44 | | cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [[NS] Quit: Well, most things get better when I kick them!] |
03:48 | <@Syk> | man, i love how people don't get the concept of governments |
03:48 | <@Reiv> | Derakon: I think so. |
03:49 | <@Syk> | we have a community plauque listing babies born in the area, as it's quite rare |
03:49 | <@Syk> | someone on FB comments "I am assuming the ratepayers are paying for this????" |
03:50 | <@Syk> | and then they complain that we're not making enough gardens? |
03:51 | | SmithKurosaki [smith@Nightstar-ad56e792.home1.cgocable.net] has quit [Ping timeout: 121 seconds] |
05:24 | | Derakon is now known as Derakon[AFK] |
05:25 | <@Azash> | Reiv: A completele shot in the dark with this but what about select table1.rownumber, table1.data from table1 join table2 on table1.rownumber = table2.rownumber and table1.data = table2.data |
05:25 | <@Azash> | Then compare the first and last rownumbers with the amount of lines in the result to see if any are missing in between |
05:32 | | himi [fow035@D741F1.243F35.CADC30.81D435] has quit [Ping timeout: 121 seconds] |
06:00 | | Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Client closed the connection] |
06:02 | | * Azash shares with the channel http://www.cs.helsinki.fi/u/karvi/advanced_1_12.pdf |
06:02 | <@froztbyte> | Azash: why colours instead of quoting? |
06:02 | <@Azash> | froztbyte: It's visually clearer |
06:03 | <@froztbyte> | like, I nearly missed what you typed because my brain just autofilters out colours |
06:03 | <@froztbyte> | Azash: don't make that assumption |
06:03 | <@froztbyte> | it's clearer *on your setup* |
06:03 | <@froztbyte> | but that doesn't translate through to everyone else |
06:04 | <@Azash> | As you wish |
06:04 | <@froztbyte> | (this rule holds for surprisingly many things) |
06:04 | <@Azash> | Reiv: A completele shot in the dark with this but what about "SELECT table1.rownumber, table1.data FROM table1 JOIN table2 ON table1.rownumber = table2.rownumber AND table1.data = table2.data" |
06:13 | | celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
06:13 | | ErikMesoy|sleep is now known as ErikMesoy |
07:31 | | Kindamoody is now known as Kindamoody|breakfast |
07:36 | <@Tarinaky> | Turns out there's an obvious flaw with Paired Programming http://i.imgur.com/v4w0u.png |
08:04 | | * jerith grins. |
08:05 | <&jerith> | That can be surprisingly useful. |
08:05 | <&jerith> | See duck debugging. |
08:08 | <@Tarinaky> | Oh I don't doubt. But isn't paired programming supposed to be better? |
08:08 | <@Tamber> | Duck debugging in the banana republic? |
08:08 | <~Vornicus> | Just generally saying what you're up to aloud helps a lot. |
08:08 | <~Vornicus> | Even if it's to a rubber duck sitting atop your monitor. |
08:09 | <~Vornicus> | It helps even more when the thing you're talking to can read your code. |
08:10 | <@froztbyte> | hahaha |
08:10 | <@froztbyte> | in our office, we'd be more likely to give someone a blowup doll for that |
08:13 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
08:14 | | mode/#code [+o himi] by ChanServ |
08:18 | | Vash [Vash@Nightstar-b43e074a.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!] |
08:35 | | You're now known as TheWatcher |
08:38 | <@Tarinaky> | froztbyte: A blow up sheep would be funnier. |
08:48 | <@Syk> | heh |
08:52 | | Kindamoody|breakfast is now known as Kindamoody |
09:00 | <@Syk> | with my code, I just call up my supervisor |
09:00 | <@Syk> | by the time I say hello, it's clicked |
09:01 | <@Tamber> | ...then phone, or the code? :p |
09:01 | <@Syk> | one day it was like "Hello?" "Hi, I'm working on this bit of code here and I'm not sure how we fixed this be-... nevermind! Seeya!" "Okay...????" |
09:01 | <@Syk> | Tamber: my mind :P |
09:04 | | * Syk hops on Tamber's code, brutally disemvowels it |
09:10 | <@Tamber> | Most of it's Perl, it already looks like line-noise~ |
09:12 | <@Syk> | more like prl |
09:13 | <@Syk> | its 40 fucking C outside |
09:13 | <@Syk> | IT'S 5PM |
09:13 | <@Syk> | THE HELL |
09:13 | <@Syk> | 17:13, and it's still fourty goddamn degrees celcius |
09:13 | <@Tamber> | Routine Weather Report for EGCC, today at 08:50 UTC: Ominous void; 4.6032 MPH South wind. Cloud conditions: Few at 3100ft. Temperature: 07?C. Dew point 06?C |
09:13 | <@Tamber> | :D |
09:14 | <@Syk> | tamber i hate you and your nice weather |
09:14 | <@Syk> | well when i move to sydney, they have a good 10 or so rainy days a month every month |
09:14 | <@Syk> | i can pretend i'm living in birmingham or something |
09:14 | <@Tamber> | What, with only 10 rainy days a month? |
09:15 | <@Syk> | i said pretend |
09:15 | <@froztbyte> | Syk: sounds about right |
09:15 | <@Syk> | okay so |
09:15 | <@Tamber> | la |
09:15 | <@Syk> | i had some rain two weeks ago |
09:15 | <@Syk> | like, a bit |
09:15 | <@froztbyte> | around where I stay in .za, it can be up to 30-odd some time in the evening still |
09:15 | <@Syk> | for like an hour |
09:15 | <@TheWatcher> | Tamber: "ominous void"? your METAR reader has a sense of humour. |
09:15 | <@Syk> | where is za |
09:15 | <@Syk> | oh south africa |
09:15 | <@Tamber> | TheWatcher, I have a small list of random crud to use if METAR doesn't return a weather condition. :) |
09:16 | <@TheWatcher> | That said, that is Manchester Airport, Ominous Void is probably accurate... |
09:16 | <@Syk> | okay so |
09:16 | <@Syk> | the whole year so far |
09:16 | <@Tamber> | Wouldn't surprise me in the slightest. |
09:16 | <@Syk> | like, to-the-day |
09:16 | <@Syk> | 79 days of rain |
09:17 | <@Syk> | with the highest being 75mm in one day |
09:19 | <@Syk> | Tamber: the lowest ever recorded temperature is 6.7C |
09:19 | | Kindamoody is now known as Kindamoody|out |
09:20 | | * Tamber points and laughs. The taunt melts. |
09:22 | <@Syk> | Tamber: that was in 2008 |
09:22 | <@Syk> | the hottest ever was 45C, back in 4 |
09:22 | <@Syk> | 04 |
09:22 | <@Syk> | >lowest maximum ever recorded: 16.7C |
09:23 | <@Tamber> | 4? AD or BC? |
09:23 | <@Syk> | i said 04 |
09:23 | <@Syk> | >:| |
09:23 | <@Tamber> | Again, AD or BC? ;) |
09:23 | <@Syk> | our temp records only go back to 1984 though |
09:24 | <@Tamber> | *chuckle* |
09:24 | <@Syk> | 2004 |
09:24 | <@Syk> | smartass :U |
09:25 | <@Syk> | AD :| |
09:27 | <@Tamber> | http://img.ie/b8061.png |
09:30 | | Attilla [Obsolete@Nightstar-c5c74f4b.as43234.net] has joined #code |
10:35 | | RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code |
11:31 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds] |
11:45 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
11:45 | | mode/#code [+o himi] by ChanServ |
12:07 | | gnolaptop [lenin@Nightstar-4e84c538.eduroam.liu.se] has joined #code |
12:29 | | gnolaptop [lenin@Nightstar-4e84c538.eduroam.liu.se] has quit [[NS] Quit: Reboot] |
12:41 | | gnolaptop [lenin@Nightstar-4e84c538.eduroam.liu.se] has joined #code |
12:43 | < gnolaptop> | ... heh. |
12:43 | < gnolaptop> | SOC course. JPEG acceleration. |
12:43 | < gnolaptop> | Whoever creates the fastest implementation gets a cake from the professor. |
12:44 | < gnolaptop> | Or rather, the cheapest fast implementation. |
13:51 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds] |
13:56 | | gnolaptop [lenin@Nightstar-4e84c538.eduroam.liu.se] has quit [[NS] Quit: Gone] |
14:04 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
14:04 | | mode/#code [+o himi] by ChanServ |
14:08 | | Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
14:12 | | celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code |
14:30 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds] |
14:40 | | cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code |
14:43 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
14:43 | | mode/#code [+o himi] by ChanServ |
14:53 | | rms [rstamer@genoce.org] has quit [Operation timed out] |
14:53 | | Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has quit [Operation timed out] |
14:54 | | rms [rstamer@Nightstar-e681a855.org] has joined #code |
14:55 | | RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [Ping timeout: 121 seconds] |
14:56 | | celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
14:57 | | Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has joined #code |
15:11 | | RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code |
15:22 | < RichyB> | gnolam: aren't those two completely different axes? |
15:23 | <@TheWatcher> | I wonder just how many people questioned the existence of cake in the context of testing, anyway. |
15:27 | <@froztbyte> | hahaha |
15:29 | <@Syk> | the cake is a l-*shot* |
15:30 | < RichyB> | gnolam: I wonder whether you'll get a single fasted AND cheapest implementation... |
15:30 | < RichyB> | or whether a bunch of people will come up with a non-dominated front. |
15:30 | < RichyB> | Some faster, some cheaper. |
15:31 | <~Vornicus> | what is "cheap" and what is "fast" in this context |
15:31 | < RichyB> | oh, good point Vornicus. |
15:31 | < RichyB> | 3 different axes. |
15:32 | <@froztbyte> | from another channel |
15:32 | <@froztbyte> | <cwillu_at_work> susceptibility to flour-based incentives is a key requirement in any candidate |
15:32 | < RichyB> | Fast is time taken to decode some sample image(s), which is easy enough to measure. |
15:32 | < RichyB> | Actual wall-clock time is unambiguous. |
15:34 | < gnolam> | He said fastest first. Then changed it to cheapest above a certain FPS threshold. |
15:34 | < gnolam> | In other words, he'll decide which he likes best. ;) |
15:34 | < RichyB> | One axis of "cheap" is, "how many transistors does it take to build this circuit?" (or logic units or whatever they're called, on an FPGA) |
15:34 | < RichyB> | The other axis of "cheap" is "how many joules does this circuit burn while decoding the sample image(s)?" |
15:36 | <@Syk> | does that cover computationally cheap |
15:37 | < gnolam> | Hardware units. |
15:37 | <@Syk> | oh SOC is circuits isnt it |
15:37 | <&ToxicFrog> | System On Chip. IC design. |
15:38 | <@TheWatcher> | gnolam: Bonus points for an implementation that makes http://l-userpic.livejournal.com/68895387/2147443 appear as a watermark in decoded images~ |
15:38 | <@Syk> | oh dear jpg on a chip |
15:38 | <&ToxicFrog> | And yeah, "cheapest implementation capable of 30fps decoding" sounds reasonable as long as you can agree on which metric is used for "cheap" |
15:38 | < gnolam> | TheWatcher: :) |
15:38 | <@Syk> | maybe i might take up something like that when I move to the city |
15:39 | <@Syk> | i'd love to get into circuitry, even low-tech sort of stuff with ardunios and all |
15:39 | <@Syk> | but there's not a radioshack for ten hours drive :( |
15:39 | <@Syk> | and waiting 999 weeks for Australia post to mangle your breadboards and resistors isn't fun |
15:40 | <@Syk> | my supervisor at work wrote some stuff for his arduinos to do solar panel tracking... was pretty neat |
15:53 | | * Azash gets back from crisis meeting, wonders if project is salvageable |
16:12 | | Attilla_ [Obsolete@Nightstar-e04d82c1.as43234.net] has joined #code |
16:13 | | Attilla [Obsolete@Nightstar-c5c74f4b.as43234.net] has quit [Ping timeout: 121 seconds] |
16:16 | | Attilla_ [Obsolete@Nightstar-e04d82c1.as43234.net] has quit [[NS] Quit: ] |
16:17 | | Attilla [Obsolete@Nightstar-e04d82c1.as43234.net] has joined #code |
16:47 | | Syk is now known as syksleep |
17:51 | | jeroid [jerith@4B91FF.F927D1.6CDE10.16FA2F] has joined #code |
17:56 | | Kindamoody|out is now known as Kindamoody |
17:57 | | * Tarinaky finds Wolfram Alpha needing money to do anything highly-annoying. |
17:57 | < Tarinaky> | Anyone have suggestions on where I might be able to get similar features? |
17:57 | < Tarinaky> | The free graphing is useless. |
17:59 | | * Vornicus usually uses excel, and when he needs real power will go python -> ps |
17:59 | < Tarinaky> | Mostly I just like being able to type in 2-e^(\lambda t) solve for t. |
18:00 | < Tarinaky> | or y = e^(2/x) 0 < x < 1 |
18:00 | < Tarinaky> | And be able to play with the resulting graph interactively >.> |
18:00 | < Tarinaky> | Messing me right up. |
18:01 | <@froztbyte> | learn R/Octave/gnuplot? |
18:01 | <@froztbyte> | the python path is also useful |
18:02 | <@froztbyte> | I've also seen some KDE graphing apps that didn't look too horrible, but no idea how capable they are |
18:03 | <@froztbyte> | kmplot - mathematical function plotter for KDE |
18:08 | | * Azash likes Octave |
18:14 | | Netsplit *.net <-> *.split quits: @himi, rms |
18:15 | | PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
18:16 | | rms [rstamer@Nightstar-e681a855.org] has joined #code |
18:17 | | Attilla_ [Obsolete@Nightstar-e04d82c1.as43234.net] has joined #code |
18:18 | | Attilla [Obsolete@Nightstar-e04d82c1.as43234.net] has quit [Ping timeout: 121 seconds] |
18:20 | | PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code |
18:20 | | mode/#code [+o PinkFreud] by ChanServ |
18:20 | | Netsplit over, joins: @himi |
18:22 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds] |
18:28 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
18:28 | | mode/#code [+o himi] by ChanServ |
18:42 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds] |
18:48 | < Tarinaky> | We've discovered how the network at my Uni works: http://i.imgur.com/fQFnR.png |
18:49 | <@Tamber> | "badly"? |
18:51 | < jeroid> | Barely? |
18:52 | < Tarinaky> | The internet police are currently investigating someone sending spoofed emails from staff. |
18:52 | <@Tamber> | Occasionally, then it explodes? :D |
18:52 | <@Tamber> | the "internet police"? |
18:52 | < Tarinaky> | As in the Uni has contacted the Police. Who, naturally, haven't done much. |
18:52 | <@Tamber> | Of course. |
18:53 | < Tarinaky> | Due to not knowing one end of a USB cable from the other :) |
18:53 | < jeroid> | Why not ask the IT people? |
18:53 | < Tarinaky> | They've blocked the website used to generate the emails. |
18:54 | < Tarinaky> | As far as I am aware, nobody seems to have gotten into any serious trouble. |
18:54 | < jeroid> | (Who likely don't know any better.) |
18:54 | < Tarinaky> | I imagine it'd be gossipped about. |
18:55 | <@Tamber> | Not really anything worth getting the police involved in, then? |
18:55 | < Tarinaky> | It's pretty annoying because we've been kicking up a fuss about the president of the union making a remark blaming us for hacking the Union website (it was an automated attack injecting adverts for cialis etc...) |
18:57 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
18:57 | | mode/#code [+o himi] by ChanServ |
18:57 | < jeroid> | You have a website for sending email as staff? |
18:57 | < Tarinaky> | Apparently the email headers were generated using a web form in the internet.. |
18:57 | < Tarinaky> | *on the internet. |
18:59 | < jeroid> | Why did the MTA accept it? |
19:00 | < Tarinaky> | I have no idea. |
19:00 | < Tarinaky> | I'm not a security guy. |
19:00 | < Tarinaky> | I think the SMTP servers only check that the mail is coming from inside the Uni network. |
19:00 | < Tarinaky> | But don't actually check the headers maybe? |
19:01 | <@Tamber> | Not even SPF? :x |
19:02 | <@Tamber> | (Wouldn't help in the case that the forged mail comes from a host that's expected to be sending Uni mail; but that'd be even more worrying~) |
19:11 | < jeroid> | One would expect some kind of auth. |
19:29 | | RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [[NS] Quit: Leaving] |
19:29 | | jeroid [jerith@4B91FF.F927D1.6CDE10.16FA2F] has quit [[NS] Quit: Bye] |
19:47 | | Attilla_ is now known as Attilla |
20:01 | | Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has joined #code |
20:01 | | mode/#code [+ao Derakon Derakon] by ChanServ |
20:02 | | * Derakon blarghs, cannot wrap his head around this bug, thus, time for #code and talking to himself. |
20:02 | <&Derakon> | Okay, so. We have an experiment which is a sequence of actions. The experiment chops itself up into subsections based on the Executors that can perform the actions in those sections. |
20:03 | <&Derakon> | E.g. a 100-element experiment where the first 50 actions can be done by 1 Executor, then 1 action by another one, then the remaining 49 by the first one -- three subsections of size 50, 1, 49. |
20:03 | <&Derakon> | The bug here is that we're only getting image data for the first subsection; after that no more images arrive, and I don't know why. |
20:03 | | Vash [Vash@Nightstar-b43e074a.wlfrct.sbcglobal.net] has joined #code |
20:03 | | mode/#code [+o Vash] by ChanServ |
20:04 | <&Derakon> | AFAICT we don't change the camera state at any time after we start executing sections. |
20:04 | <&Derakon> | I can force the experiment to subdivide itself into finer intervals and get similar behavior, so it's not the actual actions that are causing the problem; it's the subdivision. |
20:05 | <&Derakon> | Best guess is that the executor isn't actually doing its job, but it certainly appears to be. |
20:06 | <&Derakon> | And this is where I'm stuck. |
20:09 | < ErikMesoy> | Is the first subsection hogging the camera without sending anything more? |
20:09 | | Kindamoody is now known as Kindamoody[zZz] |
20:10 | <&Derakon> | The device that executes subsections is just a signal source; it does not seize resources. |
20:10 | <&Derakon> | So it sends a digital "take a picture now" signal, then the camera takes a picture and forwards it to the cockpit. |
20:11 | <&Derakon> | The camera shouldn't care about the exact timing as long as signals don't arrive too close together. |
20:11 | < ErikMesoy> | Help me understand the architecture a bit more. Subsections send messages to camera which sends pictures to output? |
20:12 | <&Derakon> | We have three systems here. |
20:12 | <&Derakon> | Cockpit handles UI and telling some devices what to do. |
20:13 | <&Derakon> | Cameras receive images and send them to cockpit. |
20:13 | <&Derakon> | DSP acts as signal source to control cameras with strict timings. |
20:13 | <&Derakon> | We put the cameras into a "receiving" state. |
20:13 | <&Derakon> | In this state, every time they get a signal from the DSP, they take an image, and send it to the cockpit. |
20:14 | <&Derakon> | The DSP is handed a list of actions to execute -- this is the subsection. |
20:14 | <@froztbyte> | how are you actually doing the image transmission? |
20:14 | <&Derakon> | Pyro4 is a network comms library; I can send Numpy arrays through it. |
20:15 | <&Derakon> | s/network comms/remote object/ |
20:15 | <@froztbyte> | k |
20:15 | <@froztbyte> | and when you say subsections, do you mean like actual image slicing, or ... ? |
20:16 | <&Derakon> | No, the sections are sequences of commands handed to the DSP. They have nothing to do with the camera. |
20:16 | <&Derakon> | Like, one section says "open laser shutters at t=0; close shutters at t=10; activate cameras at t=11". |
20:16 | <&Derakon> | (For example) |
20:17 | <&Derakon> | Then another section says "open shutters at t=20; close shutters at t=30; activate cameras at t=31". |
20:17 | <@froztbyte> | okay |
20:17 | <&Derakon> | If I send everything as a single combined "section", then it executes correctly, but when I chop it up, it doesn't. |
20:18 | <@froztbyte> | so the handler/divider that splits the sections up into subsections, what's the structure for that like? |
20:18 | <@froztbyte> | pre and post hooks, input var, dumps out what it handled plus results? |
20:19 | <&Derakon> | http://pastebin.com/pUNua91N |
20:19 | <&Derakon> | Broadly, find the executor that can do the most lines in the action table, tell them to do it, repeat until we've completed the entire table. |
20:20 | <&Derakon> | You can ignore the stuff about multiple reps; self.numReps is 1 in this case. |
20:20 | <@froztbyte> | I'd starting dumping curIndex to a terminal or logfile |
20:20 | <@froztbyte> | look for patterns |
20:21 | <&Derakon> | No, you're looking in the wrong place. Note how I'm artificially forcing smaller subsections on line 17, for testing purposes. |
20:21 | <&Derakon> | The bug has nothing to do with where the division occurs. |
20:24 | <&Derakon> | Found it. |
20:24 | <&Derakon> | The problem was that the latter subsections hadn't rebased their timings. |
20:24 | <&Derakon> | So section 2's first event happens at t=30 instead of t=0. |
20:25 | <&Derakon> | But the DSP was also told that its entire execution should only take 29 time units (or whatever). |
20:25 | <&Derakon> | So it was stopping before doing anything. |
20:37 | <&Derakon> | Sorry about my tone there, froztbyte. I wasn't meaning to be dismissive. |
20:58 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds] |
21:11 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
21:11 | | mode/#code [+o himi] by ChanServ |
21:44 | | Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has quit [[NS] Quit: leaving] |
22:30 | | cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [Client closed the connection] |
22:30 | | cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code |
22:32 | | cpux|2 [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code |
22:34 | | cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
22:34 | | cpux|2 is now known as cpux |
22:41 | | gnolam_ [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has joined #code |
22:42 | | gnolam is now known as NSGuest32384 |
22:42 | | gnolam_ is now known as gnolam |
22:45 | | NSGuest32384 [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds] |
23:01 | | cpux|2 [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code |
23:02 | | cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
23:07 | | cpux|2 [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
23:07 | | Derakon[AFK] is now known as Derakon |
23:37 | | ErikMesoy is now known as ErikMesoy|sleep |
23:44 | | You're now known as TheWatcher[T-2] |
--- Log closed Tue Oct 30 00:00:16 2012 |