*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** bdefreese2 has joined #tp | 00:09 | |
*** bddebian has quit IRC | 00:09 | |
tansell | Greywhind, more comments posted | 00:12 |
---|---|---|
*** mithro_ has quit IRC | 00:29 | |
*** mithro has joined #tp | 00:32 | |
* llnz wanders off | 00:33 | |
llnz | bbl | 00:33 |
*** llnz has quit IRC | 00:33 | |
*** nash has quit IRC | 01:22 | |
Landon | tansell: I'll be back in ~30 minutes, my eyes are hurting, maybe a nap will help | 01:31 |
*** llnz has joined #tp | 01:32 | |
*** llnz2 has joined #tp | 02:19 | |
*** llnz has quit IRC | 02:19 | |
*** llnz2 is now known as llnz | 02:19 | |
* Landon is around now | 02:36 | |
tansell | Landon, so I was chatting with jmtan | 02:44 |
tansell | Landon, your original goal was to make a pretty battle viewer | 02:44 |
tansell | you have the battle viewer part down, but you still have yet to get the pretty part | 02:44 |
Landon | so you want me to focus more on the visible bits for the rest of the summer then? | 02:45 |
tansell | Landon, well there isn't much summer left right? | 02:47 |
Landon | oh, rightBright | 02:47 |
Landon | o.O | 02:47 |
Landon | right* | 02:47 |
Landon | as 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 models | 02:50 |
Landon | anything major I'm missing in that list? | 02:50 |
tansell | well torpedo's would come under the fire events right? | 02:55 |
Landon | right | 02:55 |
tansell | things like "arrival" animations? | 02:55 |
Landon | arrival? | 02:55 |
tansell | IE warp in, phase in, etc | 02:55 |
Landon | oh, like when the battle starts | 02:55 |
Landon | ok | 02:55 |
tansell | I'm disappointed that you have not yet got some nifty particle effects as weapons | 02:56 |
tansell | it should be pretty trivial to do | 02:56 |
Greywhind | do you happen to have any screenshots, Landon? i'm interested to see what you're working on | 02:57 |
Landon | Greywhind: the latest I have is a youtube video on my blog http://blog.lfowles.org | 02:57 |
tpb | Title: landon@destiny Log (at blog.lfowles.org) | 02:57 |
Landon | I should make another soon | 02:57 |
Landon | because the collision stuff is really cool | 02:58 |
Landon | (at least to me) | 02:58 |
Landon | (moving a planet into everyone else, hohoho) | 02:58 |
Greywhind | looks nice | 03:04 |
tansell | Landon, that's the same video I have already seen? | 03:07 |
Landon | yeah | 03:07 |
Landon | I haven't made a new one yet | 03:07 |
CIA-26 | landon tpclient-pyogre * r4e5a8089328c /src/move.py: Removed some debugging aids | 03:23 |
Landon | new video uploading | 03:39 |
*** Greywhind has quit IRC | 04:03 | |
tansell | Landon, url? | 04:06 |
Landon | http://www.youtube.com/watch?v=6lbu0jmHUCl | 04:07 |
tpb | Title: YouTube - Broadcast Yourself. (at www.youtube.com) | 04:07 |
Landon | oh, I guess its still processing | 04:07 |
*** jmtan has quit IRC | 04:11 | |
*** jmtan has joined #tp | 04:17 | |
Landon | oh, I think I copied that wrong | 04:20 |
Landon | its on my blog though | 04:20 |
Landon | http://blog.lfowles.org | 04:20 |
tpb | Title: landon@destiny Log (at blog.lfowles.org) | 04:20 |
*** mithro has quit IRC | 04:31 | |
Landon | hm, thought iW as going to hit an easy target tonight with particle fx | 04:57 |
Landon | guess not | 04:57 |
* Landon will be back tomorrow to conquer | 04:57 | |
*** jmtan has quit IRC | 05:16 | |
*** mithro has joined #tp | 07:07 | |
*** verhoevenv has joined #tp | 08:02 | |
* llnz wanders off | 08:16 | |
llnz | later all | 08:16 |
*** llnz has quit IRC | 08:16 | |
*** bdefreese2 is now known as bddebian | 08:20 | |
*** jmtan has joined #tp | 08:55 | |
CIA-26 | mavrinac web * r6b1a687e9251 / (5 files in 3 dirs): | 09:21 |
CIA-26 | Improved Google Code stats backend and output on main page side panel | 09:21 |
CIA-26 | (by Linkadmin / Xavier Spriet). | 09:22 |
*** mithro has quit IRC | 09:30 | |
ezod | oh crap. | 09:31 |
ezod | git is not storing proper permissions on directories | 09:32 |
CIA-26 | mavrinac web * r7ba486345e13 /utils/cache/.cache: Remove cache directory. | 09:35 |
CIA-26 | mavrinac web * r10d0f487779a /utils/cache/.cache: Attempt to re-add cache directory with 777 permissions. | 09:35 |
CIA-26 | mavrinac web * r0cadf063139e /index.php: Add exception handler (by Linkadmin / Xavier Spriet). | 09:36 |
Linkadmin | don't look at me... | 09:37 |
Linkadmin | >_> | 09:38 |
* Linkadmin whistles | 09:38 | |
CIA-26 | mavrinac web * rf0036c250f5c /utils/ (cache/.cache googleCodeStats.php): | 09:59 |
CIA-26 | Attempt to use ../tmp as cache dir, fail silently (by Linkadmin / Xavier | 09:59 |
CIA-26 | Spriet). | 09:59 |
ezod | argh | 10:02 |
ezod | who has access to the web server? | 10:02 |
*** mithro has joined #tp | 10:08 | |
shenki | ezod: the tp server? I do | 10:08 |
shenki | ezod: what's up? | 10:08 |
Linkadmin | the web-server user needs +w perm to either utils/cache or tmp/ or both | 10:10 |
ezod | there is no utils/cache anymore heh | 10:11 |
Linkadmin | ah ok | 10:11 |
ezod | additionally, it needs to not lose +w on the next pull from git ;) | 10:12 |
Linkadmin | we don't need to maintain the cache on the actual www path, it could be anywhere where the www user has +w permission | 10:18 |
shenki | hrm, i don't know what you guys are upto | 10:22 |
shenki | if you want it done tonight, explain it to me | 10:22 |
shenki | otherwise wait 8 hours until mithro is awake again and get him to help you | 10:22 |
ezod | shenki: it's for google code stats on the sidebar on index.php | 10:27 |
ezod | issue tracker | 10:27 |
ezod | it needs to cache the data from google | 10:27 |
ezod | the code is already in place, but it's failing due to lack of write perms | 10:28 |
ezod | and git won't store the proper perms :( | 10:29 |
shenki | hrm. i can't find where this cache dir is on the server | 10:30 |
ezod | right now it's pointing at tmp/ in the web root | 10:30 |
ezod | (root of the git repo part of web, i mean) | 10:30 |
shenki | how does the git stuff get checked out into /srv/www/thousandparsec, do you guys know? | 10:31 |
ezod | shenki: far as i know, it's a 15min cron job | 10:31 |
Linkadmin | it appears to be a cron job that runs on a 15min interval | 10:31 |
shenki | i see | 10:31 |
shenki | heh, this is aweosme | 10:32 |
* shenki put in a SoC proposal to re-do the website | 10:32 | |
shenki | but i was also accepted for chromium | 10:32 |
Linkadmin | nice | 10:32 |
shenki | glad i chose chromium, this stuff is scary :) | 10:32 |
Linkadmin | lol | 10:32 |
shenki | ok, so the ../tmp is a bad idea | 10:33 |
ezod | give me a path and i'll change it ;) | 10:33 |
shenki | change it back to cache, and i will tweak the perms of the dir so you can write there | 10:33 |
Linkadmin | kk | 10:33 |
shenki | oh, /cache | 10:33 |
ezod | is it going to be overwritten by git checkout though? | 10:33 |
shenki | hrm. is that relative to the webserver root, or the git repo root, or /srv/www, or ...? | 10:34 |
ezod | relative to utils/ | 10:34 |
shenki | ah, that's okay then | 10:34 |
Linkadmin | but we can make it absolute and point it wherever you want | 10:34 |
mithro | so I should be in bed | 10:34 |
ezod | right | 10:34 |
mithro | but the tmp is where the old sf scraper stored the value | 10:34 |
Linkadmin | right | 10:35 |
shenki | mithro: go to bed. let me break the webserver on my own. | 10:35 |
Linkadmin | that's why i picked that one | 10:35 |
mithro | (and other scrapers store stuff there) | 10:35 |
Linkadmin | yeah | 10:35 |
ezod | mithro: it appears webserver can't write there though | 10:35 |
shenki | the tp user can write there | 10:35 |
mithro | doing the scraping should be a seperate process to displaying the website | 10:35 |
mithro | hence the web server shouldn't have to write to tmp | 10:36 |
ezod | mithro: Linkadmin has it set up to cache from the php script | 10:36 |
mithro | ezod: so that's the wrong method - we should have a scraper which does the download | 10:36 |
mithro | that way even if the server is acting up it doesn't slow down our website | 10:36 |
mithro | (the server that you are scraping) | 10:37 |
shenki | (the server acts up often) | 10:37 |
mithro | anyway I should be gone | 10:39 |
mithro | see ya! | 10:39 |
shenki | *poof* | 10:39 |
shenki | mitho dissapears ina puff of smoke | 10:39 |
shenki | ezod, Linkadmin: so, did you read that as 'need to write a cron job?' | 10:41 |
Linkadmin | yes. :-\ | 10:41 |
Linkadmin | that being said, those HTTP requests are non-blocking | 10:42 |
Linkadmin | so in the event of the google code server acting up, it shouldn't break | 10:42 |
Linkadmin | also, the reason we are using caching is specifically to prevent being at the mercy of the google server's reliability | 10:43 |
Linkadmin | but it's still a valid point | 10:43 |
shenki | mmm | 10:44 |
* ezod bbiab | 10:45 | |
Linkadmin | the 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 |
shenki | okay | 10:45 |
shenki | feel free to cc me in to any codereviews | 10:46 |
Linkadmin | sure | 10:46 |
shenki | oh, and it looks like i even called myself 'shenki' on codereview.mithis.com. how conveniant | 10:46 |
*** verhoevenv_ has joined #tp | 10:50 | |
*** verhoevenv has quit IRC | 10:51 | |
*** verhoevenv_ has quit IRC | 10:51 | |
*** verhoevenv has joined #tp | 10:53 | |
Linkadmin | shenki: i've got the cron script ready. Should it still write in utils/cache/ ? | 10:56 |
shenki | err, use the same location as the old stuff | 10:56 |
shenki | so tmp | 10:56 |
Linkadmin | ok | 10:56 |
shenki | which is at the root of the tp web stuff | 10:56 |
shenki | or one dir up form utils, whichever is cleanest to access | 10:56 |
Linkadmin | yeah got it | 10:57 |
shenki | i gotta go to bed. goodluck, ttyl | 10:58 |
Linkadmin | cya | 10:59 |
CIA-26 | mavrinac web * rec8897788c56 /utils/ (cache_google_data.php googleCodeStats.php): Generate google data cache through cron (by Linkadmin / Xavier Spriet). | 11:00 |
ezod | we need a cron job for cache_google_data.php | 11:01 |
shenki | a php cron job?! hrm | 11:02 |
shenki | python is a good langauge for scraping data. | 11:02 |
Linkadmin | php -f | 11:02 |
Linkadmin | well all the code is already written | 11:02 |
shenki | ok, you can convice mithro :D | 11:03 |
Linkadmin | google_cache_data.php is 3 lines that completely re-use the current system and just re-syncs the cache | 11:03 |
Linkadmin | so i see zero technical reason why everything should be completely re-written to do exactly the same work in a different language? | 11:04 |
Linkadmin | just so we can use csv.reader() instead of str_getcsv(file()) | 11:05 |
*** tuna-fish has quit IRC | 11:07 | |
ezod | i don't see the problem... | 11:09 |
shenki | if mithro doesn't have a problem then it's fine | 11:09 |
Linkadmin | k | 11:09 |
*** nebajoth has joined #tp | 11:17 | |
nebajoth | Y HALO THAR | 11:18 |
CIA-26 | mavrinac web * r221b2a4a37eb / (3 files in 2 dirs): | 11:36 |
CIA-26 | In Google stats, use long cache expiry for web and immediate cache | 11:36 |
CIA-26 | expiry for cron (by Linkadmin / Xavier Spriet). | 11:36 |
CIA-26 | mavrinac web * r6cb1e7c69282 /utils/googleCodeStats.php: Fix dot/comma typo. | 11:38 |
*** Greywhind has joined #tp | 12:00 | |
*** Erroneous has joined #tp | 13:35 | |
*** verhoevenv_ has joined #tp | 15:20 | |
*** verhoevenv has quit IRC | 15:27 | |
*** verhoevenv_ has quit IRC | 15:57 | |
*** llnz has joined #tp | 16:07 | |
llnz | morning all | 16:12 |
*** verhoevenv has joined #tp | 16:23 | |
Landon | morning | 17:14 |
Landon | llnz, in battlexml, how would you suggest adding move events? | 17:14 |
Landon | so I can at the very least put it in as a todo comment | 17:14 |
llnz | add move events to the battlexml xml format? i though it was in there already | 17:15 |
Landon | right, theyre in the dtd | 17:15 |
Landon | <!ELEMENT position (#PCDATA) > | 17:15 |
Landon | but 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 |
llnz | it could be that, or the current battlexml branch has it without the brackets | 17:18 |
llnz | can be changed easily | 17:18 |
Landon | ok | 17:18 |
llnz | Landon: any other plans for battlexml? | 17:26 |
Landon | I an't think of anything right now, that was the only major thing I saw missing from the parser | 17:27 |
llnz | have you given any thought as to how the client gets the battlexml file from the server? | 17:33 |
Landon | no :o | 17:34 |
Landon | I thought there were already mechanisms for that? | 17:34 |
*** cherez has quit IRC | 17:36 | |
*** cherez has joined #tp | 17:37 | |
llnz | nope | 17:37 |
*** Vadtec has quit IRC | 18:55 | |
*** mithro has quit IRC | 20:03 | |
*** verhoevenv has quit IRC | 20:08 | |
*** nash has joined #tp | 20:08 | |
*** mithro has joined #tp | 20:40 | |
ezod | mithro: utils/cache_google_data.php in web can be run by cron (php -f) to populate the cache with google issue tracker data | 20:45 |
mithro | okay | 20:45 |
mithro | so it needs to be added to the update script | 20:45 |
ezod | update.sh? | 20:46 |
ezod | it doesn't look like the sf.net stuff is done from there, i wasn't sure | 20:47 |
llnz | ezod: look in rss-get.sh | 21:14 |
llnz | i seem to recall that update-quite.sh and rss-get.sh were scheduled separately | 21:15 |
*** llnz2 has joined #tp | 22:16 | |
*** llnz has quit IRC | 22:16 | |
*** llnz2 is now known as llnz | 22:16 | |
CIA-26 | mavrinac web * r92dad0af3093 /utils/rss-get.sh: Add Google Code stats cache update to rss-get script. | 22:40 |
*** Erroneous has quit IRC | 22:54 | |
*** JLP has quit IRC | 23:34 | |
*** bddebian has quit IRC | 23:45 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!