*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** xdotx has joined #tp | 01:25 | |
mithro | hey xdotx | 01:26 |
---|---|---|
mithro | how goes everything this fine saturday night? | 01:26 |
xdotx | heya | 01:26 |
xdotx | heh, gotta show off that you know what day it is? :) | 01:27 |
* xdotx rudely answers questions with questions | 01:27 | |
* mithro is living in the past too now :) | 01:28 | |
xdotx | also, i'm fine. how much longer you here? | 01:28 |
mithro | a week at the moment | 01:28 |
mithro | hoping i can extend it a little longer | 01:29 |
mithro | as most of my team is here in MTV | 01:29 |
xdotx | k. getting used to the evilness or can't wait to go home? | 01:29 |
xdotx | (you know MTV is a popular tv channel right?) | 01:29 |
mithro | oh it is too | 01:29 |
xdotx | heh | 01:29 |
mithro | Mountain VIew then :) | 01:30 |
xdotx | at least i'm pretty sure it is. i haven't watched tv in a few years i guess | 01:30 |
xdotx | mithro: i've been reading some stuff by people who don't like C++. but nobody really directly says why they don't like it. care to offer opinions/links? | 01:31 |
xdotx | also, my student is awesome | 01:32 |
mithro | which one is your student again? :) | 01:33 |
xdotx | nick: jphr | 01:33 |
xdotx | ie ryan | 01:33 |
mithro | having to manage your own memory is a big one | 01:33 |
mithro | things like still supporting C structures and void* | 01:34 |
mithro | just being a pain in the ass :) | 01:35 |
xdotx | i like memory management.. and from what i've seen managed languages still require you to worry about memory (in the same situations you would care in C++ anyways), and also provide their own problems | 01:35 |
mithro | xdotx: oh, when do you ever have to worry about memory in Python? | 01:35 |
xdotx | being backwards compatible with C is kind of a bad thing, and i've got mixed feeling about void*s | 01:36 |
mithro | or Java, or ruby? | 01:36 |
xdotx | not so sure about python.. Java i know better | 01:37 |
xdotx | you still have to be conscious of the GC | 01:37 |
xdotx | it's definitely -less- worry than C++, but it's not worry free. you still have to play nice with GC | 01:38 |
mithro | yes, but only if your alogrithims are bad | 01:38 |
xdotx | or write your own, in which case why not C++ :P | 01:38 |
xdotx | i suppose.. but not necessarily. | 01:38 |
xdotx | i'm sure there are corner cases | 01:39 |
mithro | C++ has the worst part of high level languages and worse part of low level languages | 01:39 |
xdotx | ^^^ fightin' words | 01:39 |
mithro | it's not a good low level language as it's impossible to reliably see exactly what is happening (unless you just start writing C) | 01:40 |
xdotx | what's it missing? | 01:40 |
mithro | it's not a good high level language as you have to do things like manage your own memory | 01:41 |
mithro | it's not a strongly type language because of void* | 01:41 |
mithro | it's not a OOP language because functions are not virtual (by default) | 01:42 |
xdotx | hmm. i think these are all things i like about C++ :) | 01:42 |
mithro | xdotx: then you need to have to maintain something well past the time of the original person has disappeared :) | 01:43 |
xdotx | it's multiparadigm and lets you do exactly what you what. | 01:43 |
mithro | xdotx: no, not at all | 01:43 |
mithro | it's no-paradigm | 01:43 |
mithro | it tried to be everything and fails at them all :) | 01:43 |
xdotx | can you contrast with something that is? | 01:44 |
mithro | there is no good multi-paradigm language that I know of | 01:44 |
xdotx | ok, fair enough | 01:44 |
xdotx | personally i feel like C++ is freedom. | 01:44 |
xdotx | you just have to do your own work sometimes | 01:45 |
mithro | Python could be suggested, but it's very strongly OOP and things like functional programming are second class citizens | 01:45 |
mithro | and you can't really do inferencing with python either (without writing an inferencing engine) | 01:46 |
mithro | C++ is like guns, people think it's freedom as they shoot themselves in the foot :) | 01:47 |
xdotx | but just teach them to aim and they're scary mofos | 01:47 |
mithro | xdotx: but they still get their arse handed to them by an organised army | 01:48 |
mithro | or people with heavy ordeinence | 01:48 |
xdotx | ionno, the good ol' 'merican revolution won partly because it was a bunch of rag-tag assholes vs an organized army | 01:49 |
mithro | xdotx: I find American's version of the revolution interesting ;) | 01:49 |
xdotx | also largely due to french help and the fact that nobody's won a multi-front war | 01:50 |
xdotx | but we skim over that one here ;) | 01:50 |
mithro | and you are arguing about would the be equiv of the computers being back in the early 1990's | 01:50 |
mithro | the rag-tag people had very similar weapons to the organised army | 01:51 |
mithro | but anyway :) | 01:51 |
xdotx | the performance-isn't-a-big-deal argument seems far fetched to me. if we're multi-threading programs to try and squeeze performance out of our cpus, then performance is pretty damn important | 01:52 |
mithro | C++is not quite a modern language, but not quite an early language | 01:52 |
* xdotx nods | 01:52 | |
mithro | xdotx: if performance really matters you are writing hand coded ASM at the moment | 01:52 |
mithro | (IE See media codecs and stuff) | 01:52 |
xdotx | everybody knows C is better than hand coded asm | 01:52 |
mithro | or C | 01:53 |
xdotx | compilers can generate better code than almost any asm programmer | 01:53 |
mithro | you can't write performance critical stuff in C++ | 01:53 |
xdotx | why not? you can write C in C++! | 01:53 |
mithro | xdotx: that is only a very recent occurence | 01:53 |
mithro | and there are still many cases it's not true | 01:54 |
mithro | so why not just use C then? | 01:54 |
xdotx | because not everything's performance sensitive | 01:54 |
mithro | xdotx: oh? so then performance doesn't matter then? | 01:55 |
xdotx | C++ lets you get down and dirty when it's appropriate, but doesn't require it for all cases | 01:55 |
xdotx | it's not a boolean | 01:55 |
xdotx | hmm. C++ is a float | 01:56 |
mithro | if performance doesn't matter, then use a higher level language :) | 01:56 |
xdotx | it's not as primitive as an int, and it's not as robust as a double | 01:56 |
xdotx | the problem is performance matters sometimes | 01:56 |
xdotx | you can't just throw it out the window because it's not always a big deal | 01:57 |
mithro | yes, which is why everyone hates it - you loose if you try and go either way | 01:57 |
mithro | you don't have the speed of an int, and you don't store enough data to be useful | 01:57 |
mithro | :) | 01:57 |
xdotx | interesting. | 01:57 |
xdotx | in my experience though, i can always do things like C++[2] to match | 01:58 |
mithro | for a good programmer, C++ is really good | 01:58 |
xdotx | or better yet, just use boost.BigC++ | 01:58 |
mithro | but the majority of the world consists of bad programmers | 01:59 |
mithro | or good programmers who have not had enough sleep :) | 01:59 |
xdotx | heh. i definitely see that argument | 02:00 |
mithro | which is why java, despite being a really horrible language is so used | 02:01 |
mithro | it improves the productivity of the "average programmer" why about 5-10% (but at the same time kills the productivity of good programmers by about 500%) | 02:02 |
xdotx | i can see that too | 02:03 |
mithro | Python tends to be a bit of the best world | 02:03 |
mithro | it makes the average programmer more effective | 02:04 |
mithro | it makes good programers more effective | 02:04 |
mithro | but it makes bad programmers useless | 02:04 |
mithro | and fault tolerence takes a beating | 02:05 |
xdotx | heh | 02:05 |
xdotx | python can do the 'add data/method X to class y' thing? | 02:06 |
mithro | xdotx: hrm? | 02:06 |
xdotx | can you modify classes after defining them? | 02:06 |
mithro | yeah | 02:07 |
xdotx | i don't like that. or the lack of 'const' :/ | 02:07 |
xdotx | i see the reasons for them, definitely. but they make me very uncomfortable | 02:07 |
mithro | it's a side effect of the dynamic nature | 02:08 |
xdotx | mhmm | 02:08 |
xdotx | personally, i'd rather manually build more dynamicism into C++ | 02:08 |
mithro | that has significant problems | 02:10 |
SmokingRope | i was reading about C++0X recently and noticed a section on full garbage collection | 02:11 |
mithro | SmokingRope: not matter how much you polish a turd, it's still a turd ;) | 02:12 |
mithro | SmokingRope: nice to see you still around | 02:12 |
xdotx | but if you cover it in gold i'd buy it | 02:12 |
SmokingRope | yea i'm hoping i can still get in on some testing sessions this summer :) | 02:12 |
xdotx | C++0x has some sexy things | 02:12 |
mithro | vala looks much more like what I think C++ should have been | 02:13 |
mithro | xdotx: http://live.gnome.org/Vala | 02:16 |
tpb | Title: Vala - GNOME Live! (at live.gnome.org) | 02:16 |
mithro | xdotx: so how goes everything? | 02:33 |
mithro | fixed all the bugs in RFTS? | 02:33 |
xdotx | makin' dinner | 02:33 |
xdotx | i need a todo list for rfts. pre and post "advanced rules" | 02:33 |
mithro | okay | 02:34 |
mithro | have you actually managed to play a game yet? | 02:34 |
xdotx | not recent - not this spring/summer | 02:39 |
xdotx | also vala looks cool | 02:39 |
mithro | maybe we should do it? | 02:41 |
mithro | yeah | 02:41 |
xdotx | mithro: hmm i should really work on my "for-work" code right now. maybe tomorrow? | 02:46 |
mithro | "for work"? :) | 02:47 |
xdotx | mithro: i'm going to be teaching some summer programming workshops for school. don't know what else to call that | 02:48 |
mithro | ahh okay | 02:48 |
xdotx | my problem is i'd work best on this at school, but when i'm at school i just end up working on my game :P | 02:49 |
xdotx | (it's in C# with MSVS) | 02:50 |
mithro | so now I have to hack in and replace your game with tpserver-cpp ;) | 02:51 |
xdotx | heheh | 02:53 |
JLafont | mithro: About the tabs. I've been slowly trying to convert the to 2 spaces instead of a tab | 03:03 |
JLafont | Normally happend when I start editing a new file. | 03:04 |
mithro | JLafont: why? | 03:04 |
mithro | that is a *wrong* thing to be doing | 03:04 |
JLafont | :( | 03:04 |
JLafont | really? | 03:04 |
mithro | you should be using the same format as the rest of the code | 03:04 |
JLafont | I thought I read something about making tabs 2 spaces | 03:04 |
mithro | which is a single tab | 03:04 |
JLafont | ahh ok | 03:04 |
JLafont | I'll covert them then | 03:05 |
* xdotx likes 3 space tabs, in tab format | 03:05 | |
JLafont | It was just getting weird with all my text editors showing everyhing being "ok" and then python going crazy on me | 03:05 |
xdotx | mithro: what does happen when you mix and match tabs/spaces in python? | 03:06 |
mithro | xdotx: badness | 03:07 |
JLafont | yes | 03:07 |
xdotx | i remember reading that so long as things line up you're fine, but tabs = n-spaces | 03:07 |
JLafont | epic badness | 03:07 |
JLafont | Like python cries | 03:07 |
xdotx | aww | 03:07 |
xdotx | poor python | 03:07 |
mithro | you should either use only spaces, or only tabs | 03:07 |
xdotx | k | 03:07 |
JLafont | ok | 03:08 |
JLafont | So I should make everything into tabs? | 03:08 |
JLafont | It will probably makes things simpler | 03:09 |
mithro | yes | 03:13 |
JLafont | awesome. For some reason I kept thinking I should convert them to spaces | 03:14 |
* JLafont spent too much time fixing tabs | 03:14 | |
mithro | yeah | 03:15 |
mithro | actually, you might want to do something like | 03:15 |
mithro | create a branch from master | 03:15 |
xdotx | i remember reading about that on the mailing list and being somewhat confusing. i wasn't gonna change unless directly yelled at though ;) | 03:16 |
mithro | and recommit your stuff without the space changes | 03:16 |
JLafont | xdotx: That might be were I got it from | 03:16 |
mithro | tpserver-cpp was using 2 spaces | 03:16 |
xdotx | somebody (a student problem) was asking some style question, iirc | 03:16 |
mithro | and I thought it was converting to 4 spaces | 03:16 |
JLafont | I'll probably end up just switching to tabs tomorrow | 03:16 |
mithro | JLafont: it would be much nicer to do the branching thing I mentioned above, it will make it clearer what you have changed/done | 03:17 |
JLafont | alrighty | 03:17 |
JLafont | Hmm.. git confuses me sometimes, should I merge into master before or after I commit? | 03:18 |
JLafont | Or should I not merge at all? | 03:19 |
* xdotx refrains from a "git is like c++ analogy" | 03:19 | |
JLafont | haha | 03:19 |
JLafont | BTW mithro: Have you had a chance at seeing the sad state of American TV? | 03:21 |
mithro | JLafont: what do you mean? | 03:22 |
mithro | do a | 03:22 |
mithro | git branch <master id> | 03:22 |
JLafont | mithro: TV... is severely lacking. | 03:22 |
mithro | now you have a branch which you can work on | 03:22 |
JLafont | yeah, but should I finish up by merging that branch into master? Or should I just leave it ehre as a "fixing tabs/space dilemna"? | 03:23 |
mithro | we finish by killing dronesec and you pushing your new branch which no longer has the tabs/space dilema as dronesec | 03:25 |
JLafont | ok | 03:26 |
* JLafont does not like the idea of "killing dronesec" | 03:27 | |
mithro | it's only one dronesec branch | 03:27 |
JLafont | I know. :-P | 03:28 |
JLafont | I would just feel bad If I broke tpserver-py with one of my crazy changes | 03:28 |
mithro | nah, revision control stops you from doing that :) | 03:28 |
mithro | only I can remove a branch and then git will complain bitterly | 03:29 |
JLafont | Where is the fun in that >.< | 03:29 |
JLafont | ahh alright | 03:29 |
JLafont | I'll be sure to make that new bracnch | 03:29 |
mithro | it shouldn't take you every long | 03:57 |
*** JLafont has quit IRC | 04:00 | |
*** JLafont has joined #tp | 04:01 | |
*** JLP has joined #tp | 04:05 | |
JLP | good morning everyone | 04:07 |
mithro | morning JLafont | 04:11 |
mithro | bah | 04:11 |
mithro | morning JLP | 04:11 |
JLafont | I guess it does technically count as morning for me :-P | 04:11 |
mithro | I'm in your timezone too now :) | 04:14 |
*** llnz has joined #tp | 04:48 | |
*** zzorn has joined #tp | 05:08 | |
*** peres has joined #tp | 05:10 | |
*** mithro has quit IRC | 06:05 | |
*** Iwanowitch has joined #tp | 08:27 | |
*** peres has quit IRC | 08:37 | |
*** ezod has joined #tp | 08:48 | |
* llnz wanders off | 08:54 | |
llnz | later all | 08:54 |
*** llnz has quit IRC | 08:54 | |
*** xdotx has quit IRC | 09:16 | |
*** peres has joined #tp | 09:17 | |
*** peres has left #tp | 10:06 | |
CIA-28 | jmingtan tpclient-pyogre * rfbce05ce02b5 / (src/Scene.py windows/login.layout windows/system.layout): Delete message by pressing delete button | 12:30 |
*** JLafont has quit IRC | 12:43 | |
*** JLafont has joined #tp | 12:43 | |
CIA-28 | aaron tpserver-cpp-config * re6ef753a33ed /tpserver/admintcpconn.cpp: AdminTcpConnection also accepts some basic (non-admin) TP frames. | 14:26 |
CIA-28 | aaron tpserver-cpp-config * rc01f3ebe1367 /tpserver/ (8 files): Admin client logging now works properly using AsyncLogMessage. | 14:26 |
CIA-28 | verhoevenv daneel-ai * re047254fea64 / (README daneel-ai): Basic client started. | 16:18 |
*** mithro has joined #tp | 16:25 | |
mithro | hey people | 16:26 |
mithro | Iwanowitch: I don't see any status report from you yet | 16:26 |
ezod | mithro: hey, see my reply yet? | 16:29 |
mithro | ezod: yeah | 16:29 |
mithro | generally I have been aiming to get all students to report on friday | 16:29 |
mithro | as it gives me the weekend to review people's status reports | 16:29 |
mithro | most of the students seem to end up on friday anyway | 16:29 |
ezod | i see | 16:30 |
ezod | what's your recommendation for me then? | 16:30 |
ezod | i can definitely shift to fridays starting this one coming up | 16:30 |
ezod | but what about this week's? | 16:30 |
mithro | ezod: if you could get me one by the end of the day, that would be great | 16:33 |
ezod | mithro: no problem, i'm at a pretty good point to do one now actually | 16:34 |
mithro | now would be just as good | 16:34 |
Iwanowitch | mithro: Ah, okay, I was going to write mine on sundays, but if you prefer fridays that's fine as well. | 16:37 |
mithro | Iwanowitch: Friday is probably a better idea, as it lets you collect your thoughts for what you are going to do on the weekend | 16:37 |
Iwanowitch | Not much difference between weekends and weekdays here. | 16:38 |
Iwanowitch | Anyway, I'll get right on to it. | 16:38 |
Iwanowitch | And I'll start doing it on fridays from next time onwards. | 16:39 |
mithro | ahh of course, you people on holidays :) | 16:39 |
mithro | I'm taking the time to review all student's status reports this week | 16:40 |
mithro | and help make them better | 16:40 |
Iwanowitch | Err, well, let's say "without classes". | 16:40 |
CIA-28 | aaron documents * r583d5cb1104a /protocol/admin.xml: Fixed a typo. | 16:40 |
mithro | if you want to see some of the stuff I'm likely to give as feedback, check the logs form when chatting to jphr and jlafont | 16:41 |
Iwanowitch | mithro: Should I mention status report in the title or the tags or something? I'm probably not really going to post much else, but it might help to filter the status reports out. | 16:45 |
mithro | sure | 16:47 |
mithro | and the week it is for | 16:47 |
CIA-28 | aaron documents * red416db41858 /protocol/admin.xml: Fixed another typo. | 16:48 |
Iwanowitch | Erm, the week preceding the date it is posted? | 16:48 |
Iwanowitch | Isn't that obvious? :P | 16:48 |
ezod | gah | 16:49 |
ezod | this validator doesn't work :( | 16:49 |
mithro | not all blog posts keep the date in easy to locate places | 16:50 |
mithro | and I actually meant like "Week 1" | 16:50 |
mithro | or similar | 16:50 |
Iwanowitch | Okay. | 16:50 |
ezod | sorry for these spurious commits to documents | 16:51 |
Iwanowitch | So previous week was week 1, right? | 16:51 |
Iwanowitch | I've lost count at 1 already. :/ | 16:51 |
ezod | i'm validating the xml, it's telling me it's valid, but it isn't | 16:51 |
mithro | what are you using to do the validation? | 16:56 |
ezod | some online thing, turns out it wasn't doing anything at all | 16:57 |
ezod | i've found a better one | 16:57 |
ezod | http://www.stg.brown.edu/service/xmlvalid/ | 16:58 |
tpb | Title: STG XML Validation Form (at www.stg.brown.edu) | 16:58 |
mithro | there are command line tools | 16:58 |
ezod | i know, but i don't seem to have any :) | 16:59 |
ezod | just wanted to check it quick | 16:59 |
CIA-28 | aaron documents * r801a6fb78d32 /protocol/admin.xml: Remaining typos corrected. Document properly validated. | 17:00 |
mithro | ezod: you probably want to install one anyway :) | 17:00 |
ezod | mithro: sure, any recommendations? | 17:00 |
mithro | nope | 17:00 |
ezod | alright, i'll find something | 17:00 |
mithro | xmllint is suppose to be good | 17:00 |
ezod | oh, that's part of libxml2 | 17:02 |
ezod | which i have | 17:02 |
ezod | alright then :) | 17:02 |
* ezod rtfm's | 17:02 | |
mithro | I have never used xmllint | 17:02 |
mithro | but it also does formatting checking and suck | 17:03 |
mithro | s/suck/such | 17:03 |
Asmm | hello. Anyone familiar with cygwin environment here? I have to use it in one place, and i tried to compile tpserver-cpp. It requires libtprl, which I also compile and installed and it worked. (It inslalls in /usr/local/lib btw). However ./configure can't find it, even when i specify LD_RUN_PATH or other env vars... any hints which should do the trick? I did not deal with linking and C++ in a long time and dont ant to spend a | 17:16 |
mithro | you probably want to specify PKG_CONFIG_PATH? | 17:18 |
mithro | can you get the output | 17:18 |
* mithro built tpserver-cpp on cygwin a very long time ago | 17:19 | |
mithro | http://blog.mithis.net/archives/tp/13-compiling-tpserver-cpp-under-windows-part-3 | 17:19 |
tpb | <http://ln-s.net/1ttf> (at blog.mithis.net) | 17:19 |
mithro | http://blog.mithis.net/archives/tp/10-compiling-tpserver-cpp-under-windows | 17:20 |
tpb | <http://ln-s.net/1cYM> (at blog.mithis.net) | 17:20 |
mithro | hrm, those posts are less then useful | 17:20 |
ezod | mithro: weekly report is up | 17:22 |
ezod | http://ezod.livejournal.com/16743.html | 17:23 |
tpb | Title: ezod: GSoC/TP Weekly Status Report (May 26 - June 1) (at ezod.livejournal.com) | 17:23 |
mithro | thanks | 17:24 |
mithro | okay, here are some comments | 17:24 |
Asmm | hmm.. i think i forgot about PKG_CONFIG, but it did not work either, as did not LD_LIBRARY_PATH and LD_RUN_PATH... hmm, let me try all those again just in case, and i will chekc the link too | 17:24 |
mithro | Asmm: if you put the output in a pastebin, then I can give you better information | 17:25 |
mithro | ezod: have a read of http://www.thousandparsec.net/~irc/logs/%23tp.2008-05-31.log.html#t2008-05-31T18:15:49 | 17:25 |
tpb | <http://ln-s.net/1tth> (at www.thousandparsec.net) | 17:25 |
Asmm | well, ther eis nothing to paste here. Just cant find the lib: | 17:26 |
Asmm | checking for libtprl... no | 17:26 |
Asmm | configure: error: Couldn't find libtprl. Please install it before trying again | 17:26 |
mithro | oh | 17:27 |
mithro | that you need to do is | 17:27 |
Asmm | it IS in /usr/local/lib, and all the above env vars were set to that dir (initial value was empty for all anyway) | 17:27 |
Asmm | oh? :) | 17:27 |
mithro | PKG_CONFIG_PATH=<tpcl install dir>/lib/pkgconfig ./configure | 17:28 |
ezod | mithro: looks like i could be providing more "proof" as you say, i'll run through this report and tag a few more links where it's relevant | 17:31 |
mithro | ezod: I was thinking more "reflection" part | 17:31 |
mithro | how did you think this week went? | 17:32 |
mithro | what prevent you completeing your project this week? | 17:32 |
mithro | etc | 17:32 |
ezod | mithro: ah, that too then | 17:32 |
ezod | http://www.thousandparsec.net/~irc/logs/%23tp.2008-05-31.log.html#t2008-05-31T19:43:21 | 17:32 |
tpb | <http://ln-s.net/1ttj> (at www.thousandparsec.net) | 17:32 |
ezod | in case you were still wondering, i was camping may 28 - 31 (let JLP know in advance) | 17:33 |
mithro | probably a good idea to remind your mentor to inform the other mentors too :) | 17:33 |
ezod | i'll CC everyone next time | 17:34 |
Asmm | btw, did you mean pkg-config? | 17:34 |
tpb | aloril has quit worldforge (Ping timeout: 378 seconds) | 17:35 |
CIA-28 | llnz tpserver-cpp-config * rc284819a3408 /tpserver/frame.cpp: | 17:37 |
CIA-28 | Check that no frame has set an incorrect frametype in tp04. | 17:37 |
CIA-28 | Only protects against outgoing frames. | 17:37 |
CIA-28 | llnz tpserver-cpp-config * r76455926d482 /tpserver/ (avahi.cpp metaserverconnection.cpp): | 17:37 |
CIA-28 | Only use TurnTimer if it's not NULL in Avahi and MetaserverConnection. | 17:37 |
CIA-28 | Should prevent some segfaults/bus errors. | 17:37 |
CIA-28 | llnz tpserver-cpp-config * rad69533fc882 /tpserver/playeragent.cpp: Allow getting the player's board by either 0 or it's actual ID. | 17:38 |
CIA-28 | llnz tpserver-cpp-config * rf3aeca329b39 /tpserver/objectparametergroupdesc.cpp: The ObjectParam Description for OrderQueue has int for the max number of slots. | 17:38 |
CIA-28 | llnz tpserver-cpp-config * r942df6e1581b /tpserver/ (orderqueueobjectparam.cpp orderqueueobjectparam.h): Removed code that is not used in OrderQueueObjectParam. | 17:38 |
CIA-28 | llnz tpserver-cpp-config * r8eaa91516e12 /sample.conf: Removed documentation for parameter that is no longer used, metaserver_params_version | 17:38 |
mithro | Asmm: hrm? | 17:38 |
CIA-28 | aaron tpserver-cpp-config * r4b37e410ed2e / (8 files in 2 dirs): | 17:38 |
CIA-28 | Merge commit 'origin/master' into config | 17:38 |
CIA-28 | Conflicts: | 17:38 |
CIA-28 | tpserver/frame.cpp | 17:39 |
CIA-28 | aaron tpserver-cpp-config * r3682300bc1e0 /tpserver/ (adminconnection.cpp adminconnection.h): Skeleton frame processing functionality added to AdminConnection. | 17:39 |
mithro | ~seen jmtan | 17:39 |
tpb | mithro: jmtan was last seen in #tp 3 days, 6 hours, 33 minutes, and 35 seconds ago: <jmtan> sure, cya | 17:39 |
Asmm | well, I did not understand your suggestion, i think. Just to be on the same level, I have libtprl compiled, and installed in /usr/local/lib (that is, the .a and .la files are there). Now, have PKG_CONFIG_PATH set to /usr/local/lib, which does not make /configure happy. I haven | 17:46 |
Asmm | haven't used pkg-config, so not sure what you suggest | 17:46 |
Asmm | btw, given your blog post, does tpserver-cpp compile under cygwin at all? (i mean, this tprl stuff is minor, but in general does it compile well?) | 17:47 |
ezod | mithro: weekly report updated | 17:47 |
*** JLafont has quit IRC | 17:50 | |
*** JLafont has joined #tp | 17:51 | |
tpb | aloril has joined on worldforge | 17:54 |
Iwanowitch | mithro: report posted | 17:55 |
mithro | Iwanowitch: did you see the updates to libtpclient-py? | 17:56 |
mithro | oh, you even link to it ;) | 18:00 |
Asmm | ok, i figured what the problem was. /configure wanted a pkg-config file libtprl.pc (why on earth ONLY try pkg-config? i mean, its good, but why not just check if the lib is simply there), which was NOT installed by the libtprl's make install. I manually (doh!) copied that one file to the same /usr/local/lib and it worked | 18:45 |
Asmm | but now the configure complains about the Boost library. I knew i would need one and installed it, but now i got: | 18:45 |
Asmm | checking whether the Boost::Signals library is available... yes | 18:45 |
Asmm | configure: error: Could not link against ! | 18:45 |
Asmm | any suggestions how to resolve that? | 18:45 |
mithro | pkg-config returns things like include paths which are needed | 18:49 |
mithro | check the config.log | 18:49 |
Asmm | yeah, i did at the end and thats how i figured it wanteded a .pc file (btw, the lib is written by the same guy who did tpserver, weird that default install would not install that file, and then tpserver ask for it) | 18:53 |
Asmm | yeah, checking boost now | 18:53 |
Asmm | configure:21352: g++ -c -g -Wall -I/usr/include/boost-1_33_1 conftest.cpp >&5 | 18:55 |
Asmm | configure:21358: $? = 0 | 18:56 |
Asmm | configure:21364: result: yes | 18:56 |
Asmm | configure:21443: checking whether the Boost::Signals library is available | 18:56 |
Asmm | configure:21478: g++ -c -g -Wall -I/usr/include/boost-1_33_1 conftest.cpp >&5 | 18:56 |
Asmm | configure:21484: $? = 0 | 18:56 |
Asmm | configure:21506: result: yes | 18:56 |
Asmm | configure:21732: error: Could not link against ! | 18:56 |
Asmm | and then a few lines above it has: | 18:56 |
Asmm | ----------- | 18:56 |
Asmm | configure:21162: checking for boostlib >= 1.32.1 | 18:56 |
Asmm | configure:21226: g++ -c -g -Wall conftest.cpp >&5 | 18:56 |
Asmm | conftest.cpp:25:30: boost/version.hpp: No such file or directory | 18:56 |
Asmm | conftest.cpp:34:5: #error Boost version is too old | 18:56 |
Asmm | --------- | 18:56 |
Asmm | though i have v1.33, and version.hpp is there. And indeed, it is happy about it anyway: | 18:57 |
Asmm | checking for boostlib >= 1.32.1... yes | 18:57 |
Asmm | but the failing point is "configure:21732: error: Could not link against !" which does not help much. Boost is there and seem to work | 18:57 |
mithro | you should be using paste bin please | 18:57 |
mithro | (rather then pasteing it here) | 18:57 |
mithro | Asmm: libtprl does install the .pc file on Linux | 18:58 |
Asmm | sorry, not sure what paste bin is | 18:58 |
Asmm | ok, so i guess this is a cygwin bug with .pc file | 18:58 |
Asmm | well, thats why i asked about a cygwin env in the first place :) | 18:59 |
Asmm | anyway, a) what is paste bin? :) and b) any suggestions anyway? Anyone who did try to compile tpserver-cpp under cygwin recently? | 18:59 |
mithro | google for paste bin | 19:00 |
mithro | nobody has tried under cygwin recently | 19:00 |
Asmm | i see | 19:01 |
mithro | running a server on windows is not recommended | 19:01 |
Asmm | did you mean http://pastebin.ca? well, did not cross my mind to trade external links on irc :) | 19:01 |
Asmm | well, the thing is, sometimes i may have only win machines aroumnd, and i think i need a local server to test stuff (no outside internet)... Why not recommended btw? I have no idea, but generally a server for a game sounds like a generic C++ aplication? | 19:03 |
Asmm | btw, with some luck one alternative for me may be a freeBSD server, i guess there should be no probs there? | 19:06 |
mithro | you could run it inside a virtual machine | 19:08 |
mithro | vmware player and server are both free | 19:09 |
mithro | Asmm: unless you want to maintain tpserver-cpp on windows, feel free | 19:09 |
mithro | we just don't have any developers using windows for development | 19:10 |
mithro | so it's not likely to work on windows without extra work | 19:11 |
Asmm | hmm, no go | 19:29 |
Asmm | ok, thanks for reminding about VM, i guess i will try that if i ned to run on win | 19:29 |
Asmm | (and that extra work is noth worth it anyway, heh) | 19:30 |
mithro | if you have decent net access | 19:31 |
mithro | you can even download prebuilt ubuntu vm's and stuff | 19:31 |
mithro | i'm going out for a bit | 19:35 |
mithro | will be back later | 19:35 |
*** nash has joined #tp | 19:57 | |
tpb | aloril has quit worldforge (Ping timeout: 378 seconds) | 20:48 |
*** greywhind has joined #tp | 21:42 | |
CIA-28 | pluskid schemepy * r65ad7490163a /schemepy/mzscheme/ (mzhelper.c mzscheme.py): Move catched_apply_proc from global to one per vm. | 21:42 |
CIA-28 | pluskid schemepy * r22d47fe0473d /schemepy/mzscheme/ (mzhelper.c mzscheme.py): Set current_namespace before compile, eval and apply | 21:42 |
CIA-28 | pluskid schemepy * rd50b1c17b33c /schemepy/mzscheme/ (mzhelper.c mzscheme.py): | 21:42 |
CIA-28 | Merge branch 'mz_per_vm_apply_proc' into mz_plain_exception | 21:42 |
CIA-28 | Conflicts: | 21:42 |
CIA-28 | schemepy/mzscheme/mzscheme.py | 21:42 |
CIA-28 | pluskid schemepy * r5e3020ad70e4 / (3 files in 2 dirs): All testcases in schemepy sub-directory passed. | 21:42 |
CIA-28 | pluskid schemepy-mz_plain_exception * r65ad7490163a /schemepy/mzscheme/ (mzhelper.c mzscheme.py): Move catched_apply_proc from global to one per vm. | 21:42 |
CIA-28 | pluskid schemepy-mz_plain_exception * r22d47fe0473d /schemepy/mzscheme/ (mzhelper.c mzscheme.py): Set current_namespace before compile, eval and apply | 21:43 |
CIA-28 | pluskid schemepy-mz_plain_exception * rd50b1c17b33c /schemepy/mzscheme/ (mzhelper.c mzscheme.py): | 21:43 |
CIA-28 | Merge branch 'mz_per_vm_apply_proc' into mz_plain_exception | 21:43 |
CIA-28 | Conflicts: | 21:43 |
CIA-28 | schemepy/mzscheme/mzscheme.py | 21:43 |
CIA-28 | pluskid schemepy-mz_plain_exception * r5e3020ad70e4 / (3 files in 2 dirs): All testcases in schemepy sub-directory passed. | 21:43 |
Epyon_ | Pain | 21:44 |
*** greywhind_ has joined #tp | 21:49 | |
*** greywhind has quit IRC | 21:49 | |
*** pluskid has joined #tp | 22:08 | |
CIA-28 | pluskid schemepy * rfd6fe162c9d5 /schemepy/mzscheme/mzscheme.py: Added proper profile support for mzscheme backend. | 22:08 |
CIA-28 | pluskid schemepy * r0204e9a1eff8 /tests/test_scheme/test_eval_pypy.py: | 22:08 |
CIA-28 | Remove circular list test from testcase. | 22:08 |
CIA-28 | Some backends may go infinite loop when converting circular | 22:08 |
CIA-28 | lists. | 22:08 |
CIA-28 | pluskid schemepy * r7d6fb4e7608d /tests/test_scheme/test_eval_pypy.py: | 22:08 |
CIA-28 | Removed test_if_evaluation from testcase. | 22:08 |
CIA-28 | `define' is not allowed in expression context like: | 22:08 |
CIA-28 | (if #t (define then #t) (define else #t)) | 22:08 |
CIA-28 | in the mzscheme backend. | 22:08 |
CIA-28 | pluskid schemepy * rb0547690c9db /tests/test_scheme/test_eval_pypy.py: | 22:09 |
CIA-28 | Two comparison_homonums testcase removed. | 22:09 |
CIA-28 | `(=)' and `(= 1)' have different behavior in different | 22:09 |
CIA-28 | backends. | 22:09 |
CIA-28 | * return #t in guile | 22:09 |
CIA-28 | * raise exception in mzscheme (wrong number of arguments) | 22:09 |
CIA-28 | pluskid schemepy * r9073dd460f89 /tests/test_scheme/test_eval_pypy.py: (log message trimmed) | 22:09 |
CIA-28 | Modified quasiquote fail testcase. | 22:09 |
CIA-28 | Different backend may raise different exception here when | 22:09 |
CIA-28 | evaling "`(,,(+ 1 2))" | 22:10 |
CIA-28 | * guile: ScmUnboundVariable | 22:10 |
CIA-28 | * mzscheme: ScmSyntaxError | 22:10 |
CIA-28 | And the exception is raised when compiling in mzscheme but | 22:10 |
CIA-28 | pluskid schemepy * r4c9e5c8fef8e /tests/test_scheme/test_eval_pypy.py: All existing testcases passed for the mzscheme backend. | 22:10 |
*** pluskid has quit IRC | 22:10 | |
*** llnz has joined #tp | 22:17 | |
*** greywhind has joined #tp | 22:19 | |
CIA-28 | pluskid schemepy * r3c618afdea83 / (4 files in 3 dirs): | 22:27 |
CIA-28 | Benchmark of tak added. | 22:27 |
CIA-28 | mzscheme wins here! | 22:27 |
*** greywhind_ has quit IRC | 22:33 | |
*** greywhind has quit IRC | 22:41 | |
*** Iwanowitch has quit IRC | 22:42 | |
*** mithro has quit IRC | 22:56 | |
*** mithro has joined #tp | 23:02 | |
mithro | ~seen jmtan | 23:04 |
tpb | mithro: jmtan was last seen in #tp 3 days, 11 hours, 58 minutes, and 15 seconds ago: <jmtan> sure, cya | 23:04 |
mithro | ~seen pluskid | 23:04 |
tpb | mithro: pluskid was last seen in #tp 3 days, 10 hours, 58 minutes, and 3 seconds ago: <pluskid> quit | 23:04 |
mithro | ~seen JLP | 23:04 |
tpb | mithro: JLP was last seen in #tp 18 hours, 56 minutes, and 53 seconds ago: <JLP> good morning everyone | 23:04 |
mithro | JLP: ping? | 23:04 |
llnz | mithro: he would still be asleep | 23:07 |
mithro | Epyon_: ping? | 23:09 |
*** pluskid has joined #tp | 23:35 | |
pluskid | mithro: ping? | 23:35 |
mithro | pluskid: pong! | 23:35 |
pluskid | mithro: I got your email. :) | 23:36 |
mithro | cool :) | 23:36 |
pluskid | I'll recover those test case I just removed later | 23:36 |
pluskid | s/later/now/ | 23:36 |
pluskid | or do you think I need to re-write my last status report? | 23:37 |
mithro | pluskid: well, it would be good if you expanded/write an follow-up | 23:37 |
pluskid | mithro: OK. :) | 23:38 |
mithro | I'm collecting all this weeks status reports into a big "this week in Thousand Parsec GSoC" status report | 23:38 |
pluskid | I'll do that after recovered the test cases. | 23:38 |
mithro | pluskid: did you understand my reasoning? | 23:40 |
mithro | llnz: ping? | 23:43 |
CIA-28 | pluskid schemepy * rb918a0466c46 /tests/test_scheme/test_eval_pypy.py: | 23:43 |
CIA-28 | Recovered some test cases removed before. | 23:43 |
CIA-28 | Testcases not passed are OK there. | 23:43 |
llnz | mithro: pong | 23:43 |
mithro | I found a problem with the protocol.xml when looking over it and the admin stuff | 23:43 |
pluskid | mithro: what reasong? | 23:43 |
mithro | enum's don't specify a size | 23:43 |
pluskid | reasoning | 23:43 |
mithro | pluskid: why those test cases should exist? | 23:43 |
pluskid | mithro: I think I do | 23:44 |
llnz | mithro: all enums, or just admin.xml? | 23:44 |
mithro | pluskid: want to explain it back to me then? | 23:44 |
mithro | llnz: all enums I think | 23:44 |
pluskid | mithro: those uncompatible test cases should exists to reflect the differences between backends | 23:44 |
pluskid | mithro: we should write test cases with regards to Scheme standard instead of one specific backend. | 23:45 |
pluskid | mithro: and with the circular list test case. It's my problem: I should fix the program instead of hiding the test case. :p | 23:45 |
mithro | well, infact they are all "your problem" | 23:46 |
mithro | any test case which shows differences between the backends are things which we need to solve | 23:46 |
mithro | or some up with some acceptable solution for | 23:46 |
pluskid | hmm | 23:46 |
mithro | they are the interesting cases | 23:46 |
llnz | mithro: enum's pick up a default size of 32 from the dtd | 23:46 |
pluskid | yes, or else we'll have nothing to do. | 23:47 |
llnz | (as do integers) | 23:47 |
llnz | (and strings type "plain") | 23:47 |
mithro | pluskid: so the solution may be to change 1. API, 2. test, 3. one or more backends | 23:47 |
mithro | llnz: I don't like that at all | 23:48 |
mithro | as it hides information from a human reader | 23:48 |
pluskid | mithro: yes, and I think 1 & 2 are the same. | 23:48 |
mithro | yeah | 23:49 |
pluskid | we would prefer change the implementation to have a workaround if possible. | 23:49 |
llnz | mithro: any good xml library should pull them in | 23:49 |
mithro | oh did you see the section about about formatting your email messages? | 23:49 |
pluskid | mithro: yep | 23:49 |
llnz | so they appear | 23:49 |
mithro | llnz: but that defeats the purpose of XML - that it is human readable :) | 23:49 |
mithro | plus explict is better then implicit | 23:50 |
*** JLP_ has joined #tp | 23:50 | |
tpb | aloril has joined on worldforge | 23:50 |
pluskid | mithro: I think gmail can highlight quotes so I never used a separate blank line before | 23:50 |
mithro | pluskid: not everyone uses gmail :) | 23:51 |
pluskid | mithro: OK, then. :) | 23:51 |
*** Jakiao has joined #tp | 23:53 | |
*** Jakiao has left #tp | 23:53 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!