*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** mithro has joined #tp | 00:02 | |
nash | rbr | 00:43 |
---|---|---|
nash | Sort of like brb, but the reverse | 00:43 |
mithro | not quite sure what the reverse of be right back is | 01:00 |
nash | Am right back | 01:03 |
mithro | was left forward? | 01:05 |
mithro | wonder if Lee will turn up today - with his thesis due and stuff | 01:06 |
nash | When is yours? | 01:20 |
nash | mithro: sqlalchemy.exceptions.InvalidRequestError: Cant get DBAPI module for dialect '<sqlalchemy.databases.sqlite.SQLiteDialect object at 0x84535ac>' | 01:31 |
mithro | hrm | 01:37 |
mithro | apt-get install python-sqlite? | 01:37 |
mithro | nash: i havn't seen that one before | 01:37 |
nash | File "/usr/lib/python2.4/site-packages/sqlalchemy/databases/sqlite.py", line 163, in __init__ | 01:41 |
nash | self.supports_cast = (sqlite is not None and vers(sqlite.sqlite_version) >= vers("3.2.3")) | 01:41 |
nash | AttributeError: 'module' object has no attribute 'sqlite_version' | 01:41 |
nash | So what do I need to upgrade then? | 01:41 |
nash | mithro: ? | 01:43 |
mithro | nash: hrm | 01:43 |
mithro | dpkg --list | grep sql | 01:43 |
nash | baboon:[/amd/baboon/local/nash/work/tranquillity/tpserver-py]% dpkg --list | grep sql | 01:43 |
nash | ii libdbd-sqlite3-perl 1.13-1.1 Perl DBI driver with a self-contained RDBMS | 01:43 |
nash | ii libhsqldb-java 1.8.0.7-1 Java SQL database engine | 01:43 |
nash | ii libsqlite0 2.8.17-2 SQLite shared library | 01:43 |
nash | ii libsqlite3-0 3.3.8-1 SQLite 3 shared library | 01:43 |
nash | ii python-sqlalchemy 0.3.6-2 SQL toolkit and Object Relational Mapper for | 01:43 |
nash | ii python-sqlite 1.0.1-6 python interface to SQLite 2 | 01:43 |
nash | I can paste you more backtrace if you like | 01:43 |
mithro | hrm.... | 01:43 |
mithro | try "python-pysqlite2" ? | 01:44 |
nash | Well it printed out an unbelievable amount of crap | 01:47 |
nash | Is that normal? | 01:47 |
nash | Like it just blew the guts out of a 2000+ line scrollback buffer | 01:48 |
mithro | nash: on first time you run - yes | 01:48 |
mithro | it has to setup the database and it has very high level of debug on | 01:48 |
mithro | plus tpserver-py spews a huge amount of debugging | 01:49 |
nash | okay | 01:51 |
nash | mithro: You said galaxie segfaulted? It exits, but doesn't segfault for me - shoudl I be using the dev branch of tpserver-py? | 01:53 |
mithro | there is no dev branch of tpserver-py here | 01:53 |
mithro | yeah - i get a segfault | 01:53 |
nash | \hmmm | 01:53 |
mithro | your galaxy is probably empty? | 01:53 |
nash | I wonder... | 01:54 |
mithro | you need to use tpserver-py-tool to populate it | 01:54 |
* nash mutters about ease of setup... | 01:54 | |
mithro | but i thought it was segfaulting on the new account creation | 01:54 |
nash | Okay - think I've found it | 01:55 |
nash | I just added a couple of assers | 01:55 |
nash | Interetingg they don't trip straigh away | 01:55 |
nash | Is tpserver-py not flushing it's input straight away? | 01:55 |
nash | This is probably the relevant bit: | 01:56 |
nash | /* FIXME: Need to check the access worked */ | 01:56 |
nash | where access == logging in | 01:56 |
mithro | nash: hrm? re: flushing | 01:58 |
nash | I'm not getting the responses straight away - some wait until the next time I send | 01:59 |
mithro | nash: that is a bit weird | 02:01 |
mithro | nash: can you log a bug? | 02:01 |
nash | Anyway - I've updated, jsut about to push | 02:02 |
nash | mithro: Well I'll double check it's not my issue | 02:02 |
mithro | nash: i think i know the cause of the problem | 02:02 |
nash | okay | 02:03 |
nash | So you want a bug? | 02:03 |
mithro | nash: can you put a very long pause between your sends and make sure it still occurs? | 02:03 |
CIA-30 | nash galaxie * r5be07fef77e2 /themeinterface.txt: Updates the themeinterface files | 02:03 |
CIA-30 | nash galaxie * rf0497a2897c5 / (8 files in 3 dirs): Merge with git+ssh://nash@tranquillity/home/nash/work/thousandparsec/eclient | 02:03 |
CIA-30 | nash galaxie * r884b0b0f785e / (14 files): Merge with git://git.thousandparsec.net/git/galaxie.git | 02:03 |
CIA-30 | nash galaxie * raff9d39b3fad / (Makefile tpe_comm.c): Fix segfault if login fails | 02:03 |
mithro | nash: yeah - i'm pretty sure I know what that problem is | 02:04 |
mithro | nash: btw cg is now (as of git 1.5 release) pretty unmaintained | 02:14 |
nash | Yeah, I recently found out... Still shouldn't be a major hassle for the short term - it's still 99% a wrapper anyway | 02:15 |
CIA-30 | mithro tpserver-py * r42f73782e82f /README: Small updates to the README file. | 02:15 |
CIA-30 | mithro tpserver-py * ra19823b610fa / (INSTALL config.py): Quick setup instructions for "inplace" operation. | 02:15 |
CIA-30 | mithro tpserver-py * r52c56a6ac512 /README: Finished the comment. | 02:15 |
CIA-30 | mithro tpserver-py * rcc4ff7feb9ab /.gitignore: Ignore the config file. | 02:15 |
mithro | nash: the git commands are getting very close to the cg-commants | 02:15 |
mithro | 1 assignment down, 2 assignments and 1 honours left | 02:16 |
nash | mithro: Indeed. Which means cg was probably on the right track in the first place ;-) | 02:17 |
mithro | nash: those instructions any better? | 02:18 |
nash | Ahh... mysql... still not a database after all these years... | 02:24 |
nash | mithro: Still lacking things... like need to do all this other stuff in scratch pad. | 02:24 |
nash | Also a 'start a game' script would be extremely useful | 02:25 |
CIA-30 | mithro tpserver-py * r65080e7d2b8d /config.py: Revert the change to my local setup. | 02:25 |
CIA-30 | mithro tpserver-py * r7e7302e22eb4 / (INSTALL config.py config.py-template): | 02:25 |
CIA-30 | Move config.py to a template. | 02:25 |
CIA-30 | This should stop me from continually clobbering the SQLite default | 02:25 |
CIA-30 | configuration. | 02:25 |
* mithro becomes extremly lagged again | 02:26 | |
mithro | nash: the stuff in scratchpad is only for developing | 02:30 |
nash | okay | 02:30 |
nash | So how shoudl it work then? | 02:30 |
nash | Also... I just tried to use tpserver-py-tool | 02:30 |
nash | (a most painful name) | 02:30 |
mithro | apt-get install tpserver-py | 02:30 |
nash | File "/usr/lib/python2.4/site-packages/sqlalchemy/engine/__init__.py", line 113, in create_engine | 02:30 |
nash | return strategy.create(*args, **kwargs) | 02:30 |
nash | File "/usr/lib/python2.4/site-packages/sqlalchemy/engine/strategies.py", line 65, in create | 02:30 |
nash | raise exceptions.InvalidRequestError("Cant get DBAPI module for dialect '%s'" % dialect) | 02:30 |
nash | sqlalchemy.exceptions.InvalidRequestError: Cant get DBAPI module for dialect '<sqlalchemy.databases.mysql.MySQLDialect object at 0x84b8c8c>' | 02:30 |
nash | And for people who install from source? | 02:31 |
mithro | or | 02:31 |
mithro | easy_install tpserver-py | 02:31 |
mithro | nash: ahh I proberly clobbered your config.py | 02:31 |
mithro | hence the two extra pushes | 02:32 |
nash | So to recreate? | 02:32 |
nash | mithro: It should really just work? | 02:32 |
mithro | cg-update; cp config.py-template config.py | 02:32 |
nash | 2007-04-30 16:34:04,740 INFO sqlalchemy.engine.base.Engine.0x..ac {} | 02:33 |
nash | Traceback (most recent call last): | 02:33 |
nash | File "./tpserver-py-tool", line 46, in ? | 02:33 |
nash | from config import netlib, db | 02:33 |
nash | ImportError: cannot import name netlib | 02:33 |
mithro | hrm.... | 02:35 |
mithro | it appears I havn't updated tpserver-py-tool to work with the sqlalchemy changes :P | 02:35 |
mithro | as I said - tpserver-py needs love | 02:44 |
nash | Okay: So when I fail to login, is there any client parsable way of working out why? | 02:53 |
nash | ie "No such account" vs "Incorrect password"? | 02:53 |
mithro | nash: no - and probably for "security" there shouldn't be a different | 02:57 |
nash | Yep | 02:58 |
nash | I know about account discovery | 02:58 |
nash | Still makes it hard to work out what is going on - a classic security vs usability trade | 02:58 |
nash | mithro: Okay - account creation... do I need to do any magic for that? | 03:05 |
* nash is going to do: May I login -> (if yes) -> Login -> if fails -> Create Account -> Login | 03:06 | |
mithro | nash: you want to check the return from account creation | 03:19 |
nash | Why? It tells you if the account exists? | 03:19 |
*** mithro has quit IRC | 03:34 | |
*** mithro has joined #tp | 03:35 | |
*** mithro has quit IRC | 03:56 | |
*** nash has quit IRC | 04:07 | |
*** mithro has joined #tp | 04:44 | |
*** llnz has joined #tp | 05:25 | |
mithro | hey llnz | 05:28 |
mithro | all handed in? | 05:28 |
llnz | yeah | 05:29 |
mithro | llnz: feels good? | 05:29 |
llnz | yes | 05:29 |
llnz | how close are you to finished? | 05:30 |
mithro | ~2 weeks till I have to hand in my honours | 05:30 |
mithro | then i still have a couple of months of course work + exams left | 05:31 |
mithro | finish middle of this year | 05:31 |
llnz | i have about a month of work, presentations and paper writing | 05:32 |
mithro | end of july I'll be all finished | 05:33 |
mithro | llnz: did you end up getting the post grad job? | 05:44 |
llnz | nope, noone did | 05:45 |
mithro | ouch, funding cuts? | 05:46 |
llnz | yes | 05:46 |
CIA-30 | mithro scratchpad * r31d439f4edd4 / (temp temp2): Remove the temp files. | 05:51 |
mithro | llnz: so what are your plans? | 05:52 |
llnz | writing paper and persentation and finding a job in May | 05:54 |
llnz | start work in June (or so) | 05:54 |
mithro | what type of job you looking for? not going to work for yourself? | 05:54 |
llnz | software engineering or (linux) network admin | 05:55 |
llnz | currently not going to work for myself, need an idea and someone to bankroll it | 06:01 |
mithro | llnz: i was thinking more just odd network/sysadmin + software engineering contracts | 06:09 |
llnz | mithro: hard to come across, small market | 06:09 |
mithro | llnz: ahh okay, there seem to be enough around adelaide | 06:12 |
llnz | my current contact has finished, i should wander around to offer my services | 06:13 |
mithro | llnz: might tide you over for a month or two | 06:15 |
llnz | true | 06:16 |
mithro | dinner | 06:27 |
mithro | bblr | 06:27 |
*** TBBle_ has joined #tp | 06:35 | |
*** nash has joined #tp | 06:36 | |
llnz | hi TBBle_, nash | 06:38 |
nash | heyo llnz | 06:39 |
nash | thesis done? | 06:39 |
llnz | yes | 06:46 |
Epyon | nash, that "Art for MTSec page" you've sent me -- why not put it in the wiki? | 06:48 |
Epyon | I can do it for you if I have the most recent version. | 06:48 |
nash | Epyon: I wrote it up, and it was going up on the main webpage | 06:52 |
nash | llnz: Congrats - happy with it | 06:52 |
llnz | yes, it's finally done and it should be fine | 06:52 |
nash | Epyon: however, you are welcom eot wiki it | 06:52 |
nash | I don't think I've changet ut since I sent you a copy | 06:53 |
*** TBBle has quit IRC | 06:58 | |
llnz | hummm.... | 06:58 |
llnz | why am i getting "Invalid confirmation code. The code may have expired." when I try to confirm my email address | 06:59 |
llnz | ? | 06:59 |
llnz | (in the wiki) | 06:59 |
nash | llnz: You get one automatically when you first sign up | 07:01 |
nash | Then if you click verify it invalidates the first | 07:01 |
llnz | ahh.... | 07:01 |
llnz | so i'm one message behind still | 07:01 |
nash | probably | 07:01 |
llnz | ahh, that worked | 07:04 |
Epyon | wikified | 07:04 |
nash | Epyon: Sweet | 07:04 |
Epyon | nash, what are the requested sizes of the images? | 07:09 |
nash | Epyon: I'm using 64x64 | 07:10 |
nash | However others may have other choices | 07:10 |
nash | I think it's a good size | 07:10 |
Epyon | Ummm.... you supplied FIVE missile types not SIX o.O | 07:11 |
nash | Epyon: Because there is 5... I miscounted apparently when I said twelve (and hence 6 and 6) | 07:13 |
Epyon | Okay, I'll correct it | 07:13 |
Epyon | Are launch tubes and missile/torpedo racks separate components? | 07:13 |
Epyon | 11 launch tubes AND 11 racks? | 07:14 |
nash | I did | 07:14 |
nash | Yes | 07:14 |
nash | Racks hold, but don't fire | 07:14 |
Epyon | 7+10+6*6+2 = 55 images :P | 07:16 |
nash | Epyon: Well I would imagine things like the tubes, and racks would be very similar except for either logo, or reusing the base/torp image | 07:17 |
mithro | nash: ping? | 07:17 |
nash | mithro: pong | 07:17 |
Epyon | yep, true | 07:17 |
mithro | 03:06 | 07:17 |
mithro | mithronash: you want to check the return from account creation03:19 | 07:17 |
mithro | nashWhy? It tells you if the account exists? | 07:17 |
mithro | nash: because account creation can fail for a number of reasons | 07:17 |
nash | mithro: Yep - what should it return in the various cases | 07:17 |
mithro | Okay or Fail | 07:18 |
nash | doesn't tell you why? | 07:18 |
mithro | nash: the string does! but it's another one of those error code things | 07:19 |
nash | String is useless | 07:20 |
mithro | not to a user :) | 07:20 |
nash | Yeah, but the client doesn't know that it is useful to the user | 07:21 |
mithro | why not? it's a failure to user input? | 07:21 |
nash | Not necessarily: It may because the server wants the client to connect on a different port | 07:22 |
mithro | nash: then it should send a redirect frame | 07:22 |
nash | I can hardcode that this failure means something, but not in a general case | 07:22 |
mithro | in general - failures are (currently) design to be handed to a user | 07:23 |
mithro | btw i'm not why your push didn't generate multiple commit messages | 07:24 |
nash | mithro: But I know specific case where a failure is not meant to be handled by the user - destroyed objects | 07:24 |
mithro | nash: yes - but that is the unushal case | 07:25 |
mithro | but the failure code stuff should make it a bit clearer? | 07:26 |
nash | mithro: So in other words, the failure code is currently broken ;-) | 07:26 |
nash | Seriously most error codes are bugs... | 07:26 |
mithro | nash: no, it's just not quite working in the way we thought | 07:27 |
nash | mithro: I mean also in my client | 07:27 |
mithro | btw you could get a Fail frame in response to any operation | 07:27 |
nash | yes | 07:28 |
mithro | nash: i guess you could say - any Fail which has error code != 4 (No such thing, The object/order/message does not exist) might be a good start | 07:29 |
nash | mithro: Don't tell me - document it! | 07:30 |
llnz | tp04 would be a good time to rework the error codes | 07:30 |
nash | llnz: I totally agree | 07:33 |
nash | bbs | 07:33 |
nash | back | 07:48 |
mithro | nash: you have commit access :P | 07:50 |
nash | mithro: I thought I had before? | 07:50 |
mithro | nash: so you can document what you extract from me then :) | 07:50 |
nash | Ahh... | 07:51 |
nash | Nice punt | 07:51 |
mithro | nash: it seems obvious to me, so I don't see a need to document ;) | 07:51 |
nash | likely story | 07:59 |
nash | hey - is there test/example code for tpcl - I want to start to implement it | 07:59 |
mithro | nash: only whats in the tpcl document - we really do need some test stuff | 08:01 |
nash | okay | 08:02 |
nash | If I change the webpage - is it updated automatically? | 08:03 |
nash | mithro: ? | 08:04 |
mithro | llnz: does the script automatically checkout the web repo? | 08:04 |
llnz | yes | 08:05 |
CIA-30 | nash web * r2caabcdd1046 /dev/documents.php: Add link for TPCL/NCL of dev document page. | 08:08 |
nash | Cool | 08:08 |
nash | Don't see website update | 08:09 |
llnz | gets updated everyt 15 minutes | 08:09 |
nash | Ahh | 08:09 |
llnz | (unlike darcs, which was immediate) | 08:09 |
nash | llnz: Why not a post-update hook? | 08:09 |
nash | To make it immediate? | 08:10 |
nash | mithro: llnz: Are there any other tpcl examples in the servers for any of the rulesets? | 08:10 |
llnz | nash: because i haven't got that far | 08:11 |
llnz | hummm.... | 08:11 |
llnz | yes, minisec has tpcl | 08:11 |
nash | llnz: Fair enough... | 08:11 |
nash | llnz: Also - cool - I'll pull them out as examples | 08:12 |
llnz | all in minisec.cpp | 08:13 |
llnz | in the property and component setup | 08:13 |
nash | Yep - got them | 08:18 |
nash | Cool | 08:18 |
nash | thanks | 08:19 |
* llnz wanders off | 08:23 | |
llnz | later all | 08:23 |
*** llnz has quit IRC | 08:24 | |
nash | Anyway - time for me to go too | 08:36 |
nash | night all | 08:36 |
mithro | see ya | 08:38 |
*** tuna-fish_ has joined #tp | 09:49 | |
*** tuna-fish_ has left #tp | 09:49 | |
*** dmpayton has joined #tp | 16:02 | |
*** nash has quit IRC | 17:22 | |
*** mithro has quit IRC | 18:36 | |
*** nash has joined #tp | 18:37 | |
*** mithro has joined #tp | 18:57 | |
mithro | morning people | 18:59 |
mithro | what is up today? | 18:59 |
nash | heyo mithro | 19:00 |
nash | How is life? | 19:00 |
mithro | nash: busy busy 2 weeks till i finish what has been suck my life away | 19:01 |
nash | heh | 19:01 |
nash | Could be worse... it could be 1 week away | 19:01 |
mithro | well I think it's closer to 1.5 | 19:02 |
mithro | 16th of May when I give the presentation | 19:02 |
nash | okay | 19:03 |
mithro | have to hand up the final doco then too | 19:16 |
mithro | so then I just have to catch up on all the course work I missed | 19:17 |
nash | Ahh yes... that is fun | 19:18 |
* nash remembers that | 19:18 | |
nash | but most others are in the same boat | 19:18 |
mithro | nash: not really - i started my project mid-year, most start begining of the year | 19:19 |
nash | Oh okay | 19:19 |
nash | So you had the advantage last year? | 19:19 |
CIA-30 | mithro tpserver-py * rb085b3eb6e07 / (tp/server/bases/User.py tpserver-py-tool): | 19:21 |
CIA-30 | Hacked tpserver-py-tool so that it works again. | 19:21 |
CIA-30 | All the parts now work - but the virtual hosting is borked. | 19:21 |
mithro | nash: yeah, plus I got the very long summer break to work on the project | 19:21 |
nash | did you? | 19:21 |
mithro | which means i've acheived 80% of my target rather then the ushal 30% | 19:21 |
mithro | nash: well, I'm the only person to produce to commercially produced PCB boards | 19:22 |
nash | heh | 19:23 |
nash | cool | 19:23 |
nash | DystopicFro: BTW: You around? | 19:23 |
mithro | nash: i'll post pictures on my blog when it's all over | 19:24 |
mithro | the device is pretty cool | 19:24 |
nash | Cool | 19:24 |
nash | What is it? | 19:24 |
mithro | a 8 line telephone to computer interface to be sold commercially for around $US150 | 19:25 |
nash | So does that include ADCs and the like? | 19:25 |
mithro | it uses National Semiconductor CODEC's for all the ADC/DAC stuff | 19:26 |
mithro | found to be the cheapest way to do it | 19:26 |
nash | So it could be used to give you decent dial up speed? | 19:26 |
mithro | filters where just too expensive | 19:26 |
mithro | nash: no - the other way around, allow you to have a seperate telephone line in each room of your house | 19:27 |
nash | So 8 analogue lines in, to 1 digital upstream? | 19:29 |
mithro | yes | 19:30 |
nash | So why couldn't I reverse that? | 19:30 |
nash | i digital line in, to 8 upstream? | 19:30 |
mithro | nash: because interfacing to a POTS system is quite difference to pretending to be one | 19:30 |
nash | Assuming the digital channel does it's own seperations | 19:30 |
nash | Right | 19:30 |
mithro | IE I can't detect a ringing signal, but I can generate one | 19:31 |
nash | Umm.. isn't a ring like 60-90V ? | 19:31 |
mithro | nash: yes | 19:31 |
nash | So surely it's pretty easy to detect? | 19:31 |
mithro | I produce a 80Vpp ringing signal | 19:31 |
nash | right on spec | 19:32 |
mithro | nash: how, our DAC has a maximum of 1.2Vpp input | 19:32 |
nash | Overload condition? | 19:32 |
nash | A high voltage zener ? | 19:32 |
mithro | you need quite different "analog" interface | 19:32 |
mithro | it wouldn't be a huge step to change it - you would only need to change the TIM module | 19:33 |
nash | Did you name that one yourself? | 19:33 |
mithro | TIM == Telephone Interface Module | 19:33 |
nash | Still smells like a backronym | 19:33 |
mithro | you would want a PIM == POTS Interface Module | 19:34 |
mithro | which I havn't designed - plus then you run into a whole bunch of evil AUSTEL regulations | 19:35 |
nash | Just do what everyone else does a) ignore them or b) write in small text on the box 'for educational use only' | 19:35 |
nash | And c) make sure it actually works... they do tend to follow 'no harm, no foul' rules | 19:36 |
mithro | nash: if I want to produce it commercially that isn't really an option | 19:36 |
nash | Are you likely too? | 19:36 |
mithro | JLP: ping? | 19:36 |
JLP | mithro: pong | 19:36 |
mithro | JLP: how did the RPM stuff go? | 19:37 |
mithro | JLP: on SUSE build stuff | 19:37 |
mithro | JLP: they are talking about it as the conference I'm currently at | 19:38 |
JLP | mithro: http://software.opensuse.org/download/home:/JRepin/ | 19:41 |
tpb | <http://ln-s.net/JSZ> (at software.opensuse.org) | 19:41 |
mithro | JLP: none of the python libraries yet? | 19:41 |
JLP | nope not yet, i'm not even sure if i finished with cpp stuff | 19:42 |
JLP | looks like server is still missing | 19:42 |
mithro | yeah - would be cool if we could get that working | 19:43 |
JLP | yup, i can try over the holidays now, have two free days, starting tomorrow | 19:45 |
*** EdBoy has joined #tp | 19:53 | |
EdBoy | dmpayton: boo | 19:53 |
*** EdBoy has left #tp | 20:07 | |
DystopicFro | nash: around after a fashion, around in a more substantial fashion in a bit | 20:19 |
nash | okay | 20:19 |
nash | let me know then ;-) | 20:19 |
*** mithro has quit IRC | 20:45 | |
*** mithro has joined #tp | 22:46 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!