--- Log opened Tue Aug 12 00:00:04 2014 |
00:01 | <@gnolam> | Yeah. |
00:16 | <&McMartin> | As in "hard to do" or as in "ugly"? |
00:19 | <&McMartin> | If the former, I've got some JS code that does one in https://hkn.eecs.berkeley.edu/~mcmartin/terrain.html |
00:19 | <@gnolam> | As in ugly. |
00:19 | <&McMartin> | If the latter, well, terrain.html is not the prettiest. I think our standards were lower in the 1990s. |
00:19 | <&McMartin> | There is one tunable parameter, and it gets "spiky" if you make that parameter too high. |
00:20 | <@gnolam> | OTOH, I also recall that I used some post-processing the last time I did this. Guess this could be why. >_> |
00:22 | <@gnolam> | Thanks anyway. |
00:22 | <&McMartin> | Try throwing a low-pass filter at it |
01:42 | | Turaiel is now known as Turaiel[Offline] |
01:43 | | Turaiel[Offline] is now known as Turaiel |
02:42 | | Turaiel is now known as Turaiel[Offline] |
02:43 | | Turaiel[Offline] is now known as Turaiel |
02:59 | | Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has quit [Ping timeout: 121 seconds] |
03:00 | | Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has joined #code |
03:00 | | mode/#code [+o Orthia] by ChanServ |
03:01 | | thalass [thalass@Nightstar-nulr03.bigpond.net.au] has joined #code |
03:01 | | mode/#code [+o thalass] by ChanServ |
03:05 | | Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has quit [Ping timeout: 121 seconds] |
03:05 | | Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has joined #code |
03:05 | | mode/#code [+o Orthia] by ChanServ |
03:07 | <&ToxicFrog> | Hmm. |
03:07 | <&ToxicFrog> | I need to upgrade my test libraries so that the mock players can wait for messages from the server. |
03:09 | | Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has quit [Ping timeout: 121 seconds] |
03:10 | | Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has joined #code |
03:10 | | mode/#code [+o Orthia] by ChanServ |
03:11 | | himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has joined #code |
03:11 | | mode/#code [+o himi] by ChanServ |
03:14 | | Attilla [uid13723@Nightstar-ed0oqj.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
03:41 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
03:42 | | Kindamoody[zZz] is now known as Kindamoody |
04:13 | | Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has quit [[NS] Quit: Going dooooown...] |
04:13 | | Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has joined #code |
04:13 | | mode/#code [+o Orthia] by ChanServ |
04:40 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
04:42 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
04:43 | | macdjord|wurk is now known as macdjord |
04:45 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
04:45 | | Kindamoody is now known as Kindamoody|nap |
04:56 | | Lappy-Caboose [IceChat9@Nightstar-ago7bl.abhsia.telus.net] has quit [[NS] Quit: Few women admit their age. Few men act theirs.] |
04:59 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.] |
05:02 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
05:40 | | Turaiel is now known as Turaiel[Offline] |
06:32 | | Harlow [harlow@Nightstar-oteu2h.il.comcast.net] has joined #code |
06:45 | | thalass is now known as Thalass|KSP |
06:59 | | macdjord is now known as macdjord|slep |
07:06 | | Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has quit [Ping timeout: 121 seconds] |
07:07 | | Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has joined #code |
07:07 | | mode/#code [+o Orthia] by ChanServ |
07:26 | | celticminstrel [celticminst@Nightstar-6pf18d.dsl.bell.ca] has quit [Ping timeout: 121 seconds] |
07:28 | | Kindamoody|nap is now known as Kindamoody |
07:31 | | celticminstrel [celticminst@Nightstar-6pf18d.dsl.bell.ca] has joined #code |
07:31 | | mode/#code [+o celticminstrel] by ChanServ |
07:48 | | celticminstrel [celticminst@Nightstar-6pf18d.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
08:09 | | himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has quit [Ping timeout: 121 seconds] |
08:11 | | Harlow [harlow@Nightstar-oteu2h.il.comcast.net] has quit [[NS] Quit: BED] |
08:44 | | Attilla [uid13723@Nightstar-ed0oqj.irccloud.com] has joined #code |
08:54 | | Kindamoody is now known as Kindamoody|afk |
10:38 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
10:38 | | Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has quit [Ping timeout: 121 seconds] |
10:39 | | Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has joined #code |
10:39 | | mode/#code [+o Orthia] by ChanServ |
10:48 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
10:48 | | mode/#code [+o himi] by ChanServ |
10:56 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
11:09 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
11:09 | | mode/#code [+o himi] by ChanServ |
11:26 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
11:39 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
11:39 | | mode/#code [+o himi] by ChanServ |
11:44 | | Attilla [uid13723@Nightstar-ed0oqj.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
12:08 | <@Azash> | http://james-iry.blogspot.fi/2009/05/brief-incomplete-and-mostly-wrong.html |
12:08 | <@Azash> | Old and gold |
12:25 | <@TheWatcher> | "Enterprise architects will later relearn her techniques in order to program in UML." ahahahaha |
12:28 | | Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has quit [Ping timeout: 121 seconds] |
12:44 | <@Tarinaky> | God sends C and the devil sends visual programmers? |
12:52 | | Attilla [uid13723@Nightstar-ed0oqj.irccloud.com] has joined #code |
13:02 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
13:02 | | Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has joined #code |
13:03 | | mode/#code [+o Orthia] by ChanServ |
13:06 | | Orthia [orthianz@Nightstar-s5d.ntf.224.119.IP] has quit [Connection closed] |
13:15 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
13:15 | | mode/#code [+o himi] by ChanServ |
13:15 | <&ToxicFrog> | More threads! |
13:21 | | Lappy-Caboose [IceChat9@Nightstar-ago7bl.abhsia.telus.net] has joined #code |
13:22 | | Thalass|KSP [thalass@Nightstar-nulr03.bigpond.net.au] has quit [Ping timeout: 121 seconds] |
13:26 | | Desktop-Caboose [Caboose@Nightstar-ago7bl.abhsia.telus.net] has joined #code |
14:37 | <&ToxicFrog> | Jesus christ this API is a nightmare |
14:37 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
14:38 | <&ToxicFrog> | Here's what I want to do: the set of events affecting <thing1> but not <thing2> between <old> and <new> up to a limit of the <max> most recent events. |
14:38 | <&ToxicFrog> | Here's how I have to do this: |
14:38 | <&ToxicFrog> | - get the set of events affecting <thing1> between <old> and <new> up to a limit of <max> ; note: may return up to n*max results in reality |
14:38 | <&ToxicFrog> | - filter out duplicates |
14:38 | <&ToxicFrog> | - filter out events affecting <thing2> |
14:39 | <&ToxicFrog> | - figure out if I still have at least <max> events (totally possible even if some were filtered out, because it may return more than <max> results) |
14:39 | <&ToxicFrog> | - if not, figure out if there are still events between <old> and <new> I haven't inspected, and do another fetch |
14:40 | <&ToxicFrog> | - repeat this until either I have examined all events, or I have >= max events left after filtering |
14:43 | <@TheWatcher> | (You forgot to sacrifice the black goat in step 0~) |
14:51 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
14:51 | | mode/#code [+o himi] by ChanServ |
14:56 | <&ToxicFrog> | TheWatcher: the best part is that with the old API this was one call and everything happened at the query level. |
14:58 | <@TheWatcher> | Progress!~ |
14:59 | <&ToxicFrog> | We have a saying here |
14:59 | <&ToxicFrog> | "There are two ways to do anything: the old way that's deprecated, and the new way that doesn't work yet" |
15:08 | < Xon> | ToxicFrog, nothing about a promised future way? |
15:13 | | celticminstrel [celticminst@Nightstar-6pf18d.dsl.bell.ca] has joined #code |
15:13 | | mode/#code [+o celticminstrel] by ChanServ |
15:32 | <@Tarinaky> | Async: I have a regression test that fails... less than 1/20th of the time? |
15:32 | <@Tarinaky> | I am not sure why. |
15:33 | <@Tarinaky> | Short of... Hiding it under the carpet and hoping it becomes somebody elses problem: how do I fix this? |
15:35 | <&ToxicFrog> | Run it repeatedly until it fails, logging everything (and, ideally, trapping it in a debugger when it does) |
15:35 | <&ToxicFrog> | Then dissect it. |
15:35 | < luke> | Obvious question: is it multithreaded? |
15:36 | <@Tarinaky> | Yes. |
15:36 | <@Tarinaky> | That's what I meant by async |
15:36 | <@Tarinaky> | (There's a GIL; so it doesn't run more than 1 thread at a time) |
15:39 | <@Tarinaky> | Does it count as a Heisenbug if it doesn't occur when I'm repeatedly running it? |
15:39 | <@Tarinaky> | Or do I have to add debugging for it to count? |
15:42 | <@Tarinaky> | Maybe I imagined the bug :/ |
16:04 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
16:05 | | ErikMesoy [Erik@Nightstar-48q.uk2.203.80.IP] has left #code [] |
16:17 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
16:17 | | mode/#code [+o himi] by ChanServ |
17:00 | | LtBrady is now known as Julius |
17:52 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
18:05 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
18:05 | | mode/#code [+o himi] by ChanServ |
18:53 | | Kindamoody|afk is now known as Kindamoody |
19:21 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
19:35 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
19:35 | | mode/#code [+o himi] by ChanServ |
19:44 | <&ToxicFrog> | Ahahahahahahaha |
19:44 | <&ToxicFrog> | So the deadlock detector is firing one of my tests |
19:44 | <&ToxicFrog> | And I couldn't figure out why almost identical test code from another team, using the same libraries, is not |
19:44 | <&ToxicFrog> | ...it's because theirs is #if0'd out while they investigate some other, unrelated issues |
20:19 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
20:33 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
20:33 | | mode/#code [+o himi] by ChanServ |
20:46 | | Desktop-Caboose [Caboose@Nightstar-ago7bl.abhsia.telus.net] has quit [Connection closed] |
20:53 | | Kindamoody is now known as Kindamoody[zZz] |
21:09 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
21:19 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
21:33 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
21:33 | | mode/#code [+o himi] by ChanServ |
22:16 | <@Reiv> | #if0'd? |
22:18 | < [R]> | Wrapped in if (false) { } |
22:18 | <&McMartin> | Except at a point that the code isn't even processed by the compiler proper, yeah. |
22:18 | < [R]> | Except the macro version, so it doesn't care about blocks and scoping. |
22:28 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
22:41 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
22:41 | | mode/#code [+o himi] by ChanServ |
22:54 | <&ToxicFrog> | Reiv, [R]: #if 0 at the start and #endif at the end. The code is completely excised by the preprocessor. |
22:55 | < [R]> | ... |
22:55 | < [R]> | I knew that |
22:56 | <@Reiv> | Oh, right |
22:56 | <@Reiv> | I was trying to read "#if0'd" as an actual thing |
22:57 | <@Reiv> | And wondering what strange hexcode that was :p |
23:00 | | Turaiel[Offline] is now known as Turaiel |
23:08 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
23:08 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
--- Log closed Wed Aug 13 00:00:20 2014 |