#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2014-01-22

Timestamps are in GMT/BST.

00:01:43Darrel Quit (Read error: Operation timed out)
00:02:04Watusimotostatic bool first = true; if first add timers; first = false;
00:04:46HylianSavior has joined
00:18:07raptorpoor poor ranks
00:29:58bobdaduck_______ Quit (Remote host closed the connection)
00:30:45koda Quit (Quit: koda)
00:31:12koda has joined
00:36:25koda Quit (Ping timeout: 272 seconds)
00:37:39Watusimotogoodnight!
00:38:00kaennight!
00:40:16raptornight!
00:51:54oskopek Quit (Ping timeout: 276 seconds)
00:53:14oskopek has joined
00:58:08kaenman, angular is perfect for this
00:58:52kaenthere 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:00raptorhaving success?
00:59:09kaenI believe so
00:59:10raptoroh wow
01:08:36raptor_ has joined
01:08:36raptor Quit (Disconnected by services)
01:08:39raptor_ is now known as raptor
01:08:40raptor Quit (Changing host)
01:08:41raptor has joined
01:08:41ChanServ sets mode +o
01:12:11Flynnn has joined
01:31:08Flynnn Quit (Quit: This computer has gone to sleep)
01:33:51raptorok, so it looks like...
01:34:34raptorok, i think I found the issue
01:36:37raptorlua_helper_functions.lua is loaded in run once, globally, on start-up
01:36:46raptorit include the timer.lua functions
01:37:06raptorwhen you do a Timer:scheduleWhatever, it registers the function in that global Timer class
01:37:18raptorand sticks around, even after a level change
01:37:45raptorso the solution...
01:38:10raptor1. clean out the Timer registry after each level
01:38:18raptor2. put timer.lua elsewhere
01:38:35raptor3. load lua_helper_functions.lua non-globally somehow?
01:39:45raptorany preference kaen?
01:41:47kaenI think there's a way to load Timer when a context is created
01:41:57kaenhaven't looked at that code in months though, hold on
01:46:45fordcars has joined
01:48:58raptori can do it - i just wanted your opinion.. I like your #4 the best, in fact :)
01:50:50kaenok... I stumped myself anyway :P
01:50:58raptorheh
01:51:47raptoryeah, i didn't want to take you away from any web-work (so sorry!)
01:52:37kaenno worries :)
01:56:28fordcarsHi kaen!
01:58:31kaenhi fordcars
02:14:50raptorback later..
02:19:17raptor Quit (Ping timeout: 248 seconds)
02:40:37koda has joined
02:45:11koda Quit (Ping timeout: 260 seconds)
03:01:20Flynnn has joined
03:43:44Nothing_Much Quit (Read error: Connection reset by peer)
04:17:09Nothing_Much has joined
04:17:53Flynnn Quit (Quit: This computer has gone to sleep)
04:21:08Flynnn has joined
04:21:36raptor has joined
04:21:36ChanServ sets mode +o
04:36:11vs73nx 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:57BFLogBot 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:28vs73nx_ has joined
05:23:49vs73nx Quit (Ping timeout: 248 seconds)
05:47:23vs73nx_ Quit (Ping timeout: 272 seconds)
06:18:07fordcarsNight!
06:18:13fordcarsLater
06:18:16fordcars Quit (Quit: Page closed)
06:23:29Watusimoto Quit (Ping timeout: 272 seconds)
06:29:50HylianSavior Quit (Quit: Leaving)
07:08:04raptor Quit ()
07:50:57koda has joined
07:58:07watusimoto has joined
07:58:08ChanServ sets mode +o
08:02:27watusimoto Quit (Ping timeout: 257 seconds)
08:10:04Flynnn Quit (Quit: This computer has gone to sleep)
08:10:44Flynnn has joined
08:19:09destroyerimo_ Quit (Ping timeout: 252 seconds)
08:20:32Flynnn Quit (Quit: This computer has gone to sleep)
08:24:21destroyerimo has joined
08:36:45Flynnn has joined
08:50:01Darrel has joined
08:55:28Flynnn Quit (Quit: This computer has gone to sleep)
09:31:03koda_ has joined
09:35:39koda_ Quit (Ping timeout: 272 seconds)
09:40:20vs73nx has joined
09:40:33vs73nx Quit (Remote host closed the connection)
10:03:31Invisible has joined
10:10:47watusimoto has joined
10:10:47ChanServ sets mode +o
10:12:38Darrel Quit (Ping timeout: 252 seconds)
10:49:29Invisible Quit (Ping timeout: 252 seconds)
11:19:16koda_ has joined
11:23:49koda_ Quit (Ping timeout: 248 seconds)
11:40:18Watusimoto_ has joined
11:41:35Invisible has joined
11:42:29Darrel has joined
11:44:49watusimoto Quit (Ping timeout: 265 seconds)
11:58:09destroyerimo Quit (Ping timeout: 272 seconds)
12:00:26destroyerimo has joined
12:39:28destroyerimo_ has joined
12:39:57destroyerimo Quit (Ping timeout: 272 seconds)
12:46:55Watusimoto_ Quit (Ping timeout: 272 seconds)
12:47:17Invisible Quit (Ping timeout: 272 seconds)
13:05:38kaen Quit (Ping timeout: 264 seconds)
13:19:20Nothing_Much Quit (Quit: No Ping reply in 180 seconds.)
13:19:32koda_ has joined
13:20:26Nothing_Much has joined
13:22:03koda_ Quit (Read error: Operation timed out)
13:53:00Invisible has joined
14:01:51HylianSavior has joined
14:20:50Nothing_Much Quit (Quit: No Ping reply in 180 seconds.)
14:21:14Nothing_Much has joined
14:28:48Nothing_Much Quit (Read error: Connection reset by peer)
14:29:04Nothing_Much has joined
15:02:41Invisible Quit (Ping timeout: 252 seconds)
15:02:46Watusimoto has joined
15:03:15Invisible has joined
15:16:59Invisible Quit (Ping timeout: 252 seconds)
15:32:11destroyerimo_ Quit (Ping timeout: 252 seconds)
15:32:30HylianSavior Quit (Ping timeout: 245 seconds)
15:34:20destroyerimo has joined
15:39:52HylianSavior has joined
15:48:39bobdaduck has joined
16:03:29LordDVG has joined
16:04:15LordDVG Quit (Remote host closed the connection)
16:04:25LordDVG has joined
16:04:26raptor has joined
16:04:26ChanServ sets mode +o
16:04:31raptorgood day!
16:13:59Watusimoto Quit (Ping timeout: 252 seconds)
17:30:15koda Quit (Ping timeout: 252 seconds)
17:41:41destroyerimo Quit (Ping timeout: 252 seconds)
18:13:13Flynnn has joined
18:13:40kaen has joined
18:15:33kaenmorning all
18:16:09raptormorning
18:19:21Flynnn Quit (Quit: This computer has gone to sleep)
18:21:51Flynnn has joined
18:23:39Flynnn Quit (Client Quit)
18:49:44Flynnn has joined
19:05:40Invisibl1 has joined
19:09:57Invisibl1 Quit (Ping timeout: 248 seconds)
19:11:32Watusimoto has joined
19:18:37koda has joined
19:22:55koda Quit (Ping timeout: 252 seconds)
19:33:53Watusimoto Quit (Ping timeout: 245 seconds)
19:51:34Flynnn Quit (Quit: This computer has gone to sleep)
19:53:11koda has joined
19:57:13koda Quit (Ping timeout: 245 seconds)
20:04:51Flynnn has joined
20:23:06Flynnn Quit (Quit: This computer has gone to sleep)
20:30:49Flynnn has joined
20:39:06destroyerimo has joined
20:56:06FlynnnNT has joined
20:59:11Flynnn Quit (Ping timeout: 265 seconds)
21:12:07Watusimoto has joined
21:18:05kaenhmm. 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:19kaenthere's usually only about <300 rows per month
21:19:11kaenmaybe it's better to measure than to guess :P
21:19:12raptorhow big is the dataset in bytes?
21:20:35raptorit 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:34kaen6.5k gzipped
21:22:44kaenand that's without compressing the JSON keys
21:23:07raptorthat's practically nothing nowadays
21:23:46kaenok, I think I'll do it whole-hog then
21:23:56kaenthe only snag is the all-time stats
21:24:47kaenI 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:39raptorthat seems good
21:26:00kaenman I'm blown away by how much load angular will take off of the server
21:26:14kaenI can't believe someone didn't think of doing things this way before
21:26:55kaenplus it's tons more responsive because once you get the dataset you're completely network-free
21:27:48raptoryeah, much better for sure
21:28:00raptordo you think it could do the graphs client-side, too?
21:34:55Invisible has joined
21:35:06kaenI was actually looking into that :)
21:35:19kaenI've always wanted to play with all the neat js graphing libs
21:37:06FlynnnNT Quit (Quit: This computer has gone to sleep)
21:50:17LordDVG Quit (Read error: Connection reset by peer)
21:51:36Flynnn has joined
21:59:18raptorIf 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:11bobdaduckrofl
22:06:39raptoroh hi bobdaduck
22:11:18raptorso when should we do another improvement contest?
22:11:30raptorand was the last one successful enough to warrant another?
22:23:10bobdaduckusually there's a few weeks between contests
22:32:28destroyerimo Quit (Ping timeout: 265 seconds)
22:40:55raptorsomehow my new avatar on github is a smiley-sort-of face
22:41:04raptorhttps://github.com/raptor
22:43:01bobdaduckI think it is a unibrow
22:43:07kaen Quit (Quit: Leaving)
22:55:20bobdaduck Quit (Remote host closed the connection)
23:01:51Flynnn Quit (Quit: This computer has gone to sleep)
23:06:57koda has joined
23:11:15koda Quit (Ping timeout: 245 seconds)
23:17:30Flynnn has joined
23:21:58kaen has joined
23:21:58kaen Quit (Changing host)
23:21:58kaen has joined
23:25:55Flynnn Quit (Ping timeout: 252 seconds)
23:28:18Flynnn has joined
23:34:18FlynnnNT has joined
23:34:37destroyerimo has joined
23:35:00Flynnn Quit (Ping timeout: 245 seconds)
23:46:29Invisible Quit (Ping timeout: 240 seconds)
23:47:32Watusimoto Quit (Ping timeout: 252 seconds)

Index Search ←Prev date Next date→

These logs were automatically created by BFLogBot on irc.freenode.net.