Config
Log for #openttdcoop.devzone on 19th February 2013:
Times are UTC Toggle Colours
05:18:20  *** Webster has joined #openttdcoop.devzone
05:18:39  *** XeryusTC has joined #openttdcoop.devzone
05:18:39  *** Terkhen has joined #openttdcoop.devzone
05:19:09  *** avdg has joined #openttdcoop.devzone
05:19:09  *** Yexo has joined #openttdcoop.devzone
05:19:23  *** MinchinWeb has joined #openttdcoop.devzone
05:20:09  *** tneo has joined #openttdcoop.devzone
05:20:09  *** Hirundo has joined #openttdcoop.devzone
05:20:39  *** Ammler has joined #openttdcoop.devzone
05:21:08  *** SmatZ has joined #openttdcoop.devzone
05:21:12  *** Rubidium has joined #openttdcoop.devzone
05:22:09  *** V453000 has joined #openttdcoop.devzone
05:24:39  *** ^Spike^ has joined #openttdcoop.devzone
05:40:07  *** orudge has joined #openttdcoop.devzone
06:06:24  <Brot6> Progressive Train Set - Revision 8:3790d9f864f8: [Change] Revert OpenGFX+ Trains and wagons to their... XMinchinWebX @ http://dev.openttdcoop.org/projects/progressivetrains/repository/revisions/3790d9f864f8
08:11:32  *** Supercheese has quit IRC
08:12:03  *** Supercheese has joined #openttdcoop.devzone
08:14:12  <Brot6> FISH - container_feeder.png XandythenorthX @ http://dev.openttdcoop.org/attachments/download/3815/container_feeder.png
08:20:35  <Brot6> FISH - container_feeder_2.png XandythenorthX @ http://dev.openttdcoop.org/attachments/download/3818/container_feeder_2.png
08:25:44  <Brot6> FISH - container_feeder_3.png XandythenorthX @ http://dev.openttdcoop.org/attachments/download/3821/container_feeder_3.png
08:28:50  <Brot6> FISH - container_feeder_4.png XandythenorthX @ http://dev.openttdcoop.org/attachments/download/3824/container_feeder_4.png
08:31:45  <Brot6> FISH - Revision 1000:dde6d6d5eca4: Change: improve Container Feeder by removing subtype capacity ref... XandythenorthX @ http://dev.openttdcoop.org/projects/fish/repository/revisions/dde6d6d5eca4
08:31:53  <Brot6> fish: update from r999 to r1000 done (3 warnings) - http://bundles.openttdcoop.org/fish/push/r1000
08:45:11  *** Supercheese has quit IRC
17:18:23  <Brot6> progressivetrains: update from r6 to r8 done (23 warnings) - http://bundles.openttdcoop.org/progressivetrains/nightlies/r8
17:21:10  <Brot6> firs: update from r3384 to r3392 done (19 warnings) - http://bundles.openttdcoop.org/firs/nightlies/r3392
17:22:45  <Brot6> fish: update from r991 to r1000 done (3 warnings) - http://bundles.openttdcoop.org/fish/nightlies/r1000
18:18:11  *** Alberth has joined #openttdcoop.devzone
18:46:04  *** frosch123 has joined #openttdcoop.devzone
19:04:38  *** Supercheese has joined #openttdcoop.devzone
19:29:20  *** andythenorth has joined #openttdcoop.devzone
19:29:35  <andythenorth> planetmaker: any clues why the bundle server has built FIRS with italian texts? :P
19:29:40  <andythenorth> have I broken lang somehow?
19:29:48  <Supercheese> check langids?
19:30:10  <andythenorth> italian has 0x01
19:30:13  <andythenorth> hrmm
19:30:20  <andythenorth> one day we might start reading translation files :P
19:30:24  <Supercheese> well
19:30:28  <Supercheese> there you go :D
19:30:40  <Supercheese> problem solved
19:34:11  <Alberth> I do check submitted translation files :)
19:35:17  <andythenorth> I don't
19:35:24  <andythenorth> curl, build, commit :P
19:35:39  <andythenorth> it's a handy attack vector if you want to root my laptop :P
19:35:46  <^Spike^> .... :)
19:35:58  <^Spike^> so not that hard ;)
19:35:59  <Alberth> no doubt it's much faster than my approach :)
19:36:23  <^Spike^> andythenorth even worse, i can get it in there without ppl noticing ;) (gotta love being sysadmin ;))
19:37:16  <andythenorth> the FISH lang files can actually contain executable python
19:37:25  <andythenorth> and are rendered, then output written to disk
19:37:30  <^Spike^> don't make it too easy :D
19:37:33  <andythenorth> so it's a nice exploit if you can be bothered
19:37:48  <^Spike^> well already heard my fun last week with a load balancer we use at work...
19:37:58  <^Spike^> the health monitor scripts are run as root.....
19:38:05  <^Spike^> so during the course someone decided to use that :)
19:38:15  <^Spike^> oeh.... ssh connection :)
19:44:16  <Brot6> FIRS Industry Replacement Set - Revision 3393:709d57a31a6a: Fix: Italian lang file had wrong lang ID XandythenorthX @ http://dev.openttdcoop.org/projects/firs/repository/revisions/709d57a31a6a
19:45:30  <Brot6> firs: update from r3391 to r3393 done (19 warnings) - http://bundles.openttdcoop.org/firs/push/r3393
20:26:20  <Brot6> NewGRF Meta Language - Patch #4997 (New): Different language files can have the same ##grflangid XAlberthX @ http://dev.openttdcoop.org/issues/4997
20:33:09  <andythenorth> ^ :)
20:33:13  <Brot6> FISH - Revision 1001:09329565cf78: Change: set min compatible version to 1000, because I scribbled a... XandythenorthX @ http://dev.openttdcoop.org/projects/fish/repository/revisions/09329565cf78
20:33:29  <Brot6> fish: update from r1000 to r1001 done (3 warnings) - http://bundles.openttdcoop.org/fish/push/r1001
20:33:33  <Alberth> I am also bored :p
20:33:45  <andythenorth> Alberth: got the patch in a version I can curl?
20:33:55  <andythenorth> pasting from browsers is 'meh'
20:34:01  <andythenorth> I'll test it :P
20:34:16  <andythenorth> we should just play a 1hr GS
20:34:48  <Alberth>  http://devs.openttd.org/~alberth/curl.patch     curl the curl patch :)
20:35:26  <andythenorth> oops
20:35:31  <andythenorth> forgot my virtualenv
20:36:47  <andythenorth> tests pass
20:36:55  <Alberth> pushed a firs change in polish
20:37:46  <Brot6> FIRS Industry Replacement Set - Revision 3394:d97823faccbe: Fix: Typo in string command of polish la... XAlberthX @ http://dev.openttdcoop.org/projects/firs/repository/revisions/d97823faccbe
20:38:29  <Brot6> firs: update from r3393 to r3394 done (18 warnings) - http://bundles.openttdcoop.org/firs/push/r3394
20:41:16  <andythenorth> hmm
20:42:16  <andythenorth> oops
20:44:23  <Alberth> croatian is still broken, it seems to have done some encoding fixes only
20:45:19  <Brot6> NewGRF Meta Language - Patch #4997: Different language files can have the same ##grflangid XandythenorthX @ http://dev.openttdcoop.org/issues/4997#change-13358
20:45:38  <andythenorth> ^ can that be commited then?
20:45:44  <andythenorth> committed *
20:46:02  <Alberth> oh, you even tested the nml tests? :)
20:46:16  <andythenorth> I didn't test they're correct
20:46:20  <andythenorth> just that they pass :)
20:46:53  <Alberth> I didn't run them at all :)
20:46:58  <andythenorth> I usually do
20:47:01  <andythenorth> I like tests :)
20:47:15  <andythenorth> I guess I'll fix some FIRS lang too
20:47:18  <andythenorth> welsh
20:47:53  <andythenorth> hmm
20:47:58  <andythenorth> I don't speak welsh
20:47:59  <Alberth> perhaps you should point to the translations overview instead
20:49:07  <andythenorth> :P
20:49:20  <andythenorth> where's this translator thing?  Did I check it out already?
20:49:22  <andythenorth> let's see
20:50:24  <andythenorth> eints?
20:52:45  <andythenorth> Alberth: how do I start it / is there a readme?
20:53:04  <Alberth> ./run    no
20:53:23  <Alberth> point your browser at http://localhost:8000/
20:53:34  <andythenorth> is it python 3?
20:53:45  <Alberth> oh sorry, yes it is
20:53:57  <andythenorth> my python 2.6 virtualenv won't work then :)
20:54:25  <Alberth> it's unlikely indeed :)
20:55:30  <andythenorth> do I have to add something in root_dir/projects?
20:56:27  <andythenorth> Alberth: ^
20:57:00  <Alberth> no, afaik
20:57:09  <Alberth> although I have never tested that :p
20:58:48  <andythenorth> http://paste.openttdcoop.org/show/2130/
20:58:48  <Alberth>  /language  pages are mostly broken, just click at a string name
21:01:59  <Alberth> that's a hg problem, you cannot store empty directories in it :)
21:02:33  <andythenorth> ok
21:02:35  <Alberth> officially, you should edit the config file, and decide where to put your data
21:03:16  <andythenorth> ok so it's running
21:03:18  <andythenorth> it's fast
21:03:31  <Alberth> with no data it's always fast :)
21:03:47  <andythenorth> now I have to learn how bottle templates
21:04:01  <Alberth> make a project, then upload the base language file, then some translations
21:04:21  <andythenorth> the .tpl files are the html?
21:04:27  <Alberth> yes
21:04:35  <andythenorth> k
21:04:51  <andythenorth> any idea where to keep static assets (css etc)
21:05:00  <andythenorth> usually a /static dir somewhere
21:06:24  <Alberth> http://bottlepy.org/docs/stable/tutorial.html#static-files
21:06:25  <Webster> Title: Tutorial Bottle 0.11.6 documentation (at bottlepy.org)
21:06:59  <andythenorth> k
21:07:04  <andythenorth> probably /static in root then
21:07:26  <Alberth> would be fine
21:09:22  <andythenorth> any idea where I add the static routes?
21:09:29  <andythenorth> is there a base / main class?
21:10:33  <andythenorth> or do they have to be added to the class for every page?
21:10:38  * andythenorth wonders
21:11:27  <andythenorth> ah
21:11:37  <andythenorth> there's no concept of 'main_template' currently
21:11:54  <Alberth> main.py would be fine to add that  def
21:12:41  * andythenorth is looking at %rebase
21:12:51  <andythenorth> http://bottlepy.org/docs/dev/stpl.html
21:12:52  <Webster> Title: SimpleTemplate Engine Bottle 0.12-dev documentation (at bottlepy.org)
21:13:10  <Alberth> http://bottlepy.org/docs/stable/tutorial.html#tutorial-static-files    can also set mime types, apparently
21:13:11  <Webster> Title: Tutorial Bottle 0.11.6 documentation (at bottlepy.org)
21:15:07  * andythenorth experiments
21:15:12  <Alberth> neat feature :)
21:17:11  <andythenorth> ok
21:17:14  <andythenorth> got a main template working
21:17:18  <andythenorth> herm
21:17:26  <andythenorth> I'll set all templates to use that
21:19:42  <andythenorth> bottle needs a --reload method
21:19:44  <andythenorth> maybe it has one
21:21:42  <andythenorth> hmm
21:21:47  <andythenorth> it has one but I can't figure it out
21:22:07  <andythenorth> http://bottlepy.org/docs/stable/tutorial.html#auto-reloading
21:22:08  <Webster> Title: Tutorial Bottle 0.11.6 documentation (at bottlepy.org)
21:23:32  <Brot6> FIRS Industry Replacement Set - Revision 3395:942eba8bb504: Change: update Swedish translation (NGC3... XandythenorthX @ http://dev.openttdcoop.org/projects/firs/repository/revisions/942eba8bb504
21:24:38  <Brot6> firs: update from r3394 to r3395 done (17 warnings) - http://bundles.openttdcoop.org/firs/push/r3395
21:27:22  <Alberth> I just restart the server instead
21:27:33  <andythenorth> me too
21:27:34  <andythenorth> boring :)
21:27:40  <andythenorth> also 'ow' at your html :)
21:27:49  <Alberth> ow ?
21:27:50  <andythenorth> it must have the same effect as reading my python does on you
21:28:08  <andythenorth> :)
21:29:29  *** frosch123 has quit IRC
21:29:40  <Alberth> oh, you need all kinds of classes of stuff I guess
21:30:01  <andythenorth> it's the indentation that hurts :)
21:30:19  <andythenorth> or lack of
21:30:25  <Alberth> mixed Python + html is bad :)
21:30:29  <andythenorth> anyway, that's my job to fix
21:30:39  <andythenorth> I am used to looking at stuff like this :P
21:30:49  <andythenorth> it's why my python dicts etc format like html :P
21:30:56  <Alberth> :)
21:31:48  <andythenorth> how do I give a project a name attr?
21:31:59  <andythenorth> hmm
21:32:04  <Alberth> ?
21:32:13  <andythenorth> actually no object
21:32:14  <andythenorth> AttributeError: 'NoneType' object has no attribute 'name'
21:32:29  <Alberth> he's right about that one :)
21:32:38  <andythenorth> more context
21:32:51  <andythenorth> http://pastebin.com/Vsa3CZdU
21:33:54  <Alberth> oh, that looks like a bug, loading a project without base language?
21:34:27  <andythenorth> I haven't configured anything, other than 'create new project'
21:34:43  <andythenorth> do I need to do anything on filesystem for a project?
21:35:06  <Alberth> ah right, and you need to visit project for the  'upload a language' link :D
21:35:15  <Alberth> let me find the url for you
21:35:23  <andythenorth> upload_lan
21:35:28  <andythenorth> upload_lang *
21:35:36  <andythenorth> hmm not
21:35:53  <Alberth> /upload/<proj_name>
21:36:04  <andythenorth> got it
21:36:10  <andythenorth> bottle is very easy to figure out :)
21:36:31  <andythenorth> 'project has no base language'
21:36:45  <andythenorth> error after upload
21:36:49  <andythenorth> on submit
21:36:57  <Alberth> tick the "uploading a base language" check box
21:37:41  <andythenorth> win
21:37:46  <andythenorth> hey ho
21:37:50  <andythenorth> more stuff works :)
21:38:10  <andythenorth> interesting routing
21:38:17  <andythenorth> verb/object
21:38:21  <andythenorth> rather than object/verb
21:38:38  <Alberth> the nice thing is that everything is stateless, you can simply do 'reload' in your browser with just about any page
21:38:53  <Alberth> bottle does not understand common prefixes very well
21:39:41  <andythenorth> I need a .hgignore for .pyx
21:39:43  <andythenorth> .pyc
21:40:13  <andythenorth> done
21:41:28  <Alberth> I think I have a global setting for that, but I cannot find it so fast
21:41:35  <andythenorth> two commits
21:41:40  <Alberth> k
21:41:41  <andythenorth> did I break it? :P
21:41:46  <andythenorth> quite possibly
21:42:02  <Alberth> it was already not really working :p
21:42:07  <Brot6> Webtranslator - Revision 22:a43502df330d: Codechange: add .pyc to ignored files XandythenorthX @ http://dev.openttdcoop.org/projects/eints/repository/revisions/a43502df330d
21:42:08  <Brot6> Webtranslator - Revision 23:16456e131fc6: Codechange: convert all views to use main_template XandythenorthX @ http://dev.openttdcoop.org/projects/eints/repository/revisions/16456e131fc6
21:43:13  <Alberth> oh, I have a local .hgignore in the directory :)
21:44:05  <Alberth> have a nice evening further, I am going to bed
21:45:21  <andythenorth> me too
21:45:24  <andythenorth> one more commit coming
21:45:26  <andythenorth> navbar
21:45:41  <andythenorth> done
21:45:57  <Alberth> thanks :)
21:46:00  <Brot6> Webtranslator - Revision 24:cc2a9538af10: Change: add a basic navbar XandythenorthX @ http://dev.openttdcoop.org/projects/eints/repository/revisions/cc2a9538af10
21:46:08  *** LordAro has joined #openttdcoop.devzone
21:46:10  <andythenorth> next time I'm bored
21:46:11  <andythenorth> more
21:46:27  <Alberth> not sure how much time I'll have this weekend
21:46:34  <Alberth> Hi LordAro
21:46:35  <andythenorth> me neither
21:46:41  <andythenorth> no rush
21:46:46  <andythenorth> but translating newgrfs is a PITA
21:46:59  <andythenorth> wonder if you can handle the .pylang case in FISH :P
21:47:24  <Alberth> I can, I just copy all lines I don't understand as "literal"
21:47:46  <LordAro> hai Alberth (somewhat unusal channel for greetings :P )
21:47:51  <Alberth> except I plan to use a skeleton file based on english (the base language)
21:48:08  <Alberth> so you cannot have different lines in different languages, at the moment
21:48:15  <Alberth> +literal
21:48:35  <andythenorth> it should be fine
21:48:57  <Alberth> LordAro: I was typing here, adding a line for you was easy :)
21:49:03  <LordAro> :P
21:49:14  <Alberth> Also, there was someone asking about guest windows at YT
21:49:25  <andythenorth> doing that bit of code was more fun than arguing about crap on the internet
21:49:54  <Alberth> andythenorth: it always starts simple :p
21:50:14  <Alberth> it's amazing how much Python code I already have in that project :)
21:50:23  <andythenorth> so I'll make it look like Twitter Boorstrap? http://twitter.github.com/bootstrap/base-css.html
21:50:24  <Webster> Title: Base ยท Bootstrap (at twitter.github.com)
21:50:32  <andythenorth> because it's easy :P
21:51:51  <Alberth> tables may be a bit of a problem
21:52:38  <andythenorth> I can over-ride styles
21:52:43  <andythenorth> I am used to hacking bootstrap
21:52:49  <Alberth> looks fine as a start, imho
21:52:58  <andythenorth> it's fast to get going
21:53:12  <Alberth> it beats default style easily :D
21:54:13  <Brot6> Webtranslator - Revision 25:8cecb736c5cd: Fix: navbar links weren't rooted, and this isn't Zope, no ... XandythenorthX @ http://dev.openttdcoop.org/projects/eints/repository/revisions/8cecb736c5cd
21:55:10  <Brot6> Webtranslator - Revision 26:a9d83d1d3e5b: Change: add a label tag around a form label XandythenorthX @ http://dev.openttdcoop.org/projects/eints/repository/revisions/a9d83d1d3e5b
21:57:55  <Brot6> Webtranslator - Revision 27:bee99c2e9b2d: Change: close a <p> tag when used; remove a <p> tag where ... XandythenorthX @ http://dev.openttdcoop.org/projects/eints/repository/revisions/bee99c2e9b2d
21:58:30  *** Alberth has left #openttdcoop.devzone
22:06:35  <Brot6> Webtranslator - Revision 28:a1f75251ee56: Codechange: formatting of project template (html 5 optiona... XandythenorthX @ http://dev.openttdcoop.org/projects/eints/repository/revisions/a1f75251ee56
22:11:31  <andythenorth> pastebin is dead
22:18:06  *** andythenorth has left #openttdcoop.devzone
23:05:01  *** MinchinWeb has quit IRC
23:06:04  *** LordAro has quit IRC

Powered by YARRSTE version: svn-trunk