#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2014-08-16

Timestamps are in GMT/BST.

01:44:27fordcars Quit (Quit: Page closed)
02:09:17Watusimoto has joined
02:17:02Watusimoto Quit (Ping timeout: 272 seconds)
02:51:24Watusimoto has joined
03:03:18Watusimoto Quit (Ping timeout: 264 seconds)
03:04:24Akien has joined
04:16:27Watusimoto has joined
04:59:40Invisible has joined
05:17:24Invisible Quit (Quit: Invisible)
05:22:39destroyerimo has joined
06:36:21Flynnn has joined
06:58:41destroyerimo_clo has joined
07:01:28destroyerimo Quit (Ping timeout: 240 seconds)
07:15:24destroyerimo_clo Quit (Ping timeout: 240 seconds)
07:54:05Watusimoto Quit (Ping timeout: 240 seconds)
08:44:34Watusimoto has joined
09:09:04Invisible has joined
09:39:39Flynnn Quit (Quit: This computer has gone to sleep)
09:55:24Invisible Quit (Ping timeout: 260 seconds)
09:58:39Watusimoto Quit (Ping timeout: 255 seconds)
10:00:51Invisible has joined
10:00:57Watusimoto has joined
10:22:02Flynnn has joined
10:27:42raptor has joined
10:27:43ChanServ sets mode +o
10:27:48raptorgood morning!
10:30:41Flynnn Quit (Quit: This computer has gone to sleep)
10:31:28raptorWatusimoto: question about the settings refactor, if you're around
10:32:31raptorin GameSettings, I noticed that there are two action associated with changing settings
10:32:42raptor1. set a setting
10:32:48raptor2. save the setting to the INI
10:33:14raptoror rather, save it to the INI structure.. it's not always written to disc when saved
10:34:18raptorand I notice in the code we have lots of places like this:
10:34:26raptorsettings->getIniSettings()->winXPos = getWindowPositionX();
10:34:34raptorGameSettings::iniFile.SetValueI("Settings", "WindowXPos", settings->getIniSettings()->winXPos, true);
10:34:48raptori.e. where the setting is set, then immediately the INI is updated
10:35:17raptorbut most of the setting of... settings... isn't coupled with INI structure updates like that.
10:35:50raptorinstead all settings are just written out when an explicit INI write is called, like when exiting the game
10:36:16raptorso I'm wondering why we do immediate INI updates for some things but not others
10:36:19raptor?
10:36:49raptorand, what should our 'proper' workflow be? (right now there's lots of 'set*' and 'save*' methods in GameSettings
10:36:51raptor)
11:05:39Flynnn has joined
11:05:46Flynnn Quit (Remote host closed the connection)
11:14:04Flynnn has joined
11:46:30Flynnn Quit (Quit: This computer has gone to sleep)
12:06:51Flynnn has joined
12:12:16Flynnn Quit (Quit: This computer has gone to sleep)
12:22:53raptorI'm adding the class 'bf_static' to the <body> element of all our static pages
12:28:00Invisible Quit (Ping timeout: 260 seconds)
12:33:55raptor"bfstatic"
12:55:38Watusimoto Quit (Ping timeout: 272 seconds)
13:03:54raptorfixed the smilies on the forums
13:04:02raptoralso fixed the contact page jumpiness
13:19:59Flynnn has joined
13:24:22Flynnn Quit (Client Quit)
13:38:06Flynnn has joined
13:57:43Flynnn Quit (Quit: This computer has gone to sleep)
14:02:53Watusimoto has joined
14:10:05raptorhmmm
14:10:13raptorloosk like the RSS feed needs work, too
14:22:25Nothing_Much Quit (Read error: Connection reset by peer)
14:22:57Nothing_Much has joined
15:08:11Watusimotohi raptor
15:08:19raptorhello!
15:08:21WatusimotoI saw the changes you made
15:08:32WatusimotoI am trying to get the motd thingy to work, and am failing miserably
15:08:47WatusimotoI think I finally got the .htaccess stuff to work, so that's something...
15:09:10raptorit was already working, i thought
15:11:27raptorwhat was not working?
15:17:06Watusimotowell...
15:17:22Watusimotoprevious message is not being displayed
15:17:37Watusimotomessage isn't being updated when you enter a new one
15:17:39Watusimotocss is messed up
15:17:50raptori had fixed that...
15:17:58raptorthe only missing was the twitter integration
15:18:06Watusimotosomething happened then
15:18:33Watusimotobecause it was pointing at an .htpasswd file that didn't exist
15:18:38Watusimotothe folders were all wrong
15:18:49raptorhmmm..
15:18:54Watusimotoit was including css files that were in the wrong place
15:19:05WatusimotoI do remember you telling me you had fixed it up
15:19:10raptormaybe i did break the css with the file shuffle
15:19:18Watusimotothat's the least of the issues
15:19:23raptorjust in the motd directory, right?
15:19:31Watusimotomotd/index.php
15:19:33Watusimotoyes
15:19:34raptoryes
15:19:36raptorok
15:19:38raptorwell that's weird
15:19:55raptorand stinks that work was lost
15:19:55Watusimotoyes
15:20:57WatusimotoAlso, the executable bit was not set on the file, so the includes were not including
15:21:20raptorthat makes sense - i bet anything include-wise was broken since i thought i had fixed it
15:23:38Watusimotoit looks like a really old version
15:23:58Watusimotoit wasn't even that the display of the old message was broken; it was missing altogether
15:24:39raptormaybe some sync got stuff overwritten...
15:24:44raptorhuh
15:25:05Watusimotook, existing motd is now being included
15:25:42Watusimotoand the css is mostly fixed
15:26:14WatusimotoI just learned that "<!--#include virtual" works, but "<!-- #include virtual" does not
15:26:31raptorha
15:26:45raptori think i remember being burned by that for hours once
15:30:49Flynnn has joined
15:34:52Watusimotojust like "does not" is not the same as "doe snot"
15:35:15raptorno it snot
15:35:45Watusimotoindeed! ok, I am satisified with the appearance of the form, not to make submission do the right thing
15:35:49Watusimotonow
15:35:55raptori'm doing RSS...
15:36:06Watusimotocool
15:36:09raptortrying to learn the php simplexml again
15:36:28raptorbrings back loathesome feelings about xml...
15:37:30Watusimotook, updating seems to work... now to fix the "landing" page
15:38:16Watusimotothe file must have been reverted somewhere along the line... even the header was copy-pasted in, not included
15:38:31Watusimotoand I *know* you would never let that slide
15:40:09raptorhaha
15:52:07Nothing_Much Quit (*.net *.split)
15:52:07Watusimoto Quit (*.net *.split)
15:55:16Nothing_Much has joined
15:55:16Watusimoto has joined
15:57:18-tomaw- [Global Notice] Sorry about the noise - it seems one of our hubs had some issues so we've worked around it for now.
16:13:44raptorargh semicolons!!
16:37:35Watusimotoso generally how did you approach the post-on-twitter thing?
16:37:44Watusimotodid you use a lib, or code it yourself?
16:37:54raptorcoded it myself - it was fairly simple
16:39:03raptorI had to log into twitter and give API access to bitfighter.org
16:39:08raptorit generated some keys
16:39:17raptori used those in the motd hook
16:39:51raptoron submit, i'd call another php script that forked and waited a minute before posting to twitter
16:40:02raptorin case we wanted to update first
16:40:02Watusimoto_ has joined
16:43:27Watusimoto Quit (Ping timeout: 272 seconds)
16:52:03raptortada!: http://bitfighter.org/atom.php
16:53:35raptorit's now an atom feed
16:53:47raptornot rss
16:54:01raptorbecause it was less stupid
16:54:19raptor'NuclearHellRaven' is playing!
17:02:18Watusimoto_whoa... that does not look good in a browser!
17:02:55raptor?
17:05:06raptorif you're referring to the feed... it's xml
17:05:08raptorwhat browser?
17:05:23raptorjust like rss.. i'd expect it to look ugly
17:21:00raptor Quit ()
17:21:24raptor has joined
17:21:24ChanServ sets mode +o
17:21:52raptorback in a few minutes... if you have the time, i asked a question earlier, here: http://bitfighter.org/irclogs/?date=2014-08-16#l28
17:25:16Watusimoto_--> so I'm wondering why we do immediate INI updates for some things but not others
17:25:45Watusimoto_when BF crashed a lot more, I wrote important settings to disk immediately so they wouldn't be lost
17:26:04Watusimoto_this is now less important (thank goodness) so we can probably just write on exit
17:26:30Watusimoto_or always write, as it's a cheap operation, and we'll never regret it
17:26:46Watusimoto_but crashiness was the reason for the writes
17:32:57Flynnn Quit (Quit: This computer has gone to sleep)
18:08:44Flynnn has joined
18:09:13raptorhi again
18:09:14raptorok
18:09:30raptorfor the Settings refactor -
18:09:51raptorit looks like the idea is to create setters/getters for the settings on the GameSettings object
18:10:35raptorbut there are set.. and save... methods for the same setting, one updates the GameSettings object, one updates the INI object and writes to disk
18:10:42raptorcould those be combined?
18:11:09raptorbasically there are 3 actions: update GameSettings, update INI object, write to disk
18:11:26raptormaybe the first 2 can always be coupled in the setter?
18:11:54raptorthen we only perform a write-to-disk on really important cases?
18:15:01Watusimoto_yes, combine the first two
18:15:11Watusimoto_I think that makes sense
18:18:55Watusimoto_time for bed... my schedule will remain chaotic until after Wed., when I will be back in the US
18:19:02Watusimoto_good night!!
18:19:16raptornight!
18:23:43Watusimoto_ Quit (Ping timeout: 264 seconds)
18:49:36Flynnn Quit (Quit: This computer has gone to sleep)
19:57:25Flynnn has joined
20:27:34Flynnn Quit (Quit: This computer has gone to sleep)
20:36:59BFLogBot Commit: e60d400319 | Author: buckyballreaction | Message: Migrate 3 more settings to the new system. Also added a setSetting() template method that we may want to use more.. What do you think?
20:51:24Flynnn has joined
21:32:49raptor Quit ()
21:32:59raptor has joined
21:32:59ChanServ sets mode +o
21:35:40raptor Quit (Client Quit)
21:36:37Akien Quit (Remote host closed the connection)
22:25:55raptor has joined
22:25:55ChanServ sets mode +o

Index Search ←Prev date Next date→

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