Timestamps are in GMT/BST.
| 00:01:43 | | Darrel Quit (Read error: Operation timed out) |
| 00:02:04 | Watusimoto | static bool first = true; if first add timers; first = false; |
| 00:04:46 | | HylianSavior has joined |
| 00:18:07 | raptor | poor poor ranks |
| 00:29:58 | | bobdaduck_______ Quit (Remote host closed the connection) |
| 00:30:45 | | koda Quit (Quit: koda) |
| 00:31:12 | | koda has joined |
| 00:36:25 | | koda Quit (Ping timeout: 272 seconds) |
| 00:37:39 | Watusimoto | goodnight! |
| 00:38:00 | kaen | night! |
| 00:40:16 | raptor | night! |
| 00:51:54 | | oskopek Quit (Ping timeout: 276 seconds) |
| 00:53:14 | | oskopek has joined |
| 00:58:08 | kaen | man, angular is perfect for this |
| 00:58:52 | kaen | there was already a json -> grid view plugin, so I just ripped out all of the table building logic from php and replaced it with ~5 lines of angular binding |
| 00:59:00 | raptor | having success? |
| 00:59:09 | kaen | I believe so |
| 00:59:10 | raptor | oh wow |
| 01:08:36 | | raptor_ has joined |
| 01:08:36 | | raptor Quit (Disconnected by services) |
| 01:08:39 | | raptor_ is now known as raptor |
| 01:08:40 | | raptor Quit (Changing host) |
| 01:08:41 | | raptor has joined |
| 01:08:41 | | ChanServ sets mode +o |
| 01:12:11 | | Flynnn has joined |
| 01:31:08 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 01:33:51 | raptor | ok, so it looks like... |
| 01:34:34 | raptor | ok, i think I found the issue |
| 01:36:37 | raptor | lua_helper_functions.lua is loaded in run once, globally, on start-up |
| 01:36:46 | raptor | it include the timer.lua functions |
| 01:37:06 | raptor | when you do a Timer:scheduleWhatever, it registers the function in that global Timer class |
| 01:37:18 | raptor | and sticks around, even after a level change |
| 01:37:45 | raptor | so the solution... |
| 01:38:10 | raptor | 1. clean out the Timer registry after each level |
| 01:38:18 | raptor | 2. put timer.lua elsewhere |
| 01:38:35 | raptor | 3. load lua_helper_functions.lua non-globally somehow? |
| 01:39:45 | raptor | any preference kaen? |
| 01:41:47 | kaen | I think there's a way to load Timer when a context is created |
| 01:41:57 | kaen | haven't looked at that code in months though, hold on |
| 01:46:45 | | fordcars has joined |
| 01:48:58 | raptor | i can do it - i just wanted your opinion.. I like your #4 the best, in fact :) |
| 01:50:50 | kaen | ok... I stumped myself anyway :P |
| 01:50:58 | raptor | heh |
| 01:51:47 | raptor | yeah, i didn't want to take you away from any web-work (so sorry!) |
| 01:52:37 | kaen | no worries :) |
| 01:56:28 | fordcars | Hi kaen! |
| 01:58:31 | kaen | hi fordcars |
| 02:14:50 | raptor | back later.. |
| 02:19:17 | | raptor Quit (Ping timeout: 248 seconds) |
| 02:40:37 | | koda has joined |
| 02:45:11 | | koda Quit (Ping timeout: 260 seconds) |
| 03:01:20 | | Flynnn has joined |
| 03:43:44 | | Nothing_Much Quit (Read error: Connection reset by peer) |
| 04:17:09 | | Nothing_Much has joined |
| 04:17:53 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 04:21:08 | | Flynnn has joined |
| 04:21:36 | | raptor has joined |
| 04:21:36 | | ChanServ sets mode +o |
| 04:36:11 | | vs73nx Quit (Ping timeout: 260 seconds) |
| 05:19:51 | | -cameron.freenode.net- *** Looking up your hostname... |
| 05:19:51 | | -cameron.freenode.net- *** Checking Ident |
| 05:19:51 | | -cameron.freenode.net- *** No Ident response |
| 05:19:51 | | -cameron.freenode.net- *** Couldn't look up your hostname |
| 05:19:57 | | BFLogBot has joined |
| 05:19:58 | | -ChanServ- [#bitfighter] Welcome to #bitfighter. This is an IRC channel, many or all of the users may not be paying attention. Please have patience when waiting for a response. |
| 05:23:28 | | vs73nx_ has joined |
| 05:23:49 | | vs73nx Quit (Ping timeout: 248 seconds) |
| 05:47:23 | | vs73nx_ Quit (Ping timeout: 272 seconds) |
| 06:18:07 | fordcars | Night! |
| 06:18:13 | fordcars | Later |
| 06:18:16 | | fordcars Quit (Quit: Page closed) |
| 06:23:29 | | Watusimoto Quit (Ping timeout: 272 seconds) |
| 06:29:50 | | HylianSavior Quit (Quit: Leaving) |
| 07:08:04 | | raptor Quit () |
| 07:50:57 | | koda has joined |
| 07:58:07 | | watusimoto has joined |
| 07:58:08 | | ChanServ sets mode +o |
| 08:02:27 | | watusimoto Quit (Ping timeout: 257 seconds) |
| 08:10:04 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 08:10:44 | | Flynnn has joined |
| 08:19:09 | | destroyerimo_ Quit (Ping timeout: 252 seconds) |
| 08:20:32 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 08:24:21 | | destroyerimo has joined |
| 08:36:45 | | Flynnn has joined |
| 08:50:01 | | Darrel has joined |
| 08:55:28 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 09:31:03 | | koda_ has joined |
| 09:35:39 | | koda_ Quit (Ping timeout: 272 seconds) |
| 09:40:20 | | vs73nx has joined |
| 09:40:33 | | vs73nx Quit (Remote host closed the connection) |
| 10:03:31 | | Invisible has joined |
| 10:10:47 | | watusimoto has joined |
| 10:10:47 | | ChanServ sets mode +o |
| 10:12:38 | | Darrel Quit (Ping timeout: 252 seconds) |
| 10:49:29 | | Invisible Quit (Ping timeout: 252 seconds) |
| 11:19:16 | | koda_ has joined |
| 11:23:49 | | koda_ Quit (Ping timeout: 248 seconds) |
| 11:40:18 | | Watusimoto_ has joined |
| 11:41:35 | | Invisible has joined |
| 11:42:29 | | Darrel has joined |
| 11:44:49 | | watusimoto Quit (Ping timeout: 265 seconds) |
| 11:58:09 | | destroyerimo Quit (Ping timeout: 272 seconds) |
| 12:00:26 | | destroyerimo has joined |
| 12:39:28 | | destroyerimo_ has joined |
| 12:39:57 | | destroyerimo Quit (Ping timeout: 272 seconds) |
| 12:46:55 | | Watusimoto_ Quit (Ping timeout: 272 seconds) |
| 12:47:17 | | Invisible Quit (Ping timeout: 272 seconds) |
| 13:05:38 | | kaen Quit (Ping timeout: 264 seconds) |
| 13:19:20 | | Nothing_Much Quit (Quit: No Ping reply in 180 seconds.) |
| 13:19:32 | | koda_ has joined |
| 13:20:26 | | Nothing_Much has joined |
| 13:22:03 | | koda_ Quit (Read error: Operation timed out) |
| 13:53:00 | | Invisible has joined |
| 14:01:51 | | HylianSavior has joined |
| 14:20:50 | | Nothing_Much Quit (Quit: No Ping reply in 180 seconds.) |
| 14:21:14 | | Nothing_Much has joined |
| 14:28:48 | | Nothing_Much Quit (Read error: Connection reset by peer) |
| 14:29:04 | | Nothing_Much has joined |
| 15:02:41 | | Invisible Quit (Ping timeout: 252 seconds) |
| 15:02:46 | | Watusimoto has joined |
| 15:03:15 | | Invisible has joined |
| 15:16:59 | | Invisible Quit (Ping timeout: 252 seconds) |
| 15:32:11 | | destroyerimo_ Quit (Ping timeout: 252 seconds) |
| 15:32:30 | | HylianSavior Quit (Ping timeout: 245 seconds) |
| 15:34:20 | | destroyerimo has joined |
| 15:39:52 | | HylianSavior has joined |
| 15:48:39 | | bobdaduck has joined |
| 16:03:29 | | LordDVG has joined |
| 16:04:15 | | LordDVG Quit (Remote host closed the connection) |
| 16:04:25 | | LordDVG has joined |
| 16:04:26 | | raptor has joined |
| 16:04:26 | | ChanServ sets mode +o |
| 16:04:31 | raptor | good day! |
| 16:13:59 | | Watusimoto Quit (Ping timeout: 252 seconds) |
| 17:30:15 | | koda Quit (Ping timeout: 252 seconds) |
| 17:41:41 | | destroyerimo Quit (Ping timeout: 252 seconds) |
| 18:13:13 | | Flynnn has joined |
| 18:13:40 | | kaen has joined |
| 18:15:33 | kaen | morning all |
| 18:16:09 | raptor | morning |
| 18:19:21 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 18:21:51 | | Flynnn has joined |
| 18:23:39 | | Flynnn Quit (Client Quit) |
| 18:49:44 | | Flynnn has joined |
| 19:05:40 | | Invisibl1 has joined |
| 19:09:57 | | Invisibl1 Quit (Ping timeout: 248 seconds) |
| 19:11:32 | | Watusimoto has joined |
| 19:18:37 | | koda has joined |
| 19:22:55 | | koda Quit (Ping timeout: 252 seconds) |
| 19:33:53 | | Watusimoto Quit (Ping timeout: 245 seconds) |
| 19:51:34 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 19:53:11 | | koda has joined |
| 19:57:13 | | koda Quit (Ping timeout: 245 seconds) |
| 20:04:51 | | Flynnn has joined |
| 20:23:06 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 20:30:49 | | Flynnn has joined |
| 20:39:06 | | destroyerimo has joined |
| 20:56:06 | | FlynnnNT has joined |
| 20:59:11 | | Flynnn Quit (Ping timeout: 265 seconds) |
| 21:12:07 | | Watusimoto has joined |
| 21:18:05 | kaen | hmm. I can't tell if it's better to send the whole dataset one time and let the clients sort/filter that as needed, or if the endpoint should give portions of the data as needed |
| 21:18:19 | kaen | there's usually only about <300 rows per month |
| 21:19:11 | kaen | maybe it's better to measure than to guess :P |
| 21:19:12 | raptor | how big is the dataset in bytes? |
| 21:20:35 | raptor | it may be better to do one big one, as that reduces database queries... unless there is some sort of persistence going on server-side |
| 21:22:34 | kaen | 6.5k gzipped |
| 21:22:44 | kaen | and that's without compressing the JSON keys |
| 21:23:07 | raptor | that's practically nothing nowadays |
| 21:23:46 | kaen | ok, I think I'll do it whole-hog then |
| 21:23:56 | kaen | the only snag is the all-time stats |
| 21:24:47 | kaen | I guess I could put those into a separate endpoint since the queries have divergent logic anyway, and do server-side paging on those |
| 21:25:39 | raptor | that seems good |
| 21:26:00 | kaen | man I'm blown away by how much load angular will take off of the server |
| 21:26:14 | kaen | I can't believe someone didn't think of doing things this way before |
| 21:26:55 | kaen | plus it's tons more responsive because once you get the dataset you're completely network-free |
| 21:27:48 | raptor | yeah, much better for sure |
| 21:28:00 | raptor | do you think it could do the graphs client-side, too? |
| 21:34:55 | | Invisible has joined |
| 21:35:06 | kaen | I was actually looking into that :) |
| 21:35:19 | kaen | I've always wanted to play with all the neat js graphing libs |
| 21:37:06 | | FlynnnNT Quit (Quit: This computer has gone to sleep) |
| 21:50:17 | | LordDVG Quit (Read error: Connection reset by peer) |
| 21:51:36 | | Flynnn has joined |
| 21:59:18 | raptor | If you haven't read this - it describes my life as a JavaEE programmer: http://discuss.joelonsoftware.com/default.asp?joel.3.219431.12 |
| 22:06:11 | bobdaduck | rofl |
| 22:06:39 | raptor | oh hi bobdaduck |
| 22:11:18 | raptor | so when should we do another improvement contest? |
| 22:11:30 | raptor | and was the last one successful enough to warrant another? |
| 22:23:10 | bobdaduck | usually there's a few weeks between contests |
| 22:32:28 | | destroyerimo Quit (Ping timeout: 265 seconds) |
| 22:40:55 | raptor | somehow my new avatar on github is a smiley-sort-of face |
| 22:41:04 | raptor | https://github.com/raptor |
| 22:43:01 | bobdaduck | I think it is a unibrow |
| 22:43:07 | | kaen Quit (Quit: Leaving) |
| 22:55:20 | | bobdaduck Quit (Remote host closed the connection) |
| 23:01:51 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 23:06:57 | | koda has joined |
| 23:11:15 | | koda Quit (Ping timeout: 245 seconds) |
| 23:17:30 | | Flynnn has joined |
| 23:21:58 | | kaen has joined |
| 23:21:58 | | kaen Quit (Changing host) |
| 23:21:58 | | kaen has joined |
| 23:25:55 | | Flynnn Quit (Ping timeout: 252 seconds) |
| 23:28:18 | | Flynnn has joined |
| 23:34:18 | | FlynnnNT has joined |
| 23:34:37 | | destroyerimo has joined |
| 23:35:00 | | Flynnn Quit (Ping timeout: 245 seconds) |
| 23:46:29 | | Invisible Quit (Ping timeout: 240 seconds) |
| 23:47:32 | | Watusimoto Quit (Ping timeout: 252 seconds) |