|
Parrot 2.5.0 Released! | parrot.org | Log: irclog.perlgeek.de/parrot/today | Nopaste: nopaste.snit.ch:8001 | GSOC Students: trac.parrot.org/parrot/wiki/GSoCersStartHere | Priorities: review experimental features for promotion or removal, fix 'make html', pre-release testing. Set by moderator on 8 July 2010. |
|||
| dalek | rrot: r48058 | coke++ | branches/html_cleanup/docs/index/tools.json: fix malformed JSON spotted by kid51++ |
00:10 | |
| nopaste | "kid51" at 192.168.1.3 pasted "Patch to aid in diagnosing JSON formatting problems" (27 lines) at nopaste.snit.ch/21898 | 00:11 | |
| kid51 | Coke: please evaluate that patch (which is what I used to spot error) | ||
| The patch enabled me to figure out *which* .json problem had the problem. | 00:31 | ||
| Err: The patch enabled me to figure out *which* .json file had the problem. | 00:32 | ||
|
00:35
TonyC joined
00:39
nopaste joined
|
|||
| Coke | kid51_at_dinner: looks good, but I'd remove the dump of the entire contents. | 00:45 | |
| otherwise, go ahead and apply that, thanks. | |||
|
01:01
rurban_ joined
01:09
nopaste joined
01:12
s1n joined
01:18
TonyC joined
01:23
TonyC_ joined
01:25
nopaste joined
|
|||
| dalek | kudo: b30f2a6 | (Matthew (lue))++ | src/ (2 files): Begin implementation of ::= binding. |
01:31 | |
| kudo: c59e59a | (Matthew (lue))++ | src/core/operators.pm: Removal of Q:PIR block in := implementation. |
|||
| kudo: 669c9cc | (Matthew (lue))++ | src/core/operators.pm: Implementation of := binding. |
|||
| kudo: a3d4b9e | pmichaud++ | src/core/operators.pm: Add WHENCE code (originally from lue++, but patch didn't apply for some reason). |
|||
| kudo: c70469a | pmichaud++ | src/core/operators.pm: A bound variable needs to adopt the 'rw' state of the thing it's bound to. |
|||
|
01:34
TonyC joined
01:42
plobsing joined
01:51
tcurtis joined
02:05
kid51 joined
02:11
jimk joined
02:13
jimk joined
|
|||
| dalek | rrot: r48059 | jkeenan++ | branches/html_cleanup/tools/docs/make_html_docs.pl: In case of failure to decode JSON, identify which .json file failed. |
02:22 | |
|
02:30
kid51 joined
|
|||
| kid51 | r48059 qualifies as my very first Perl 5.12 code "in production"! | 02:31 | |
| In the rest of Parrot, we're confined to 5.8.something. | |||
| At $job, 5.8.something. | |||
| In toolchain parsexs project, 5.6! | |||
| tcurtis | Why do we get to use 5.12 in make_html_docs? | 02:32 | |
| sorear | 5.8.2 doesn't even build with modern gcc | ||
| kid51 | So that patch to tools/docs/make_html_docs.pl, which calls 'use 5.12.0', is my first more-than-5.8 code accepted to run someplace other than my own homedirs! | ||
| tcurtis: Umm, because Coke says so? | 02:33 | ||
| kid51 ducks | |||
| tcurtis | kid51: good enough for me. | 02:34 | |
| kid51 | But, in reality, it's mainly the release manager who has to run 'make html'. It's mainly for docs.parrot.org, where we can do what we want without worrying about backwards compatibility. | ||
|
02:35
janus joined
|
|||
| kid51 | Not being able to use anything >5.8 'in production' means that I really have only a vague idea of the new syntax in 5.10 and 5.12 ... | 02:36 | |
| ... other than 'say' (and that only because I used to maintain Perl6::Say ;-) ) | 02:37 | ||
|
02:40
Coke joined
02:44
somebody_ joined
02:47
somebody__ joined
02:51
TiMBuS joined
03:17
Mokurai left
05:00
hercynium joined
|
|||
| cotto | ~~ | 05:30 | |
|
06:11
uniejo joined
06:21
uniejo joined
06:34
eternaleye joined
07:43
snarkyboojum joined
|
|||
| dalek | kudo: 1086ff8 | moritz++ | t/spectest.data: we pass 6 more test files |
07:48 | |
| rrot: r48060 | mikehh++ | branches/html_cleanup/tools/docs/make_html_docs.pl: perlcritic does not like code before use warnings |
07:50 | ||
|
07:56
fperrad joined
08:12
clinton joined
|
|||
| dalek | rrot: r48061 | mikehh++ | branches/html_cleanup/tools/docs/make_html_docs.pl: fix copyright and remove unnecessary use strict (use 5.12.0 incorporates this) |
08:23 | |
|
08:25
hanekomu_9 joined
|
|||
| cotto | bacek, ping | 08:51 | |
| fun fact: one of the failing tests in the linscan branch doesn't actually use any registers | 08:52 | ||
| yet somehow the generated pbc is different | 08:53 | ||
| fun times | |||
|
09:02
rurban_ joined
|
|||
| sorear | pbc is horribly, horribly underconstrained | 09:14 | |
| cotto | I think it's actually my fault. | 09:21 | |
| the vanilla allocator allocates one register where mine does 0 | |||
| bacek_at_work | cotto, (barely here) pong | 09:31 | |
| cotto | What's !SUB ? | 09:32 | |
| cotto is also barely here | 09:33 | ||
| bacek_at_work | cotto, PMC register for non-constant sub calls | ||
| e.g. 'foo()' when 'foo' isn't in same PIR file | |||
| 'foo()' translated to '$!SUB = find_sub_not_null "foo"; $!SUB()' | 09:34 | ||
| cotto | ok. My allocator isn't giving it a register because it doesn't appear to have a range. | ||
| sounds like it'll need a special case | |||
| or something else | 09:35 | ||
| bacek_at_work | yeah... | 09:36 | |
| cotto | that gives me my next target once I've slept | ||
| bacek_at_work | We do need two-pass Sub processing. | ||
| cotto | yes | ||
| or were you referring to something apart from the allocator? | |||
| bacek_at_work | Not yet. | 09:37 | |
| But we can probably can use result of first pass for some optimizations | |||
| ETOOMANYCAN | |||
| cotto | making it work is a good first target | 09:38 | |
| sleep is a good zeroeth step | |||
| 'night | |||
| bacek_at_work | night | ||
|
10:34
jsut joined
10:59
TonyC joined
11:05
TiMBuS|Away joined
11:10
nopaste joined
11:35
TonyC joined
|
|||
| mikehh | Coke: you around? | 11:39 | |
|
11:39
nopaste joined
11:53
Mokurai joined
11:55
Mokurai left
12:01
kid51 joined
|
|||
| dalek | kudo: 92a210d | pmichaud++ | docs/spectest-progress.csv: spectest-progress.csv update: 513 files, 34010 (84.7% of 40163) pass, 12 fail |
12:19 | |
|
12:19
nopaste joined
12:20
jsut_ joined
12:54
ruoso joined
13:16
gaz_ joined
13:24
patspam joined
13:33
tcurtis joined
|
|||
| dalek | rrot: r48062 | coke++ | branches/html_cleanup/tools/docs/make_html_docs.pl: Fix cut-and-paste-o copyright line. |
13:37 | |
|
13:41
fperrad joined
|
|||
| Coke | ~~ | 13:46 | |
| atrodo | Good Morning Coke | ||
| mikehh | hi Coke | 13:47 | |
| Coke: re 48062, check PodToHtml.pm and HTMLPage.pm as well :-} | 13:51 | ||
|
13:51
lucian joined
|
|||
| mikehh | Coke: how do you intend to set {RESOURCES_URL}, {NAV_BAR}, title etc | 13:55 | |
|
14:00
bubaflub joined
14:19
patspam joined
14:22
gbacon joined
14:35
mikehh joined
|
|||
| mikehh got to go out for a bit - bbl | 14:41 | ||
| Coke | mikehh: was going to tackle that this weekend. =-) | ||
| I realize it's just a braindead call to pod2html at this point. | 14:42 | ||
|
14:42
allison joined
|
|||
| mikehh | Coke: ok - been playing around with it a bit - work with you then | 14:42 | |
| mikehh fresh out of milk and need coffee - bbl | 14:43 | ||
| Coke | ok. I will not be offended if commits happen while I'm at DAYJOB, really I won't. a little coordination before is better if possible,but i'll understand if I'm too idle. =-) | 14:44 | |
| mikehh: AIGH! | |||
| mikehh: aren't you on GMT? | |||
| mikehh | Coke: BST = GMT + 1 | 14:45 | |
| Coke | close enough. =-) | 14:47 | |
| I've taken to saying "Eastern" for my time zone because I cannot be bothered to remember if it's EDT or EST. | |||
| dalek | kudo: 1ef278d | moritz++ | t/spectest.data: run two more test files |
14:48 | |
|
14:48
allison joined
15:13
TiMBuS joined
|
|||
| tcurtis | How do I tell distutils to add my build/ directory to the library path when running tests? | 15:33 | |
|
15:39
mikehh joined
15:46
mikehh joined
|
|||
| cotto | ~~ | 15:48 | |
|
15:52
mikehh joined
|
|||
| Coke | tcurtis: fperrad is the distutils guy. | 16:04 | |
| tcurtis | fperrad: ping. | 16:05 | |
| fperrad | pong tcurtis | 16:07 | |
| tcurtis | fperrad: I'm trying to use distutils to build my GSoC project now that I'm putting it in a separate repository, and I'm putting my build files in a build/ directory. How can I get distutils to add that directory to the library path when it runs tests? | 16:11 | |
| fperrad | tcurtis, with 'test_exec', you specify the executable + some options (like library path) | 16:18 | |
| tcurtis, where is your new repository ? | 16:19 | ||
| cotto | tcurtis, what's the advantage of moving your code to a separate repo? | ||
| Coke | cotto: near as I can tell, because "bacek is lazy" | 16:20 | |
| ;) | |||
| tcurtis | fperrad: thanks. github.com/ekiru/tree-optimization , but I haven't committed the distutils yet. | ||
| cotto | The laziest approach seems like it'd be to leave it in svn, apart from having to work with svn. | 16:21 | |
| Coke | cotto: sorry. let me clarify: | ||
| "bacek is the wrong kind of lazy" | |||
| ;) | |||
| mikehh | Coke: We should have a few more devs lazy like bacek++ | 16:22 | |
| tcurtis | cotto: with it in a branch of parrot's svn, I have to merge trunk every-time there's a change in trunk that someone wants to use it with. | ||
| cotto | e.g.? | 16:23 | |
| purl | e.g. is probably `exempli gratia', latin for `for example' | ||
| tcurtis | For example, if there's a rakudo change that needs a later version of Parrot, moritz++ can't merge Rakudo HEAD into his branch until I merge parrot trunk into my branch. | 16:24 | |
| cotto | got it | ||
| that makes sense and does indeed preserve laziness | |||
| fperrad | tcurtis, I don't known if parrot-nqp has an option for library path | 16:25 | |
| another way, it's to build *.pbc in ./ instead of ./build/ | |||
| tcurtis | And I expect that just being able to use a normal parrot install with it instead of having to get a branch will make it simpler for other people to try it out. | 16:26 | |
| moritz | in retrospect we could have thought of starting it in a repo of its own from the start :-) | 16:27 | |
| cotto | hindsight? | ||
| purl | it has been said that hindsight is 20-20, cotto... | ||
| moritz | I mean it's clear that such a framework doesn't really need many parrot changes | ||
| cotto | I was just fishing for that purl factiod | 16:29 | |
| tcurtis | fperrad: my question turns out to have been unnecessary. I accidentally left some of the pbcs out of inst_lib, and the tests run properly once I fix that. | 16:45 | |
| fperrad: Actually, that turns out to be wrong. I had forgotten I'd installed it in the interim. | 17:02 | ||
|
17:04
rurban_ joined
|
|||
| dalek | kudo: 8978801 | moritz++ | build/Makefile.in: compile Safe.pm, and install the .pir version too |
17:12 | |
|
17:30
jan joined
18:09
LoganLK joined
|
|||
| tcurtis | japhb++ for plumage automatically sudoing for install. | 18:24 | |
|
18:35
snarkyboojum joined
|
|||
| cotto_work | Does plumage support fancy stuff like installing the latest build of a package from a vcs repo? | 18:36 | |
| and updating | 18:37 | ||
| tcurtis | cotto_work: yes. | ||
| cotto_work | shiny | ||
| I'll have to start using it. | |||
| tcurtis | On a related note: | 18:38 | |
| msg darbelo Can one of you, dukeleto, or japhb add my GSoC to plumage? The metadata is at github.com/ekiru/tree-optimization/...ation.json | 18:39 | ||
| purl | Message for darbelo stored. | ||
|
18:39
theory joined
|
|||
| tcurtis | msg dukeleto Can one of you, darbelo, or japhb add my GSoC to plumage? The metadata is at github.com/ekiru/tree-optimization/...ation.json | 18:39 | |
| purl | Message for dukeleto stored. | ||
| tcurtis | msg japhb Can one of you, darbelo, or dukeleto add my GSoC to plumage? The metadata is at github.com/ekiru/tree-optimization/...ation.json | ||
| purl | Message for japhb stored. | ||
| cotto_work | That project is going to be so added. | ||
|
18:56
somebody_ joined
|
|||
| cotto_work | anyone here familiar with Cyclone and its attempts to make C pointers safe? | 19:05 | |
|
19:08
cotto_work2 joined
|
|||
| cotto_work2 | cyclone.thelanguage.org/wiki/Cyclon...rogrammers | 19:08 | |
|
19:14
LoganLK joined
|
|||
| dalek | kudo: e58b166 | (Solomon Foster)++ | src/core/ (2 files): Tweak Real.atan2 and Num.atan2 so they can handle $x's which are not of the |
19:14 | |
| japhb | tcurtis, I'll do it. | 19:32 | |
| tcurtis | thanks, japhb. | ||
| msg darbelo japhb added my GSoC to plumage. Ignore my previous msg. | 19:33 | ||
| purl | Message for darbelo stored. | ||
| tcurtis | msg dukelete japhb added my GSoC to plumage. Ignore my previous msg. | ||
| purl | Sorry, I've never seen dukelete before. | ||
| tcurtis | msg dukeleto japhb added my GSoC to plumage. Ignore my previous msg. | ||
| purl | Message for dukeleto stored. | ||
| japhb | pushed, enjoy! | 19:35 | |
| particle | where is the plumage metadata parser source? | 19:36 | |
| japhb | I'm wrapping the data_json Parrot language. | 19:37 | |
| Lemme find the module | |||
| src/lib/Plumage/Metadata.nqp | 19:38 | ||
| Interestingly, data_json is used to parse string inputs, and Config::JSON is used for file inputs. | 19:39 | ||
| particle | ah, thanks. | ||
| do you need both, or is that only a refactor away from correct? | |||
| japhb | I honestly don't remember. It's been a long time since I touched that code. | 19:41 | |
| May have been limitations of one or both modules at the time. | |||
| particle | no worries | ||
| cotto_work | cotto@cotto-desktop:/usr/src/parrot/plumage\\ 0 $ ./plumage help | 19:43 | |
| I don't know how to 'help'! | |||
| tcurtis | japhb: The link was for the html page to view it on github. The actual text file is at github.com/ekiru/tree-optimization/...ation.json | ||
| cotto_work: ./plumage usage | 19:44 | ||
| cotto_work | sure | ||
| particle | 'perhaps you meant usage' would be a nice addition there | ||
| japhb | D'oh! | ||
| That's what I get for doing a wget without looking at it. | |||
| particle | ha | ||
| japhb | Sigh. | ||
| tcurtis | That's what I get for not specifying what exactly I'm linking to. | 19:45 | |
|
19:46
masak joined
|
|||
| dalek | rrot-plumage: de66330 | japhb++ | metadata/tree-optimization.json: [METADATA] New project metadata tree-optimization.json; thanks tcurtis++ |
19:46 | |
| japhb | tcurtis, pushed again. | 19:47 | |
| tcurtis | japhb, thanks again. | 19:48 | |
| japhb | particle, re: 'perhaps you meant usage' ... one of the "after things Just Work" tasks (scheduled for Round 3 of the Grant Series That Didn't Happen) was to make a real help system for it. So I was "leaving space" for a proper help command. :-) | 19:49 | |
| particle | ah | ||
| well, maybe some one will beat you to a 'MooseX::App::Cmd' module in nqp | 19:50 | ||
| japhb | Since it is seemingly unlikely that I will get to that bigger goal in the near future, you are free to make a stub help command as you suggest. | ||
| Have you a commitbit? | |||
| particle | not sure | 19:52 | |
| not sure i have a gitorious acct | 19:53 | ||
| japhb checks ... no | |||
| (No you don't have a commitbit yet, don't know about the acct) | |||
| Get one, and you can have one. ;-) | |||
| particle | i don't see an acct in my pw manager, creating... | ||
| cotto_work | I note a distinct lack of PIRATE in plumage. | 19:55 | |
| "someone" may have to remedy that | |||
| japhb | FEED ME METADATA ... NOMNOMNOMNOMNOM | ||
|
19:56
baest joined
|
|||
| particle | gitorious.org/~particle | 19:56 | |
|
19:57
eternaleye joined
|
|||
| dalek | rrot-plumage: bc7f887 | japhb++ | metadata/tree-optimization.json: [METADATA] OK, let's try that again. This time minus the HTML wrapper. japhb-- |
19:57 | |
| japhb | You have the power! | 19:58 | |
| particle | i feel gitorious! | 20:00 | |
| masak | NotFound: ping | 20:02 | |
| Coke | (interestingly) ... please do not get me started. =-) | 20:07 | |
| (git git.... gitorious, gitorious) | 20:08 | ||
| masak | anyone see immediately why the following PIR segfaults at line 25? gist.github.com/469980 | 20:12 | |
| I get the segfault regardless of whether I use pio.'print'(s) or pio.'puts'(s) | 20:16 | ||
| cotto_work | masak, is that the complete code? | ||
| masak | cotto_work: along with ./perl6 -e 'my $binary_out_fh = open("foo", :w, :bin); $binary_out_fh.write("fƶƶ".encode("ISO-8859-1"))' and the rest of Rakudo, yes. | 20:17 | |
| Tene | masak: change it to pio.'print'('OMG HAI') | ||
| purl | Tene: that doesn't look right | ||
| masak | but this is the relevant part. | ||
| Tene: ok. | |||
| Tene | and check if it still fails | ||
| I could imagine it segfaulting if there was something funny in s | |||
| also try: say s | 20:18 | ||
| masak: How do those fail (or not)? | 20:22 | ||
| masak | still building. | ||
| still building your first suggestion :) | |||
| Tene | bah | ||
| You need a faster build. | |||
| masak | ok, segfault on pio.'print'('OMG HAI') | ||
| Tene | I keep forgetting that my work laptop is a bit atypical. | 20:23 | |
| masak | maybe there's something wrong with pio, then. | ||
| Tene | Then there's probably nothing funny in s. | ||
| Yeah. | |||
| Coke | ah, that's not really a PIO object. | 20:34 | |
| from #perl6 - it's a container that has a different pmc data pointer. they need to unbox it before calling it. | |||
| masak | pio = deref_unless_object pio | ||
| jnthn++ | |||
| Coke | (that being a custom p6 op) | 20:35 | |
|
20:35
ash_ left
20:42
somebody_ joined
|
|||
| cotto_work | clock? | 20:49 | |
| purl | cotto_work: LAX: Fri 1:49pm PDT / CHI: Fri 3:49pm CDT / NYC: Fri 4:49pm EDT / LON: Fri 9:49pm BST / BER: Fri 10:49pm CEST / IND: Sat 2:19am IST / TOK: Sat 5:49am JST / SYD: Sat 6:49am EST / | ||
|
20:50
ash_ joined
21:06
theory joined
21:11
Mokurai joined
21:15
somebody__ joined
21:16
LoganLK joined
21:19
Mokurai joined
21:25
dolmen joined
21:57
patspam joined
|
|||
| tcurtis | How can I set something to PMCNULL in NQP? Do I have to use Q:PIR? | 22:02 | |
| cotto_work | my $p := pir::null__P | 22:07 | |
| ; | |||
| jnthn | probably needs () | 22:12 | |
| tcurtis | Turned out that nulling it wasn't what I needed anyway. | 22:13 | |
| cotto_work | () isn't needed in that case | 22:15 | |
|
22:23
patspam joined
|
|||
| dalek | kudo: 692aa15 | masak++ | src/core/IO.pm: [IO] implemented IO.read and IO.write t/spec/S16-filehandles/io.t. |
22:43 | |
| kudo: 2d0a573 | masak++ | src/core/IO.pm: [IO] added :$bin parameter to &open and .open 'binary' to the .encoding method on the filehandle could actually have been any non-'utf-8' string, since Parrot only has two modes right now. |
|||
| tcurtis | Ah, the joys of accidentally using PIR dereferencing syntax in NQP. | 22:46 | |
|
23:12
TonyC joined
|
|||
| tcurtis | pmichaud: ping | 23:19 | |
|
23:19
nopaste joined
|
|||
| tcurtis | pmichaud: Does the pirop<tailcall> PAST::Op work? | 23:21 | |
|
23:43
Chandon joined
23:45
TonyC joined
23:46
nopaste joined
23:49
kid51 joined
23:55
Psyche^ joined
|
|||