Camelia, the Perl 6 bug

IRC log for #parrot, 2010-12-04

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:00 Kristaba left #parrot
00:00 sorear dukeleto: I think you should be able to create multiple wholly independant interpreters
00:00 sorear with possibly overlapping lifespans
00:01 sorear dukeleto: the "parent pointer" thing is, iiuc, a legacy of ithreads.
00:18 bacek_mobile left #parrot
00:30 bluescreen joined #parrot
00:33 hercynium left #parrot
00:34 whiteknight joined #parrot
00:45 lucian left #parrot
01:09 whiteknight damnit
01:09 whiteknight I HATE IMCC
01:09 whiteknight if it were a person, I would beat it's damn intestines out of it's body with a stick
01:10 sorear what did ey do to you this time?
01:12 whiteknight it's throwing an unhandled exception, and it isn't going through the new API to do i
01:14 whiteknight and it's calling exit() directly
01:14 kid51 joined #parrot
01:14 * cotto_work hears the chainsaw of progress approaching from a distance
01:23 stilgar left #parrot
01:23 whiteknight the hack will be strong with this one
01:23 whiteknight cotto_work: no, that's just me cursing like a pirate
01:23 whiteknight cursing because I wish we were using PIRATE
01:24 whiteknight if this new fix works, I am a freaking wizard
01:34 whiteknight ....I think it might have worked
01:34 dukeleto whiteknight: immc makes PL/Parrot segfault PostgreSQL, because it doesn't throw proper exceptions
01:34 dukeleto whiteknight: when there is a syntax error
01:34 dmalcolm left #parrot
01:34 whiteknight dukeleto: I just fixed that
01:35 dukeleto whiteknight: oh really?
01:35 dukeleto whiteknight: committed? I would really like to see that.
01:35 whiteknight I added two new functions, Parrot_api_try and Parrot_api_end_try that can be used to wrap things like IMCC that throw out-of-bound exceptions
01:35 whiteknight I'm testing it locally right now
01:35 davidfetter left #parrot
01:35 whiteknight the new API is going to bring all sorts of wonderful gifts to people
01:38 fbrito left #parrot
01:39 dukeleto the links for PaFo on parrot.org/foundation/legal have been fixed
01:39 dukeleto whiteknight: I can't wait to update PL/Parrot with the new api. It sounds much nicer
01:39 whiteknight dukeleto++
01:44 dukeleto how does one check that a packfile is valid?
01:45 whiteknight I have no idea. That's a plobsing question
01:48 silug joined #parrot
01:54 dalek parrot/leto/embed_grant: 9612866 | dukeleto++ | docs/embed.pod:
01:54 dalek parrot/leto/embed_grant: Add another function signature example
01:54 dalek parrot/leto/embed_grant:
01:54 dalek parrot/leto/embed_grant: The 'constants' section was removed because the interpreter flags are now
01:54 dalek parrot/leto/embed_grant: documented and there do not appear to be other constants to document.
01:54 dalek parrot/leto/embed_grant: review: https://github.com/parrot/parrot/commit/9612866d19
01:54 dukeleto aloha msg plobsing how does one check that a packfile is valid ?
01:54 aloha dukeleto: OK. I'll deliver the message.
02:06 Matt_ joined #parrot
02:06 Matt_ left #parrot
02:07 Matt-GCI joined #parrot
02:08 Matt-GCI Hello all
02:09 Matt-GCI I just wanted to introduce myself, I'm a high school student working on a Parrot GCI (Google Code-In) task
02:13 jasonmay left #parrot
02:15 jasonmay joined #parrot
02:15 whiteknight hello Matt-GCI
02:15 Matt-GCI Hey
02:16 Matt-GCI The task I'm working on is renaming functions in src/sub.c to meet naming standards
02:18 whiteknight nice
02:18 Matt-GCI sadly it's due tomorrow afternoon.. haha
02:18 dukeleto Matt-GCI: howdy!
02:18 dalek parrot/leto/embed_grant: 8d5dca1 | dukeleto++ | t/src/ (7 files):
02:18 dalek parrot/leto/embed_grant: Make t/src tests skip_all if src/parrot_config.o is not built
02:18 dalek parrot/leto/embed_grant: review: https://github.com/parrot/parrot/commit/8d5dca172d
02:19 dukeleto Matt-GCI: if you are close but not done, we can give you an extension
02:19 Matt-GCI thank you for the offer, i'm going to do my best to do this timely however
02:19 dukeleto Matt-GCI: welcome to the parrot community! I am the person organizing Parrot's involvement with GCI.
02:19 whiteknight yes, extensions are easy
02:20 Matt-GCI dukeleto: thanks! i'm really excited to be working on this
02:20 Matt-GCI most of my experience has been with Java, so this is new
02:20 dukeleto Matt-GCI: and we are excited to have you working on it! Learning new stuff is fun.
02:22 whiteknight Matt-GCI: what OS areyou on?
02:22 dalek parrot/tt532_headerizer_refactor: e76c132 | jkeenan++ | / (3 files):
02:22 dalek parrot/tt532_headerizer_refactor: Refactor two blocks of code out of function_components_from_declaration(). Place in Functions.pm.  Test them in 01_functions.t.
02:22 dalek parrot/tt532_headerizer_refactor: review: https://github.com/parrot/parrot/commit/e76c132ace
02:22 Matt-GCI whiteknight: i'm running mac osx
02:22 whiteknight ok
02:23 whiteknight does that have sed?
02:24 kid51 Yes.
02:24 Matt-GCI i assume there's a way to install it, since it's unix-based
02:24 bacek left #parrot
02:25 Matt-GCI I was originally going to use araxis find and replace to make the replacements but if you recommend sed then i'll use that instead
02:25 whiteknight sed -i 's/<oldname>/<newname>/' srcc/*.c
02:25 kid51 Matt-GCI: You should have 'sed' by default, probably in /usr/bin/sed
02:25 whiteknight it doesnt matter, any tool is better than doing it manually
02:26 Matt-GCI kid51: you're right, i just which'd it and it's there
02:26 Matt-GCI whiteknight: amen to that
02:26 kid51 It's one of the oldest of the Unix tools ... ancestor of Perl's regexes
02:26 Matt-GCI when you guys edit the code, what IDE do you use? Eclipse?
02:26 kid51 vi
02:27 kid51 ;-)
02:27 Matt-GCI lol, hardcore
02:27 kid51 Actually, I would like to know if any of our developers are using Padre.
02:28 kid51 It would be plausible, since Padre's creator drops in here from time to time.
02:29 whiteknight medit here
02:29 whiteknight i would use padre if it had better C support
02:32 dukeleto Matt-GCI: i mostly use vim
02:32 dukeleto Matt-GCI: with many macros and shortcuts
02:34 Matt-GCI and are most of you running linux?
02:34 rfw heh, everyone in gci sure loves parrot
02:37 dukeleto Matt-GCI: people use lots of different OS's, but many use linux
02:37 rfw i use lolwindows :(
02:37 dukeleto Matt-GCI: Parrot supports linux, *bsd, OS X, windows and solaris and we have developers that use all those
02:44 dukeleto whiteknight: there is a todo'ed test in t/src/embed.t for the IMCC bug that you said you fixed
02:44 dukeleto whiteknight: does it pass for you?
02:44 whiteknight dukeleto: no, my fix doesn't work yet and causes segfaults that I have to debug still
02:46 whiteknight it's a pretty big change, and it's going to take a while to get it working correctly
02:46 dalek parrot/leto/embed_grant: 0694baf | dukeleto++ | t/src/embed.t:
02:46 dalek parrot/leto/embed_grant: [t] Add an embed test that creates multiple interpreters
02:46 dalek parrot/leto/embed_grant: review: https://github.com/parrot/parrot/commit/0694baf4d4
02:49 whiteknight I'm going to have to solve this all tomorrow. For now, sleep
02:50 whiteknight left #parrot
02:51 dukeleto sorear: https://gist.github.com/727859 <-- this is what happens when you create a new interp without using the 1st as an argument
02:55 dalek parrot/leto/embed_grant: 41ddd30 | dukeleto++ | t/src/embed.t:
02:55 dalek parrot/leto/embed_grant: [t][TT#1880] Add embed test for using Parrot_new to create multiple interps without chaining off first interp
02:55 dalek parrot/leto/embed_grant: review: https://github.com/parrot/parrot/commit/41ddd30a5a
02:56 dalek parrot/tt532_headerizer_refactor: 5045bf7 | jkeenan++ | / (3 files):
02:56 dalek parrot/tt532_headerizer_refactor: Refactor one block of code out of function_components_from_declaration(). Place in Functions.pm.  Test it in 01_functions.t.
02:56 dalek parrot/tt532_headerizer_refactor: review: https://github.com/parrot/parrot/commit/5045bf7d9f
02:59 dalek parrot/tt532_headerizer_refactor: b8cf4e4 | jkeenan++ | / (3 files):
02:59 dalek parrot/tt532_headerizer_refactor: Fix syntax error.
02:59 dalek parrot/tt532_headerizer_refactor: review: https://github.com/parrot/parrot/commit/b8cf4e4448
02:59 sorear dukeleto: I said the requirement was stupid, not that it was misdocumented
03:02 dukeleto sorear: yes, i agree
03:02 dukeleto sorear: do you think it is a small change, or does a lot of stuff need to change to fix that?
03:06 sorear dukeleto: I don't know, it's tangled up in the classic thread system
03:07 dukeleto sorear: ok, just wondering if you had tuits to spare
03:07 dalek TT #609 closed by dukeleto++: increased portability
03:07 dalek TT #609: http://trac.parrot.org/parrot/ticket/609
03:07 dalek TT #1881 created by dukeleto++: Parrot on Android
03:07 dalek TT #1881: http://trac.parrot.org/parrot/ticket/1881
03:07 * dukeleto finds a gold mine of details about parrot function signatures that he didn't know about
03:09 kid51 dukeleto: A question about GCI:  Are student participants explicitly matched up with mentors as they are in GSOC?
03:09 rfw kid51: no, we're just assigned a mentor based on what task we're doing
03:10 kid51 Okay, I just want to make sure that each GCI participant who shows up here is matched up with someone from the project.
03:13 dukeleto kid51: tasks have mentors associated with them, then students pick a task
03:20 kid51 We are now under 600 new/open Trac tickets:  http://tinyurl.com/2a9xwyt
03:20 sorear \o/
03:20 kid51 The most recent ticket closed was closed via GCI submission!
03:21 sorear Nice.  Who?
03:21 kid51 fbrito++
03:22 * kid51 suspects dalek is once again failing to track Trac ticket closings
03:22 kid51 http://trac.parrot.org/par​rot/ticket/1876#comment:6
03:23 dalek TT #1876 closed by jkeenan++: Should 'make clean' remove blib/ folder?
03:23 dalek TT #1876: http://trac.parrot.org/parrot/ticket/1876
03:23 kid51 Aha! So dalek is reporting closings; good.
03:24 kid51 Hope to see everyone at 2300 UTC Sunday for Parrot Developer Summit
03:24 Matt-GCI rfw: you're gci too?
03:24 rfw Matt-GCI: yeah
03:25 rfw you probably won't like me very much once you realize who i am though
03:25 sorear fbrito, rfw, Matt-GCI, ?
03:25 rfw :)
03:26 Matt-GCI lol rfw why is that
03:26 rfw you'll see
03:26 Matt-GCI high up in rankings?
03:26 dalek parrot: e0a2fb8 | dukeleto++ | README:
03:26 dalek parrot: Fix some of the README git instructions
03:26 dalek parrot: review: https://github.com/parrot/parrot/commit/e0a2fb88b2
03:26 rfw i think high is an understatement
03:26 Matt-GCI daniel...?
03:26 rfw hell no
03:26 rfw lol
03:27 kid51 dukeleto: Any progress on RTEMS?
03:27 Matt-GCI fernando?
03:27 rfw Matt-GCI: might want to refresh that list
03:27 rfw no, fernando's fbrito
03:27 rfw he's not here though
03:27 rfw he was ._.
03:27 Matt-GCI refreshed, and tony young is at top
03:27 rfw yeah
03:27 Matt-GCI hey
03:28 rfw hi
03:28 rfw i take it you're matt rajca
03:28 dukeleto Rubinius just got a bytecode verifier: https://github.com/evanphx/rubinius/commit​/b1f0998e086df238f78c41b6250b08ae74eb980a
03:28 Matt-GCI why would i not like you? im not gunning for first lol
03:28 dukeleto kid51: no
03:28 rfw oh i guess that's fine
03:28 Matt-GCI and hell no, im not even high up
03:28 rfw i just want top 10
03:28 sorear how many folks are doing gci?
03:28 rfw ah
03:28 rfw matt habel?
03:28 Matt-GCI ~235 right now
03:28 Matt-GCI (students doing gci)
03:28 Matt-GCI and idt im in the rankings since i havent completed tasks yet
03:29 Matt-GCI im doing this for fun
03:29 rfw oh
03:29 rfw i want to go to google ._.
03:29 rfw they have slides!
03:29 Matt-GCI plus im a senior, im busy as
03:29 rfw dem slides!
03:30 rfw my school is over for now
03:30 Matt-GCI wtf, why?
03:30 rfw so i have a ton of free time
03:30 rfw http://www.hoax-slayer.com/go​ogle-office-photographs.shtml <-- have you never seen this before?
03:30 dukeleto kid51: i've been concentrating on other things, but I would like to concentrate on RTEMS again soon
03:30 rfw oh but that's in zurich
03:31 Matt-GCI why dont u have school?
03:31 rfw i'm not american
03:31 Matt-GCI not fair
03:31 rfw :)
03:32 Matt-GCI where do you live?
03:32 rfw new zealand
03:34 Matt-GCI lucky
03:34 rfw not really
03:34 rfw place is boring as hell
03:34 Matt-GCI american college process sucks
03:34 Matt-GCI it's extremely competitive
03:34 rfw yes but most american colleges don't
03:34 Matt-GCI true
03:35 Matt-GCI my top choice is carnegie mellon
03:35 rfw ah
03:35 Matt-GCI falls under the not-suck category lol
03:36 * sorear is in the US, 20, and doesn't understand the college (uni0 process at all
03:37 Matt-GCI lol sorear are u in college?
03:38 Matt-GCI so rfw how'd you gain the experience that's gotten you to top rank?
03:38 rfw i'm just as stumped as you are
03:39 Matt-GCI as in what programming experience do you have
03:39 rfw oh
03:39 rfw i can write a bunch of things
03:39 dalek TT #1844 closed by dukeleto++: Add 'git' instructions to README
03:39 dalek TT #1844: http://trac.parrot.org/parrot/ticket/1844
03:39 rfw python, C, C++, javascript, that parrot-nqp language and other stuff
03:40 Matt-GCI cool
03:40 Matt-GCI what's your current gci task?
03:40 sorear Matt-GCI: community college, yes
03:40 rfw none yet
03:40 rfw still huntin
03:41 Matt-GCI do projects add more tasks as they're completed?
03:41 rfw yeah
03:41 Matt-GCI cool
03:42 Matt-GCI if it's any consolation ill root for you in the rankings lmao
03:42 rfw lol
03:43 Matt-GCI what program have u used so far to do coding edits?
03:44 rfw um
03:44 rfw sometimes vim
03:44 rfw sometimes notepad++
03:44 rfw depends where i'm doing it i guess
03:44 Matt-GCI hmm
03:44 Matt-GCI **waits while emacs compiles...
03:44 rfw enjoy your lisp interpreter
03:45 Matt-GCI im doing the cocoa gui version
03:46 rfw enjoy your lisp interpreter with cocoa*
03:46 Matt-GCI lol
03:46 Matt-GCI something against lisp?
03:46 rfw (no (not (really)))
03:47 Matt-GCI if it has a nice gui and gets the job done, works for me lol
03:48 dukeleto so who needs more GCI tasks?
03:48 * Coke belatedly answer "plain vi with no macros".
03:48 Coke <redacted>
03:51 rfw dukeleto: what are you adding :D
03:55 dalek tracwiki: v73 | jkeenan++ | ParrotQuotes
03:55 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Pa​rrotQuotes?version=73&amp;action=diff
03:56 dukeleto rfw: i have some tasks created, but i can't seem to approve any tasks now. Melange is borked.
03:56 rfw :(
03:57 rfw has melange ever been not borked
03:57 jsut_ joined #parrot
03:57 dukeleto rfw: no
03:57 kid51 I recommend everyone read whiteknight's paper on Parrot Embedding API prior to Sunday's Summit meeting:  http://tinyurl.com/2arp469
03:58 dalek parrot/leto/embed_grant: b6adfd6 | dukeleto++ | docs/embed.pod:
03:58 dalek parrot/leto/embed_grant: Note that spaces are not allowed in function signatures
03:58 dalek parrot/leto/embed_grant: review: https://github.com/parrot/parrot/commit/b6adfd644b
03:58 dalek parrot/leto/embed_grant: 5edba45 | dukeleto++ | docs/embed.pod:
03:58 dalek parrot/leto/embed_grant: Improve example and reorder some POD
03:58 dalek parrot/leto/embed_grant: review: https://github.com/parrot/parrot/commit/5edba455d8
03:59 sorear Coke: nvi?
04:01 jsut left #parrot
04:09 dalek parrot/leto/embed_grant: 1fafcb6 | dukeleto++ | t/src/embed.t:
04:09 dalek parrot/leto/embed_grant: [t] Add an embed test for returning numerics
04:09 dalek parrot/leto/embed_grant: review: https://github.com/parrot/parrot/commit/1fafcb6a14
04:11 dukeleto cotto_work: ping
04:12 dukeleto cotto_work: also, why are you still at work?
04:25 kid51 left #parrot
04:48 Matt-GCI so even though the task says to rename functions in sub.c, i still have to rename the references to those functions in other files, right?
04:50 Matt-GCI im gonna take that back because i just realized how stupid that sounded... it's been a long night
04:51 preflex left #parrot
04:54 dukeleto Matt-GCI: yes, you have to rename all occurences of those functions
04:55 dukeleto Matt-GCI: "make test" would have answered that for you :)
04:55 Matt-GCI as i hit the last lines of configure i realized how much coffee had failed me lol
04:55 preflex joined #parrot
04:55 Matt-GCI brain function = low
04:55 dukeleto Matt-GCI: sometimes asking a question makes you realize the problem. Don't be afraid to ask us questions :)
04:55 Matt-GCI ok thanks :)
05:17 Matt-GCI make passed w/o errors
05:17 Matt-GCI time for make test :)
05:21 Matt-GCI "All tests successful, 15 tests and 587 subtests skipped."
05:21 Matt-GCI woohoo
05:36 theory left #parrot
05:47 Matt-GCI anyone still here? i have a question
05:48 preflex left #parrot
05:48 Matt-GCI left #parrot
05:51 preflex joined #parrot
06:13 preflex left #parrot
06:15 preflex joined #parrot
06:16 dukeleto Anybody have any book recommendations that I should read?
06:16 * dukeleto is trying to use up an amazon gift card
06:40 wagle left #parrot
06:44 silug left #parrot
06:46 wagle joined #parrot
06:59 cotto dukeleto, pong (and I'm not)
07:01 cotto I suppose cotto_work could pong you, but he wouldn't be happy about it.
07:10 dalek TT #1874 closed by dukeleto++: ports/ directory is listed in .gitignore, can't commit files to it
07:10 dalek TT #1874: http://trac.parrot.org/parrot/ticket/1874
07:11 dalek parrot: d2c3de0 | dukeleto++ | docs/project/git_workflow.pod:
07:11 dalek parrot: [t] Add some info about git add --force
07:11 dalek parrot: review: https://github.com/parrot/parrot/commit/d2c3de0b98
07:12 dukeleto cotto: i was wondering if you could login to the gci site and see if you have to do something to a task i assigned to you before i can approve it
07:12 dukeleto cotto: i created a task and assigned to you, but i can't approve it
07:12 dukeleto cotto: i am thinking maybe you have to do something first
07:13 dukeleto aloha msg moritz what happen to https://github.com/moritz/Date ? I mentioned it at http://trac.parrot.org/parrot/ticket/1650 but now it is gone
07:13 aloha dukeleto: OK. I'll deliver the message.
07:14 cotto dukeleto, doing so now
07:15 cotto dukeleto, which task?
07:17 bacek joined #parrot
07:17 cotto PL/Perl6?
07:17 cotto I don't have an approve button for that either
07:18 dukeleto cotto: darn. Melange is borked.
07:18 dukeleto i can create tasks, but can't approve them so that students can take them
07:18 cotto srsly?
07:18 cotto melange--
07:19 cotto and melange-- again for being designed by people too smart to know that they're not very good at UIs.
07:26 dukeleto cotto: sigh.
07:26 dukeleto cotto: I have been dealing with melange for 3 years now. It gets *slowly* better.
07:28 cotto dukeleto, is the ui that was previously used to approve projects now gone?
07:30 dukeleto cotto: there were 2 radio boxes that used to be on tickets and now they are gone
07:31 dukeleto cotto: i poked some google people about it
07:32 cotto dukeleto++
07:32 cotto don't let me not buy you a beer next time I see you
07:36 dukeleto cotto: i will surely not let you don't do that
07:36 dukeleto cotto: i did some TT wrangling
07:36 dukeleto cotto: we are under 600 nowadays. Let's try to keep it that way
07:37 dukeleto cotto: i feel like we need to just reject a lot of old tickets that are too vague, no longer apply, or both
07:40 cotto dukeleto, +1
07:41 dalek parrot: 72908f9 | doughera++ | / (5 files):
07:41 dalek parrot: Make config/gen/platform/generic/sysmem.c more generic.
07:41 dalek parrot:
07:41 dalek parrot: Include the two most likely methods (sysconf and sysctl) in the
07:41 dalek parrot: generic file, based on various #ifdef probes.  This way, new systems
07:41 dalek parrot: are more likely to work without first needing their own sysmem.c file.
07:41 dalek parrot:
07:41 dalek parrot: If neither sysconf() nor sysctl() seems to work, assume a default of
07:42 dalek parrot: 512 MB.  One could certainly argue for putting an error message here
07:42 dalek parrot: instead.
07:42 dalek parrot:
07:42 dalek parrot: Signed-off-by: Jonathan "Duke" Leto <jonathan@leto.net>
07:42 dalek parrot: review: https://github.com/parrot/parrot/commit/72908f9b2e
07:42 cotto After last night, my minimum usefulness threshold for keeping tickets around raised quite a bit.
07:43 dukeleto cotto: yeah. I am sick of passing over old tickets that never change.
07:45 cotto one down
07:45 dukeleto cotto: i have found a middle ground with signing off on stuff. If someone gives you a patch generated with format-patch, it is just one command to sign off on a patch
07:45 dukeleto git am --signoff foo.patch
07:47 cotto that's sensible
07:47 dukeleto cotto: and i will write a tool for making a patch from a branch. it is easy to automate
07:47 cotto we don't need diffs that originate with committers to be signed off
07:47 cotto thanks
07:47 dukeleto cotto: but i have so many parrot projects going at once, i need to re-prioritize what is most important
07:50 cotto I guess that's a good problem to have.
07:50 dukeleto cotto: i guess.
07:51 cotto Maybe you can find some more community management volunteers and delegate some work to them.
07:51 dukeleto cotto: i agree.
07:54 dukeleto cotto: what are your priorities?
07:54 fperrad joined #parrot
07:54 dukeleto cotto: hacking on a new MOP is getting pushed to the top of my list
07:55 cotto dukeleto, you're working on that too?
07:55 cotto great!
07:56 cotto Is it the same as what jnthn is doing?
07:58 dalek TT #1843 closed by dukeleto++: NetBSD fails compiling sysmem.c
07:58 dalek TT #1843: http://trac.parrot.org/parrot/ticket/1843
07:58 dalek TT #1026 closed by cotto++: Can't use } in TGE transform definitions.
07:58 dalek TT #1026: http://trac.parrot.org/parrot/ticket/1026
07:59 dukeleto cotto: we are basically going to use what jnthn has a baseline, and see what parrot will need to tweak. I don't think it will be much
08:00 cotto dukeleto, is t/pmc/mappedbytearray.t not running any tests for you?
08:00 dukeleto cotto: jnthn said he has a 'nom' branch that adds MOPish things to nqp-rx
08:01 cotto I have difficult expressing how great of a name that is.
08:01 dukeleto cotto: it runs 4 tests on my machine
08:01 cotto y
08:01 cotto (QED)
08:04 dukeleto cotto: we need to unblock Ruby and Javascript on Parrot development. That is my goal with our new MOP
08:05 cotto dukeleto, I fully agree.  We're not much of a VM for dynamic languages if two of the big ones can't work with our object model.
08:05 cotto different though they are
08:12 cotto dukeleto, I committed a couple local changes and checked out a sha1 from before my changes took effect.  How do I get back those commits?
08:12 cotto nm
08:12 cotto checkout master did it
08:15 dalek parrot: 6acd7b2 | cotto++ | src/pmc/class.pmc:
08:15 dalek parrot: [pmc] remove unneeded use of PARROT_IN_OBJECTS_C
08:15 dalek parrot: review: https://github.com/parrot/parrot/commit/6acd7b2969
08:15 dalek parrot: 6702284 | cotto++ | / (2 files):
08:15 dalek parrot: [oo] remove some unneeded #defines
08:15 dalek parrot: review: https://github.com/parrot/parrot/commit/6702284aff
08:15 sorear how important is it that parrot languages use the parrot Object and Class PMCs?
08:17 cotto sorear, why do you ask?
08:18 cotto are you thinking that it might be a better idea for differently-objectified languages to roll their own?
08:18 sorear that's part of it
08:19 sorear also I'm thinking in terms of porting niecza to parrot, which already has some rather peculiar ideas of how a class should behave
08:23 dukeleto sorear: please send an email to parrot-dev about what you would need from a meta object protocol for niecza
08:23 * dukeleto takes it easy
08:23 sorear takes it easy?
08:24 sorear also I'm pretty sure I'll need to try before I know
08:24 sorear it's not something that a MOP can provide
08:24 sorear a MOP lets you manipulate classes.  I need to create classes with different behavior
08:25 sorear niecza's classes implement a very odd form of vtable overrides
08:25 sorear they keep methods in an ordered dictionary
08:30 dalek TT #892 closed by cotto++: PARROT_IN_OBJECTS_C used only in one file
08:30 dalek TT #892: http://trac.parrot.org/parrot/ticket/892
08:46 dalek TT #550 closed by cotto++: t/pmc/codestring.t failing
08:46 dalek TT #550: http://trac.parrot.org/parrot/ticket/550
08:53 moritz dukeleto: re Date, it's now in core
09:06 contingencyplan left #parrot
09:19 dalek TT #1472 closed by cotto++: Namespace.get_pointer_keyed is TOTAL KLUDGE
09:19 dalek TT #1472: http://trac.parrot.org/parrot/ticket/1472
09:24 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#1495) fulltest) at 6702284 - Ubuntu 10.10 i386 (g++-4.5)
09:24 rfw left #parrot
09:39 preflex left #parrot
09:42 preflex joined #parrot
09:56 bacek aloha
09:56 bacek barely here
09:56 bacek When is PDS?
09:56 bacek aloha, pds?
09:56 aloha bacek: Dunno.
09:56 bacek stupid girl...
09:57 bacek aloha, developer summit?
09:57 aloha bacek: developer summit is http://www.doodle.com/q4nwdt9i5k929n2s
09:58 sorear bacek: sunday iirc
09:58 sorear ah
09:59 bacek indeed. Looks like Monday morning from my side :)
09:59 bacek aloha, time
09:59 bacek clock?
09:59 bacek aloha, clock?
09:59 aloha bacek: bacek: LAX: Sat, 01:59 PST / CHI: Sat, 03:59 CST / NYC: Sat, 04:59 EST / UTC: Sat, 09:59 UTC / LON: Sat, 09:59 GMT / BER: Sat, 10:59 CET / TOK: Sat, 18:59 JST / SYD: Sat, 20:59 EST
10:00 bacek afk # back to kids
10:38 lucian joined #parrot
11:12 plobsing left #parrot
11:12 plobsing joined #parrot
11:22 bacek left #parrot
12:40 cognominal left #parrot
12:44 cognominal joined #parrot
13:18 kid51 joined #parrot
13:27 preflex left #parrot
13:31 fbrito joined #parrot
13:31 preflex joined #parrot
13:32 fbrito1 joined #parrot
13:33 fbrito left #parrot
13:34 fbrito1 is now known as fbrito
13:42 fbrito left #parrot
13:42 Psyche^ joined #parrot
13:42 Patterner left #parrot
13:42 Psyche^ is now known as Patterner
14:22 whiteknight joined #parrot
14:25 whiteknight good morning, #parrot
14:28 Kristaba joined #parrot
14:29 bluescreen left #parrot
14:39 bluescreen joined #parrot
14:44 cognominal left #parrot
14:46 preflex left #parrot
14:46 cognominal joined #parrot
14:50 preflex joined #parrot
14:53 spinclad left #parrot
15:03 kid51 whiteknight good morning
15:10 kid51 whiteknight:  I like the Embed API doc, though much of it was about issues I don't understand well.
15:10 kid51 When I went to re-test in the embed_api2 branch last night, I saw that there had been no further commits, so I didn't re-test.
15:11 kid51 Is there anything we can do today to prepare for tomorrow's Summit.
15:11 kid51 ?
15:15 whiteknight kid51: I'm working on it right now. I have one nagging error that I am still trying to debug/fix
15:15 whiteknight I was hoping to have it resolved by last night, but no such luck
15:15 kid51 k
15:29 smash joined #parrot
15:29 smash hello everyone
15:31 Coke left #parrot
15:31 Coke joined #parrot
15:37 Coke left #parrot
15:38 kid51 howdy smash
15:43 Coke joined #parrot
16:03 mikehh_ joined #parrot
16:07 mikehh left #parrot
16:11 GodFather joined #parrot
16:18 GodFather left #parrot
16:33 dalek parrot/tt532_headerizer_refactor: 8ffe773 | jkeenan++ | / (3 files):
16:33 dalek parrot/tt532_headerizer_refactor: [codingstd] Fix trailing whitespace and POD formatting errors.
16:33 dalek parrot/tt532_headerizer_refactor: review: https://github.com/parrot/parrot/commit/8ffe7735a0
16:54 dukeleto 'ello
17:08 Matt-GCI joined #parrot
17:09 Matt-GCI g'morning everyone
17:10 Matt-GCI whiteknight and dukeleto: i finished my GCI task, i just had a few last questions if that's ok
17:11 dukeleto Matt-GCI: wazzup?
17:11 Matt-GCI so i changed all the functions in sub.c to meet the standards, and it compiled perfectly!
17:12 dukeleto Matt-GCI: awesome!
17:12 Matt-GCI but i wanted to make sure i didn't change any private functions
17:12 dukeleto I would appreciate comments on this new RFC ticket: http://trac.parrot.org/parrot/ticket/1882
17:12 dukeleto Matt-GCI: where is your diff? did you make a github pull request?
17:12 Matt-GCI i havent made the github pull req yet because i have a question about that too
17:13 Matt-GCI i have my own fork of parrot at https://github.com/schallert/parrot that i'm working off of
17:13 Matt-GCI but i accidentally made my changes in the master branch of my fork, is that ok?
17:14 Coke left #parrot
17:15 Matt-GCI (i haven't pushed back to my git fork yet, ill do that now so u can see)
17:17 dukeleto Matt-GCI: that is fine
17:17 Matt-GCI ok i just pushed
17:18 dukeleto Matt-GCI: make a pull request
17:18 Matt-GCI ok, i need to change one last little thing then i will
17:20 Coke joined #parrot
17:21 bluescreen left #parrot
17:23 dalek TT #1882 created by dukeleto++: gethostbyname failure doesn't throw an exception
17:23 dalek TT #1882: http://trac.parrot.org/parrot/ticket/1882
17:24 Matt-GCI yey! "All tests successful,"
17:28 Matt-GCI dukeleto: I just made the pull request
17:28 dalek parrot/tt532_headerizer_refactor: 3fbc7cb | jkeenan++ | / (3 files):
17:28 dalek parrot/tt532_headerizer_refactor: Refactor some code into replace_pod_item().  Place that subroutine in Functions.pm and test it.
17:28 dalek parrot/tt532_headerizer_refactor: review: https://github.com/parrot/parrot/commit/3fbc7cb26e
17:35 dukeleto melange still seems to be borked. sigh.
17:35 Matt-GCI ugh
17:35 Matt-GCI do my changes look correct?
17:37 dukeleto Matt-GCI: looking
17:39 dukeleto Matt-GCI: seems ok, i am running "make test" now
17:41 kid51 Matt-GCI: Was this work associated with a particular Trac ticket? (or just a GCI task?)
17:42 Matt-GCI a gci task that accomplished part of a larger ticket
17:42 Matt-GCI to update all functions to standards in general
17:42 kid51 Do you recall which Trac ticket?
17:42 dukeleto kid51: it is a gci task, not a TT, i don't think
17:43 kid51 dukeleto:   That's okay, I'm just wondering where those standards are documented, so I know what I'm "proofreading" against.
17:44 Matt-GCI kid51: heres the gci task: http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129035234084
17:44 dukeleto kid51: whiteknight would know
17:45 zarchne joined #parrot
17:46 kid51 Matt-GCI: got it
17:46 dukeleto Matt-GCI: i am getting a PASS for "make test". Nice work!
17:47 Matt-GCI dukeleto: thank you!
17:47 dukeleto Matt-GCI: you need to do the "submit work" action for me to approve it
17:47 kid51 Matt-GCI Can you fix space alignment at line 108 src/ops/core_ops.c ?
17:48 Matt-GCI sure
17:49 dukeleto no
17:49 Matt-GCI ok, not doing
17:49 dukeleto Matt-GCI: i already merged your pull request
17:49 dalek parrot: 6233b6e | (Matt Schallert)++ | / (12 files):
17:49 dalek parrot: Changed functions in sub.c to meet standards
17:49 Matt-GCI what url do you want me to submit in melange?
17:49 dalek parrot:
17:49 dalek parrot: Signed-off-by: Jonathan "Duke" Leto <jonathan@leto.net>
17:49 dalek parrot: review: https://github.com/parrot/parrot/commit/6233b6e4ea
17:49 dalek parrot: 6aa336c | (Matt Schallert)++ | / (8 files):
17:49 dalek parrot: Finished sub.c function renaming
17:49 dalek parrot:
17:49 dalek parrot: Signed-off-by: Jonathan "Duke" Leto <jonathan@leto.net>
17:49 dalek parrot: review: https://github.com/parrot/parrot/commit/6aa336c4e7
17:50 dukeleto Matt-GCI: doesn't matter, it is done already. Do they require a URL?
17:50 dukeleto Matt-GCI: just put the one for the pull request, if they require something
17:51 dukeleto kid51: we might need some deprecation wrappers for some of those functions, I am not sure
17:51 dukeleto kid51: again, whiteknight is in charge of that
17:51 kid51 dukeleto:  okay.  I'll fix that space alignment problem in master.
17:52 Matt-GCI ok dukeleto i submitted through melange
17:52 cotto Matt-GCI, did you try to build Rakudo and some other HLLs?
17:52 dukeleto kid51: thanks, I appreciate it
17:52 dukeleto cotto: i don't think that was in the task, although it would be nice
17:53 dukeleto Matt-GCI: i marked your task as done, you can claim another task now. Good luck!
17:53 Matt-GCI thank you!
18:08 kid51 Hmm, running 'make bootstrap-ops', I'm getting a failure:
18:08 kid51 ./parrot -o runtime/parrot/library/Regex.pbc ext/nqp-rx/src/stage0/Regex-s0.pir
18:08 kid51 error:imcc:No such file or directory
18:08 kid51 in file 'ext/nqp-rx/src/stage0/Regex-s0.pir' line 28
18:08 kid51 make: *** [runtime/parrot/library/Regex.pbc] Error 1
18:10 dukeleto kid51: make realclean
18:11 kid51 'make' succeeded
18:13 kid51 make realclean && perl Configure.pl && make bootstrap-ops failed with same error
18:16 dukeleto kid51: something is failing before that error
18:16 dukeleto kid51: and why are you running bootstrap-ops by itself? perhaps that was broken already
18:17 kid51 I was exploring that column alignment problem cited above.
18:18 cotto Rakudo builds with Matt-GCI's changes.
18:18 dukeleto kid51: are you talking about whitespace?
18:18 dukeleto cotto: sweet.
18:18 kid51 Yes.
18:18 kid51 I have to go now, but I opened a ticket (1883)
18:23 cotto bootstrap-ops worked for me just now
18:26 cotto kid51, you might need make before make bootstrap-ops
18:26 cotto istr the dependencies being lta
18:26 dukeleto perhaps melange unborked itself. I figured out how to approve tasks.
18:26 dukeleto cotto: yeah, seems like it
18:27 dalek TT #1883 created by jkeenan++: 'make bootstrap-ops' target broken
18:27 dalek TT #1883: http://trac.parrot.org/parrot/ticket/1883
18:27 * cotto goes shopping
18:29 * dukeleto just made this task for the Code-In students that are complaining that stuff is too easy: http://socghop.appspot.com/gci/task/show/google​/gci2010/parrot_perl_foundations/t129141853072
18:31 cognominal left #parrot
18:34 cognominal joined #parrot
18:36 Matt-GCI left #parrot
18:50 contingencyplan joined #parrot
19:14 s1n joined #parrot
19:19 * moritz pointed to git-bisect as a comment
19:30 diakopter joined #parrot
19:30 diakopter hi; in a parrot-nqp backtrace, 'called from Sub xxxx pc nnnnn' what does nnnnn represent?
19:32 whiteknight that's a very good question
19:33 moritz example?
19:33 jnthn offset into the bytecode segment, iirc.
19:33 moritz ouch.
19:33 jnthn It's practically useless.
19:33 jnthn Unless you're debugging bytecode generation.
19:34 jnthn Or can get a disassembled output of the bytecode.
19:34 diakopter a HLL::Compiler subclass... that has many many by-name overloaded Subs
19:34 diakopter (so the Sub name isn't helpful)
19:34 sorear didn't pbc_disassemble work on parrot-nqp output at one point
19:35 diakopter all I have is a bunch of *.pir :)  /me looks at jnthn
19:36 jnthn diakopter: wtf, it didn't give a PIR line number too?
19:36 diakopter current instr.: 'parrot;DNST2CSharpCompiler;cs_for' pc 143163 (gen_grammar.pir:8394)
19:36 diakopter called from Sub 'parrot;DNST2CSharpCompiler;cs_for' pc 140785 (gen_grammar.pir:7800)
19:36 diakopter so there are two bytecode offsets
19:36 jnthn gen_grammar.pir:8394 <-- this number is a PIR line number.
19:37 jnthn er but
19:37 diakopter right, but it doesn't appear to have anything to do with those cs_for subs
19:37 jnthn ...the file name and the...right...wtf. *sigh*
19:38 jnthn Can steal the Rakudo backtrace printer, or a simplified version, I guess.
19:39 diakopter really the thing that annotates 'parrot;DNST2CSharpCompiler;cs_for' might be brillianter about annotating the signature too
19:39 jnthn It uses the HLL line/file debug segment which is usually a bunch more accurate.
19:40 sorear so imcc debug info is still bogus?
19:40 sorear I thought that was fixed
19:40 diakopter what's that
19:40 sorear debug info generated by imcc?
19:41 diakopter fixed as of when? this is parrot 2.9.1
19:41 diakopter er
19:41 diakopter yes
19:43 jnthn I'm sure it used to be more accurate at some point too. :|
19:43 diakopter sorear: but I don't have much of an idea where in the compilation chain imcc fits... so I don't know whether your question applies
19:44 Matt-GCI joined #parrot
19:44 diakopter I suspect it's the nqp compiler that's inserting annotations
19:48 diakopter oh, hm
19:48 diakopter no, that can't be it (was imagining the line number was correct but filename wrong)
19:49 rfw joined #parrot
19:49 diakopter unless the .pir are actually concat in memory somewhere...
19:56 whiteknight left #parrot
19:57 lucian diakopter: line numbers are just totally bonkers
19:57 diakopter ok
19:57 kid51 left #parrot
19:57 diakopter I can accept that
19:58 diakopter :)
19:58 diakopter (I don't need them to be fixed, long term)
19:58 lucian diakopter: it may improve with time, there's an alternative to imcc (pirc)
20:02 smash left #parrot
20:06 diakopter lucian: what is pirc
20:06 lucian diakopter: another pir compiler
20:08 bluescreen joined #parrot
20:49 Tene been in progress or stalled for years.
20:55 zby_home joined #parrot
20:57 Matt-GCI left #parrot
21:01 bacek joined #parrot
21:11 bacek left #parrot
21:16 gbacon joined #parrot
21:25 Kristaba Maybe someone can help me about arrays in NQP?
21:25 Kristaba I would have a NQP variable which PMC type is "array" (return true to VTABLE_does([...], "array"); )
21:25 Kristaba So, if I do something like "my $var := (2.0, 1.0);" PMC type of var will be "array" or not?
21:26 cotto That pmc "does" array.  "array" a role.
21:26 cotto it'll probably be a ResizablePMCArray at the PIR level.
21:27 Kristaba Ok, thank you cotto :)
21:27 cotto np.  Are you just curious or is there a practical application?
21:27 lucian cotto: so does that work mixin-style?
21:28 Kristaba cotto: I work on a Parrot Linear Algebra task for the GCI
21:29 cotto I think you could get it to work like Ruby's mixins, but at the PMC level a role is just an arbitrary string that has meaning only by convention.
21:30 cotto That's a lie.
21:30 cotto The thing returned by VTABLE_does is an arbitrary string that has meaning by convention.  Roles are separate thing.
21:32 lucian cotto: so more like python protocols
21:32 lucian good
21:37 mikehh_ is now known as mikehh
21:37 cotto Confusingly, there's also a "does X" pmclass modifier that's supposed to have something to do with roles.  I don
21:37 mikehh opbots, names
21:38 cotto 't think anything uses it, so it's probably extravagantly broken.
21:39 cotto The "provides X" modifier is the one that adds "X" to what's returned by VTABLE_does.
21:39 mikehh cotto: lost track of things - when is the Dev meet, (here or #ps)
21:39 cotto It's kind of a miss.
21:39 cotto mess
21:40 cotto It's in 25h 40m
21:40 cotto 20m
21:41 cotto in #ps, though I don't recall if that was publicized properly
21:41 mikehh well should be around then :-}
21:42 cotto nm.  whiteknight mentioned that it's in #ps in the message he sent to parrot-dev
21:43 mikehh cotto: 'k, seem to have lost, or not getting messages from parrot-dev
21:44 cotto http://www.mail-archive.com/parrot-​dev@lists.parrot.org/msg05021.html
21:46 mikehh cotto: think I saw that one (by looking at the archives) - do we have an agenda?
21:50 lucian cotto: i see. sad that it's a mess
21:51 cotto mikehh, kid51 posted something.  whiteknight responded within the last few days with a summary of his api work.
21:52 cotto lucian, yeah but this is exactly the kind of thing Lorito will help with.  There, we'll only have one way to interact with the object model rather than C and PIR.
21:52 * cotto goes afk
21:53 lucian cotto: i don't think that's the only issue. the object model itself needs to be carefully designed to be able to efficiently compose all the behaviours HLL object systems need
21:53 lucian like single vs multiple dispatch
22:18 preflex left #parrot
22:19 bacek joined #parrot
22:20 preflex joined #parrot
22:30 preflex left #parrot
22:32 preflex joined #parrot
22:34 fperrad left #parrot
22:43 zby_home left #parrot
22:45 sorear diakopter: NQP[String] -(NQP::Grammar and NQP::Actions)-> PAST[PCT::Node] -(PAST::Compiler)-> POST[PCT::Node] -(POST::Compiler)-> PIR[String] -(IMCC)-> PBC(struct Packfile_Segment)
22:45 diakopter ok. nqpclr isn't using that last step (to pbc), at least to disk.
22:46 Kristaba Someone know when Whiteknight come back?
22:49 sorear Kristaba: how long have you been waiting?
22:49 sorear diakopter: imcc is the only way to load PIR that currently works
22:50 sorear (except pirate, but that doesn't count since it's dependant on imcc)
22:50 diakopter I just meant (to pbc), at least to disk
22:54 rfw left #parrot
22:59 Kristaba sorear: I'm waiting from few time, but I'd like to know when I'll probably see him ;)
23:03 sorear "morning" or something like it
23:04 rfw joined #parrot
23:08 Kristaba sorear: Yes, I guess, but as I live in France, my "morning" isn't necessary his "morning" (if he live in US, Australia, etc...)
23:09 sorear right.
23:10 sorear also we have a couple people who do most of their IRCing after work
23:10 sorear so really it's better just to wait 24 hours
23:12 Kristaba Yes, you're right
23:20 rfw left #parrot
23:31 rfw joined #parrot
23:40 rfw left #parrot
23:44 rfw joined #parrot
23:57 theory joined #parrot

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

Parrot | source cross referenced