*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** llnz has joined #tp | 00:07 | |
*** _Lukstr has joined #tp | 00:14 | |
*** Lukstr has quit IRC | 00:16 | |
*** Lukstr has joined #tp | 00:17 | |
*** Lukstr has quit IRC | 00:21 | |
*** Lukstr has joined #tp | 00:28 | |
*** Lukstr has quit IRC | 00:31 | |
*** _Lukstr is now known as Lukstr | 01:00 | |
* llnz ponders | 01:09 | |
nash | llnz: Did you see: http://yosefk.com/c++fqa/index.html | 01:15 |
---|---|---|
tpb | Title: C++ Frequently Questioned Answers (at yosefk.com) | 01:15 |
llnz | nope | 01:17 |
* llnz has a look | 01:18 | |
*** tansell has joined #tp | 01:36 | |
tansell | ~seen jphr | 01:40 |
tpb | tansell: jphr was last seen in #tp 5 days, 13 hours, 16 minutes, and 45 seconds ago: <jphr> hehe, perhaps | 01:40 |
tansell | hrm | 01:40 |
tansell | ~seen jotham | 01:42 |
tpb | tansell: jotham was last seen in #tp 3 weeks, 2 days, 19 hours, and 49 seconds ago: <jotham> no mithro :\ | 01:42 |
llnz | so nash, i just starting another project in c++, what language would you suggest i do it in (and don't say "c" because its too complicated for that) | 01:47 |
nash | llnz: I'm curious what project you are doing which is more complex then the linux kernel... | 01:48 |
nash | llnz: Does it do i/o? | 01:49 |
llnz | yes, lots | 01:49 |
nash | If it needs to be fast, do it in C, if it doesn't do it in a high level language. | 01:49 |
nash | Then it's doesn't matter... i/o is slow | 01:49 |
nash | Do it in python, or ruby | 01:50 |
nash | or lua | 01:50 |
nash | or scheme | 01:50 |
nash | If you know monads, do it in haskell | 01:50 |
nash | or ocaml | 01:50 |
llnz | would love to use haskell, but can't get head around monads | 01:51 |
nash | And the point of the link is... C++ is the most complex language around.. you should be solving complex problems, not complex languages | 01:51 |
llnz | one think i don't like about python is that it's hard(-ish) to get a summary of the methods and fields | 01:52 |
tansell | llnz, epydoc? or ipython | 01:53 |
tansell | ipython you just hit tab | 01:53 |
tansell | >>> t = myobject() | 01:53 |
llnz | tansell: like a c++ (or even c) header | 01:53 |
tansell | >>> t.<tab> | 01:53 |
tansell | add remove clean danceajig | 01:54 |
tansell | >>> help(t.clean) | 01:54 |
*** llnz is now known as llnz2 | 01:54 | |
tansell | The clean method cleans the object with a shammy | 01:54 |
*** llnz2 is now known as llnz | 01:55 | |
nash | llnz2: If the existance of C++ header file is the reason to you C++... you have problems | 01:55 |
* llnz suspects that the fqa is right about ide's | 01:56 | |
nash | llnz: It's right about a lot of things | 01:57 |
tansell | there are not many good python IDEs :( | 01:58 |
tansell | eclipse pydev is almost useful | 01:58 |
* nash suggests "vim" | 01:58 | |
nash | or "emacs" | 01:58 |
tansell | Python is much better when exploring interactively | 01:59 |
nash | the former is portable | 01:59 |
nash | tansell: use the "zsh" plugin ;-) | 01:59 |
tansell | i recommend ipython | 01:59 |
llnz | i will probably use kdevelop (still) | 01:59 |
tansell | the dynamic nature of python is not great for IDE's being able to do sensible auto-complete | 02:01 |
llnz | humm... parts of this project is very io intensive and other parts very cpu intensive | 02:03 |
nash | llnz: How CPU intensive? | 02:03 |
nash | llnz: You could always use two languages | 02:04 |
llnz | i'm starting with all the bits together, and will eventually split them apart (distrubuted) | 02:04 |
nash | C for CPU intensive | 02:04 |
nash | Something else for rest of the program | 02:04 |
nash | C saves massive amounts of data copy ;-) | 02:04 |
nash | And insane inlining | 02:04 |
llnz | actually, why don't I start with everything in python, then rewrite to C (or whatever) when necessary | 02:06 |
nash | even better | 02:06 |
nash | Then chances are you'll never get to the "C" bit ;-) | 02:06 |
tansell | Python is good because it is easy to extend with C | 02:08 |
nash | tansell: As an aside... why are you tansell now... | 02:09 |
nash | tansell: Most languages extend with C. | 02:09 |
nash | So it's hardly a python feature | 02:09 |
nash | even perl extends with C... | 02:09 |
tansell | I'm on the work laptop :) | 02:10 |
nash | And 'mithro' is a naughty word on the laptop? | 02:11 |
tansell | nope but my personal laptop is logged in too | 02:11 |
nash | kill it ;-) | 02:13 |
tansell | why? | 02:14 |
tansell | it is sitting on my desk | 02:14 |
nash | back shortly | 02:15 |
llnz | bbs | 02:17 |
JLP | good morning everyone | 02:41 |
nash | JLP: We need to upgrade your timezone ;-) | 02:46 |
JLP | nash: piece of cake, i just need to move to australia or new zeland and it will be done :) | 02:47 |
nash | I'm sure tim can help you find a flat..., we'll see you in 24 hours or so... | 02:49 |
nash | I assume you have your toothbrush with you? | 02:49 |
mithro | damn didn't get the really good apartment I saw :( | 02:53 |
JLP | bags packed, i'm ready to go :) | 02:54 |
mithro | you okay to live in the Google building under my desk? | 02:54 |
JLP | yeah it's fine | 02:55 |
nash | JLP: mithro will pick you up from the airport too | 02:57 |
nash | JLP: Although he may then drop you 400km for civilisation... | 02:57 |
JLP | s/for/from ? | 02:58 |
nash | JLP: yes | 02:59 |
JLP | ah no problem, i've watched lots of survival stuf on national geographic and discovery and the like :) | 03:01 |
*** nash has quit IRC | 03:24 | |
mithro | JLP: so you know all your dangerous and deadly animals | 03:55 |
JLP | mithro: sure, it's almost like i could teach steve irwin :) | 03:59 |
mithro | well he didn't learn his lesson did he? ;) | 04:00 |
JLP | hehe, anyways, have to go for a couple of hours | 04:00 |
*** zzorn_laptop has joined #tp | 04:01 | |
*** peres has joined #tp | 04:42 | |
*** JLafont has quit IRC | 05:04 | |
* JLP is back | 06:32 | |
*** JLafont-laptop has quit IRC | 06:54 | |
mithro | hey JLP | 07:10 |
*** Epyon has quit IRC | 07:28 | |
*** mithro has quit IRC | 07:32 | |
*** peres has quit IRC | 07:42 | |
*** peres has joined #tp | 08:07 | |
ezod | llnz: ping? | 08:53 |
llnz | ezod: pong | 08:53 |
ezod | hey | 08:54 |
ezod | i'm getting a sigpipe whenever tpadmin disconnects from tpserver (but only when logged in) | 08:54 |
ezod | planning on debugging it | 08:54 |
llnz | sigpipe in tpserver or in tpadmin? | 08:55 |
ezod | tpserver | 08:55 |
llnz | it's trying to write data to a socket that's closed | 08:55 |
ezod | yeah | 08:55 |
llnz | at a guess, it's the logsink | 08:55 |
ezod | my guess as well :) | 08:55 |
ezod | i was thinking, would it be a good idea to trap sigpipes in tpserver to avoid such problems entirely? | 08:56 |
llnz | careful work is needed | 08:56 |
llnz | i'm not sure that trapping sigpipe would sort it all out | 08:57 |
ezod | oh, i still intend on fixing it properly | 08:57 |
llnz | have a look and see if it does | 08:57 |
ezod | but as a kind of additional measure (maybe it could spit out a log message so we can identify problems still) | 08:57 |
llnz | true, but can't log (directly) because it's not interrupt safe (reentrant) | 08:59 |
ezod | oh right | 08:59 |
ezod | well, the problem is | 09:00 |
ezod | Logger::getLogger()->debug("Stage3 : logged in"); | 09:00 |
ezod | maybe i could just get rid of that | 09:01 |
ezod | then it will hit the readFrame right away, detect the disconnect, and close the socket | 09:01 |
llnz | that would work | 09:02 |
llnz | that sort of *very* low level debug message isn't that helpful once the thing is working | 09:03 |
ezod | yeah | 09:03 |
ezod | shall i still trap sigpipe? | 09:03 |
ezod | otherwise one bad socket can crash the entire server | 09:03 |
ezod | over a log message | 09:04 |
llnz | it doesn't crash | 09:04 |
llnz | sigpipe is ignored, iirc | 09:04 |
llnz | humm... maybe it isn't | 09:04 |
ezod | i don't think so, because it crashes for me | 09:04 |
ezod | ignoring it might be a good idea | 09:05 |
llnz | humm... | 09:05 |
ezod | i don't really see any reason *not* to, since tpserver doesn't do any kind of command line piping | 09:05 |
llnz | yeah, ignoring should be fine, as the send() returns an error anyway | 09:05 |
ezod | ok, you want me to put that in config branch or are you going to put it in master? | 09:06 |
llnz | put it in config | 09:07 |
ezod | k | 09:07 |
llnz | i'll be pulling it in soon enough | 09:07 |
ezod | this stuff is basically ready, i'm just hammering it for bugs right now | 09:07 |
ezod | this is the last one i know of | 09:08 |
llnz | cool | 09:08 |
CIA-31 | aaron tpserver-cpp-config * r02fcd1820705 /tpserver/ (adminconnection.cpp admintcpconn.cpp main.cpp): | 10:03 |
CIA-31 | Removed some debug log messages on disconnect and ignore SIGPIPE. | 10:03 |
CIA-31 | This prevents the server from crashing when an admin client disconnects. | 10:03 |
ezod | (and enables me to find a couple new bugs. yay!) | 10:03 |
*** zzorn_laptop has quit IRC | 10:05 | |
llnz | hehe | 10:10 |
* llnz wanders off | 10:10 | |
llnz | later all | 10:10 |
*** llnz has quit IRC | 10:11 | |
*** peres has left #tp | 10:16 | |
*** Ohm has joined #tp | 10:27 | |
*** JLafont has joined #tp | 12:40 | |
*** bddebian has joined #tp | 12:45 | |
bddebian | heya | 12:47 |
*** jphr has joined #tp | 12:50 | |
CIA-31 | aaron tpadmin-cpp * r878969a4f1fa /tpadmin/ (session.cpp session.h): Reset commands to local set only when closing connection. | 12:51 |
CIA-31 | aaron libtpproto-cpp-config * re4ba7e23ef72 /tpproto/simpleeventloop.cpp: Removed disconnection debug message. | 13:24 |
CIA-31 | aaron tpadmin-cpp * r1c15d9b4c021 /tpadmin/ (consolelogger.cpp consolelogger.h session.cpp): Added debug command to toggle debug messages; off by default. | 13:35 |
CIA-31 | victor.ivri gencon-rfts-ai * rd383a059dfa1 /gencon/ (Master.java clientLib/Client.java utils/Utils.java): Some restructuring as result of introducing the AI library. | 14:36 |
*** vi1985 has joined #tp | 14:36 | |
CIA-31 | victor.ivri gencon-rfts-ai * r3cb2b7e354e5 / (README gencon/GenConRunner.java gencon/clientLib/Client.java): Updated documentation. | 14:49 |
*** JLafont-laptop has joined #tp | 15:12 | |
*** Ohm has quit IRC | 15:22 | |
*** jphr has quit IRC | 15:51 | |
*** Ohm has joined #tp | 15:57 | |
*** JLafont has quit IRC | 16:32 | |
*** JLafont has joined #tp | 16:33 | |
CIA-31 | victor.ivri gencon-rfts-ai * re2b254a61f94 /gencon/ (4 files in 3 dirs): some very minor restructuring of client and robolib. | 16:33 |
CIA-31 | victor.ivri gencon-rfts-ai * r30ef8d9f711a /gencon/clientLib/ (Client.java ConnectionMethods.java): fixed a bug in probing orders. | 16:33 |
*** vi1985 has quit IRC | 17:02 | |
*** Ohm has quit IRC | 17:07 | |
*** bddebian has quit IRC | 17:36 | |
*** jphr has joined #tp | 17:47 | |
*** jphr has quit IRC | 18:38 | |
*** jphr has joined #tp | 18:43 | |
*** Mithro-BB has joined #tp | 18:44 | |
Mithro-BB | Hello? | 18:45 |
*** Mithro-BB has quit IRC | 18:47 | |
*** Mithro-BB has joined #tp | 18:53 | |
Mithro-BB | Not found a good irc client for the blackberry. | 18:54 |
*** JLafont-laptop has quit IRC | 18:54 | |
Mithro-BB | It gets pretty empty in here :( | 18:56 |
*** Mithro-BB has quit IRC | 18:57 | |
*** nash has joined #tp | 19:00 | |
CIA-31 | nuleren tpserver-cpp-tae * r346efed6f9fd /modules/games/tae/ (Makefile.am fleetbuilder.cpp fleetbuilder.h tae.cpp tae.h): | 19:09 |
CIA-31 | Moved fleet creation to its own class. Restricted visibility of passenger | 19:09 |
CIA-31 | ships from other players. | 19:09 |
CIA-31 | nuleren tpserver-cpp-tae * rf5f2c3e1d6d0 /modules/games/tae/ (tae.cpp taeturn.cpp taeturn.h): Colonists fleets now automatically replinish each turn. | 19:09 |
*** mithro has joined #tp | 19:19 | |
*** JLafont has quit IRC | 19:24 | |
*** JLafont has joined #tp | 19:26 | |
*** Alklomion has joined #tp | 19:42 | |
*** Ohm has joined #tp | 19:55 | |
*** Ohm has quit IRC | 19:59 | |
*** Ohm has joined #tp | 19:59 | |
*** jphr has quit IRC | 20:00 | |
mithro | Alklomion: brb | 20:13 |
Alklomion | cool - resetting computer - brb | 20:19 |
*** Alklomion has quit IRC | 20:19 | |
*** Alklomion has joined #tp | 20:22 | |
*** peres has joined #tp | 20:27 | |
mithro | Alklomion: ping? | 20:34 |
Alklomion | hey | 20:34 |
mithro | so how has progress been? | 20:40 |
mithro | I have not seen any commits recently, but I have not been watching carefully | 20:40 |
Alklomion | yeah - haven't committed anything since last week - I should check that my work is in there that I've done. I have not touched coding this week. | 20:43 |
CIA-31 | alklomion /tmp/6qnbOiDUI0/FV1SgaVcQi-midp * r176cec4ea72f /src-test/net/thousandparsec/netlib/test/TestMidlet.java: | 20:46 |
CIA-31 | Current Test Version | 20:46 |
CIA-31 | via git-CVS emulator | 20:46 |
Alklomion | Guess I hadn't committed it. | 20:47 |
mithro | you can see things which are not committed because they have a little red cross of similar on them | 20:47 |
mithro | Action Items: Hard coded login application to be implemented and the test program should get to downloading objects - Due July 4th 2008 | 20:48 |
mithro | Initial investigation into open source libraries linked by Tim and any others Brendan can find; focusing on complexity and usability - Due July 4th 2008 | 20:48 |
mithro | how have you gone in meeting those goals? | 20:48 |
Alklomion | Mithro: I've had a look at J4ME and the Polish one you sent me, I like the look of J4ME, although I'm note sure on how easy or hard it will be to implement using these libraries. | 20:49 |
Alklomion | I also found this link: http://ngphone.com/j2me/opensource/ui.htm which has a bunch of links that I'm currently sifting through, relating to different open source UI collections. | 20:49 |
tpb | Title: Java ME Open Source Software - UI Library (at ngphone.com) | 20:49 |
Alklomion | mithro: hard coded login logs in but doesn't download yet - I've had bigpond troubles the last couple of days that prevented me from accessing a lot of sites | 20:51 |
mithro | that really shouldn't prevent you from getting the the test stuff working - do you have a local server setup yet? | 20:54 |
mithro | Alklomion: lots on that page :) | 20:54 |
Alklomion | mithro: yeah - local server - I mean i didn't have the Java API's saved locally of which i do now :) | 20:55 |
mithro | Alklomion: that is a good plan :) | 21:02 |
Alklomion | mithro: I need to leave - I believe we defined the action items for this coming friday at the last meeting: to explore some of these libraries and their ease-of-use in implementing a splash screen. | 21:03 |
mithro | I think we need to prove that we can download an object ASAP too | 21:04 |
Alklomion | ok | 21:04 |
Alklomion | Monday for that | 21:04 |
Alklomion | Friday for the rest :) | 21:04 |
Alklomion | catch you later! | 21:04 |
*** Alklomion has quit IRC | 21:05 | |
*** Epyon has joined #tp | 21:09 | |
mithro | hey Epyon | 21:13 |
*** tansell has quit IRC | 21:29 | |
*** bddebian has joined #tp | 22:28 | |
*** peres has quit IRC | 23:23 | |
*** Ohm has quit IRC | 23:48 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!