Wednesday, 2009-07-29

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** bdefreese2 has joined #tp00:09
*** bddebian has quit IRC00:09
tansellGreywhind, more comments posted00:12
*** mithro_ has quit IRC00:29
*** mithro has joined #tp00:32
* llnz wanders off00:33
llnzbbl00:33
*** llnz has quit IRC00:33
*** nash has quit IRC01:22
Landontansell: I'll be back in ~30 minutes, my eyes are hurting, maybe a nap will help01:31
*** llnz has joined #tp01:32
*** llnz2 has joined #tp02:19
*** llnz has quit IRC02:19
*** llnz2 is now known as llnz02:19
* Landon is around now02:36
tansellLandon, so I was chatting with jmtan02:44
tansellLandon, your original goal was to make a pretty battle viewer02:44
tansellyou have the battle viewer part down, but you still have yet to get the pretty part02:44
Landonso you want me to focus more on the visible bits for the rest of the summer then?02:45
tansellLandon, well there isn't much summer left right?02:47
Landonoh, rightBright02:47
Landono.O02:47
Landonright*02:47
Landonas far as prettying up, I'm looking at my task manager and I see: sound, more types of fire events, look into particle effects for move/fire events, damage indicators/ship status overlay, fixing/finding new ship models02:50
Landonanything major I'm missing in that list?02:50
tansellwell torpedo's would come under the fire events right?02:55
Landonright02:55
tansellthings like "arrival" animations?02:55
Landonarrival?02:55
tansellIE warp in, phase in, etc02:55
Landonoh, like when the battle starts02:55
Landonok02:55
tansellI'm disappointed that you have not yet got some nifty particle effects as weapons02:56
tansellit should be pretty trivial to do02:56
Greywhinddo you happen to have any screenshots, Landon? i'm interested to see what you're working on02:57
LandonGreywhind: the latest I have is a youtube video on my blog http://blog.lfowles.org02:57
tpbTitle: landon@destiny Log (at blog.lfowles.org)02:57
LandonI should make another soon02:57
Landonbecause the collision stuff is really cool02:58
Landon(at least to me)02:58
Landon(moving a planet into everyone else, hohoho)02:58
Greywhindlooks nice03:04
tansellLandon, that's the same video I have already seen?03:07
Landonyeah03:07
LandonI haven't made a new one yet03:07
CIA-26landon tpclient-pyogre * r4e5a8089328c /src/move.py: Removed some debugging aids03:23
Landonnew video uploading03:39
*** Greywhind has quit IRC04:03
tansellLandon, url?04:06
Landonhttp://www.youtube.com/watch?v=6lbu0jmHUCl04:07
tpbTitle: YouTube - Broadcast Yourself. (at www.youtube.com)04:07
Landonoh, I guess its still processing04:07
*** jmtan has quit IRC04:11
*** jmtan has joined #tp04:17
Landonoh, I think I copied that wrong04:20
Landonits on my blog though04:20
Landonhttp://blog.lfowles.org04:20
tpbTitle: landon@destiny Log (at blog.lfowles.org)04:20
*** mithro has quit IRC04:31
Landonhm, thought iW as going to hit an easy target tonight with particle fx04:57
Landonguess not04:57
* Landon will be back tomorrow to conquer04:57
*** jmtan has quit IRC05:16
*** mithro has joined #tp07:07
*** verhoevenv has joined #tp08:02
* llnz wanders off08:16
llnzlater all08:16
*** llnz has quit IRC08:16
*** bdefreese2 is now known as bddebian08:20
*** jmtan has joined #tp08:55
CIA-26mavrinac web * r6b1a687e9251 / (5 files in 3 dirs):09:21
CIA-26Improved Google Code stats backend and output on main page side panel09:21
CIA-26(by Linkadmin / Xavier Spriet).09:22
*** mithro has quit IRC09:30
ezodoh crap.09:31
ezodgit is not storing proper permissions on directories09:32
CIA-26mavrinac web * r7ba486345e13 /utils/cache/.cache: Remove cache directory.09:35
CIA-26mavrinac web * r10d0f487779a /utils/cache/.cache: Attempt to re-add cache directory with 777 permissions.09:35
CIA-26mavrinac web * r0cadf063139e /index.php: Add exception handler (by Linkadmin / Xavier Spriet).09:36
Linkadmindon't look at me...09:37
Linkadmin>_>09:38
* Linkadmin whistles09:38
CIA-26mavrinac web * rf0036c250f5c /utils/ (cache/.cache googleCodeStats.php):09:59
CIA-26Attempt to use ../tmp as cache dir, fail silently (by Linkadmin / Xavier09:59
CIA-26Spriet).09:59
ezodargh10:02
ezodwho has access to the web server?10:02
*** mithro has joined #tp10:08
shenkiezod: the tp server? I do10:08
shenkiezod: what's up?10:08
Linkadminthe web-server user needs +w perm to either utils/cache or tmp/ or both10:10
ezodthere is no utils/cache anymore heh10:11
Linkadminah ok10:11
ezodadditionally, it needs to not lose +w on the next pull from git ;)10:12
Linkadminwe don't need to maintain the cache on the actual www path, it could be anywhere where the www user has +w permission10:18
shenkihrm, i don't know what you guys are upto10:22
shenkiif you want it done tonight, explain it to me10:22
shenkiotherwise wait 8 hours until mithro is awake again and get him to help you10:22
ezodshenki: it's for google code stats on the sidebar on index.php10:27
ezodissue tracker10:27
ezodit needs to cache the data from google10:27
ezodthe code is already in place, but it's failing due to lack of write perms10:28
ezodand git won't store the proper perms :(10:29
shenkihrm. i can't find where this cache dir is on the server10:30
ezodright now it's pointing at tmp/ in the web root10:30
ezod(root of the git repo part of web, i mean)10:30
shenkihow does the git stuff get checked out into /srv/www/thousandparsec, do you guys know?10:31
ezodshenki: far as i know, it's a 15min cron job10:31
Linkadminit appears to be a cron job that runs on a 15min interval10:31
shenkii see10:31
shenkiheh, this is aweosme10:32
* shenki put in a SoC proposal to re-do the website10:32
shenkibut i was also accepted for chromium10:32
Linkadminnice10:32
shenkiglad i chose chromium, this stuff is scary :)10:32
Linkadminlol10:32
shenkiok, so the ../tmp is a bad idea10:33
ezodgive me a path and i'll change it ;)10:33
shenkichange it back to cache, and i will tweak the perms of the dir so you can write there10:33
Linkadminkk10:33
shenkioh, /cache10:33
ezodis it going to be overwritten by git checkout though?10:33
shenkihrm. is that relative to the webserver root, or the git repo root, or /srv/www, or ...?10:34
ezodrelative to utils/10:34
shenkiah, that's okay then10:34
Linkadminbut we can make it absolute and point it wherever you want10:34
mithroso I should be in bed10:34
ezodright10:34
mithrobut the tmp is where the old sf scraper stored the value10:34
Linkadminright10:35
shenkimithro: go to bed. let me break the webserver on my own.10:35
Linkadminthat's why i picked that one10:35
mithro(and other scrapers store stuff there)10:35
Linkadminyeah10:35
ezodmithro: it appears webserver can't write there though10:35
shenkithe tp user can write there10:35
mithrodoing the scraping should be a seperate process to displaying the website10:35
mithrohence the web server shouldn't have to write to tmp10:36
ezodmithro: Linkadmin has it set up to cache from the php script10:36
mithroezod: so that's the wrong method - we should have a scraper which does the download10:36
mithrothat way even if the server is acting up it doesn't slow down our website10:36
mithro(the server that you are scraping)10:37
shenki(the server acts up often)10:37
mithroanyway I should be gone10:39
mithrosee ya!10:39
shenki*poof*10:39
shenkimitho dissapears ina  puff of smoke10:39
shenkiezod, Linkadmin: so, did you read that as 'need to write a cron job?'10:41
Linkadminyes.  :-\10:41
Linkadminthat being said, those HTTP requests are non-blocking10:42
Linkadminso in the event of the google code server acting up, it shouldn't break10:42
Linkadminalso, the reason we are using caching is specifically to prevent being at the mercy of the google server's reliability10:43
Linkadminbut it's still a valid point10:43
shenkimmm10:44
* ezod bbiab10:45
Linkadminthe worst-case scenario since we are only refreshing the cache every 10min currently, is that one request every 10min takes longer than the others, which is why we need +w perm. But i'll see about refactoring it to run from cron instead.10:45
shenkiokay10:45
shenkifeel free to cc me in to any codereviews10:46
Linkadminsure10:46
shenkioh, and it looks like i even called myself 'shenki' on codereview.mithis.com. how conveniant10:46
*** verhoevenv_ has joined #tp10:50
*** verhoevenv has quit IRC10:51
*** verhoevenv_ has quit IRC10:51
*** verhoevenv has joined #tp10:53
Linkadminshenki: i've got the cron script ready. Should it still write in utils/cache/ ?10:56
shenkierr, use the same location as the old stuff10:56
shenkiso tmp10:56
Linkadminok10:56
shenkiwhich is at the root of the tp web stuff10:56
shenkior one dir up form utils, whichever is cleanest to access10:56
Linkadminyeah got it10:57
shenkii gotta go to bed. goodluck, ttyl10:58
Linkadmincya10:59
CIA-26mavrinac web * rec8897788c56 /utils/ (cache_google_data.php googleCodeStats.php): Generate google data cache through cron (by Linkadmin / Xavier Spriet).11:00
ezodwe need a cron job for cache_google_data.php11:01
shenkia php cron job?! hrm11:02
shenkipython is a good langauge for scraping data.11:02
Linkadminphp -f11:02
Linkadminwell all the code is already written11:02
shenkiok, you can convice mithro :D11:03
Linkadmingoogle_cache_data.php is 3 lines that completely re-use the current system and just re-syncs the cache11:03
Linkadminso i see zero technical reason why everything should be completely re-written to do exactly the same work in a different language?11:04
Linkadminjust so we can use csv.reader() instead of str_getcsv(file())11:05
*** tuna-fish has quit IRC11:07
ezodi don't see the problem...11:09
shenkiif mithro doesn't have a problem then it's fine11:09
Linkadmink11:09
*** nebajoth has joined #tp11:17
nebajothY HALO THAR11:18
CIA-26mavrinac web * r221b2a4a37eb / (3 files in 2 dirs):11:36
CIA-26In Google stats, use long cache expiry for web and immediate cache11:36
CIA-26expiry for cron (by Linkadmin / Xavier Spriet).11:36
CIA-26mavrinac web * r6cb1e7c69282 /utils/googleCodeStats.php: Fix dot/comma typo.11:38
*** Greywhind has joined #tp12:00
*** Erroneous has joined #tp13:35
*** verhoevenv_ has joined #tp15:20
*** verhoevenv has quit IRC15:27
*** verhoevenv_ has quit IRC15:57
*** llnz has joined #tp16:07
llnzmorning all16:12
*** verhoevenv has joined #tp16:23
Landonmorning17:14
Landonllnz, in battlexml, how would you suggest adding move events?17:14
Landonso I can at the very least put it in as a todo comment17:14
llnzadd move events to the battlexml xml format? i though it was in there already17:15
Landonright, theyre in the dtd17:15
Landon<!ELEMENT position (#PCDATA) >17:15
Landonbut how is that going to be formatted? something like (x,y,z)17:15
Landon?17:15
Landon(I'm guessing #PCDATA means it's pretty much freeform)17:16
llnzit could be that, or the current battlexml branch has it without the brackets17:18
llnzcan be changed easily17:18
Landonok17:18
llnzLandon: any other plans for battlexml?17:26
LandonI an't think of anything right now, that was the only major  thing I saw missing from the parser17:27
llnzhave you given any thought as to how the client gets the battlexml file from the server?17:33
Landonno :o17:34
LandonI thought there were already mechanisms for that?17:34
*** cherez has quit IRC17:36
*** cherez has joined #tp17:37
llnznope17:37
*** Vadtec has quit IRC18:55
*** mithro has quit IRC20:03
*** verhoevenv has quit IRC20:08
*** nash has joined #tp20:08
*** mithro has joined #tp20:40
ezodmithro: utils/cache_google_data.php in web can be run by cron (php -f) to populate the cache with google issue tracker data20:45
mithrookay20:45
mithroso it needs to be added to the update script20:45
ezodupdate.sh?20:46
ezodit doesn't look like the sf.net stuff is done from there, i wasn't sure20:47
llnzezod: look in rss-get.sh21:14
llnzi seem to recall that update-quite.sh and rss-get.sh were scheduled separately21:15
*** llnz2 has joined #tp22:16
*** llnz has quit IRC22:16
*** llnz2 is now known as llnz22:16
CIA-26mavrinac web * r92dad0af3093 /utils/rss-get.sh: Add Google Code stats cache update to rss-get script.22:40
*** Erroneous has quit IRC22:54
*** JLP has quit IRC23:34
*** bddebian has quit IRC23:45

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!