Thursday, 2008-05-15

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** llnz has joined #tp00:18
*** andrei_ has quit IRC00:25
*** bddebian has quit IRC00:51
*** andrei has joined #tp00:59
* llnz ponders01:14
nashYou always ponfer01:21
llnznot a lot else to do01:21
llnzhow's it going nash?01:22
nashIt's not too bad01:22
nashYourseld?01:22
llnzbeen busy, but i think i basically have tomorrow off01:23
nashNice... how'd you pull that one off?01:23
llnzthe project is over, and noone has asked me to do anything yet01:25
*** greywhind_ has joined #tp01:26
nashNot bad01:26
nashI have a problem with lots of things to do.. and everyone expecting me to finish everything at the same time01:26
llnzi hate it when that happens01:27
*** andrei has quit IRC01:28
nashIndeed01:29
nashSo I think I'm expected to be working 100% on two things at the moment, with something else that will just be finished next week...01:30
* nash notes that maybe shouldn't waste time talking on irc then ;-)01:30
llnzyes, get back to work01:35
* nash wonders if this "kick" button will work../.01:37
*** andrei has joined #tp01:42
nashllnz: BTW... it would probably be a good idea to keep merging in the various rulesets to tpserver-cpp mainline whenever you can.01:59
nashNip any conflicts in the bud early, and make it easier to test01:59
llnznash: true, but it's harder to track who did what, though git should make that easy02:02
llnzi actually have a branch locally called "all" where i'm merging everything together02:02
nashSweet02:03
nashpush it into master/all02:03
llnzstill tying to figure out all the ways to use git and all its features02:03
nashheh02:03
nashgit checkout all ; git push master all02:04
llnznot that specifically02:04
nash:-)02:04
llnztpserver-cpp> status02:21
llnzServer: tpserver-cpp02:21
llnzVersion: 0.5.002:21
llnzPersistence available: yes02:21
llnzRuleset Loaded: yes02:21
llnzRuleset Name: Risk02:21
llnzRuleset Version: 0.102:21
llnzjust 59 lines of c++ to make that happen02:22
nashheh02:27
nashcool02:27
llnzit would also get submitted to mdns-sd and the metaserver02:28
llnzbbs, dinner02:52
*** AquaFox has joined #tp02:53
*** zzorn_laptop has joined #tp02:55
nashnight all03:16
*** nash has quit IRC03:16
*** greywhind has joined #tp03:26
*** greywhind_ has quit IRC03:26
*** llnz2 has joined #tp03:57
*** llnz has quit IRC03:59
*** llnz2 is now known as llnz03:59
*** mithro has joined #tp04:29
mithroheyo04:30
mithrowhat did I miss today?04:30
*** JLafont_ has quit IRC04:40
llnzhi mithro04:43
llnzrisk can be loaded as a ruleset in tpserver-cpp04:43
mithroI saw the blog post04:44
* llnz reloads the rss feed04:45
llnzoh, cool04:45
*** peres has joined #tp04:45
tpbaloril has joined on worldforge05:25
*** greywhind_ has joined #tp05:26
*** greywhind has quit IRC05:26
*** Marcel- has joined #tp05:33
*** peres has quit IRC06:29
*** peres has joined #tp06:29
*** andrei has quit IRC06:39
*** Marcel- has quit IRC07:12
*** peres has quit IRC07:15
*** greywhind has joined #tp07:26
*** greywhind_ has quit IRC07:26
*** pluskid has joined #tp07:47
llnzhummm... ciabot not working?07:47
*** peres has joined #tp07:58
mithropossibly not08:13
mithrollnz: where are we at with the ssh key regeneration?08:13
llnznot too many more to go08:14
llnz608:15
llnzand i saw two of the people and forgot to mention it08:15
llnzand i think one other has already regenerated his key but hasn't sent it yet08:15
mithropluskid: hey08:16
mithrohow goes everything?08:16
pluskidmithro: almost fine08:17
mithroalmost?08:17
pluskidI've ported pyscheme to schemepy interface08:17
mithroyeah, I saw the status report08:17
pluskidnot every test case passed08:17
pluskidI have two task currently:08:17
mithroI also read your trampoline tail recusion blog post - yay google translate!08:17
pluskid:) I'd try to write more in English.08:18
pluskidWe are having massive earthquake in China these days. :(08:18
mithropluskid: yeah, it's been all over the news here08:19
pluskidI'm going to either: write benchmark/fix the dynamic wind problem.08:19
mithropluskid: China's a pretty big place, was it anywhere near you?08:19
pluskidno08:19
mithrothere is a bunch of benchmarking tools08:19
pluskide.g ?08:19
mithrohttp://code.google.com/p/benchrun/08:20
tpbTitle: benchrun - Google Code (at code.google.com)08:20
pluskidbut many people died. I'm very sorry about that. I can't do some useful thing to help.08:20
pluskidmithro: OK, I'll look at that08:21
mithrothe timeit module might be useful too08:21
pluskidyes, someone mentioned that to me the other day when I asked in our local BBS08:21
mithrojust good old time.time() can also work :)08:21
pluskidI'll check that later. Doing homework now.08:23
mithroI know that py.test could do some primative benchmarking08:24
*** Demitar has quit IRC08:24
mithropluskid: having non-passing tests is fine08:26
mithroit shows you still have things left to do08:26
pluskidyes, you are right. I'm just not get used to it yet. :p08:27
mithroif all tests pass then there can be nothing left to do ;)08:27
llnzmithro: do you have bddebian's email address?08:27
mithrollnz: yeah08:28
mithro~seen bddebian08:28
tpbmithro: bddebian was last seen in #tp 23 hours, 2 minutes, and 25 seconds ago: <bddebian> Howdy08:28
mithrohe is generally on when you are in bed :)08:28
* llnz is writing email to people with compromised keys08:28
mithropluskid: Should test_string.py not include a string with unicode characters in it08:52
pluskidmithro: Do you mean unicode chars should be included in the test?08:53
mithropluskid: I mean have a string which has unicode characters in the list of strings you test08:54
pluskidOK08:54
mithroIE "\u02345....."08:54
pluskidhehe, test failed08:54
mithroTest long also does not appear to check for scheme->python conversion of longs08:55
mithro(well not that the fromscheme is returning a real python long and not something which just happens to be equal to one)08:56
pluskidfromscheme is scheme->python test08:57
pluskideval -> fromscheme08:57
mithrohrm?08:58
pluskidI mean, scheme->python conversion is tested when I eval a piece of scheme code and use fromscheme to convert it to get a Python long08:58
mithroshould you not be asserting08:59
mithrotype(vm.fromscheme(v)) == long08:59
mithrootherwise the value you get back could be an int or something else which could equal a long09:00
pluskidOh09:00
pluskidI guess I checked09:00
pluskidassert m1.type(a) == long09:00
mithrotype(vm.fromscheme(v)) == long is not equiv to vm.type(a) == long09:01
pluskidOh, I see09:01
pluskidBut why constrain the real type here?09:01
mithroyou really should check both09:01
pluskidI think an int or long is both OK09:01
pluskidlike test_int.py09:02
mithroif the vm.type(a) is a long, it should return a long - no? :)09:02
pluskidnot really09:02
pluskidespecially,09:02
pluskidif vm.type(a) is list09:02
pluskidit might return an instance of a  sub-class of list09:03
pluskidsometimes there's even no suitable type09:03
mithrowell check it's a subclass of int?09:03
pluskidlike for a callable, or object09:03
mithroyeah - for the basic types it's more important09:04
pluskidWell, at lease type(vm.fromscheme(a)) in (int, long) should be true09:04
pluskidI'll add that09:04
mithrooh - something I have yet to suggest is I think we should support the python array interface for inplace array manipulation sharing09:05
pluskidarray interface?09:05
mithrohrm - I think the above should be     issubclass(vm.fromscheme(a), int)09:05
mithroPython has an array interface for interfacing to things like numpy09:06
pluskidso array interface to manipulate Scheme cons list directly?09:06
pluskidsometimes a Python int converted to Scheme and back, it will become a long09:07
mithropluskid: why? -- sometimes a Python int converted to Scheme and back, it will become a long09:07
pluskid2**23-1 can be int in Python, but not necessarily a fixnum in all Scheme implementation09:08
mithrowell - most scheme implementations have a vector/array type09:08
pluskidarray/vector: yes, I'm planning to support them09:08
pluskidthat's why there might be a sub-class of Python list/dict09:08
mithroI think array/vector should map to any python type which supports the python-array interface09:09
pluskidI should remember whether it is converted from Scheme cons list or vector array09:09
*** zzorn_laptop has quit IRC09:09
pluskidI'd like it to map to a Python list09:09
mithroa cons list should go to a Python list09:10
mithroa vector array should probably go to a numpy type most of the time09:10
mithrodoes that make sense?09:10
pluskidnumpy? is it available in Python standard library?09:10
mithrono - numpy is an addon09:11
mithroit provides support for large vectors of a single type09:11
pluskidthen, in order to run schemepy, people will have to install numpy?09:11
mithrojust as uint3209:11
mithropluskid: only if they want to make use of vectors09:11
mithroactually09:11
mithroif you use the array interface, they can use numpy for speed when avaliable and fall back to a start list when not09:12
mithroanyway - it's not high on our todo list at the moment09:12
mithroso I'll let you get back to your homework :)09:12
pluskiden09:12
pluskidalready finished ;)09:13
mithroarn't you efficent09:13
pluskidnot too many today.09:13
mithrooh - btw the python-array interface is a C interface09:13
mithrohttp://docs.python.org/lib/module-array.html09:14
tpbTitle: 5.6 array -- Efficient arrays of numeric values (at docs.python.org)09:14
pluskidI'm wondering: is it constrained to put only objects of one type in a numpy array? But I guess scheme vector can hold any type of objects at a time09:14
mithroThis module defines an object type which can efficiently represent an array of basic values: characters, integers, floating point numbers. Arrays are sequence types and behave very much like lists, except that the type of objects stored in them is constrained.09:14
mithroa scheme vector can only hold on type of object09:15
pluskidOK, that's fine09:15
mithrooh wait09:16
mithrosorry09:16
mithroI have it wrong09:16
mithrovectors are fixed length lists09:16
pluskidhm09:16
mithroVectors are sequences of Scheme objects. Unlike lists, the length of a vector, once the vector is created, cannot be changed. The advantage of vectors over lists is that the time required to access one element of a vector given its position (synonymous with index), a zero-origin number, is constant, whereas lists have an access time linear to the position of the accessed element in the list.09:16
mithroVectors can contain any kind of Scheme object; it is even possible to have different types of objects in the same vector.09:16
mithrohttp://www.gnu.org/software/guile/manual/html_node/Vectors.html#Vectors09:16
tpb<http://ln-s.net/1rzA> (at www.gnu.org)09:16
mithroI was thinking of "Arrays"09:17
mithrohttp://www.gnu.org/software/guile/manual/html_node/Arrays.html#Arrays09:17
tpb<http://ln-s.net/1rzB> (at www.gnu.org)09:17
mithroArrays are a collection of cells organized into an arbitrary number of dimensions. Each cell can be accessed in constant time by supplying an index for each dimension.09:17
mithroIn the current implementation, an array uses a generalized vector for the actual storage of its elements. Any kind of generalized vector will do, so you can have arrays of uniform numeric values, arrays of characters, arrays of bits, and of course, arrays of arbitrary Scheme values. For example, arrays with an underlying c64vector might be nice for digital signal processing, while arrays made from a u8vector might be used to hold gray-scale images.09:17
pluskidhmm, array and vector is different in guile09:19
*** JLP_ has joined #tp09:23
mithropluskid: have a look at what I just pushed09:25
*** llnz2 has joined #tp09:29
*** llnz has quit IRC09:29
*** llnz2 is now known as llnz09:29
mithropluskid: that is my suggestion for how to deal with array's09:30
* mithro is going away09:32
mithrobblr09:32
*** _JLP_ has joined #tp09:32
pluskidmithro: OK09:33
*** JRepin has joined #tp09:33
pluskidwhere's tp's irc chat log archive?09:36
llnzwww.thousandparsec.net/~irc/09:37
pluskid@llnz: thanks!09:37
llnzno problem09:37
*** Marcel- has joined #tp09:40
* llnz wanders off09:40
llnzlater all09:40
*** llnz has quit IRC09:40
*** peres has quit IRC09:40
*** JLP has quit IRC09:40
*** JLP_ has quit IRC09:50
*** _JLP_ has quit IRC09:51
*** JRepin has quit IRC09:53
*** JRepin has joined #tp09:58
*** JRepin is now known as JLP10:00
*** pluskid has quit IRC10:02
*** JLP has quit IRC10:45
*** greywhind_ has joined #tp11:26
*** greywhind has quit IRC11:26
*** SmokingRope has quit IRC11:40
*** jphr has joined #tp12:31
*** Erroneous has joined #tp12:45
*** jphr has quit IRC13:00
*** mithro has quit IRC13:26
*** greywhind has joined #tp13:26
*** greywhind_ has quit IRC13:41
*** JLafont has joined #tp13:57
*** JLafont has joined #tp13:57
*** AquaFox has quit IRC13:59
*** Ohm has quit IRC14:46
*** Iwanowitch has joined #tp14:52
*** greywhind_ has joined #tp15:26
*** greywhind has quit IRC15:26
*** andrei has joined #tp15:31
*** nuleren has joined #tp16:21
*** nuleren has quit IRC16:22
tpbdisconnected from worldforge: Ping sent at 2008-05-15T16:22:17 not replied to.16:24
tpbtpb` has joined on worldforge16:24
*** vi1985 has joined #tp16:24
tpbtpb has quit worldforge (Ping timeout: 360 seconds)16:26
tpbnick change by tpb` to tpb on worldforge16:26
tpbaloril has quit worldforge (purple.worldforge.org blue.worldforge.org)16:33
tpbaloril has joined on worldforge16:34
*** CIA-29 has quit IRC16:56
tpbdisconnected from worldforge: Ping sent at 2008-05-15T16:58:21 not replied to.17:00
tpbtpb has joined on worldforge17:00
tpbmode change by purple.worldforge.org on worldforge: +nt17:00
tpbmode change by blue.worldforge.org on worldforge: -o tpb17:09
tpbmode change by blue.worldforge.org on worldforge: -t17:09
tpbaloril has joined on worldforge17:09
*** CIA-29 has joined #tp17:21
*** andrei has quit IRC17:23
*** andrei has joined #tp17:23
*** greywhind has joined #tp17:26
*** greywhind_ has quit IRC17:42
*** JLafont has quit IRC17:44
*** JLafont has joined #tp17:45
*** Marcel- has quit IRC17:46
*** CIA-29 has quit IRC17:56
*** CIA-30 has joined #tp18:10
*** llnz has joined #tp18:35
llnzhi all18:36
*** andrei has quit IRC18:45
llnzhumm... still ciabot not working...18:50
*** nash has joined #tp19:01
llnzmorning nash19:15
nashHeyo llnz19:17
nashI see you guys finally revoked my key ;-)19:18
nashI only changed mine last week too ;-)19:18
llnz:-)19:21
*** CIA-30 has quit IRC19:30
*** DTRemenak|RDP has joined #tp19:40
*** CIA-32 has joined #tp19:40
*** Erroneous has quit IRC19:42
*** DTRemenak|RDP is now known as Erroneous19:42
*** Demitar has joined #tp19:56
*** greywhind has quit IRC20:06
*** vi1985 has quit IRC20:21
*** Iwanowitch has quit IRC20:54
*** greywhind has joined #tp20:56
*** pluskid has joined #tp21:09
*** pluskid has quit IRC21:12
*** pluskid has joined #tp21:20
*** bddebian has joined #tp21:21
bddebianHeya21:23
*** Erroneous has quit IRC21:24
llnzhi bddebian21:24
bddebianHello llnz21:24
llnzbddebian: have year read about the openssl issue in debian?21:24
llnzand it's flow on effect to openssh21:24
bddebianOh, of course :)21:24
llnzthe key we have for you git access is affected21:25
bddebianAye, I figured as much21:26
*** greywhind has quit IRC21:26
*** greywhind has joined #tp21:26
*** pluskid has quit IRC21:26
*** pluskid has joined #tp21:28
*** andrei has joined #tp22:08
*** CIA-32 has quit IRC22:19
*** CIA-29 has joined #tp22:32
*** CIA-29 has quit IRC23:04
*** CIA-29 has joined #tp23:24
*** greywhind_ has joined #tp23:26
*** greywhind has quit IRC23:26
*** JLafont has quit IRC23:37
*** JLafont has joined #tp23:37
*** greywhind_ has quit IRC23:55

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!