*** tpb has joined #tp | 00:00 | |
*** brown.freenode.net sets mode: +ns | 00:00 | |
*** ChanServ sets mode: -s | 00:00 | |
*** ChanServ changes topic to "What are we waiting for?! Mithro to have free time...." | 00:00 | |
tpb | Lee has joined on worldforge | 01:10 |
---|---|---|
*** llnz has joined #tp | 01:10 | |
tpb | llnz2 has joined on worldforge | 01:29 |
*** llnz2 has joined #tp | 01:32 | |
tpb | Lee has quit worldforge (Ping timeout: 366 seconds) | 01:34 |
*** llnz2 has quit IRC | 01:34 | |
tpb | llnz2 has quit worldforge (Read error: Connection reset by peer) | 01:34 |
tpb | llnz2 has joined on worldforge | 01:36 |
tpb | nick change by llnz2 to Lee on worldforge | 01:36 |
*** llnz2 has joined #tp | 01:37 | |
tpb | llnz2 has joined on worldforge | 01:45 |
tpb | _lee has joined on worldforge | 01:47 |
*** llnz2_64 has joined #tp | 01:47 | |
*** llnz has quit IRC | 01:48 | |
tpb | _lee has quit worldforge (Read error: Connection reset by peer) | 01:48 |
tpb | _lee has joined on worldforge | 01:48 |
*** llnz2_64 is now known as llnz | 01:50 | |
tpb | Lee has quit worldforge (Ping timeout: 366 seconds) | 01:50 |
tpb | nick change by _lee to Lee on worldforge | 01:51 |
tpb | llnz2 has quit worldforge (Ping timeout: 366 seconds) | 01:51 |
tpb | llnz2 has joined on worldforge | 01:56 |
*** llnz2_64 has joined #tp | 01:58 | |
tpb | Lee has quit worldforge (Ping timeout: 366 seconds) | 02:00 |
*** llnz2 has quit IRC | 02:03 | |
tpb | llnz2 has quit worldforge (Ping timeout: 366 seconds) | 02:10 |
*** llnz has quit IRC | 02:14 | |
tpb | Lee has joined on worldforge | 02:24 |
*** llnz2_64 has quit IRC | 02:25 | |
tpb | llnz2 has joined on worldforge | 02:27 |
tpb | Lee has quit worldforge (Ping timeout: 366 seconds) | 02:33 |
tpb | llnz2 has quit worldforge (Ping timeout: 366 seconds) | 02:41 |
tpb | CIA-1 has quit worldforge (Quit: CIA-1) | 04:54 |
tpb | CIA-1 has joined on worldforge | 04:54 |
tpb | Demitar has quit worldforge (Ping timeout: 366 seconds) | 05:18 |
*** tpb has joined #tp | 06:00 | |
*** brown.freenode.net sets mode: +ns | 06:00 | |
*** ChanServ sets mode: -s | 06:00 | |
*** ChanServ changes topic to "What are we waiting for?! Mithro to have free time...." | 06:00 | |
tpb | <mithro@worldforge> JLP: ping? | 06:02 |
tpb | <JLP@worldforge> mithro: pong | 08:03 |
tpb | <mithro@worldforge> http://verbal.mithis.com/~tim/test.ogg | 08:03 |
tpb | <mithro@worldforge> thoughts? | 08:03 |
tpb | <JLP@worldforge> all the arrows at the bottom make it quite a big dialog | 08:10 |
tpb | <JLP@worldforge> maybe it would be better to put it into 2 rows with 5 items each | 08:11 |
tpb | <JLP@worldforge> and the text output should be hidden by default and there should be a button like Details > which wuld expand the dialog and show the text messages at the bottom | 08:13 |
tpb | <mithro@worldforge> JLP: i hope to make the arrows dynamicly fit the bottom row later | 08:13 |
tpb | <mithro@worldforge> the only indication of errors really is found in the text dialog | 08:13 |
tpb | <mithro@worldforge> (they are highlighted red) | 08:14 |
tpb | <JLP@worldforge> maybe it wcould be possible to detect when error shows up and then expand the dialog automatically and cshow error lines in red color | 08:14 |
tpb | <mithro@worldforge> I guess | 08:15 |
tpb | <JLP@worldforge> otherwise it hink it is a big improvement over the current download dialog | 08:19 |
tpb | <mithro@worldforge> how goes parsek? | 08:23 |
tpb | <JLP@worldforge> didn't have time to work on it for the last couple of weeks, i was mostly just reading some stuff about model/view/controller programming with Qt4 and about QGraphicsView | 08:26 |
tpb | <JLP@worldforge> now I have to figure out what is the correct way to download the data from server, how to put it into the custem model and create views for the model, and hpw does cache fit into all this | 08:28 |
tpb | <JLP@worldforge> that's what i'll be doing this weekend and in the next week | 08:29 |
tpb | <JLP@worldforge> brb, postemn just came | 08:30 |
tpb | <JLP@worldforge> postman | 08:30 |
tpb | <JLP@worldforge> back | 08:35 |
tpb | <JLP@worldforge> postman just brought me a free retail box of opensuse linux10.2 :) | 08:35 |
tpb | <mithro@worldforge> yay! | 08:37 |
tpb | <mithro@worldforge> switch to ubuntu to annoy him :P | 08:38 |
tpb | <mithro@worldforge> I can help explain stuff about caching if you want | 08:38 |
tpb | <JLP@worldforge> yeah i've also ordered and recieved ubuntu 6.06 lts some time ago | 08:39 |
tpb | <JLP@worldforge> yeah, it would be great to hear about how caching work | 08:39 |
tpb | <mithro@worldforge> it's quite easy | 08:40 |
tpb | <mithro@worldforge> every "top level object" has a "last modified time" | 08:40 |
tpb | <mithro@worldforge> you can send a "Get Object IDs" which returns a list of (id, <last modified time>) | 08:41 |
tpb | <mithro@worldforge> so you just loop over this list comparing it to your local copy and then only get objects which have been updated | 08:42 |
tpb | <JLP@worldforge> oh nice, then this shouldn't be a problem | 08:46 |
tpb | <JLP@worldforge> and when you connect to server you only get the universe (id = 0, if i understand) and just get the list of object it contains and then get all these objects and see what objects they contain and so on down the tree? | 08:48 |
tpb | <JLP@worldforge> and if I understand the board is separated from univers and it contains messages | 08:48 |
tpb | <mithro@worldforge> yes | 08:51 |
tpb | <mithro@worldforge> however you don't need to do the object thin | 08:51 |
tpb | <mithro@worldforge> g | 08:51 |
tpb | <mithro@worldforge> just do a "get object ids" and get all the ids returned | 08:51 |
tpb | <mithro@worldforge> much easier then trying to "talk the universe tree" | 08:52 |
tpb | <mithro@worldforge> much faster too | 08:52 |
tpb | <mithro@worldforge> "top level objects" include, Objects, Boards, Resources, Designs, Properties, Categories, Components | 08:52 |
tpb | <JLP@worldforge> ok, noted | 08:54 |
tpb | <mithro@worldforge> there are no "get x ids" for Orders or Messages, you have to redownload all the orders/messages for each board/object which has changed | 08:54 |
tpb | <mithro@worldforge> so your code would look something like this | 08:54 |
tpb | <mithro@worldforge> for id, time in get_x_ids: | 08:54 |
tpb | <mithro@worldforge> if time < local(id): | 08:55 |
tpb | <mithro@worldforge> continue | 08:55 |
tpb | <mithro@worldforge> get_x(id) | 08:55 |
tpb | <mithro@worldforge> get_orders(range(0, obj.order_numbers)) | 08:55 |
tpb | <mithro@worldforge> or similar | 08:56 |
tpb | Lee has joined on worldforge | 08:56 |
tpb | <mithro@worldforge> you might need to be a bit tricky if you want to properly pipeline your requests | 08:56 |
tpb | <mithro@worldforge> if do something like | 08:56 |
tpb | <mithro@worldforge> toget = [] | 08:56 |
tpb | <mithro@worldforge> for id, time in get_x_ids: | 08:56 |
tpb | <mithro@worldforge> if time > local(id): | 08:56 |
tpb | <mithro@worldforge> toget.append(id) | 08:57 |
tpb | <mithro@worldforge> get_x(toget) | 08:57 |
tpb | <mithro@worldforge> hey Lee | 08:57 |
tpb | <Lee@worldforge> hi mithro | 08:57 |
tpb | <mithro@worldforge> having problems with tpserver-cpp | 08:57 |
tpb | <Lee@worldforge> i know, saw bug emails | 08:57 |
tpb | <JLP@worldforge> Lee: hi | 08:57 |
tpb | <Lee@worldforge> (double emails, no less) | 08:57 |
tpb | <mithro@worldforge> ahh your on tp-bugs? | 08:57 |
tpb | <mithro@worldforge> tp-bugs started working about a week ago | 08:58 |
tpb | <Lee@worldforge> as well as being the assignee for the bugs | 08:58 |
tpb | <mithro@worldforge> yeah | 08:59 |
tpb | <mithro@worldforge> trying to add avahi support to tpclient-pywx | 09:00 |
tpb | <Lee@worldforge> cool | 09:00 |
tpb | <mithro@worldforge> btw I was wondering, whats the best way to maintain a branch? | 09:00 |
tpb | <mithro@worldforge> I need a development branch for tpclient-pywx and libtpclient-py | 09:00 |
tpb | <Lee@worldforge> separate repo | 09:01 |
tpb | <Lee@worldforge> tpclient-pywx-devel maybe | 09:01 |
tpb | <CIA-1@worldforge> Lee Begg <[email protected]> * tpserver-cpp/tpserver/ (net.cpp net.cpp net.cpp net.cpp): | 09:02 |
tpb | <CIA-1@worldforge> Added protection to optional avahi work: | 09:02 |
tpb | <CIA-1@worldforge> Must have missed these two. | 09:02 |
tpb | <Lee@worldforge> can you check that for the avahi problem please | 09:03 |
tpb | <mithro@worldforge> maybe we could move the repositories so they are like | 09:04 |
tpb | <mithro@worldforge> /var/lib/darcs/repos/tpclient-pywx/stable and /var/lib/darcs/repos/tpclient-pywx/devel | 09:04 |
tpb | <mithro@worldforge> ? | 09:04 |
tpb | <Lee@worldforge> yeah, could | 09:05 |
tpb | <Lee@worldforge> darcsweb might have fun trying to find them though, will check | 09:05 |
tpb | <mithro@worldforge> how would darcsweb etc like that? | 09:05 |
tpb | <mithro@worldforge> btw are we actaully generating nightlight tarballs? | 09:05 |
tpb | <mithro@worldforge> well it's got furthur this time | 09:06 |
tpb | <mithro@worldforge> for some reason the colored output is mangled on my console | 09:07 |
tpb | <Lee@worldforge> odd | 09:07 |
tpb | <Lee@worldforge> so it compiled without avahi? | 09:07 |
tpb | <mithro@worldforge> dunno, how do i check? | 09:07 |
tpb | <Lee@worldforge> in config.h the line with #define HAVE_AVAHI should be commented out | 09:08 |
tpb | <mithro@worldforge> well it's not appearing in the browser :/ | 09:08 |
tpb | <mithro@worldforge> tim@ultraslim:~/oss/tp/tpserver-cpp$ grep AVAHI config.h | 09:09 |
tpb | <mithro@worldforge> /* #undef HAVE_AVAHI */ | 09:09 |
tpb | <Lee@worldforge> ok, that's fine | 09:10 |
tpb | <mithro@worldforge> now why did it do that? | 09:10 |
tpb | <mithro@worldforge> checking for avahiclient... checking whether byte ordering is bigendian... no | 09:10 |
tpb | <mithro@worldforge> ? | 09:10 |
tpb | <mithro@worldforge> shouldn't that have said no? | 09:11 |
tpb | <Lee@worldforge> yes it should have, will fix that | 09:12 |
tpb | <Lee@worldforge> a few lines further down there should be something about guile-config | 09:12 |
tpb | <Lee@worldforge> what does it say | 09:12 |
tpb | <mithro@worldforge> ugg gaim crashed | 09:16 |
tpb | <mithro@worldforge> we should put download counters on the download page... | 09:18 |
tpb | <Lee@worldforge> how many people actually download from our site? | 09:18 |
tpb | <mithro@worldforge> checking for guile-config... /usr/bin/guile-config | 09:18 |
tpb | <Lee@worldforge> what does "guile-config link | 09:19 |
tpb | <mithro@worldforge> Lee: i dunno, it must be a few because last month we went through 3.2gb | 09:19 |
tpb | <Lee@worldforge> produce | 09:19 |
tpb | <mithro@worldforge> tim@ultraslim:~/oss/tp/tpserver-cpp$ guile-config link | 09:20 |
tpb | <mithro@worldforge> -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm | 09:20 |
tpb | <mithro@worldforge> we could scrap the figures from sf and add them to your own downloads :P | 09:20 |
tpb | <mithro@worldforge> tim@ultraslim:~/oss/tp/tpserver-cpp$ COLUMNS=100 dpkg --list | grep guile | 09:21 |
tpb | <mithro@worldforge> ii guile-1.6 1.6.8-3 The GNU extension language and Scheme interpreter | 09:21 |
tpb | <mithro@worldforge> ii guile-1.6-libs 1.6.8-3 Main Guile libraries | 09:21 |
tpb | <mithro@worldforge> ii guile-common 1.4-26 Common files for all guile versions | 09:21 |
tpb | <mithro@worldforge> ii guile1.4 1.4-26 The GNU extension language and Scheme interpreter | 09:21 |
tpb | <mithro@worldforge> ii libguile-dev 1.4-26 Development headers and static library for libguile | 09:21 |
tpb | <mithro@worldforge> ii libguile-ltdl-1 1.6.8-3 Guile's patched version of libtool's libltdl | 09:21 |
tpb | <mithro@worldforge> ii libguile9 1.4-26 libraries for Guile1.4 (guile, guilereadline, and qthr | 09:21 |
tpb | <mithro@worldforge> help any? | 09:22 |
tpb | <Lee@worldforge> what does "guile-config --version" produce? | 09:24 |
tpb | <mithro@worldforge> tim@ultraslim:~/oss/tp/tpserver-cpp$ guile-config --version | 09:27 |
tpb | <mithro@worldforge> guile-config - Guile version 1.6.8 | 09:27 |
tpb | <Lee@worldforge> odd | 09:27 |
tpb | <Lee@worldforge> does it compile for you currently? | 09:27 |
tpb | <mithro@worldforge> yay! I see tp in avahi discovery | 09:27 |
tpb | <Lee@worldforge> :-) | 09:28 |
tpb | <mithro@worldforge> now it needs some more information in it :P | 09:28 |
tpb | <mithro@worldforge> tim@ultraslim:~$ python avahi-discover.py | 09:28 |
tpb | <mithro@worldforge> Browsing domain 'local' on -1.-1 ... | 09:28 |
tpb | <mithro@worldforge> Found service 'Tpserver-cpp' of type '_tp._tcp' in domain 'local' on 6.0. | 09:28 |
tpb | <mithro@worldforge> Found service 'Tpserver-cpp' of type '_tp._tcp' in domain 'local' on 5.0. | 09:28 |
tpb | <mithro@worldforge> Service data for service 'Tpserver-cpp' of type '_tp._tcp' in domain 'local' on 6.0: | 09:28 |
tpb | <mithro@worldforge> Host ultraslim.local (10.1.20.0), port 6923, TXT data: ['org.freedesktop.Avahi.cookie=352185815', 'version=0.3.1'] | 09:28 |
tpb | <Lee@worldforge> I will change the name of the server soon | 09:28 |
tpb | <mithro@worldforge> --------------------------------------------------- | 09:29 |
tpb | <mithro@worldforge> Service Type: _tp._tcp | 09:29 |
tpb | <mithro@worldforge> Service Name: Tpserver-cpp | 09:29 |
tpb | <mithro@worldforge> Domain Name: local | 09:29 |
tpb | <mithro@worldforge> Interface: eth1 IPv4 | 09:29 |
tpb | <mithro@worldforge> Address: ultraslim.local/10.1.20.0:6923 | 09:29 |
tpb | <mithro@worldforge> TXT version = 0.3.1 | 09:29 |
tpb | <mithro@worldforge> TXT org.freedesktop.Avahi.cookie = 352185815 | 09:29 |
tpb | <mithro@worldforge> --------------------------------------------------- | 09:29 |
tpb | <mithro@worldforge> Lee: I would love the following details | 09:29 |
tpb | <mithro@worldforge> * Server ID | 09:29 |
tpb | <mithro@worldforge> * Server Name | 09:29 |
tpb | <mithro@worldforge> * Server Type | 09:29 |
tpb | <mithro@worldforge> * Server Ruleset | 09:29 |
tpb | <mithro@worldforge> * Number of Players on Server | 09:30 |
tpb | <Lee@worldforge> ok | 09:30 |
tpb | <Lee@worldforge> the server name and ruleset i was going to put in the service name | 09:32 |
tpb | <Lee@worldforge> what is the verdict on the guile-ltdl problem? | 09:36 |
tpb | <mithro@worldforge> i'm using mzscheme but that should most probably be fixed sometime | 09:45 |
tpb | <Lee@worldforge> it doesn't look like tpserver-cpp is wrong | 09:46 |
tpb | <Lee@worldforge> the guile-config file is wrong | 09:46 |
tpb | <Lee@worldforge> or it's getting it's versions mixed up | 09:46 |
tpb | <CIA-1@worldforge> Lee Begg <[email protected]> * tpserver-cpp/ (24 files): | 09:48 |
tpb | <CIA-1@worldforge> Adding acinclude.m4 with libgnutls AC checks in it: | 09:48 |
tpb | <CIA-1@worldforge> There to help people building from darcs to compile without libgnutls install (and | 09:48 |
tpb | <CIA-1@worldforge> therefor not enabled). I surely hope this doesn't cause future problems. | 09:48 |
tpb | <mithro@worldforge> Lee: your runing ubuntu rigt? | 09:50 |
tpb | <Lee@worldforge> nope, debian unstable | 09:50 |
tpb | <Lee@worldforge> btw: you could install guile-1.6-dev and see if that makes a difference | 09:51 |
tpb | <mithro@worldforge> Lee: works now | 09:59 |
tpb | <Lee@worldforge> with guile-1.6-dev? | 09:59 |
tpb | <mithro@worldforge> yeah | 09:59 |
tpb | <mithro@worldforge> shouldn't you be compiling a little test program against each library? isn't that what autotools should do? | 10:01 |
tpb | <Lee@worldforge> i check for guile-config, and then the guile version | 10:04 |
tpb | <Lee@worldforge> that should be enough | 10:04 |
tpb | <Lee@worldforge> guile-config in this case was lieing, not my fault | 10:04 |
tpb | <mithro@worldforge> maybe you should check that you can compile against guile? I just did the logical "apt-get install guile-dev" | 10:06 |
tpb | <mithro@worldforge> bblr going to get a movie | 10:06 |
tpb | <Lee@worldforge> ok, cya | 10:06 |
tpb | <Lee@worldforge> btw | 10:06 |
tpb | <Lee@worldforge> where are the logs for tpb? | 10:06 |
tpb | <CIA-1@worldforge> Lee Begg <[email protected]> * tpserver-cpp/ (6 files in 3 dirs): | 10:39 |
tpb | <CIA-1@worldforge> Added getName method to ruleset and subclasses to get the name of the ruleset: | 10:39 |
tpb | <CIA-1@worldforge> Useful, and can be passed onto avahi. | 10:39 |
tpb | <CIA-1@worldforge> Lee Begg <[email protected]> * tpserver-cpp/ (6 files in 2 dirs): | 10:39 |
tpb | <CIA-1@worldforge> Publish the server_name setting as the service name using avahi: | 10:39 |
tpb | <CIA-1@worldforge> Added documentation to sample.conf. Publishes | 10:39 |
tpb | <CIA-1@worldforge> "<server_name> [<ruleset name>]" as the service name. Also added | 10:39 |
tpb | <CIA-1@worldforge> server=tpserver-cpp to the TXT field of mDNS-SD. | 10:39 |
tpb | <mithro@worldforge> Lee: they arn't published at the moment | 10:40 |
tpb | <mithro@worldforge> but you can find them in ~irc/tpb | 10:40 |
tpb | <Lee@worldforge> oh | 10:40 |
tpb | <Lee@worldforge> thanks | 10:40 |
tpb | <mithro@worldforge> havn't gotten around to linking a htmlfier yet | 10:40 |
tpb | <mithro@worldforge> btw I'm back :P | 10:41 |
tpb | <Lee@worldforge> hehe | 10:41 |
tpb | <mithro@worldforge> Lee: how would you feel about a metaserver which is just a webpage you POST/GET to? | 10:42 |
tpb | <mithro@worldforge> Lee: how soon are you leaving? do you have time to push around these repositories? | 10:43 |
tpb | <Lee@worldforge> cd ~irc/tpb | 10:44 |
tpb | <Lee@worldforge> -bash: cd: /var/run/ircd/tpb: No such file or directory | 10:44 |
tpb | <Lee@worldforge> mithro: that should be ok | 10:44 |
tpb | <mithro@worldforge> hrm | 10:44 |
tpb | <Lee@worldforge> i could push them around if you want | 10:44 |
tpb | <mithro@worldforge> /home/irc ? | 10:44 |
tpb | <Lee@worldforge> yeah, looking now | 10:46 |
tpb | <Lee@worldforge> ahhhh | 10:48 |
tpb | <Lee@worldforge> JLP: if you want I can explain how libtpproto-cpp makes all the caching and downloading things really easy | 10:48 |
tpb | <JLP@worldforge> Lee: that would be great | 10:50 |
tpb | <Lee@worldforge> now? just have to look up some stuff and work on mithro's repos shuffle | 10:51 |
tpb | <mithro@worldforge> Lee: libtpproto-cpp does cacheing? | 10:52 |
tpb | <Lee@worldforge> yes :-) | 10:52 |
tpb | <JLP@worldforge> well, any time you have the time, you can also send it over e-mail or post a tutorial on developers mailiang lists / forum | 10:52 |
tpb | <Lee@worldforge> mithro: in fact, it's not too hard to change the caching either | 10:53 |
tpb | <mithro@worldforge> Lee: can it preserve the caching across runs? | 10:54 |
tpb | <Lee@worldforge> JLP: ok | 10:54 |
tpb | <Lee@worldforge> mithro: not the current one, but someone could write one that did | 10:54 |
tpb | <Lee@worldforge> in fact the current one doesn't actually cache anything | 10:55 |
tpb | <mithro@worldforge> Lee: so um.... "[21:28] <mithro> Lee: libtpproto-cpp does cacheing? [21:28] <Lee> yes :-)" was incorrect? :P | 10:58 |
tpb | <Lee@worldforge> well.... the caching is very short term... | 10:58 |
tpb | <Lee@worldforge> mithro: i think it would be better to have not have the repos in subdirs and called stable and devel, because only the last part gets put in the emails and rss feeds | 10:59 |
tpb | <mithro@worldforge> hrm.... | 11:00 |
tpb | <Lee@worldforge> how about tpclient-pywx-0.2 and tpclient-pywx ? | 11:00 |
tpb | <mithro@worldforge> hrm.... | 11:01 |
tpb | <mithro@worldforge> it's not quite as neat as in CVS :/ | 11:01 |
tpb | <Lee@worldforge> how is it not neat? | 11:02 |
tpb | <Lee@worldforge> from any repo based on either, you could push to either | 11:02 |
tpb | <mithro@worldforge> well from a naming, clarity or "neatness" | 11:07 |
tpb | <mithro@worldforge> tpclient-pywx-devel and tpclient-pywx-stable just don't look as neat | 11:08 |
tpb | <mithro@worldforge> maybe tpclient-pywx and tpclient-pywx-devel ? | 11:09 |
tpb | <mithro@worldforge> then of course it'll appear duplicated in the SLOC page | 11:10 |
tpb | <mithro@worldforge> why does web-new and web not come out the same? | 11:11 |
tpb | <Lee@worldforge> mithro: only the changed files will appear on the SLOC page | 11:13 |
tpb | <mithro@worldforge> how does that work? | 11:13 |
tpb | <Lee@worldforge> if there are two identical files in any of the files in darcs (the directory where sloccount is run on) then only one is counted (and it's the alphabetically first one) | 11:14 |
tpb | <mithro@worldforge> really? I didn't know that | 11:14 |
tpb | <Lee@worldforge> s/first one/first directory | 11:14 |
tpb | <mithro@worldforge> so if I pull web into web-new it should become zero? | 11:14 |
tpb | <Lee@worldforge> if there are no other changes in web-new, then yes | 11:15 |
tpb | <mithro@worldforge> okay tpclient-pywx and tpclient-pywx-devel are okay | 11:15 |
tpb | <Lee@worldforge> ok | 11:16 |
tpb | <mithro@worldforge> 7761 root 18 0 364m 122m 7920 D 7.0 52.1 0:42.25 darcs.real | 11:16 |
tpb | <mithro@worldforge> :/ | 11:16 |
tpb | <mithro@worldforge> darcs really needs to do something about their memory usage | 11:16 |
tpb | <Lee@worldforge> should i pull/get tpclient-pywx to tpclient-pywx-devel? | 11:16 |
tpb | <mithro@worldforge> should you just copy? | 11:17 |
tpb | <Lee@worldforge> no, get (or if remote, get --partial) | 11:17 |
tpb | <Lee@worldforge> get will use hardlinks where it can to save harddisk space | 11:17 |
tpb | <Lee@worldforge> darcs really doesn't do well with binaries, i hope they fix it soon | 11:18 |
tpb | <mithro@worldforge> the fact that darcs consumes so much memory is a real pain :/ | 11:19 |
tpb | <Lee@worldforge> but it's mathematically correct! :-p | 11:21 |
tpb | <Lee@worldforge> since it's written in haskell | 11:21 |
tpb | <mithro@worldforge> 0web-new(none) | 11:22 |
tpb | <mithro@worldforge> mathematically correct doesn't mean works properly :P | 11:22 |
tpb | <mithro@worldforge> there are plenty examples of this on the web :P | 11:23 |
tpb | <Lee@worldforge> :-) | 11:24 |
tpb | <Lee@worldforge> so.... | 11:24 |
tpb | <Lee@worldforge> make tpclient-pywx-devel from tpclient-pywx? | 11:26 |
tpb | <mithro@worldforge> yes | 11:27 |
tpb | <mithro@worldforge> i'll push my massive amount of changes after you have that working | 11:27 |
tpb | <mithro@worldforge> test.thousandparsec.net should now be identical to www | 11:29 |
tpb | <Lee@worldforge> ok done | 11:30 |
tpb | <mithro@worldforge> all the hooks and everything setup? | 11:33 |
tpb | <Lee@worldforge> should be | 11:34 |
tpb | <mithro@worldforge> actually could it be -dev instead of -devel? :P | 11:35 |
tpb | <Lee@worldforge> sure | 11:35 |
tpb | <Lee@worldforge> just a minute | 11:35 |
tpb | <mithro@worldforge> web-new should most probably be web-dev tool | 11:36 |
tpb | <mithro@worldforge> s/tool/too | 11:36 |
tpb | <mithro@worldforge> need a libtpclient-py-dev too | 11:36 |
tpb | <Lee@worldforge> ok tpclient-pywx-dev | 11:36 |
tpb | <Lee@worldforge> do you intend to keep updating the non -dev repos? | 11:37 |
tpb | <mithro@worldforge> yes | 11:38 |
tpb | <Lee@worldforge> ok, just checking | 11:38 |
tpb | <mithro@worldforge> i'm currently going to maintain a stable/unstable branch | 11:38 |
tpb | <mithro@worldforge> after these changes I may go back to only 1 branch | 11:39 |
tpb | <mithro@worldforge> darcs push [email protected]:/var/lib/darcs/repos/tpclient-pywx-dev | 11:39 |
tpb | <mithro@worldforge> I have 17 patches to push, whats the best way to do this? | 11:40 |
tpb | <Lee@worldforge> "a" for all | 11:40 |
tpb | <Lee@worldforge> or -a on the command line | 11:40 |
tpb | <Lee@worldforge> (uses less memory too) | 11:40 |
tpb | <mithro@worldforge> will 17 cause anything to die? should I just push 5 at a time? | 11:41 |
tpb | <Lee@worldforge> 17 should be ok, but might run a bit slow | 11:43 |
tpb | <Lee@worldforge> 32 max for email script | 11:43 |
tpb | <mithro@worldforge> Couldn't open patchname file! | 11:45 |
tpb | <mithro@worldforge> Posthook failed! | 11:45 |
tpb | <mithro@worldforge> Failed to run darcs command '/usr/bin/darcs.real apply --all --repodir /var/lib/darcs/repos/tpclient-pywx-dev' | 11:45 |
tpb | <mithro@worldforge> full command | 11:45 |
tpb | <mithro@worldforge> tim@ultraslim:~/oss/tp/tpclient-pywx-new$ darcs push -a [email protected]:/var/lib/darcs/repos/tpclient-pywx-dev | 11:45 |
tpb | <mithro@worldforge> Pushing to "[email protected]:/var/lib/darcs/repos/tpclient-pywx-dev"... | 11:45 |
tpb | <mithro@worldforge> Finished applying... | 11:45 |
tpb | <mithro@worldforge> Couldn't open patchname file! | 11:46 |
tpb | <mithro@worldforge> Posthook failed! | 11:46 |
tpb | <mithro@worldforge> Failed to run darcs command '/usr/bin/darcs.real apply --all --repodir /var/lib/darcs/repos/tpclient-pywx-dev' | 11:46 |
tpb | <Lee@worldforge> do you want me to reset it so you can push again? | 11:47 |
tpb | <mithro@worldforge> okay | 11:47 |
tpb | <mithro@worldforge> there is 729 perl in tpclient-pywx? | 11:48 |
tpb | <Lee@worldforge> ok | 11:49 |
tpb | <Lee@worldforge> the dmg stuff maybe? | 11:49 |
tpb | <Lee@worldforge> pkg-dmg is perl | 11:50 |
tpb | <mithro@worldforge> ahh | 11:50 |
tpb | <Lee@worldforge> ready for you to push | 11:50 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/ (18 files in 2 dirs): Start of some XRC based windows. | 11:52 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/graphics/ (6 files): Graphic files needed by the new update window. | 11:52 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (4 files): Removed the old serverbrowser name. | 11:52 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/extra/ (13 files): Added support for GIFAnimationCtrl in XRC files. | 11:52 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/ (250 files in 4 dirs): More XRC changes. | 11:52 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/ (33 files in 2 dirs): Connect window is now XRC based. | 11:52 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (4 files): New UpdateWindow. | 11:52 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/extra/ (__init__.py __init__.py __init__.py): Added comments about the extra fixes. | 11:52 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (9 files): Better Generation. | 11:52 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (tp.xrc tp.xrc): Removed the unused tp.xrc | 11:52 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/ (122 files in 3 dirs): | 11:52 |
tpb | <CIA-1@worldforge> New Update window now works.: Has lots of cool throbbing animations. | 11:52 |
tpb | <CIA-1@worldforge> Has a long log window. | 11:52 |
tpb | <CIA-1@worldforge> Uses XRC. | 11:52 |
tpb | <CIA-1@worldforge> Has cancel button. | 11:52 |
tpb | <CIA-1@worldforge> Can save the download log. | 11:52 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (31 files): Added ServerBrowser and Connect window to the XRC stuff. | 11:52 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (15 files): Small updates. | 11:52 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (tp.pjd tp.pjd tp.pjd tp.pjd tp.pjd): New stuff. | 11:52 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/ (tpclient-pywx tpclient-pywx tpclient-pywx): Moved the on failure event. | 11:52 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/extra/ (4 files): Removed extra prints. | 11:52 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/ (12 files): Work towards the new XRC based update window. | 11:52 |
tpb | <mithro@worldforge> libtpclient-py-dev ? | 11:55 |
tpb | <Lee@worldforge> ready | 11:55 |
tpb | <Lee@worldforge> Total Physical Lines of Code (SLOC): 50,558 | 12:08 |
tpb | <Lee@worldforge> and that's discounting duplicate files | 12:08 |
tpb | <Lee@worldforge> mithro: ping | 12:09 |
tpb | <mithro@worldforge> cool | 12:10 |
tpb | <CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/ (57 files): New callback setup. | 12:13 |
tpb | <CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/ (10 files): Finder thread for talking to metaserver/zeroconf. | 12:13 |
tpb | <mithro@worldforge> Lee: any chance you could try out the new stuff to make sure i haven't forgotten to commit something? | 12:27 |
tpb | <Lee@worldforge> pulling now | 12:32 |
tpb | <mithro@worldforge> okay | 12:32 |
tpb | <Lee@worldforge> Receiving: 0x54(T) 0x50(P) 0x30(0) 0x33(3) 0x0 0x0 0x0 0x3 0x0 0x0 0x0 0x1a 0x0 0x0 0x0 0x14 0x0 0x0 0x0 0x4 0x0 0x0 0x0 0x4 0x0 0x0 0x0 0x5 0x0 0x0 0x0 0x6 0x0 0x0 0x3 0xe8 | 12:43 |
tpb | <Lee@worldforge> Exception in thread Thread-1: | 12:43 |
tpb | <Lee@worldforge> Traceback (most recent call last): | 12:43 |
tpb | <Lee@worldforge> File "threading.py", line 442, in __bootstrap | 12:43 |
tpb | <Lee@worldforge> self.run() | 12:43 |
tpb | <Lee@worldforge> File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/threads.py", line 134, in run | 12:43 |
tpb | <Lee@worldforge> self.error(e) | 12:43 |
tpb | <Lee@worldforge> File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/threads.py", line 129, in run | 12:43 |
tpb | <Lee@worldforge> method(*args, **kw) | 12:44 |
tpb | <Lee@worldforge> File "./tpclient-pywx", line 235, in ConnectTo | 12:44 |
tpb | <Lee@worldforge> if NetworkThread.ConnectTo(self, host, username, password, debug, up, cs="tpclient-pywx/%s.%s.%s" % version): | 12:44 |
tpb | <Lee@worldforge> File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/threads.py", line 254, in ConnectTo | 12:44 |
tpb | <Lee@worldforge> if self.Connect(host, debug, callback, cs) is False: | 12:44 |
tpb | <Lee@worldforge> File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/threads.py", line 244, in Connect | 12:44 |
tpb | <Lee@worldforge> self.application.Post(self.NetworkConnectEvent(features)) | 12:44 |
tpb | <Lee@worldforge> File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/threads.py", line 92, in Post | 12:44 |
tpb | <Lee@worldforge> self.finder.Call(self.network.Post, event) | 12:44 |
tpb | <Lee@worldforge> AttributeError: 'NoneType' object has no attribute 'Call' | 12:44 |
tpb | <Lee@worldforge> no window opened after the server dialog disappeared | 12:44 |
tpb | <mithro@worldforge> hrm... | 12:45 |
tpb | <mithro@worldforge> you have the latest version of libtpproto-py to? | 12:45 |
tpb | <CIA-1@worldforge> Lee Begg <[email protected]> * web/utils/update.sh : | 12:45 |
tpb | <CIA-1@worldforge> Remove libtpproto-cpp docs dir before moving the new one over: | 12:45 |
tpb | <CIA-1@worldforge> Missing this is responsible for the docs being nearly (3 days short) a whole year | 12:45 |
tpb | <CIA-1@worldforge> out of date. | 12:45 |
tpb | <CIA-1@worldforge> [email protected] * tpserver-py/tpserver-py : Dunno how this bug got through. | 12:51 |
tpb | <mithro@worldforge> Lee: ping? | 12:51 |
tpb | <Lee@worldforge> pong | 12:51 |
tpb | <Lee@worldforge> should do, will check | 12:51 |
tpb | <CIA-1@worldforge> Lee Begg <[email protected]> * web/utils/update.sh : Miss one little star and it doesn't work right | 12:52 |
tpb | <Lee@worldforge> it is up to date | 12:52 |
tpb | <mithro@worldforge> hrm.... | 12:53 |
tpb | <mithro@worldforge> so you have the latest libtpclient-py-dev and tpclient-pywx-dev ? | 12:54 |
tpb | <Lee@worldforge> yes | 12:54 |
tpb | <Lee@worldforge> JLP: note that the libtpproto-cpp docs on the website were out of date until just now | 12:56 |
tpb | <mithro@worldforge> hold on a sec | 12:56 |
tpb | <JLP@worldforge> Lee: ok, will check the new ones | 12:57 |
tpb | <mithro@worldforge> Lee: so what caching does libtpproto actually do? | 13:06 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (16 files): Updates to the DialogBlocks file. | 13:06 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/ (7 files): Fixed name changes. | 13:06 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (9 files): Updates of the stub generator. | 13:06 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/xrc/ (MessageBrowser.py MessageBrowser.py): Removed unused file. | 13:06 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/requirements.py : Version bump for the dev version. | 13:06 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/ (13 files in 2 dirs): Fixes for the ServerBrowser window. | 13:06 |
tpb | <mithro@worldforge> Lee: give that a go now? | 13:06 |
tpb | <Lee@worldforge> ok | 13:06 |
tpb | <Lee@worldforge> currently libtpproto-cpp, as used by tpclient-cpptext, does no caching | 13:07 |
tpb | <Lee@worldforge> The following requirements where not met | 13:08 |
tpb | <Lee@worldforge> ['tp.client > 0.3.0'] | 13:08 |
tpb | <mithro@worldforge> :P | 13:08 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/.boring : Added the update.log to .boring. | 13:08 |
tpb | <Lee@worldforge> libtpproto-cpp could, with just one class written, could fully cache everything except orders and messages (just noticed those two) | 13:10 |
*** |kshinji| has joined #tp | 13:12 | |
tpb | <Lee@worldforge> hi kshinji | 13:12 |
|kshinji| | !help | 13:12 |
|kshinji| | !lol | 13:12 |
|kshinji| | !geekquote | 13:12 |
|kshinji| | !commands | 13:12 |
|kshinji| | !help | 13:12 |
|kshinji| | hi | 13:13 |
|kshinji| | ? | 13:13 |
tpb | <Lee@worldforge> what can we over on the irc server help you with? | 13:13 |
tpb | <Lee@worldforge> s/the irc/the other irc/ | 13:13 |
tpb | <CIA-1@worldforge> [email protected] * scratchpad/setup.sh : Added setup of the dev branch. | 13:14 |
tpb | <mithro@worldforge> Lee: try that :P | 13:14 |
tpb | <Lee@worldforge> mithro: the version number in libtpclient-py-dev is 0.2.0 | 13:14 |
|kshinji| | Hi, sorry i cam here by an accident. Searched for turbo pascal chanell. :) | 13:14 |
tpb | <Lee@worldforge> kshinji: hehe, oh well.... | 13:15 |
tpb | <mithro@worldforge> arg, need to push | 13:15 |
|kshinji| | cu then : | 13:15 |
|kshinji| | :) | 13:15 |
*** |kshinji| has left #tp | 13:15 | |
tpb | <CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/version.py : Version bump. | 13:16 |
tpb | <mithro@worldforge> Lee: that is like the third turbopascel person that has turned up in #tp :P | 13:16 |
tpb | <Lee@worldforge> what do i need to see the nice new windows? | 13:16 |
tpb | <Lee@worldforge> need installed that is | 13:16 |
tpb | <Lee@worldforge> and anyway: error | 13:17 |
tpb | <mithro@worldforge> :/ | 13:17 |
tpb | <Lee@worldforge> Traceback (most recent call last): | 13:17 |
tpb | <Lee@worldforge> File "./tpclient-pywx", line 124, in __init__ | 13:18 |
tpb | <Lee@worldforge> from windows.winServerBrowser import winServerBrowser | 13:18 |
tpb | <Lee@worldforge> ImportError: No module named winServerBrowser | 13:18 |
tpb | <Lee@worldforge> Finished init... | 13:18 |
tpb | <Lee@worldforge> <__main__.GUI; proxy of C++ wxPyApp instance at _904eb20000000000_p_wxPyApp> <Network(Thread-1, initial)> <MediaThread(Thread-2, initial)> <FinderThread(Thread-3, initial)> | 13:18 |
tpb | <mithro@worldforge> hrm... | 13:18 |
tpb | <Lee@worldforge> Traceback (most recent call last): | 13:18 |
tpb | <Lee@worldforge> File "./tpclient-pywx", line 301, in ? | 13:18 |
tpb | <Lee@worldforge> app = Application(url) | 13:18 |
tpb | <Lee@worldforge> File "./tpclient-pywx", line 266, in __init__ | 13:18 |
tpb | <Lee@worldforge> _Application.__init__(self) | 13:18 |
tpb | <Lee@worldforge> File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/threads.py", line 47, in __init__ | 13:18 |
tpb | <Lee@worldforge> self.ConfigLoad() | 13:18 |
tpb | <Lee@worldforge> File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/threads.py", line 86, in ConfigLoad | 13:18 |
tpb | <Lee@worldforge> self.gui.ConfigLoad(config) | 13:18 |
tpb | <Lee@worldforge> File "./tpclient-pywx", line 174, in ConfigLoad | 13:18 |
tpb | <Lee@worldforge> for window in self.windows: | 13:18 |
tpb | <Lee@worldforge> AttributeError: 'GUI' object has no attribute 'windows' | 13:18 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/ (winServerBrowser.py winServerBrowser.py): Forgot this file.. | 13:19 |
tpb | <Lee@worldforge> "Network Error" window: not enough arguments for format string | 13:20 |
tpb | <mithro@worldforge> with that pull? | 13:20 |
tpb | <Lee@worldforge> File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/cache.py", line 335, in update | 13:20 |
tpb | <Lee@worldforge> toget = self.__getObjects(connection, "objects", callback) | 13:20 |
tpb | <Lee@worldforge> File "/home/lee/oss_projects/tp-py/tpclient-pywx-dev/tp/client/cache.py", line 435, in __getObjects | 13:20 |
tpb | <Lee@worldforge> message="Removing %s %s as it has disappeared..." % cache(id).name) | 13:20 |
tpb | <Lee@worldforge> TypeError: not enough arguments for format string | 13:20 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/.boring : Added the useless tp.* files to .boring | 13:20 |
tpb | <Lee@worldforge> yes, with that pull | 13:21 |
tpb | <mithro@worldforge> hrm, ahh | 13:21 |
tpb | <CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/cache.py : Fixed a bug which occured when objects disappeared. | 13:23 |
tpb | <mithro@worldforge> not quite sure why you have disappearing objects :P | 13:23 |
tpb | <Lee@worldforge> connecting to demo1 | 13:23 |
tpb | <Lee@worldforge> :-p | 13:23 |
tpb | <mithro@worldforge> opps it's broken when connecting to demo1 :/ | 13:25 |
tpb | <Lee@worldforge> is that the "I can only accept CacheDirtyEvents" broken? | 13:29 |
tpb | <mithro@worldforge> Lee: what is that? | 13:34 |
tpb | <Lee@worldforge> when deleting a message, i got that message in a dialog, along with disconnecting from the server | 13:35 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/requirements.py : Version bump. | 13:35 |
tpb | <CIA-1@worldforge> [email protected] * libtpproto-py/tp/netlib/ (objects/Resource.py objects/Resource.py version.py): Fixed a bug in the resource object. | 13:35 |
tpb | <mithro@worldforge> Lee: thats not good:/ | 13:35 |
tpb | <mithro@worldforge> does that happen in the old version? | 13:35 |
tpb | <Lee@worldforge> nope | 13:35 |
tpb | <Lee@worldforge> i'll just check | 13:35 |
tpb | <Lee@worldforge> nope, just the dev version | 13:38 |
tpb | <Lee@worldforge> want the traceback? | 13:38 |
tpb | <mithro@worldforge> nah, i've reproduced it here | 13:39 |
tpb | <mithro@worldforge> btw is running darcs optimize dangerous? | 13:39 |
tpb | <Lee@worldforge> i guess you have also reproduced not having any media download at all | 13:40 |
tpb | <Lee@worldforge> not really, but it does make changes | 13:40 |
tpb | <mithro@worldforge> are you getting the space ships not showing up too? | 13:44 |
tpb | <mithro@worldforge> Lee: a cronjob running once a week would be bad? | 13:44 |
tpb | <Lee@worldforge> i did have that, iirc | 13:44 |
tpb | <Lee@worldforge> currently using stable client | 13:44 |
tpb | <Lee@worldforge> :-) | 13:44 |
tpb | <Lee@worldforge> for darcs optimize? | 13:45 |
tpb | <Lee@worldforge> it is most effective with --checkpoint, and that only does it to the latest tag | 13:45 |
tpb | <Lee@worldforge> twice on the same tag won't help | 13:46 |
tpb | <mithro@worldforge> Lee: is there a way to specify keeping a certain repos as default? | 13:52 |
tpb | <Lee@worldforge> umm... not that i know of | 13:53 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/winUpdate.py : Fixed off by one error. | 13:53 |
tpb | <mithro@worldforge> i almost push -dev to stable by accident! | 13:53 |
tpb | <mithro@worldforge> is there a way to prevent that? | 13:54 |
tpb | <mithro@worldforge> (that is how we accidently got the new website :P) | 13:54 |
tpb | <Lee@worldforge> oops | 13:54 |
tpb | <Lee@worldforge> umm... not off hand | 13:55 |
tpb | <Lee@worldforge> you could have a look in the docs about a default repo (other repo, that is) | 13:55 |
tpb | <mithro@worldforge> Lee: is the stable client working for you atm? | 13:56 |
tpb | <Lee@worldforge> yes | 13:56 |
tpb | * Lee@worldforge just read the darcs docs on optimize | 13:58 |
tpb | <Lee@worldforge> looks like it could help | 13:58 |
tpb | <Lee@worldforge> without --checkpoint | 14:01 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx/windows/winUpdate.py : Fixed the progress bars. | 14:02 |
tpb | <mithro@worldforge> a darcs check wouldn't hurt | 14:04 |
tpb | <Lee@worldforge> ok | 14:04 |
tpb | <mithro@worldforge> btw: sorry I havn't replied to the emails on the list | 14:05 |
tpb | <Lee@worldforge> running darcs check on web | 14:06 |
tpb | <Lee@worldforge> i was wondering about that | 14:06 |
tpb | <Lee@worldforge> i can't remember what i wrote now | 14:07 |
tpb | <Lee@worldforge> darcs check of web is ok | 14:11 |
tpb | <mithro@worldforge> ahh ha, figured out why the media isn't been updated... | 14:20 |
tpb | <Lee@worldforge> had better go | 14:21 |
tpb | <Lee@worldforge> will try to drop in tomorrow (later today) | 14:21 |
tpb | <Lee@worldforge> if not, Merry Christmas all! | 14:22 |
tpb | Lee has quit worldforge (Quit: Believe? Sure!) | 14:22 |
tpb | <CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/ (threads.py threads.py threads.py): Nice strings and small optimisation. | 14:42 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/ (8 files in 2 dirs): Fixed the media download not appearing problem. | 14:43 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/ (tpclient-pywx tpclient-pywx): Fix the update menu item. | 14:51 |
tpb | <CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/cache.py : Actually set them to empty. | 15:14 |
tpb | <CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/cache.py : Better error message posted. | 15:14 |
tpb | <CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/threads.py : Added working __str__. | 15:14 |
tpb | <CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/ (cache.py cache.py): Ignore objects which have no subobjects. | 15:14 |
tpb | <CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/cache.py : Fixed a small error using wrong Id. | 15:14 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/winStarMap.py : A just-in-case redraw. | 15:53 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/ (53 files in 2 dirs): Added OrderDesc downloading. | 15:53 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/ (winOrder.py winOrder.py): Only show order list when it can be used. | 15:53 |
tpb | <CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/ (cache.py cache.py threads.py): Download OrderDescriptions again. | 15:53 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/tpclient-pywx : Remove extra print. | 16:12 |
tpb | <CIA-1@worldforge> [email protected] * tpclient-pywx-dev/windows/ (7 files): Delete button only when things to delete. | 16:12 |
tpb | <mithro@worldforge> JLP: ping? | 16:16 |
tpb | <mithro@worldforge> Would you be able to test the new client too? Download tpclient-pywx-dev, libtpclient-py-dev - update libtpproto-py and scratchpad and then run setup.sh in scratchpad | 16:18 |
tpb | Demitar has joined on worldforge | 17:57 |
tpb | <mithro@worldforge> hey Demitar | 18:11 |
tpb | <Demitar@worldforge> mithro: Hello there. | 18:11 |
tpb | <mithro@worldforge> you busy atm? :P | 18:11 |
tpb | <Demitar@worldforge> Not doing anything I cannot do later, why? :) | 18:14 |
tpb | <mithro@worldforge> Would you be able to test the dev branch of the client? Download tpclient-pywx-dev, libtpclient-py-dev - update libtpproto-py and scratchpad and then run setup.sh in scratchpad | 18:15 |
tpb | <Demitar@worldforge> Darcs has a new serverish thingie? | 18:19 |
tpb | <Demitar@worldforge> Hrm.. 356 patches to just the client... | 18:22 |
tpb | <Demitar@worldforge> Guess this is the reason I really like mercurial. :) | 18:22 |
tpb | <mithro@worldforge> darcs get --partial :P | 18:27 |
tpb | <Demitar@worldforge> That's why it was so scary, I was doing a partial pull.. | 18:28 |
tpb | <Demitar@worldforge> Well, partial get. | 18:28 |
tpb | <mithro@worldforge> hrm | 18:29 |
tpb | <mithro@worldforge> 356 for a partial? | 18:29 |
tpb | <Demitar@worldforge> $ darcs get --partial http://darcs.thousandparsec.net/repos/tpclient-pywx-dev | 18:29 |
tpb | <Demitar@worldforge> Copying patch 356 of 356... done! | 18:29 |
tpb | <tpb@worldforge> <http://ln-s.net/Gx7> (at darcs.thousandparsec.net) | 18:30 |
tpb | <Demitar@worldforge> Guess you'll want to optimize it again. :) | 18:30 |
tpb | <mithro@worldforge> ouch | 18:30 |
tpb | <Demitar@worldforge> Seems one of the threads raised an exception. | 18:31 |
tpb | <mithro@worldforge> hrm... that isn't good | 18:31 |
tpb | <Demitar@worldforge> Exception in thread Thread-2: | 18:32 |
tpb | <Demitar@worldforge> Traceback (most recent call last): | 18:32 |
tpb | <Demitar@worldforge> File "threading.py", line 442, in __bootstrap | 18:32 |
tpb | <Demitar@worldforge> self.run() | 18:32 |
tpb | <Demitar@worldforge> File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/threads.py", line 134, in run | 18:32 |
tpb | <Demitar@worldforge> self.error(e) | 18:32 |
tpb | <Demitar@worldforge> File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/threads.py", line 129, in run | 18:32 |
tpb | <Demitar@worldforge> method(*args, **kw) | 18:32 |
tpb | <Demitar@worldforge> File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/threads.py", line 480, in ConnectTo | 18:32 |
tpb | <Demitar@worldforge> self.cache.getfile(self.cache.files) | 18:32 |
tpb | <Demitar@worldforge> File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/media.py", line 130, in getfile | 18:32 |
tpb | <Demitar@worldforge> remotedate = time.strptime(message.getheader('last-modified'), "%a, %d %b %Y :%M:%S %Z")[0:5] | 18:32 |
tpb | <Demitar@worldforge> File "_strptime.py", line 293, in strptime | 18:32 |
tpb | <Demitar@worldforge> raise ValueError("time data did not match format: data=%s fmt=%s" % | 18:32 |
tpb | <Demitar@worldforge> ValueError: time data did not match format: data=Sun, 10 Dec 2006 18:09:11 GMT fmt=%a, %d %b %Y :%M:%S %Z | 18:32 |
tpb | <mithro@worldforge> wtf | 18:32 |
tpb | <Demitar@worldforge> A missing hour. | 18:32 |
tpb | <Demitar@worldforge> %Y :%M:%S | 18:33 |
tpb | <Demitar@worldforge> This is probably during media retrieval btw. | 18:34 |
tpb | <mithro@worldforge> yeah it's definately during media retrieval | 18:34 |
tpb | <mithro@worldforge> you have a proxy? | 18:34 |
tpb | <Demitar@worldforge> None that I know of. | 18:34 |
tpb | <mithro@worldforge> can you cat line 130 of your tp/client/media.py file? | 18:35 |
tpb | <Demitar@worldforge> remotedate = time.strptime(message.getheader('last-modified'), "%a, %d %b %Y :%M:%S %Z")[0:5] | 18:36 |
tpb | <Demitar@worldforge> That is indeed curious. | 18:36 |
tpb | <Demitar@worldforge> Err. | 18:37 |
tpb | <Demitar@worldforge> Actually there is a there. | 18:37 |
tpb | <Demitar@worldforge> Ah. | 18:37 |
tpb | <Demitar@worldforge> X-Chat is interpreting that %H. | 18:37 |
tpb | <Demitar@worldforge> Perhaps it's a locale issue? | 18:38 |
tpb | <mithro@worldforge> ahh | 18:38 |
tpb | <mithro@worldforge> Demitar: what is your locale? | 18:38 |
tpb | <Demitar@worldforge> sv_SE | 18:38 |
tpb | <Demitar@worldforge> So if that's the issue Sun should be Sön. | 18:38 |
tpb | <Demitar@worldforge> %a or %A | 18:39 |
tpb | <Demitar@worldforge> The weekday name according to the current locale, in abbreviated | 18:39 |
tpb | <Demitar@worldforge> form or the full name. | 18:39 |
tpb | <Demitar@worldforge> %b or or %h | 18:39 |
tpb | <Demitar@worldforge> The month name according to the current locale, in abbreviated | 18:39 |
tpb | <Demitar@worldforge> form or the full name. | 18:39 |
tpb | <Demitar@worldforge> From the strptime manpage. | 18:40 |
tpb | <Demitar@worldforge> One option is to switch to the C locale during that call. | 18:40 |
tpb | <mithro@worldforge> I wonder how to do that | 18:40 |
tpb | <mithro@worldforge> hrm... | 18:41 |
tpb | <mithro@worldforge> verbal:/var/lib/darcs/repos/tpclient-pywx-dev# darcs optimize -t TPCLIENT_PYWX_0_2_0 --checkpoint | 18:41 |
tpb | <mithro@worldforge> Cannot checkpoint any tag matching 'TPCLIENT_PYWX_0_2_0' | 18:41 |
tpb | <mithro@worldforge> Done optimizing! | 18:41 |
tpb | <Demitar@worldforge> You'll want setlocale(). | 18:41 |
tpb | <Demitar@worldforge> We ran into similar issues with nikal's lsystem tree code. Floating point conversion failing since , is the decimal point separator and not . in the sv_SE locale. | 18:43 |
tpb | <mithro@worldforge> we should hook http://www.ids.ias.edu/~starlab/ into tp :P | 18:46 |
tpb | <tpb@worldforge> Title: Welcome to Starlab (at www.ids.ias.edu) | 18:46 |
tpb | <mithro@worldforge> locale.setlocale(locale.LC_ALL, 'C') | 18:46 |
tpb | <mithro@worldforge> ? | 18:46 |
tpb | <Demitar@worldforge> Looks good, be sure to reset the locale past the call though. | 18:47 |
tpb | <mithro@worldforge> Demitar: any idea how to test it? | 18:48 |
tpb | <Demitar@worldforge> If you give me the call to reset the locale I'll test it here. | 18:49 |
tpb | <mithro@worldforge> locale.resetlocale(locale.LC_ALL) | 18:51 |
tpb | <Demitar@worldforge> Is that safe though? Wouldn't you need to copy the current state of LC_ALL instead? | 18:51 |
tpb | <mithro@worldforge> dunno | 18:51 |
tpb | <mithro@worldforge> resetlocale(category=6) | 18:52 |
tpb | <mithro@worldforge> Sets the locale for category to the default setting. | 18:52 |
tpb | <mithro@worldforge> | 18:52 |
tpb | <mithro@worldforge> The default setting is determined by calling | 18:52 |
tpb | <mithro@worldforge> getdefaultlocale(). category defaults to LC_ALL. | 18:52 |
tpb | <mithro@worldforge> getdefaultlocale(envvars=('LC_ALL', 'LC_CTYPE', 'LANG', 'LANGUAGE')) | 18:53 |
tpb | <mithro@worldforge> Tries to determine the default locale settings and returns | 18:53 |
tpb | <mithro@worldforge> them as tuple (language code, encoding). | 18:53 |
tpb | <mithro@worldforge> | 18:53 |
tpb | <mithro@worldforge> According to POSIX, a program which has not called | 18:53 |
tpb | <mithro@worldforge> setlocale(LC_ALL, "") runs using the portable 'C' locale. | 18:53 |
tpb | <mithro@worldforge> Calling setlocale(LC_ALL, "") lets it use the default locale as | 18:53 |
tpb | <mithro@worldforge> defined by the LANG variable. Since we don't want to interfere | 18:53 |
tpb | <mithro@worldforge> with the current locale setting we thus emulate the behavior | 18:53 |
tpb | <mithro@worldforge> in the way described above. | 18:53 |
tpb | <mithro@worldforge> | 18:53 |
tpb | <mithro@worldforge> To maintain compatibility with other platforms, not only the | 18:53 |
tpb | <mithro@worldforge> LANG variable is tested, but a list of variables given as | 18:53 |
tpb | <mithro@worldforge> envvars parameter. The first found to be defined will be | 18:53 |
tpb | <mithro@worldforge> used. envvars defaults to the search path used in GNU gettext; | 18:53 |
tpb | <mithro@worldforge> it must always contain the variable name 'LANG'. | 18:53 |
tpb | <mithro@worldforge> | 18:53 |
tpb | <mithro@worldforge> Except for the code 'C', the language code corresponds to RFC | 18:53 |
tpb | <mithro@worldforge> 1766. code and encoding can be None in case the values cannot | 18:53 |
tpb | <mithro@worldforge> be determined. | 18:54 |
tpb | <mithro@worldforge> that okay? | 18:54 |
tpb | <Demitar@worldforge> You probably want to add a function wrapping all the calls to strptime | 18:55 |
tpb | <Demitar@worldforge> Exception in thread Thread-2: | 18:57 |
tpb | <Demitar@worldforge> Traceback (most recent call last): | 18:57 |
tpb | <Demitar@worldforge> File "threading.py", line 442, in __bootstrap | 18:57 |
tpb | <Demitar@worldforge> self.run() | 18:57 |
tpb | <Demitar@worldforge> File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/threads.py", line 134, in run | 18:57 |
tpb | <Demitar@worldforge> self.error(e) | 18:57 |
tpb | <Demitar@worldforge> File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/threads.py", line 129, in run | 18:57 |
tpb | <Demitar@worldforge> method(*args, **kw) | 18:57 |
tpb | <Demitar@worldforge> File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/threads.py", line 480, in ConnectTo | 18:57 |
tpb | <Demitar@worldforge> self.cache.getfile(self.cache.files) | 18:57 |
tpb | <Demitar@worldforge> File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/media.py", line 117, in getfile | 18:57 |
tpb | <Demitar@worldforge> if not self.updated(media_remote, media_local): | 18:57 |
tpb | <Demitar@worldforge> File "/home/demitar/code/darcs-thousandparsec/tpclient-pywx-dev/tp/client/media.py", line 78, in updated | 18:57 |
tpb | <Demitar@worldforge> localdate = eval(open(media_local + ".timestamp").read()) | 18:57 |
tpb | <Demitar@worldforge> IOError: [Errno 2] Filen eller katalogen finns inte: '/home/demitar/.tp/media.dHA6Ly9ndWVzdEB0cEBkZW1vMS50aG91c2FuZHBhcnNlYy5uZXQ/media.gz.timestamp' | 18:57 |
tpb | <mithro@worldforge> hrm.... | 18:58 |
tpb | <Demitar@worldforge> Perhaps the previous tries caused cache corruption and now it cannot recover? | 18:58 |
tpb | <mithro@worldforge> yes | 18:58 |
tpb | <mithro@worldforge> rm -rf ~/.tp/media* | 18:59 |
tpb | <mithro@worldforge> or if you want to be delicate | 18:59 |
tpb | <Demitar@worldforge> Which of course it should be able to if you ask me. :) | 18:59 |
tpb | <mithro@worldforge> rm ~/.tp/media.*/media.gz* | 18:59 |
tpb | <Demitar@worldforge> No, this instance I do not care about, but the general robustness would really benefit from being able to recover. | 18:59 |
tpb | <mithro@worldforge> Demitar: it's a know bug, the media downloading need a bit of work | 18:59 |
tpb | <mithro@worldforge> ie it really should check local locations first | 19:00 |
tpb | <Demitar@worldforge> Good. Then I'll just rm -rf :) | 19:00 |
tpb | <Demitar@worldforge> Media is fetched in the background? | 19:01 |
tpb | <mithro@worldforge> yes | 19:02 |
tpb | <mithro@worldforge> you should see a progress bar under the menu | 19:03 |
tpb | <CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/media.py : Die a bit better when .timestamp doesn't exist. | 19:03 |
tpb | <CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/ (cache.py media.py media.py media.py media.py media.py): Fix problem with non-english locale. | 19:03 |
tpb | <CIA-1@worldforge> [email protected] * libtpclient-py-dev/tp/client/threads.py : Removed extra print. | 19:03 |
tpb | <Demitar@worldforge> Oh, and it works, but there were two locations btw. | 19:03 |
tpb | <mithro@worldforge> yeah | 19:03 |
tpb | <mithro@worldforge> can you revert your changes and try with that patch? | 19:04 |
tpb | <Demitar@worldforge> Actually more than two, but anyway. | 19:05 |
tpb | <Demitar@worldforge> Odd: | 19:06 |
tpb | <Demitar@worldforge> $ darcs revert | 19:06 |
tpb | <Demitar@worldforge> There are no changes to revert! | 19:06 |
tpb | <mithro@worldforge> it's in libtpclient-py-dev | 19:07 |
tpb | <mithro@worldforge> hrm, i think i broke demo1 | 19:07 |
tpb | <mithro@worldforge> can anyone else login to demo1? | 19:08 |
tpb | <Demitar@worldforge> Nope. Oh, and when I get it running I'll get you a 1280x800 resolution layout. | 19:09 |
tpb | <mithro@worldforge> okay | 19:13 |
tpb | <mithro@worldforge> ahh, I've finally figured out a reproducable way to cause the tpserver-cpp to crash | 19:14 |
tpb | <mithro@worldforge> okay well I must head to bed | 19:19 |
tpb | <mithro@worldforge> things left on my todo list: | 19:19 |
tpb | <mithro@worldforge> 1. Finish the serverbrowser window (populate data from metaserver webpage and zeroconf) | 19:19 |
tpb | <mithro@worldforge> 2. Finish "intergrating" tpserver-py into the client | 19:20 |
tpb | <mithro@worldforge> anyway have a good night | 19:21 |
tpb | <mithro@worldforge> btw, does the update screen look any better in real life? | 19:21 |
tpb | <Demitar@worldforge> It's not nearly as annoying. Seeing how one has nothing better to do anyway. :) | 19:32 |
tpb | Lee has joined on worldforge | 23:28 |
tpb | <CIA-1@worldforge> Lee Begg <[email protected]> * tpserver-cpp/modules/games/minisec/build.cpp : | 23:39 |
tpb | <CIA-1@worldforge> Makes sure the read-only lists are skipped over when they are not zero length: | 23:39 |
tpb | <CIA-1@worldforge> Should fix the crash on copy+paste build orders. Needs to be done in other areas. | 23:39 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!