Camelia, the Perl 6 bug

IRC log for #parrot, 2010-11-26

Parrot | source cross referenced

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:03 Themeruta joined #parrot
00:04 NotFound left #parrot
00:18 dalek parrot/luben/gc_threshold_adjust: 410aadd | luben++ | / (4 files):
00:18 dalek parrot/luben/gc_threshold_adjust: use --gc-threshold commandline parameter to specify percentage of total
00:18 dalek parrot/luben/gc_threshold_adjust: memory wasted by GC. Default value is 10%
00:18 dalek parrot/luben/gc_threshold_adjust: review: https://github.com/parrot/parrot/commit/410aadd502
00:31 davidfetter joined #parrot
00:51 dalek parrot/luben/gc_threshold_adjust: a226bdc | luben++ | include/parrot/gc_api.h:
00:51 dalek parrot/luben/gc_threshold_adjust: adjust default gc_threshold to 5% of total memory
00:51 dalek parrot/luben/gc_threshold_adjust: review: https://github.com/parrot/parrot/commit/a226bdcff4
00:53 lucian left #parrot
01:06 davidfetter left #parrot
01:25 bluescreen joined #parrot
01:30 bluescreen left #parrot
01:34 bluescreen joined #parrot
01:37 bluescreen left #parrot
01:38 cotto ~~
01:40 bluescreen joined #parrot
01:49 bluescreen left #parrot
01:57 Coke left #parrot
02:03 Coke joined #parrot
02:06 bluescreen joined #parrot
02:17 TypeNameHere_ joined #parrot
02:21 whiteknight joined #parrot
02:45 dalek parrot: ba88b03 | Whiteknight++ | NEWS:
02:45 dalek parrot: change the NEWS entry. Too many files are having their functions updated to list individually
02:45 dalek parrot: review: https://github.com/parrot/parrot/commit/ba88b03c6b
02:45 dalek parrot: 139944d | Whiteknight++ | / (28 files):
02:45 dalek parrot: Merge branch 'exit_func_rename'
02:45 dalek parrot: review: https://github.com/parrot/parrot/commit/139944dd36
02:45 dalek parrot: 3097140 | Whiteknight++ | docs/project/ (2 files):
02:45 dalek parrot: Merge branch 'master' of github.com:parrot/parrot
02:45 dalek parrot: review: https://github.com/parrot/parrot/commit/3097140a8b
02:45 TypeNameHere_ left #parrot
02:56 whiteknight dukeleto: ping
03:04 whiteknight msg dukeleto: I don't know if you saw the submitted Parrot+RTEMS logo. I was hoping you would get to look at it before I approved it, but I made the student wait for a long time and I approved the task tonight. I have all the files here in a .zip. I'll send it to you for perusal later
03:04 aloha OK. I'll deliver the message.
03:06 bluescreen left #parrot
03:10 whiteknight msg cotto you have a few GCI tasks you're mentoring up for review. Let me know if you're too busy and would like somebody else to help dealing with them all.
03:10 aloha OK. I'll deliver the message.
03:13 mikehh left #parrot
03:15 hercynium joined #parrot
03:21 whiteknight left #parrot
03:41 cotto msg whiteknight I'll get to them later this evening.
03:41 aloha OK. I'll deliver the message.
03:47 plobsing_ left #parrot
03:55 plobsing joined #parrot
04:00 plobsing left #parrot
04:03 mikehh joined #parrot
04:37 hercynium left #parrot
04:42 TypeNameHere_ joined #parrot
05:12 cotto aloha, clock?
05:12 aloha cotto: cotto: LAX: Thu, 21:12 PST / CHI: Thu, 23:12 CST / NYC: Fri, 00:12 EST / UTC: Fri, 05:12 UTC / LON: Fri, 05:12 GMT / BER: Fri, 06:12 CET / TOK: Fri, 14:12 JST / SYD: Fri, 16:12 EST
05:18 dalek parrot: 153eb84 | mikehh++ | src/exit.c:
05:18 dalek parrot: fix item detail to pass c_function_docs.t
05:18 dalek parrot: review: https://github.com/parrot/parrot/commit/153eb8484e
05:19 rurban_ joined #parrot
05:21 rurban left #parrot
05:21 rurban_ is now known as rurban
05:36 cotto bacek_at_work, ping
05:39 plobsing joined #parrot
05:53 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#1343) fulltest) at 153eb84 - Ubuntu 10.10 i386 (g++-4.5)
05:59 mikehh left #parrot
06:01 TypeNameHere_ left #parrot
06:09 mikehh joined #parrot
06:27 cotto dukeleto, ping
06:28 cotto dukeleto, unping (found the info where you posted it)
06:49 theory left #parrot
07:49 bacek_mobile joined #parrot
07:49 bacek_mobile Cotto, pong
07:52 cotto bacek_mobile, the packfile PMCs need to be updated to use plobsing's dynop_mapping changes before any internals can start to use them.  What's the right approach?
07:53 bacek_mobile I think of mirroring new bytecode related structs as pmc
07:54 cotto that's what the opmap_aware_pmcs branch tries to do
07:55 cotto You mentioned that the branch needs to take a different approach, didn't you?
08:01 bacek_mobile Nope. On branch you are trying to do it differently. Im talking about replicating as is.
08:04 cotto ok
08:06 dalek parrot/generational_gc: 2f55862 | cotto++ | src/gc/api.c:
08:06 dalek parrot/generational_gc: [gc] clean up and update api POD docs
08:06 dalek parrot/generational_gc: review: https://github.com/parrot/parrot/commit/2f558625d4
08:06 dalek parrot/generational_gc: a8a8341 | cotto++ | src/gc/gc_ms2.c:
08:06 dalek parrot/generational_gc: try to improve readability in generational gc notes
08:06 dalek parrot/generational_gc: review: https://github.com/parrot/parrot/commit/a8a8341f41
08:08 cosimo_ joined #parrot
08:08 cosimo left #parrot
08:11 cotto bacek_mobile, please check that I didn't change the meaning of anything important.
08:14 rfw joined #parrot
08:15 rfw hey, i'm a gci student and i'm not bugging anyone to approve a task for me; i'm just here to ask a few questions about parrot and winxed
08:15 sorear Go ahead
08:15 rfw what's the equivalent of INIT in nqp in winxed?
08:16 rfw i'm looking at http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129033192711 this task atm and just getting to know the rails before i pick it up
08:16 sorear I don't know very much about winxed
08:16 sorear whiteknight will
08:16 rfw ah, i chose it because it wasn't perl
08:17 Themeruta What do you mean by 'INIT'?
08:17 Themeruta is now known as NotFound
08:17 rfw well, i'm not sure where to load bytecode in winxed
08:18 bacek_mobile Cotto, looks good. You can cherrypick first commit into master right now.
08:18 rfw so i get syntax errors because my types are undefined
08:18 rfw at least, i think that's why
08:18 sorear INIT blocks are how you include code to run in a file
08:18 rfw yeah
08:18 sorear especially. a module file
08:18 rfw i'm just looking how to include src/nqp/pla.prc into a winxed file
08:18 rfw +at
08:18 NotFound You can add a function with the init modifier.
08:18 sorear they're somewhat tied up with the Rakudo build mangler
08:19 rfw NotFound: ah, so that would be [init]?
08:19 NotFound rfw: Better [init,load] to cover all usages.
08:20 bacek_mobile Cotto, diff contains french quotes. Did you use them or it's github?
08:20 rfw ah
08:20 fperrad joined #parrot
08:20 rfw hm no dice
08:20 cotto bacek_mobile, I did.  They were to make it easier to distinguish from ->
08:20 rfw NumMatrix2D still seems to be undefined
08:21 rfw i think i'm missing something
08:21 NotFound For load_bytecode you also have the $load directive,
08:21 bacek_mobile Cotto, bad idea to use them for POD markup :)
08:22 rfw NotFound: i'm sorry about knowing absolutely nothing about this all (and the winxed TFM is non-existent), butwhere does that go?
08:22 cotto bacek_mobile, are they only valid for perl 6 pod?
08:22 bacek_mobile Cotto, i think so
08:22 cotto I don't particularly care what's used as long as it's valid.
08:22 NotFound rfw: my fault, I'm a lazy documentation writer.
08:22 rfw hehe, fair enough
08:23 bacek_mobile Just try perldoc on file
08:23 NotFound $load should be at main lavel, out of any function, class or namespace.
08:24 rfw so i just throw $load on a line by itself?
08:24 cotto bacek_mobile, you're right.  Those quotes confuse perldoc.
08:24 NotFound Mmmm... you are trying to use PLA, isn'it? That's a different problem, it has a dynamic PMC lib.
08:24 rfw ah
08:24 rfw i'm completely lost with this all
08:24 rfw forgive me
08:24 NotFound You need: using extern 'linalg_group';
08:25 rfw hm, NumMatrix2D still seems undefined
08:26 nopaste "NotFound" at 192.168.1.3 pasted "A winxed PLA test I wrote some weeks ago" (47 lines) at http://nopaste.snit.ch/26190
08:26 cotto night.  I'll cherry-pick the commit into master tomorrow.
08:27 rfw NotFound: does it have to be var mat or can i have NumMatrix2D mat?
08:27 NotFound rfw: don't worry if it emits a warning about not locating a class, this is a compile time warning, it may work at runtime anyway.
08:28 NotFound rfw: winxed data types are: int, float, string and var. There are no static types for objects, all are var.
08:28 bacek_mobile left #parrot
08:28 rfw oh
08:28 rfw ah that helped _a lot_.
08:29 NotFound This mimic pir types.
08:29 sorear oh, so var = Pxxx?
08:29 sorear ah
08:29 sorear opbots names
08:29 rfw thanks NotFound
08:29 NotFound You can think about winxed as a higher level pir.
08:29 rfw i don't know much at all about pir
08:30 NotFound If you know some winxed, use winxed -c, and you already know pir ;)
08:30 rfw hehe
08:30 rfw now all i need is my moinmoin task approved and i'll be able to get on this right away
08:31 NotFound I must go, feel free to msg or email me any doubt about winxed.
08:31 rfw sure
08:31 rfw also: hi Kovensky
08:41 wesjdj joined #parrot
08:42 rfw oh, another question
08:42 rfw VTABLE void set_number_keyed(PMC * key, FLOATVAL value)
08:42 rfw what does PMC * correspond to in winxed?
08:43 lucian joined #parrot
08:43 rfw or on whatever higher level parrot language there is
08:44 wesjdj Hi. I'm a student working on Google Code-in and I need edit priviledges on the website to see the page source code
08:44 wesjdj Is there someone that can give me edit permissions?
08:44 wesjdj My username is wesjdj there
08:51 contingencyplan left #parrot
08:52 moritz Coke: ping (see above)
08:53 moritz wesjdj: I've found that the wiki uses HTML as source format, so you can probably just use the HTML source that "View -> Source" gives you
08:54 wesjdj moritz: thanks
09:05 rfw oh man i've already done a lot of that task which i haven't even accepted yet
09:09 rfw i hope nobody's going to be interested in that one
09:14 rfw left #parrot
09:37 lucian left #parrot
09:44 jsut_ joined #parrot
09:49 jsut left #parrot
10:01 kurahaupo joined #parrot
10:07 kurahaupo_mobi joined #parrot
10:07 kurahaupo_mobi left #parrot
10:07 kurahaupo_mobi joined #parrot
10:12 kurahaupo left #parrot
12:10 whiteknight joined #parrot
13:02 darbelo joined #parrot
13:15 bluescreen joined #parrot
13:19 rurban_ joined #parrot
13:21 rurban left #parrot
13:21 rurban_ is now known as rurban
13:23 bluescreen good morning
13:25 Patterner left #parrot
13:25 Psyche^ joined #parrot
13:25 Psyche^ is now known as Patterner
13:44 darbelo o/
14:01 rurban left #parrot
14:40 rurban joined #parrot
15:04 jan left #parrot
15:05 whiteknight hello
15:11 masak joined #parrot
15:11 masak oh hai
15:16 dalek parrot/util_func_rename: dcb1b5b | (Matt Rajca)++ | / (16 files):
15:16 dalek parrot/util_func_rename: Rename public functions in src/utils.c
15:16 dalek parrot/util_func_rename: review: https://github.com/parrot/parrot/commit/dcb1b5b6d1
15:16 dalek parrot/util_func_rename: 88a1a0c | Whiteknight++ | /:
15:16 dalek parrot/util_func_rename: Merge branch 'master' of github.com:parrot/parrot
15:16 dalek parrot/util_func_rename: review: https://github.com/parrot/parrot/commit/88a1a0cc31
15:23 dalek parrot: 88a1a0c | Whiteknight++ | /:
15:23 dalek parrot: Merge branch 'master' of github.com:parrot/parrot
15:23 dalek parrot: review: https://github.com/parrot/parrot/commit/88a1a0cc31
15:29 kid51 joined #parrot
15:41 jsut_ left #parrot
15:42 jsut joined #parrot
15:45 dalek parrot/embed_api: 6f8c9ec | Whiteknight++ | src/global_setup.c:
15:45 dalek parrot/embed_api: this commit got put on the wrong branch
15:46 dalek parrot/embed_api: review: https://github.com/parrot/parrot/commit/6f8c9ec8fe
15:46 dalek parrot/embed_api: e9934d7 | (Mariano Wahlmann)++ | src/embed/ (2 files):
15:46 dalek parrot/embed_api: Made it compile with gcc
15:46 dalek parrot/embed_api: review: https://github.com/parrot/parrot/commit/e9934d7942
15:46 dalek parrot/embed_api: abab373 | (Mariano Wahlmann)++ | src/exit.c:
15:46 dalek parrot/embed_api: Fix segfaults when calling Parrot_exit twice
15:46 dalek parrot/embed_api: review: https://github.com/parrot/parrot/commit/abab373eff
15:46 dalek parrot/embed_api: 81e2599 | (Mariano Wahlmann)++ | src/e (2 files):
15:46 dalek parrot/embed_api: Fixed return value from api calls when executing parrot exit op
15:46 dalek parrot/embed_api: review: https://github.com/parrot/parrot/commit/81e2599885
15:46 dalek parrot/embed_api: e796f63 | (Mariano Wahlmann)++ | / (3 files):
15:46 dalek parrot/embed_api: Changed api_jmp_buf to *api_jmp_buf so we can verify its valid or not, programs using Parrot_exit directly without the API ( i.e pbc_merge ) will have a segfault if api_jmp_buf don't have a valid jmp_buf
15:46 dalek parrot/embed_api: review: https://github.com/parrot/parrot/commit/e796f638b8
15:46 whiteknight bluescreen+
15:46 whiteknight bluescreen++ even
15:46 bluescreen lol
15:47 bluescreen I'm not really happy about ++status before longjmp, but i think its a tradeof
15:47 whiteknight bluescreen: can you add yourself to CREDITS?
15:47 bluescreen longjmp won't return 0 to setjmp it will force it to 1
15:47 bluescreen sure why not
15:48 whiteknight I want to make sure you get attribution for the work you are doing
15:48 bluescreen how was turkey btw?
15:48 bluescreen still plenty of it?
15:49 whiteknight turkey was good. Yesterday was very crazy because we have so many people to visit. We didnt keep any left-overs
15:49 bluescreen oh... no left overs :(
15:53 whiteknight it looks like pbc_merge and pbc_disassemble are still having build errors
15:53 bluescreen longopt?
15:53 bluescreen I was able to get pbc_disassemble working
15:53 bluescreen whats not working is ops2c
15:54 bluescreen tough it runs, it doesn't pickup command line args
15:55 whiteknight damnit
15:55 bluescreen and also I think parrot debugger needs to be re-work to use the api
15:55 whiteknight we should be able to #include "parrot/longopt.h", and link it with src/longopt${O)}
15:55 bluescreen which might bring some changes to it
15:55 whiteknight yes, I haven't touched the debugger yet
15:55 bluescreen i did changes to root.in
15:55 bluescreen to make those compile
15:57 whiteknight did you reconfigure?
15:57 bluescreen perl Configure.pl, yes many times
15:57 bluescreen maybe i forgot to upload something
15:58 whiteknight I don't think I have reconfigured in a while
15:58 whiteknight they build on your machine?
15:58 bluescreen yes
15:58 bluescreen i tried pbc_dissasemble and worked for me
15:59 whiteknight ok
15:59 whiteknight I'm rebuilding now
15:59 bluescreen ./ops2c --dynamic src/dynoplibs/obscure.ops --quiet
15:59 bluescreen asdas:
15:59 bluescreen This is ops2c, part of the Parrot VM's build infrastructure.
15:59 bluescreen normal options:
15:59 bluescreen -c --core                generate the C code for core ops (must be run from within Parrot's build directory)
15:59 bluescreen -d --dynamic <file.ops>  generate the C code for the dynamic ops in a single .ops file
15:59 bluescreen -q --quiet               don't report any non-error messages
15:59 bluescreen -h --help                print this usage information
15:59 bluescreen -n --no-lines            do not print #line directives in generated C code (line numbers are not currently supported)
15:59 bluescreen debugging options:
15:59 bluescreen -g --debug               perform all processing but do not write to any files
15:59 bluescreen sorry... about the flooding
15:59 bluescreen you see its printing the help again
16:00 whiteknight blah
16:00 bluescreen its really hard to follow ops2c is bootstrapped x 2
16:00 bluescreen nqp -> pir -> pbc -> c
16:01 whiteknight I don't see longopt$(0) being linked into pbc_dissassemble in the makefile. Are you sure you committed that?
16:01 bluescreen mmmm
16:03 bluescreen is not there
16:03 bluescreen and git diff doesn't show it
16:04 mikehh left #parrot
16:04 bluescreen stupid me.. forgot to push it
16:04 whiteknight :)
16:05 bluescreen the hardest part will be wrap everything up... write tests, docs, clean up
16:05 whiteknight hey, if you send in a signed CLA we can vote to make you a committer on parrot/parrot
16:05 bluescreen CLA?
16:05 whiteknight yes. I added a GCI task for a student to write up the documentation
16:06 whiteknight Contributor License Agreement. Basically, it's just an agreement that you follow the license, etc
16:06 bluescreen lol... didn't know there was one
16:06 whiteknight http://www.parrot.org/files/parrot_cla.pdf
16:07 bluescreen but in short, I'm organs donor, marrow donor and code donor
16:08 whiteknight what the CLA says is that you own everything you contribute, and the Parrot Foundation can use your work so long as we are good with it
16:08 bluescreen great, I'm going to sing that
16:08 whiteknight :)
16:09 whiteknight if you send in a signed CLA, I'll nominate you to be a committer
16:09 bluescreen thanks
16:13 bluescreen brb
16:34 whiteknight okay, I just checked and the ops2c programs are receiving the commandline args we are passing them
16:34 whiteknight so now it's a question to find out what that program doesn't like about them
16:35 moritz what language is ops2c written in?
16:36 moritz compile rakudo programs don't receive @*ARGS, programs run from source do
16:36 moritz I don't know if NQP-rx programs suffer from the same problem
16:40 jan joined #parrot
16:42 whiteknight NQP
16:43 whiteknight they don't receive @*ARGS? That's extremely weird
16:43 whiteknight they should still be available in the interpreter
16:50 whiteknight bluescreen: I just fixed ops2c
16:56 whiteknight the test suite runs. But many tests fail
16:56 whiteknight lots of coredumps
16:59 masak left #parrot
17:03 whiteknight blah. EXCEPT_exit is causing most of these problems, I think
17:04 mikehh joined #parrot
17:06 dalek parrot/tt532_headerizer_refactor: c9bf5a0 | jkeenan++ | / (5 files):
17:06 dalek parrot/tt532_headerizer_refactor: Place methods in more logical order within module.  api_first_then_alpha() was
17:07 dalek parrot/tt532_headerizer_refactor: not testing correctly; place it directly in code rather than in imported
17:07 dalek parrot/tt532_headerizer_refactor: subroutine.  Add tests.
17:07 dalek parrot/tt532_headerizer_refactor: review: https://github.com/parrot/parrot/commit/c9bf5a09e7
17:07 wesjdj moritz: When I'm done with my GCI project, how should I get it to you?
17:08 moritz wesjdj: is there no submission process? if not, mailto:parrot-dev@lists.parrot.org
17:08 kid51 left #parrot
17:10 dukeleto hola
17:10 whiteknight hello dukeleto
17:11 dukeleto whiteknight: how goes it?
17:16 dukeleto whiteknight: wow, i see a lot of gci-related activity on github
17:16 dukeleto whiteknight: that is good to see
17:22 M_o_C joined #parrot
17:29 bluescreen whitekinght it is not that bad
17:29 bluescreen is the string's api
17:31 * dukeleto just found the Addrinfo PMC and is horrified
17:32 cotto dukeleto, it's used t hold the gc root set.
17:34 contingencyplan joined #parrot
17:35 dukeleto cotto: not from what I see. Are you thinking Addrregistry?
17:36 dukeleto cotto: maybe you are right
17:36 dukeleto cotto: but it is used in sockets. I can't quite tell yet
17:39 dalek parrot: 7ad73bd | dukeleto++ | / (2 files):
17:39 dalek parrot: [t] Add a basic test for the Addrinfo PMC
17:39 dalek parrot: review: https://github.com/parrot/parrot/commit/7ad73bd58c
17:45 cotto dukeleto, yes
17:45 cotto my mistake
17:49 dukeleto also, cloning an Addrinfo coredumps Parrot.
17:52 cotto where's addrinfo?  I remember the name but I don't see it in src/pmc.
17:53 wesjdj moritz: One Question. How would you translate Version Control?
17:53 contingencyplan left #parrot
17:55 cotto dukeleto, the only place I can find the string "Addrinfo" is in those tests you just added.  Am I missing something or is this a phantom PMC?
17:55 moritz wesjdj: yes, "Versionskontrolle" :-)
17:56 wesjdj moritz: Thought so, thanks.
17:56 contingencyplan joined #parrot
18:02 GodFather joined #parrot
18:04 kid51 joined #parrot
18:07 NotFound Where is that Addrinfo PMC?
18:07 NotFound I can't see it in master
18:08 NotFound $ prove -v t/pmc/addrinfo.t
18:08 GodFather left #parrot
18:08 NotFound t/pmc/addrinfo.t ..
18:08 NotFound 1..1
18:08 NotFound Class '[ 'Addrinfo' ]' not found
18:08 GodFather joined #parrot
18:10 GodFather left #parrot
18:20 wesjdj moritz: Sorry for the questions, I just have one last one.. How would you translate "To check out a local clone"?
18:27 mikehh NotFound: same here
18:29 mikehh and I was trying to test a patch to TT #1872, so I was con-fuze-ed
18:34 cotto NotFound, it looks like it's in the 1798_ipv6 branch
18:35 cotto dukeleto, found it
18:43 PacoLinux left #parrot
18:44 moritz wesjdj: "eine lokale Kopie herunterladen" or so
18:45 PacoLinux joined #parrot
18:45 wesjdj moritz: OK, thanks! In that case I'm ready to hand in my project.
18:47 moritz wesjdj++
18:49 wesjdj moritz: There is an official way to finish the project, I'll do it that way.
18:49 * dukeleto sees his error
18:49 dukeleto I didn't realized that Addrinfo was added in my branch
18:50 dukeleto wesjdj: are you a GCI student? Welcome!
18:50 wesjdj dukeleto: Yes I am! Thanks!
18:52 dalek parrot: 61d023e | dukeleto++ | / (2 files):
18:52 dalek parrot: Revert "[t] Add a basic test for the Addrinfo PMC"
18:52 dalek parrot:
18:52 dalek parrot: This reverts commit 7ad73bd58ca2a092c67061891b8c4e7f91c1f9bc.
18:52 dalek parrot:
18:52 dalek parrot: This commit should have gone into the tt1798_ipv6 branch. I did
18:52 dalek parrot: not releaze that the Addrinfo PMC was added in that branch.
18:52 dalek parrot: review: https://github.com/parrot/parrot/commit/61d023e235
18:52 moritz dukeleto: regarding the translated parrot.org pages... is there any plan for how to publish them?
18:52 dukeleto wesjdj: it is really awesome to see very smart young students getting involved in Parrot and open source in general
18:52 moritz dukeleto: just add a -<lang> to the pages? or will there be a different domain?
18:53 dukeleto moritz: i think drupal supported pages in many languages
18:53 dukeleto moritz: i am not sure about the exact details, but I've heard that Drupal will detect the language from the browser and can present a page in that language, if it exists
18:53 wesjdj dukeleto: Yea GCI has been fun so far!
18:54 dukeleto moritz: we probably want a manual way for people to choose which language as well. It hasn't been ironed out yet.
18:54 dukeleto wesjdj: that is great to hear!
18:54 dukeleto wesjdj: how did you find out about Parrot? Did you just look through all the tasks? Or did you hear another way?
18:55 wesjdj My Dad introduced me to GCI, then I looked through the tasks and saw the translation and then decided to have a look!
18:55 dalek parrot/tt1798_ipv6: ccffd27 | dukeleto++ | / (2 files):
18:55 dalek parrot/tt1798_ipv6: [t] Add a basic test for the Addrinfo PMC
18:55 dalek parrot/tt1798_ipv6: review: https://github.com/parrot/parrot/commit/ccffd274d1
18:56 dalek parrot/tt1798_ipv6: 42f16ac | dukeleto++ | t/pmc/addrinfo.t:
18:56 dalek parrot/tt1798_ipv6: [t] Add a test for cloning an Addrinfo, which currently coredumps
18:56 dalek parrot/tt1798_ipv6: review: https://github.com/parrot/parrot/commit/42f16ac87a
18:56 wesjdj dukeleto: And whilst you translate you kinda learn a lot about the whole project :)
18:58 dukeleto wesjdj: that is the point :)
18:59 wesjdj dukeleto: Yep!
19:00 dukeleto wesjdj: you are working on the german translation now?
19:00 wesjdj dukeleto: I just finished about 20 minutes ago
19:02 tcurtis joined #parrot
19:02 wesjdj dukeleto: I'm actually just looksing at some other tasks. There are a couple of Parrot tasks I'm quite interested in.
19:02 wesjdj looking*
19:03 dalek parrot/tt1798_ipv6: 4107908 | dukeleto++ | src/pmc/addrinfo.pmc:
19:03 dalek parrot/tt1798_ipv6: Fix coredump when cloning an Addrinfo PMC that hasn't had pointer set
19:03 dukeleto wesjdj: i have a bunch more, waiting :)
19:03 dalek parrot/tt1798_ipv6: review: https://github.com/parrot/parrot/commit/41079088d1
19:03 wesjdj dukeleto: Sounds good! Any more translation? I'm also interested in the 5 minute movie task..
19:04 moritz wesjdj: I'm currently preparing a p5 task for a Perl 6 compiler. After that I can look into another translation task
19:05 moritz wesjdj: any preferences which page you'd like to translate this time?
19:05 wesjdj moritz: parrot.org/dev looks good!
19:06 wesjdj dukeleto: Looking forward to it!
19:10 moritz wesjdj: the submission URL is a 404
19:11 wesjdj oh. Let me check what's wrong.
19:12 dukeleto cotto: our Socket PMC doesn't allow asking for IPv6. The address family is hardcoded and is not an argument to the 'sockaddr' method
19:12 dukeleto cotto: do i need a dep cycle to add an argument to that method?
19:12 dukeleto whiteknight: ^^^
19:12 bluescreen msg whiteknight I think failing test are because of the output format of the messages when "die"
19:12 aloha OK. I'll deliver the message.
19:13 wesjdj moritz: Seems to be working for me. I'll check it's not local.
19:13 wesjdj moritz: Otherwise I'll submit the HTML
19:14 moritz wesjdj: is http://pjcj.sytes.net/de/download-de/ the correct URL?
19:14 moritz says "The requested URL /de/download-de.html/ was not found on this server."
19:14 wesjdj moritz: Yes, that's what I have
19:14 wesjdj OK, I'll submit the HTML
19:16 M_o_C left #parrot
19:19 whiteknight bluescreen: no, several tests dump core or segfault
19:20 bluescreen whiteknight: I've just fixed that
19:21 bluescreen the thing was something like: char *msg = "Hello\n"; free(msg)
19:21 bluescreen we were freeing a non-allocated string
19:21 dukeleto wesjdj: i believe many translation tasks have not yet been input to Melange. We have a few more german translation tasks, definitely.
19:22 wesjdj dukeleto: OK :)
19:22 moritz I just put up another translation task - needs approval
19:23 whiteknight bluescreen: ah, that was a temporary debugging thing
19:23 whiteknight thanks for fixing it
19:24 dalek parrot/tt532_headerizer_refactor: c232b9f | jkeenan++ | / (4 files):
19:24 dalek parrot/tt532_headerizer_refactor: Add tests for Parrot::Headerizer::Object methods.
19:24 dalek parrot/tt532_headerizer_refactor: review: https://github.com/parrot/parrot/commit/c232b9f2b4
19:26 wesjdj moritz: OK, found the problem.
19:28 wesjdj moritz: Resubmitted.
19:32 moritz wesjdj: a few small nits, s/Verpackungen/Packete/ for example, but otherwise it looks quite good
19:32 cotto dukeleto, no deprecation is required for adding something.  They're only needed if you'll break existing code that depends on something we support.
19:33 wesjdj moritz: Do you need me to change it?
19:33 moritz wesjdj: no, I can fix it myself before publishing, just wanted to give you some feedback
19:33 wesjdj OK, thanks!
19:33 theory joined #parrot
19:33 NotFound cotto: if you add an argument, it must be optional, else surely breaks something.
19:33 moritz wesjdj: thank you
19:34 wesjdj moritz: You're welcome! :=)
19:34 * cotto misread that as "adding a method".  NotFound is correct.
19:36 darbelo It could be made a multi-method
19:36 NotFound Yeah
19:36 NotFound TIMTO.. you know ;)
19:36 cotto We have the technology.
19:37 darbelo And the technology to build the technology. If it ever comes to that.
19:37 NotFound We are the world...
19:42 dukeleto cotto, NotFound: yes, I will add an optional argument to a function
19:42 dukeleto which will hopefully not break anything
19:42 kurahaupo joined #parrot
19:43 whiteknight bluescreen: I'm thinking we need to add a flag to Parrot_api_get_last_error to determine whether we have an error message
19:43 bluescreen you're think in the die case?
19:43 bluescreen thinking
19:43 NotFound dukeleto: I don't think we should support doing method calls with wrong number of arguments on purpose. So if it breaks something, too bad for who is doing it.
19:45 whiteknight bluescreen: there are several exit conditions
19:45 bluescreen yes!
19:45 dukeleto NotFound: i think you misunderstand
19:45 whiteknight "exit 0" is a normal exit. "exit 1" usually indicates a problem, and unhandled exception is the worst
19:45 whiteknight bluescreen: and then there are rare, fatal problems like memory corruption and stuff
19:46 dukeleto NotFound: currently, when you make a socket in Parrot, it defaults to IPv4. I think that is sane. But there needs to be a way to create an IPv6 socket
19:46 NotFound whiteknight: Did you see that guy? : <rfw> i'm looking at http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129033192711 this task atm and just getting to know the rails before i pick it up
19:46 whiteknight so a non-zero exit may be an "exit 1" or an unhandled exception
19:46 whiteknight NotFound: no, I didn' see him
19:46 dukeleto NotFound: so i will add "family" as another, optional, argument to the function
19:46 NotFound whiteknight: about 12 hours ago
19:46 whiteknight oh, I definitely didn't see them
19:47 kurahaupo_mobi left #parrot
19:48 bluescreen and the flag will indicate "normal exit" vs. doomed?
19:48 darbelo whiteknight: I'm not sure if it's what you mean, but calling exit() from inside libparrot is a bad idea.
19:48 whiteknight darbelo: no, the exit_i opcode
19:48 NotFound whiteknight: He's learning winxed for the task. I haven't thinked about code-in as a winxed promotion tool.
19:48 whiteknight which should exit the interpreter, but should NOT exit the embedding rogram
19:48 whiteknight NotFound: it is! It can promote anything you want
19:49 whiteknight NotFound: If you have any ideas of things a student can do for Winxed, let me know and I will add a task
19:49 darbelo whiteknight: Excellent. Please disregard my comment.
19:49 whiteknight documentation, examples, etc
19:49 NotFound Even if you don't know yet that you want :D
19:52 NotFound dukeleto: fine for me. We can later think if we should make that argument mandatory.
19:57 dukeleto NotFound: yes, there are other optional flags that are IPv6-specific that we may want to support in the future
19:57 patrickas joined #parrot
19:57 dukeleto NotFound: so we will need to think about that
19:58 dukeleto What kind of exception should be thrown on "gethostbyname" errors ?
19:58 dukeleto Currently, something is printed to STDERR and that is it. LTA.
19:59 patrickas hello, I was trying to build latest parrot on Windows7 and got an error from config\gen\platform\win32\begin.c ... I had to remove the check "if WINVER < Windows2000" in order for it to build
19:59 silug joined #parrot
20:00 dukeleto patrickas: can you make a Trac ticket on trac.parrot.org and send an email to parrot-dev with a link to the ticket?
20:00 dukeleto patrickas: that will get more eyes on the bug
20:00 patrickas ok ... will do
20:00 whiteknight bluescreen: I think we're getting close
20:00 dukeleto patrickas: thanks!
20:00 NotFound That may be the same problem I have with XP home
20:00 whiteknight very few failures left on my machine
20:00 dukeleto patrickas: try to include as much info in the ticket as you can, i.e. OS version, compiler version, etc...
20:00 bluescreen whiteknight: really... it was awesomed that it finished compilation
20:01 dukeleto Can I make a vtable method a multimethod? Or do I just make normal C optional arguments?
20:02 bluescreen whiteknight: what will be the procedure to merge that back in the trunk ( I know I'm jumping ahead )... will this be subject of a code review from an architect or something... because things really changed in embed_api branch
20:02 NotFound dukeleto: vtable method?
20:06 dukeleto NotFound: yes, something with METHOD ...
20:06 dukeleto NotFound: in C
20:07 NotFound dukeleto: don't call it vtable, is confusing.
20:07 patrickas dukeleto: I created an account on trac.parrot.org ... when I login I get redirect to the main page without loggin in (I still have a button to login and still have no provilege to create tickets) ... I am not sure if I am doing something stupid or the server is !
20:07 NotFound dukeleto: add :optional, as in PIR.
20:07 kurahaupo left #parrot
20:07 dukeleto NotFound: i am incorrect. It is not a vtable method
20:07 NotFound dukeleto: is not C, is PMC preprocessing language.
20:08 dukeleto NotFound: just realized that. It is just a method.
20:08 dukeleto NotFound: I like to think of it as "C with sugar", but yes.
20:08 NotFound It has no official name, so name as you like ;)
20:08 dukeleto patrickas: Trac will redirect you to the main page, does it say you are logged in at the top right?
20:09 patrickas no .. and I still have the links for [login] and [register]
20:09 dalek parrot: a34696c | mikehh++ | / (3 files):
20:09 dalek parrot: add patch (modified) from bacek++ to fix TT #1872
20:09 dalek parrot: review: https://github.com/parrot/parrot/commit/a34696c8d8
20:10 dukeleto patrickas: and what happens if you reload? Still the same?
20:10 NotFound Cookies blocked?
20:11 patrickas dukeleto: yes same I reloaded and tried a differnt browser
20:11 patrickas just tried using ingognito mode
20:12 patrickas seems to have worked ... there must be something messed up with my cookies!
20:12 dalek parrot/tt532_headerizer_refactor: 237a741 | jkeenan++ | config/gen/makefiles/root.in:
20:12 dalek parrot/tt532_headerizer_refactor: Add 'headerizer_tests' target.
20:12 dalek parrot/tt532_headerizer_refactor: review: https://github.com/parrot/parrot/commit/237a741d6a
20:13 kid51 left #parrot
20:14 cotto What'd be a good name for the policy that concerns what goes into core? "Inclusion"?
20:14 NotFound Coredumping? ;)
20:14 whiteknight bluescreen: when the time comes we 1) bring the branch up to date with master 2) Send out messages to all the developers for review. 3) incorporate feedback, 4) figure out what the deprecation issues and work out a merge timeline
20:15 bluescreen gr8
20:16 whiteknight bluescreen: I think a Parrot_api_get_exit_status function will be needed with two flags: The first is a boolean to say whether we have an unhandled exception or error message, and the second will be the exit code
20:16 whiteknight And if we have an error message, we call Parrot_api_get_last_error to retrieve it
20:17 whiteknight or, we merge the two functions together and only have Parrot_api_get_result that has three returns: exit type, exit code, and error message
20:17 TypeNameHere_ joined #parrot
20:18 bluescreen to me the simpler the better... I'm thinking in people using the API
20:18 gbacon joined #parrot
20:26 ZeroForce joined #parrot
20:27 patrickas dukeleto: Wrote the bug report and clicked [preview] and got the error that I am not logged in ... and now I am unable to log in even in incognito mode ... so I'll just send the report itself to parrot-dev, apologies for failing to do it the right way!
20:29 dukeleto Is Parrot_io_sockaddr_in a public facing function? I think not, but I want verification.
20:29 dukeleto whiteknight, NotFound : ^^^
20:29 dukeleto patrickas: no worries. Sounds like you have browser issues. Are you using NoScript or something?
20:29 patrickas left #parrot
20:30 patrickas joined #parrot
20:30 dukeleto patrickas: sending to parrot-dev is fine
20:31 patrickas dukeleto: I am not using no script .... I have a really slow and often flaky internet connection but I don't usually have such problems, (usually I just get random timeouts and I just need to refresh)
20:32 patrickas dukeleto: Thanks for your help anyways.
20:32 wesjdj moritz: When you publish a new translation task, please tell me :)
20:32 NotFound dukeleto: I don't think so, is a platform interface internal detail.
20:32 moritz wesjdj: I've published it, but it needs aproval from dukeleto
20:32 wesjdj Oh ok.
20:33 patrickas left #parrot
20:35 dukeleto NotFound: thanks!
20:35 * dukeleto goes to approve the gci task
20:36 dukeleto wesjdj: just approved the task
20:36 dukeleto moritz: ^^
20:38 wesjdj dukeleto: OK I'll have a look.
20:40 wesjdj Looks like I have to register as a student before I can take it... better get that done now--
20:41 dalek parrot/tt1798_ipv6: 2f63e9f | dukeleto++ | / (3 files):
20:41 dalek parrot/tt1798_ipv6: Allow creation of IPv6 sockaddr structs, whilst defaulting to IPv4
20:41 dalek parrot/tt1798_ipv6: review: https://github.com/parrot/parrot/commit/2f63e9f658
20:41 tadzik is ResizableIntegerArray filled with zeroes by default?
20:45 dukeleto tadzik: i don't think so
20:45 dukeleto tadzik: but you should check :)
20:45 tadzik hmm
20:46 tadzik if the function name is void set_integer_keyed_int(INTVAL key, INTVAL value), what is the opcode name?
20:47 tadzik in PASM
20:47 moritz you're writing PASM? not PIR?
20:47 tadzik bf is written in PASM
20:47 tadzik at least the basic part
20:47 moritz in pir you'd say $P0[1] = 2
20:48 tadzik hello world prints "Ðíôô÷ World!", looks like a notzeroed memory to me
20:49 cotto if anyone has ideas about what should and shouldn't go into core, msg me.
20:50 NotFound tadzik: quick trick: write the op you need in pir and 'parrot -t1' it.
20:50 dukeleto NotFound: that is a good trick!
20:50 wesjdj moritz: I requested the new task :)
20:52 tadzik > echo '$P0[1] = 2' | parrot -t1 -
20:52 tadzik error:imcc:syntax error, unexpected PREG ('$P0')
20:52 tadzik pardon my paste. Am I doing it right?
20:53 NotFound tadzik: pir needs that the code is placed inside a sub
20:53 moritz as I said I only know PIR :(
20:54 whiteknight dukeleto: to answer your question, I don't know if that function is public or not
20:54 tadzik Yay, I fixed brainfuck
20:55 whiteknight tadzik++
20:55 NotFound Now you should fuck brainfix
20:55 tadzik or not
20:56 tadzik oh, it's the optimizing compiler that's broken
21:03 tadzik alright, I fixed the optimizing one
21:03 tadzik yay, my first Parrot related commit
21:03 dalek parrot: 9a7cfab | bacek++ | include/parrot/pointer_array.h:
21:03 dalek parrot: Properly calculate CELL_PER_CHUNK.
21:03 dalek parrot: review: https://github.com/parrot/parrot/commit/9a7cfabd75
21:07 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#1362) fulltest) at a34696c - Ubuntu 10.10 amd64 (g++-4.5)
21:15 dukeleto 'make headerizer' has a lot of warnings. Are others seeing this?
21:17 bacek joined #parrot
21:19 mikehh bacek: did I mess that one up
21:19 bacek mikehh, hio. Mess what?
21:19 rurban_ joined #parrot
21:20 mikehh bacek: ref your last commit
21:20 bacek mikehh, ah. No. It was actually me :)
21:20 bacek In original patch.
21:20 bacek moritz, ping.
21:21 mikehh bacek: well it seemed to test ok
21:21 moritz bacek: pong
21:21 bacek mikehh, it should be ok now. I basically restored bit of functionality from master before gc_ms2_faster_list
21:22 bacek moritz, can you retest rakudo on bleeding edge parrot?
21:22 rurban left #parrot
21:22 rurban_ is now known as rurban
21:22 moritz bacek: is RELEASE_2_10_1-509-g61d023e new enough?
21:22 bacek moritz, nope.
21:23 moritz bacek: then I'll rerun spectests
21:24 bacek moritz, it will be really helpful
21:25 rfw joined #parrot
21:25 bacek moritz, how you generate "RELEASE_2_10_1-509-g61d023e"?
21:25 rfw hi, i'm here about http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129033196801
21:25 rfw i take it whiteknight is my mentor?
21:25 whiteknight let me look
21:26 whiteknight yessir, that's me
21:26 rfw :D
21:26 whiteknight Hello rfw, how are you today?
21:26 rfw i'm doing fine and on a roll
21:26 whiteknight that's great to hear! I would love to see that reverse Laplace expansion code you have done already
21:26 rfw it says recursive :p
21:26 moritz bacek: git describe --tags
21:27 whiteknight ah, right
21:27 dalek parrot/tt1798_ipv6: a34a716 | dukeleto++ | t/pmc/socket_ipv6.t:
21:27 dalek parrot/tt1798_ipv6: Specify the protocol family when created sockaddr's for the IPv6 tests
21:27 dalek parrot/tt1798_ipv6: review: https://github.com/parrot/parrot/commit/a34a716ed4
21:27 whiteknight I've never actually used PLA with Winxed, so I'm very interested to see the code
21:27 dalek parrot/tt1798_ipv6: e262295 | dukeleto++ | / (2 files):
21:27 dalek parrot/tt1798_ipv6: Add more IPv6 Socket tests
21:27 dalek parrot/tt1798_ipv6: review: https://github.com/parrot/parrot/commit/e2622951db
21:28 bacek moritz, RELEASE_2_10_1-511-g9a7cfab is what I get on my box. Looks like 2 most valuable commits difference from your tag :)
21:28 rfw whiteknight: http://pastebin.com/nC7YCjzC
21:28 rfw i haven't tested it too thoroughly, though
21:29 moritz bacek: segfaulted while trying to compile Test.pm
21:29 bacek moritz, sigh...
21:30 bacek moritz, Linux/amd64 + optimize?
21:30 moritz bacek: correct
21:30 * moritz -> sleep
21:30 moritz running spectest now
21:30 moritz (compilation succeeded on second attempt)
21:30 bacek moritz, good night
21:30 moritz will report results in a copule of hours
21:31 bacek moritz, thanks!
21:31 NotFound whiteknight: i can co-mentor if winxed help is needed.
21:31 rfw oh, ni NotFound
21:31 rfw hi*
21:31 tcurtis left #parrot
21:31 rfw thanks for the help yesterday
21:32 whiteknight NotFound: thanks!
21:32 bacek afk # breakfast
21:32 NotFound rfw: it was this morning for me. Parrot world is big ;)
21:32 rfw hehe
21:32 whiteknight rfw: awesome!
21:32 whiteknight That's a great example
21:32 rfw heh, too bad that task's gone already
21:33 rfw i was wanting to do that but i had a moinmoin task tied up
21:33 whiteknight what task?
21:33 rfw the nummatrix2d user examples one
21:33 rfw i've gone for the test complexmatrix2d one instead
21:33 rfw close enough :D
21:33 whiteknight oh. Nobody else is doing it I don't think. You can take it again if you want it
21:33 whiteknight yes, that's a good one too :)
21:33 rfw again? you have to make one
21:33 rfw since there was only one
21:35 rfw whiteknight: should i withdraw from the complexmatrix2d one?
21:35 whiteknight NO! We need tests too!!
21:35 rfw well
21:35 rfw can i do it after?
21:35 rfw i'm only allowed to take one task at a time :(
21:35 whiteknight Let me look. I don't think anybody else is doing it
21:36 rfw it's already closed, lol
21:36 rfw er, accepted
21:36 rfw rather
21:37 NotFound rfw: how do you learnt winxed? Looking at the examples?
21:37 rfw NotFound: yeah
21:37 rfw well, and bugging^Wasking you
21:37 whiteknight That task still exists. Looks like it is claimed by somebody named Fernando
21:37 rfw yeah
21:37 rfw which is why i've opted for complexmatrix2d test cases
21:37 darbelo left #parrot
21:38 NotFound I think I can say that the objective of making it easy to learn is acomplished :)
21:38 whiteknight rfw: I just accepted it. Sorry for the delay
21:38 whiteknight this google interface is not always easy to navigate
21:38 rfw NotFound: i wouldn't say easy :3
21:38 rfw whiteknight: am i required to write the tests in nqp?
21:39 rfw or is any language that runs on parrot fine
21:39 NotFound rfw: I know, I must write some doc and tutorials.
21:39 whiteknight rfw: That's a good question. I assumed NQP, but there is value in having tests in other languages too
21:39 rfw whiteknight: i don't know perl (i loathe perl)
21:40 rfw but i could pick it up if you want
21:40 whiteknight Hah!
21:40 whiteknight you would prefer Winxed?
21:40 rfw yeah
21:40 bluescreen left #parrot
21:40 rfw i'd be even happier if there was a working implementation of python on parrot, lol
21:40 whiteknight Okay. Winxed is fine. I'll have to modify the harness eventually to be able to run winxed tests as part of the harness
21:40 rfw ah cool!
21:41 rfw so, 15 tasks?
21:41 whiteknight there is a python implementation, but I don't know if it's currently working
21:41 rfw er
21:41 rfw tests*
21:41 rfw yeah it looked iffy
21:41 whiteknight yes. if you take a look at the current tests you can see some TODO notes where we need more coverage
21:41 rfw parrot-linear-algebra / t / methods / complexmatrix2d / conjugate.t ?
21:41 rfw er
21:41 rfw not the conjugate.t part
21:42 rfw i don't see any TODO notes
21:42 whiteknight hmmm... I thought there were more
21:42 whiteknight there are two in gemm.t
21:43 rfw ah
21:43 rfw i see them
21:43 whiteknight You can decide what to test, just try not to test things that are already tested.
21:43 rfw sure
21:43 Kovensky <@whiteknight> this google interface is not always easy to navigate <-- melange is a buggy mess :(
21:43 whiteknight Most tests just cover basic behavior: What are the results when all the inputs are perfect?
21:43 rfw hi Kovensky
21:43 Kovensky hi rofflwaffls
21:43 whiteknight Kovensky: Thanks for saying that!
21:43 * rfw caws Kovensky
21:43 Kovensky why did you drop your full nick for a three letter one anyway
21:43 rfw i dunno
21:44 rfw it seemed more pretentious
21:44 rfw Receiving objects:   7% (183/2373), 604.00 KiB | 11 KiB/s
21:44 rfw wtf
21:44 Kovensky whiteknight: I had to use it for gsoc early this year... definitely not nice indeed :E
21:44 tcurtis joined #parrot
21:44 tcurtis left #parrot
21:44 Kovensky rfw: :3
21:44 whiteknight Kovensky: what was your GSoC project? Who did you work with?
21:45 Kovensky http://github.com/Kovensky/x264-audio
21:45 Kovensky it's kinda unfinished tho :/
21:45 rfw Kovensky: does it encode aac
21:45 bacek left #parrot
21:45 Kovensky yes, using qtaac or libfaac through libavcodec's wrapper
21:46 Kovensky you can use libavcodec's aac encoder too if you want, but don't complain about the result :>
21:46 rfw my parrot working environment is a lolmes
21:46 rfw s
21:46 rfw i'm doing it in a virtualbox shared folder with a terminal tunneled from my vm :<
21:46 Kovensky why so complicated
21:47 rfw because >windows
21:47 Kovensky what about cygwin
21:48 rfw cygwin is really lol
21:48 rfw i tried it with pla/blas/lapack before
21:48 rfw it didn't work very well at all :(
21:50 rfw Contextual $*FileSystem not found
21:50 rfw wat mean D:
21:50 rfw oh
21:50 rfw hurr i can't read
21:51 whiteknight I've never tried to install BLAS on windows or cygwin
21:51 rfw whiteknight: This is resolved by using the special forked version of Kakapo,  as discussed in the README <-- i don't see this
21:51 whiteknight you don't? damnit
21:51 rfw i just cloned http://gitorious.org/kakapo
21:51 rfw and built it
21:51 whiteknight github.com/Whiteknight/kakapo.
21:52 rfw and
21:52 rfw ah*
21:52 rfw thanks
21:52 whiteknight yeah, the master one is all b0rked
21:52 whiteknight I made a series of ugly but functional fixes to my fork
21:52 rfw Receiving objects:   8% (202/2386), 868.00 KiB | 235 KiB/s
21:52 rfw YES NO MORE 11KB/S
21:53 rfw Kovensky: is rakudo star really that bad
21:53 Kovensky I haven't used rakudo yet
21:53 rfw i heard it's really _really_ slow and a huge memory hog
21:54 rfw whiteknight: it runs :)
21:54 rfw i might as well write nqp, since the rest is in nqp
21:54 rfw Kovensky: you win; i'm writing perl :(
21:54 * dukeleto waves
21:54 * dukeleto then becomes a particle
21:55 Kovensky rfw: :3
21:55 rfw :<
21:55 Kovensky which perl
21:55 rfw nqp
21:55 rfw well
21:55 rfw i'm not writing perl
21:55 rfw !!
21:56 rfw whiteknight: is method test_METHOD_gemm_aABbC() { missing an assert_equal at the end
21:56 NotFound Not quite.
21:56 whiteknight nqp is perl6, not perl5, if that makes any difference
21:57 rfw i don't know either so it's all good
21:57 whiteknight rfw: yes! it is missing an assert
21:57 whiteknight damnit
21:57 rfw lol
21:57 NotFound Maybe someone should write nqp5
21:57 rfw this doesn't count as 1/15 does it :(
21:57 whiteknight it can. Since technically it's adding a test I didn't have before
21:57 rfw lol
21:58 whiteknight though the other 14 better be really good
21:58 * rfw looks for more missing asserts
21:58 rfw parrot-nqp: symbol lookup error: ./dynext/linalg_group.so: undefined symbol: cblas_zgemm
21:59 rfw is this broken?
21:59 rfw or is this my cblas's fault
22:00 rfw hm i'll just not touch gemm
22:04 ZeroForce left #parrot
22:05 ZeroForce joined #parrot
22:07 rfw whiteknight: question: how do i add a new test to a case?
22:14 rfw also fancyvalue doesn't work with complex
22:19 rfw not ok 1 - test_fill_with_resizing_complex
22:19 rfw test failed
22:26 dalek winxed: r690 | NotFound++ | trunk/winxed_installed.winxed:
22:26 dalek winxed: add options -I and -L to installable compiler
22:26 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=690
22:26 dalek winxed: r691 | NotFound++ | trunk/pir/winxed_ (2 files):
22:26 dalek winxed: update installable files
22:26 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=691
22:26 dalek winxed: r692 | NotFound++ | trunk/examples/xlibtest.winxed:
22:26 dalek winxed: rename main function to 'main' in xlibtest example to avoid the weakness of the
22:26 dalek winxed: installed winxed
22:26 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=692
22:29 bacek joined #parrot
22:29 rfw whiteknight: complexmatrix2d.conjugate is the _conjugate_ of all the numbers in the matrix, not the hermitian transpose of the matrix?
22:30 rfw $m = 1-1i    2-2i            3-3i                4-4i
22:30 rfw $n = 1-1i    2-2.81617e-322i 3-3.60739e-313i     4-0i
22:30 rfw might want to review that :)
22:31 rfw er, i put m and n the wrong way around
22:31 dukeleto cotto: i enjoyed your blog post about dynop_mapping. I understand how it effects PL/Parrot now
22:34 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#1363) fulltest) at 9a7cfab - Ubuntu 10.10 amd64 (g++-4.5 with --optimize)
22:34 dukeleto whiteknight: your links to github are broken on http://whiteknight.github.com/20​10/11/11/problem_with_imcc.html
22:34 dukeleto whiteknight: they refer to the fork you deleted
22:34 fperrad left #parrot
22:37 dukeleto aloha: msg whiteknight I enjoyed your blog post about the trials of a product manager. Good stuff!
22:37 aloha dukeleto: OK. I'll deliver the message.
22:48 dukeleto Does POD that is in src/*.c files actually go anywhere? Or is it just for people reading the C source?
22:49 dukeleto I don't see them on http://docs.parrot.org/parrot/latest/html/
22:54 sorear I think make codetest verifies that it exists
23:06 rfw whiteknight: are you there yet?
23:06 rfw i have a truckload of questions :(
23:08 plobsing dukeleto: it doesn't go anywhere. it is nifty to run perldoc on sourcefiles to get the gist of what's going on.
23:12 rfw how do i define a float in nqp?
23:13 tadzik Well, you can just bind the value to a variable, or do you need strictly a float? (It's Num btw)
23:14 rfw ah
23:14 rfw okay
23:16 dalek parrot/leto/embed_grant: d2c740c | dukeleto++ | docs/embed.pod:
23:16 dalek parrot/leto/embed_grant: [docs] Add some basic docs about type signatures and improve description of some datatypes
23:16 dalek parrot/leto/embed_grant: review: https://github.com/parrot/parrot/commit/d2c740cbee
23:16 dalek parrot/leto/embed_grant: 9771db2 | dukeleto++ | docs/embed.pod:
23:16 dalek parrot/leto/embed_grant: Add a more user-friendly description of Parrot type signatures
23:16 dalek parrot/leto/embed_grant: review: https://github.com/parrot/parrot/commit/9771db2dd4
23:16 mikehh rakudo (82f3de0) - build on parrot (511-g9a7cfab) - make test PASS, make spectest_smolder[(#1364) roast (52c1e70)] PASS  - Ubuntu 10.10 amd64 (g++-4.5 with --optimize)
23:16 mikehh t/spec/S02-magicals/pid.rakudo - TODO passed:   1
23:16 mikehh 27,041 ok, 0 failed, 609 todo, 1,854 skipped and 1 unexpectedly succeeded
23:21 gbacon left #parrot
23:23 rfw left #parrot
23:25 rfw joined #parrot
23:27 cotto dukeleto, great!  I'm glad it was helpful.
23:28 cotto consider me encouraged
23:32 mikehh left #parrot
23:33 whiteknight dukeleto: thanks for the feedback! Sucks about the broken links. I will try to update them
23:35 whiteknight rfw: sorry, dinner
23:38 rfw whiteknight: ah okay
23:38 rfw (sorry, was at lunch)
23:38 ZeroForce left #parrot
23:38 rfw whiteknight: i think non-square conjugate is broken
23:39 rfw or just really inaccurate
23:39 rfw 1-1i    2-2.81617e-322i 3-2.80872e-237i 4-4.10654e-289i
23:39 whiteknight rfw: hence the need for more tests!
23:39 rfw hehe
23:39 rfw well
23:40 rfw currently i'm just porting the tests in testlib
23:40 rfw to use complex numbers
23:40 rfw i can't seem to get gemm to work
23:40 whiteknight conjugate should just be the straight conjugate of all elements in the matrix. Not the hermitian transpose
23:40 rfw ah
23:40 rfw so it is broken
23:40 whiteknight I haven't run the tests in a while
23:40 rfw parrot-nqp: symbol lookup error: ./dynext/linalg_group.so: undefined symbol: cblas_zgemm
23:40 rfw can you offer any help with that?
23:41 whiteknight weird. What blas library are you linking with?
23:41 rfw not atlas
23:41 rfw hold on'
23:41 rfw atlas wouldn't compile
23:41 whiteknight what OS are you on?
23:41 rfw archlinux
23:41 whiteknight I've never been able to compile atlas myself either
23:41 whiteknight hmmm...
23:42 rfw http://www.archlinux.org/packages/extra/i686/blas/ <-- whatever this is
23:42 jan left #parrot
23:42 whiteknight http://www.archlinux.org/packages/extra/i686/blas/
23:42 whiteknight gotcha
23:42 rfw yeah i linked against that
23:42 rfw [root@myhost parrot-linear-algebra]# ldd dynext/linalg_group.so
23:42 rfw linux-gate.so.1 =>  (0xb7879000)
23:42 rfw libblas.so.3 => /usr/lib/libblas.so.3 (0xb7806000)
23:44 rfw hm whiteknight can i just give you my gemm tests and you try them out?
23:44 whiteknight yes
23:44 rfw what do you mean by # Test that we can call GEMM with alpha of various types
23:44 jan joined #parrot
23:44 rfw just try GEMM with a complex alpha and a float alpha?
23:45 whiteknight rfw: pass in various PMC types for alpha. Numeric types (Int, Num and Complex) should work. Weird types probably should throw an exception
23:45 rfw ah
23:45 rfw so
23:45 rfw i should also throw in a string :)
23:45 whiteknight so there are 4 tests right there: three with numeric types that should work, and another with a non-numeric type that should fail
23:45 whiteknight a string may auto-convert to an integer
23:45 rfw so i should make one that doesn't like
23:46 rfw "this is absolutely totally not an integer"
23:46 whiteknight so that will be an interesting test, but won't necessarily fail
23:46 whiteknight yes
23:46 rfw how do i define an int? (sorry for all the stupid questions, i'm so new at this :(
23:47 mikehh joined #parrot
23:47 whiteknight in NQP or Winxed?
23:47 rfw nqp
23:48 whiteknight my $int := pir::new__PS('Integer');
23:48 rfw i'm doing this all in nqp since all the other tests are nqp, lol
23:48 whiteknight that's good. Learn something new
23:48 whiteknight put "perl" on your resume
23:48 whiteknight make lots of $$
23:48 rfw yes, perl is full of funny symbols like $$
23:49 rfw how do i set the value of it
23:49 rfw can i just do $int := 1 and it'll be an int?
23:49 whiteknight no, all numeric literals in NQP are Floats
23:49 whiteknight it's a very very small language
23:49 rfw ah
23:50 rfw so how do i create an integer with a value of, say, 2?
23:50 whiteknight pir::set__PI($int, 5), I think
23:50 whiteknight tests with Integers are always hard
23:50 rfw The opcode 'set_p_i_i' (set<3>) was not found. Check the type and number of the arguments
23:50 whiteknight at least in NQP
23:50 jnthn my $int := pir::box__Pi(5);
23:51 whiteknight jnthn++
23:51 whiteknight he's the grandmaster at this kind of stuff
23:51 rfw ah
23:51 rfw thanks
23:51 rfw also i can't help but feel i'm writing pascal, with all the :=
23:52 jnthn rfw: NQP is a subset of Perl 6. := is the binding operator. Perl 6 has = for assignment. However, NQP doesn't have assignment.
23:52 rfw ah
23:52 jnthn (Deliberate design decision.)
23:52 rfw this is the first time i've ever touched perl
23:53 jnthn NQP is generally good for the stuff it was designed for, but probably a little restrictive for general purpose programming.
23:53 jnthn e.g. I love working with it for access to the grammar engine and writing compiler and meta-model bits.
23:53 jnthn But wouldn't want to write e.g. a web app in it. :)
23:54 rfw so rakudo is intended to be the more general purpose version of nqp?
23:54 jnthn Rakudo aims to be a full Perl 6 implementation.
23:54 jnthn NQP is aimed at being a small, bootstrappable language ideal for compiler implementation.
23:54 jnthn It is more restricted than Perl 6
23:55 rfw ah
23:55 jnthn But can make various extra optimizations as a result and generate simpler code.
23:55 rfw and at the lowest level, you have pir?
23:55 jnthn These days, some of NQP is also cross-compilable to the .Net CLR.
23:56 jnthn Yes, in fact NQP gets compiled into PIR.
23:56 rfw parrot .net? awesome
23:56 jnthn Well, not Parrot on .Net
23:56 rfw well
23:56 rfw NQP compiling into ILASM
23:56 rfw at least
23:56 jnthn More that writing compilers using NQP, PAST and so forth means that you'll be able to get a VM-portable compiler.
23:57 jnthn With a modest investment.
23:57 rfw awesome
23:57 jnthn (e.g. it won't "just run" but you'll be much of the way)
23:57 rfw whiteknight: http://pastebin.com/xfLJgNdd can you take a look at that
23:57 jnthn Somebody is working on a JVM port too :)
23:57 jnthn mberends++
23:58 rfw whoops, how did i type 2+01 instead of 2+0i
23:58 jnthn No, you just imagined it. ;)
23:58 rfw i see what you did there
23:59 whiteknight rfw: nice. I'm building now, I'll run these in a minute
23:59 rfw whiteknight: oh no, don't run them yet
23:59 rfw i'm just asking if they look fine
23:59 whiteknight oh, okay! that's even less work for me :)
23:59 rfw also, no fancyvalue with imaginary numbers?
23:59 rfw i get funny results when i do that

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

Parrot | source cross referenced