*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
mithro | ~seen dmpayton | 00:51 |
---|---|---|
tpb | mithro: dmpayton was last seen in #tp 5 days, 23 hours, 52 minutes, and 37 seconds ago: <dmpayton> In the mean time... | 00:51 |
*** llnz has joined #tp | 01:43 | |
llnz | hi all | 01:43 |
mithro | hey llnz | 01:56 |
llnz | hi mithro | 01:57 |
mithro | how is everything? | 01:57 |
llnz | fine thanks | 01:59 |
mithro | what have you been up to? | 02:01 |
mithro | haven't seen many tpserver-cpp commits recently | 02:03 |
llnz | been busy | 02:03 |
* mithro has being trying to study for exams, rather unsuccessfully :/ | 02:05 | |
* mithro hopes everything is okay with dmpayton - haven't seen him around for almost a week :/ | 02:05 | |
JLP | ahoy all | 05:30 |
mithro | hey JLP | 05:36 |
xdotx | hey JLP | 05:36 |
mithro | hey xdotx, how goes everything? | 05:38 |
mithro | xdotx: a bit late where you are now? | 05:38 |
xdotx | mithro: alright. heh yeah, kinda tired but don't feel like sleeping | 05:38 |
xdotx | (working on the RFTS wiki) | 05:39 |
mithro | cool | 05:39 |
mithro | don't forget to save often | 05:39 |
xdotx | i'm working on a local copy right now | 05:39 |
mithro | browsers have a nasty habit of crashing just before clicking save :) | 05:39 |
xdotx | and i CTRL-S habitually | 05:39 |
* mithro has muscle memory of Esc:w | 05:42 | |
mithro | JLP: checked these recently -> http://www.thousandparsec.net/wiki/4X_on_Blogs ? | 05:44 |
tpb | Title: 4X on Blogs - Thousand Parsec Wiki (at www.thousandparsec.net) | 05:44 |
JLP | mithro: nope not in the last couple of days, i just remember i've quickly seen the news about the release of sword of the starts addon | 05:46 |
mithro | yeah | 05:46 |
JLP | but i didn't check out how it looks or what is it and what people are saying about it | 05:48 |
jotham | can i tell heapq some how what attribute of an array of instances to use for the sort comparison? | 06:29 |
jotham | heapq is a python module | 06:29 |
jotham | any help would be appreciated | 06:29 |
mithro | jotham: possibly | 06:45 |
mithro | jotham: what are you trying to do? | 06:45 |
jotham | use heapq to sort a bunch of instances | 07:05 |
jotham | by one value in each | 07:05 |
jotham | one instance property | 07:06 |
mithro | do you actually want to store the objects sorted? | 07:08 |
jotham | well it's a list of zdepths | 07:08 |
jotham | objects with z depths | 07:08 |
jotham | so i want to use heapq to keep them sorted in a z order | 07:09 |
mithro | okay | 07:09 |
jotham | based on whatever they have when they enter the queue | 07:09 |
mithro | well heapq used the __cmp__ method i believe | 07:09 |
mithro | so you could just override that on your class | 07:10 |
jotham | hum | 07:13 |
jotham | truth | 07:13 |
mithro | otherwise you'll have to write a wrapper class | 07:14 |
jotham | cmp sounds good | 07:14 |
jotham | bbl, bath | 07:14 |
mithro | well you would be overriding __cmp__ in the wrapper anyway | 07:15 |
mithro | jotham: might want to read http://mail.python.org/pipermail/python-list/2003-July/216839.html | 07:16 |
tpb | <http://ln-s.net/b27> (at mail.python.org) | 07:16 |
*** llnz2 has joined #tp | 08:16 | |
*** llnz has quit IRC | 08:17 | |
*** llnz2 is now known as llnz | 08:17 | |
* llnz wanders off | 09:22 | |
llnz | later all | 09:22 |
*** llnz has quit IRC | 09:22 | |
*** zipola has quit IRC | 14:31 | |
*** zipola has joined #tp | 14:32 | |
*** nash has joined #tp | 19:03 | |
*** xdotx has quit IRC | 21:14 | |
*** xdotx has joined #tp | 21:37 | |
*** nash has quit IRC | 22:07 | |
*** nash has joined #tp | 22:07 | |
*** nash has quit IRC | 22:12 | |
*** nash has joined #tp | 22:12 | |
*** mithro has quit IRC | 22:16 | |
*** mithro has joined #tp | 22:43 | |
mithro | hey people | 22:44 |
mithro | ~seen dmpayton | 22:44 |
tpb | mithro: dmpayton was last seen in #tp 6 days, 21 hours, 45 minutes, and 16 seconds ago: <dmpayton> In the mean time... | 22:44 |
mithro | hey nash, how was your long weekend? | 22:44 |
nash | mithro: Okay | 22:45 |
nash | Ended up buying ahouse in the middle... | 22:45 |
nash | So on one side... busy for the next few weeks. | 22:45 |
nash | After that, my new transport routing to work will give me 1 and half hours of coding time to do what I wish ;-) | 22:45 |
mithro | where is it located? | 22:46 |
mithro | takes you 1+1/2 hours to get to work? | 22:46 |
nash | mithro: Both ways | 22:47 |
nash | Campbelltown | 22:47 |
mithro | is it a single train ride, or do you have to transfer a few times? | 22:47 |
nash | Nope, single uninterrupted 45-50 minute train ride, normally with seat... | 22:50 |
mithro | a 45 minute train ride without a seat would suck | 22:52 |
nash | Indeed | 22:53 |
nash | I have a 20 minute ne without seat at the moment | 22:53 |
nash | It's irritating enough | 22:53 |
nash | So yeah... Interesting week... 6 weeks will be moving again, with all the usual loss of connectivity | 22:54 |
nash | Anyway... lunch time | 23:00 |
nash | Talk to you in a while mithro | 23:00 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!