Camelia, the Perl 6 bug

IRC log for #parrot, 2011-11-30

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 * dukeleto *really* feels like his old phd advisor now
00:00 Yuki`N I'm not entirely sure that paper even has sentences.
00:00 dukeleto Yuki`N: mathematicians have their own language :)
00:00 Yuki`N Starting from their definition of y and a around eq 4.
00:00 Yuki`N lol
00:01 dukeleto Yuki`N: here is the deal
00:01 dukeleto Yuki`N: we break up the computation of pi(x) into parts
00:01 dukeleto Yuki`N: some parts are easy, some are hard
00:01 dukeleto Yuki`N: the hard part is an infinite sum
00:02 dukeleto Yuki`N: but then they have a trick for only needing to add up a finite number of terms
00:02 Yuki`N the easy part it seems is that function P(x, a)
00:02 dukeleto Yuki`N: π(x) = φ(x, a) + a − 1 − P2 (x, a)
00:03 dukeleto Yuki`N: that is important, write that down
00:03 Yuki`N I already put that down.
00:03 dukeleto Yuki`N: the hard part is figuring out P2(x,a)
00:03 Yuki`N But that section is only half a page long
00:03 Yuki`N and the part of phi(x, a) is like 4 sections.
00:03 dukeleto Yuki`N: hmm. you are right. The hard part is  φ(x, a) :)
00:04 Yuki`N And I still can't figure out how to compute P_2(x, a) because I'm not sure how I'm determining y and a.
00:04 Yuki`N Would I just recurse until a is some small prime?
00:05 dukeleto Yuki`N: there is a recurrence relation to compute φ(x, a) : φ(x, b) = φ(x, b − 1) − φ
00:05 dukeleto x
00:05 dukeleto ,b − 1
00:05 dukeleto oops
00:06 dukeleto sorry, copy+pasting from PDFs dangerous, evidently
00:06 Yuki`N They split phi(x, a) into a binary tree type thing, so that the root is equal to the sum of the leaves at the bottom
00:07 Yuki`N but then they go a step further and...
00:07 Yuki`N start breaking sub-sums into more sub-sums
00:07 Yuki`N and I just.
00:07 Yuki`N don't understand.
00:07 dukeleto Yuki`N: are you still working on the is_strong_lucas function?
00:08 Yuki`N I finished that.
00:08 dukeleto Yuki`N: a = π(y)
00:08 dukeleto Yuki`N: and you get to choose y, methinks
00:09 dukeleto Yuki`N: this is hard. No doubt about it.
00:09 dalek Rosella: f84af18 | Whiteknight++ | / (19 files):
00:09 dalek Rosella: Dumper is version 1.
00:09 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/f84af18a29
00:09 Yuki`N I think then we have to recurse until pi(y) gets small enough.
00:09 dukeleto Yuki`N: what about implementing π(x) the easy first, in Winxed. Does that sound more reasonable?
00:09 dukeleto s/easy/easy way/
00:10 dukeleto Yuki`N: you can just port the code from the Math::Primality perl 5 module straight up.
00:10 dukeleto Yuki`N: i think i made this task too hard :)
00:10 Yuki`N lol
00:10 whiteknight called it!
00:10 Yuki`N the for-loop way?
00:10 dukeleto Yuki`N: yeha
00:10 dukeleto Yuki`N: the dead simple way :)
00:10 Yuki`N haha, alright.
00:10 Yuki`N http://www.google-melange.com/gci​/task/view/google/gci2011/7174263 lucas_pseudoprime is done.
00:11 dukeleto Yuki`N: i would love to help you implement the optimized version, but I also don't want to bog you down when you could be doing other tasks
00:11 dukeleto Yuki`N: ok, just marked the task complete, will do a full review a bit later
00:12 dukeleto Yuki`N: nice work!
00:12 Yuki`N alright.
00:12 dukeleto whiteknight: there is still another date where the last set of tasks gets released, right?
00:12 whiteknight Dec 16th, methnks
00:13 dukeleto Yuki`N: because you are going to do the *way* easy version of prime_count(), can you implement next_prime() and previous_prime() too? They are about 4 lines each, dead simple.
00:14 Yuki`N alright.
00:14 dalek parrot-math-primality: b147de0 | Yuki`N++ | / (2 files):
00:14 dalek parrot-math-primality: Add and test is_strong_lucas_pseudoprime.
00:14 dalek parrot-math-primality: review: https://github.com/letolabs/parrot​-math-primality/commit/b147de0332
00:14 dalek parrot-math-primality: 1a51fa2 | dukeleto++ | / (2 files):
00:14 dalek parrot-math-primality: Merge pull request #3 from nol888/master
00:14 dalek parrot-math-primality:
00:14 dalek parrot-math-primality: Add and test is_strong_lucas_pseudoprime
00:14 dalek parrot-math-primality: review: https://github.com/letolabs/parrot​-math-primality/commit/1a51fa2829
00:19 dukeleto Yuki`N: a few tests too, please :)
00:19 Yuki`N of course.
00:19 Yuki`N Tests make sure I didn't break anything while porting.
00:21 dukeleto Yuki`N: a good lesson to know :)
00:27 Nol888 joined #parrot
00:45 Nol888 dukeleto, how can I make big-integer literals.
00:45 Nol888 s/./?/
00:45 Nol888 s/\./?/
00:46 dalek Guitor: a441875 | NotFound++ | examples/pizarra.winxed:
00:46 dalek Guitor: the color selector was wrong
00:46 dalek Guitor: review: https://github.com/NotFoun​d/Guitor/commit/a441875a25
01:03 AzureSto_ joined #parrot
01:05 dalek parrot/packfile_cleanups: ef94692 | Whiteknight++ | / (11 files):
01:05 dalek parrot/packfile_cleanups: Add a third argument to Parrot_pf_get_packfile_pmc, to be the string path for it. That way every time we have a PackfileView we've made a best effort to fill in all fields. Add a get_packfile() method to Sub to get the packfile that owns it. This exposes some subtle errors
01:05 dalek parrot/packfile_cleanups: review: https://github.com/parrot/parrot/commit/ef946927fd
01:05 dalek parrot/packfile_cleanups: 0b3235a | Whiteknight++ | src/pmc/packfileview.pmc:
01:05 dalek parrot/packfile_cleanups: Make sure to set the ->view field in the PackFile* when we load it from the PackfileView.read_from_file() method.
01:05 dalek parrot/packfile_cleanups: review: https://github.com/parrot/parrot/commit/0b3235adb1
01:10 dalek parrot/packfile_cleanups: aba1afc | Whiteknight++ | / (2 files):
01:10 dalek parrot/packfile_cleanups: Remove PackFile_read_pbc file.
01:10 dalek parrot/packfile_cleanups:
01:10 dalek parrot/packfile_cleanups: We have Parrot_pf_read_pbc_file, and we only want one interface for this crucial mechanism to prevent confusion
01:10 dalek parrot/packfile_cleanups: review: https://github.com/parrot/parrot/commit/aba1afcbca
01:20 dalek parrot: 34f56d9 | Whiteknight++ | / (11 files):
01:20 dalek parrot: Add a third argument to Parrot_pf_get_packfile_pmc, to be the string path for it. That way every time we have a PackfileView we've made a best effort to fill in all fields. Add a get_packfile() method to Sub to get the packfile that owns it. This exposes some subtle errors
01:20 dalek parrot: review: https://github.com/parrot/parrot/commit/34f56d98b5
01:20 dalek parrot: 62100ee | Whiteknight++ | src/pmc/packfileview.pmc:
01:20 dalek parrot: Make sure to set the ->view field in the PackFile* when we load it from the PackfileView.read_from_file() method.
01:20 dalek parrot: review: https://github.com/parrot/parrot/commit/62100eed1d
01:20 dalek parrot: 2c4ef38 | Whiteknight++ | / (2 files):
01:20 dalek parrot: Remove PackFile_read_pbc file.
01:20 dalek parrot:
01:20 dalek parrot: We have Parrot_pf_read_pbc_file, and we only want one interface for this crucial mechanism to prevent confusion
01:20 dalek parrot: review: https://github.com/parrot/parrot/commit/2c4ef3846d
01:20 dalek parrot: 7ad94d6 | Whiteknight++ | t/src/extend.t:
01:20 dalek parrot: Fix tests that were relying on Parrot_pf_get_packfile_pmc
01:20 dalek parrot: review: https://github.com/parrot/parrot/commit/7ad94d6d06
01:29 dukeleto it is nice to ride the GCI commit wave...
01:30 Yuki`N lol
01:30 Yuki`N almost done
01:31 whiteknight that wasn't GCI stuff, that was me opening src/packfile/api.c and saying the F-word
01:32 benabik ?
01:35 Yuki`N dukeleto, finished
01:36 Yuki`N The task is www.google-melange.com/gci/tas​k/view/google/gci2011/7197337
01:36 Yuki`N Oh, you never accepted my claim.
01:45 dalek parrot: 81de279 | Whiteknight++ | src/pmc/imccompiler.pmc:
01:45 dalek parrot: Add a named 'path' argument to IMCCompiler.compiler and .compile_file, to override default path name in the PackfileView
01:45 dalek parrot: review: https://github.com/parrot/parrot/commit/81de279cb3
01:49 dalek parrot.github.com: b92c942 | (Alvis Yardley)++ | index.html:
01:49 dalek parrot.github.com: See whether '../html/' onto 'docs/intro.pod.html' will work correctly.
01:49 dalek parrot.github.com: review: https://github.com/parrot/parro​t.github.com/commit/b92c942f34
01:50 woosley joined #parrot
01:53 cotto 'evening
01:54 cotto whiteknight++
01:58 whiteknight Rakudo didn't use either of those functions, so I figured they were fine to nuke
02:00 dalek parrot: 130df8b | Whiteknight++ | src/pmc/imccompiler.pmc:
02:00 dalek parrot: doesn't seem to like the named arguments. Just make the path argument optional instead
02:00 dalek parrot: review: https://github.com/parrot/parrot/commit/130df8b616
02:00 dalek Heuristic branch merge: pushed 178 commits to winxed/pir_compiler_fixes by Whiteknight
02:02 dalek winxed/pir_compiler_fixes: c07c759 | Whiteknight++ | / (2 files):
02:02 dalek winxed/pir_compiler_fixes: the pir compiler should use the .compile method instead of the old, deprecated invoke vtable. Pass in the new path parameter so the packfile knows which file it came from
02:02 dalek winxed/pir_compiler_fixes: review: https://github.com/Whiteknig​ht/winxed/commit/c07c759591
02:03 whiteknight msg NotFound I just opened winxed pull request #17 to fix uses of the PIR compreg and get new features
02:03 aloha OK. I'll deliver the message.
02:05 whiteknight with all those commits, I can do: Rosella.Reflect.Module.get​_current_packfile().name() and get the name of the file that I'm running
02:05 whiteknight in my test file, it prints "test.winxed"
02:06 blaise_ joined #parrot
02:14 dalek parrot.github.com: e79f6ae | (Alvis Yardley)++ | index.html:
02:14 dalek parrot.github.com: Make the links point to the correct directory, i.e., "../html/".
02:14 dalek parrot.github.com: review: https://github.com/parrot/parro​t.github.com/commit/e79f6ae786
02:16 whiteknight that doesn't seem like much, but it's a major improvement in consistency and interface usability
02:20 Yuki`N whiteknight, do you mind approving this? http://www.google-melange.com/gci​/task/view/google/gci2011/7197337
02:20 whiteknight done
02:20 whiteknight I would wish you good luck, but I suspect that's not necessary
02:21 Yuki`N I've already finished, actually.
02:21 Yuki`N To avoid suspicion I'll wait until a bit later to submit, though./
02:27 whiteknight cotto: if packfiles are associated with file names, and we have ready access to version numbers and UUID strings, we can create strong names for each library, which is a security essential
02:27 whiteknight for instance, we can do a packfile load with file name, specific version, and even specified UUID, and fail if any of those things don't match
02:30 dalek rakudo/nom: 652952a | colomon++ | README:
02:30 dalek rakudo/nom: Add --gen-nqp to the Configure instructions.
02:30 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/652952ac81
02:34 cotto whiteknight, istr that the uuid strings (and related code) were pretty stubby.
02:35 whiteknight it's all pretty stubby, but I'm getting through it all slowly
02:39 dalek parrot: f4defab | Whiteknight++ | / (3 files):
02:39 dalek parrot: Add in Parrot_pf_get_version_string and expose it through new method PackfileView.get_version
02:39 dalek parrot: review: https://github.com/parrot/parrot/commit/f4defab0d7
02:39 whiteknight git now it appears generated packfiles get the version number of the Parrot that generated them
02:39 whiteknight and that's suboptimial
02:40 whiteknight When we have PACT, we're going to need a method to set the version number on the generated bytecode
02:40 cotto It doesn't reflect actualy compatibility very well.
02:41 whiteknight no
02:41 whiteknight eitherway, I have what I need for Rosella now
02:42 cotto is there a strong reason to keep it when we have explicit bytecode versions?
02:42 dalek Rosella: 1d7fbc3 | Whiteknight++ | s (3 files):
02:42 dalek Rosella: Add in a Reflect.Module class to provide a friendly wrapper around PackfileView
02:42 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/1d7fbc34d5
02:42 dalek Rosella: eadfbf5 | Whiteknight++ | src/unstable/reflect/Module.winxed:
02:42 dalek Rosella: Implement the get_current_packfile function.
02:42 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/eadfbf5044
02:43 whiteknight msg benabik I'm adding some PACT-inspired stuff to Rosella: https://github.com/Whiteknight/Rosella/blob​/master/src/unstable/reflect/Module.winxed
02:43 aloha OK. I'll deliver the message.
04:12 benabik Version number of the generated bytecode?  I thought the version number was for the packfile format, not the packfile.
04:14 benabik 0x13155a1 ? Is that supposed to be something?
04:16 benabik (Magic number for PBC)
05:18 cotto benabik, there's some small basis for it, but it's mostly important that it be unique.
05:37 dukeleto msg alvis i like the idea of a parrot vm spec. Our docs/pdds are supposed to be that, but many are wrong/old/bitrotten
05:37 aloha OK. I'll deliver the message.
05:38 dukeleto If old code gets bitrot, what does old documentation get?
05:41 sorear irrelevant
05:46 blaise_ joined #parrot
05:48 dukeleto sorear: ba dump ching
05:48 dukeleto Firefox JIT stuff: http://blog.mozilla.com/dmandelin/2011/11​/29/js-development-newsletter-1123-1129/
05:48 dukeleto a good read
05:50 dukeleto this too http://blog.mozilla.com/dmandelin/2008/​05/16/tamarin-tracing-internals-part-i/
06:01 rfw joined #parrot
06:36 davidfetter joined #parrot
07:22 rblackwe joined #parrot
07:34 rfw joined #parrot
08:08 alvis joined #parrot
08:13 lucian joined #parrot
08:38 mj41 joined #parrot
09:01 AzureStone joined #parrot
09:08 lucian joined #parrot
10:11 blaise_ joined #parrot
10:28 GeJ joined #parrot
10:50 dalek rakudo/nom: 80f6ce0 | moritz++ | src/core/IO.pm:
10:50 dalek rakudo/nom: make IO.write DWIM if the handle is not binary yet
10:50 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/80f6ce0c93
11:20 rfw joined #parrot
11:45 whiteknight joined #parrot
11:56 whiteknight good morning, #parrot
12:13 Psyche^ joined #parrot
12:41 blaise joined #parrot
12:47 bluescreen joined #parrot
12:47 moritz hi whiteknight, how are you?
12:48 whiteknight moritz: I'm doing well. We're going to settlement on our new house in a few hours, so I'm nervous
12:48 whiteknight you?
12:50 moritz whiteknight: I'm doing quite well, apart from being very tired
12:51 moritz whiteknight: the small one has started to scuttle forward two weeks ago, and is now quite fast. Interesting times :-)
12:52 whiteknight awesome. I always found it much more fun when my son could move and be crazy
12:56 dalek rakudo/nom: ff7fd2d | moritz++ | src/core/IO/Socket.pm:
12:56 dalek rakudo/nom: .write method for sockets
12:56 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/ff7fd2d776
13:12 mtk joined #parrot
13:27 schmooster joined #parrot
13:31 Coke ah, you n00bs. ;)
13:31 Coke my little one is taller than I am and thinking about cars.
13:32 benabik joined #parrot
13:36 benabik o/ #parrot
13:37 whiteknight hello benabik
13:46 whiteknight let me tell you what: Writing new ops for Parrot is infuriating
13:46 benabik How's that?
13:47 whiteknight if you have a C syntax error in the op you write and try to make bootstrap-ops, it takes forever to find it and then it's overwritten a bunch of files so you can't build parrot and try again
13:47 benabik Ah.
13:47 whiteknight yeah, it sucks
13:47 moritz can't you just type 'make'?
13:48 whiteknight moritz: no, because opsc overwrites several source files with the invalid code
13:48 whiteknight so you need to revert about 4 files before you can make
13:49 moritz :(
13:49 moritz whiteknight: that's terrible design of the build system
13:50 moritz nqp uses separate steps for building and for bootstrapping
13:50 moritz and building doesn't overwrite anything (except old builds)
13:53 whiteknight yes it is a terrible design, hence my complaining
14:00 whiteknight blah, and then we have tests in the suite testing to make sure we have an exact number of ops
14:00 whiteknight and the test fails any time you add or remove an op
14:00 moritz just remove that test.
14:02 dalek parrot/pcc_ops: 6eb5bf3 | Whiteknight++ | / (7 files):
14:02 dalek parrot/pcc_ops: Add in several new ops and supporting logic to help streamline PCC
14:02 dalek parrot/pcc_ops: review: https://github.com/parrot/parrot/commit/6eb5bf39d6
14:02 dalek parrot/pcc_ops: f0a522c | Whiteknight++ | t/compilers/opsc/06-opsfile.t:
14:02 dalek parrot/pcc_ops: Don't test for an exact number of ops, because then the test breaks during routine non-breaking development.
14:02 dalek parrot/pcc_ops: review: https://github.com/parrot/parrot/commit/f0a522cb8e
14:03 whiteknight already did :)
14:03 whiteknight msg cotto can you take a look at some of the new ops I added in the pcc_ops branch? They're pretty important for some upcoming PCC refactors I'm planning.
14:03 aloha OK. I'll deliver the message.
14:04 benabik flatten_*_arg?
14:06 moritz whiteknight: the socket PMC has a readline method, but rakudo needs a more general method which allows a custom delimiter besides \n
14:06 benabik whiteknight: Docs on the new invoke/invokecc variants would be nice. ;-)
14:06 whiteknight moritz: okay, so what if we pass in an :optional delimiter argument to Socket.readline?
14:06 moritz whiteknight: either that, or a separate method
14:06 whiteknight moritz: which would Rakudo prefer?
14:07 moritz whiteknight: both are fine. We need to wrap it anyway for type marshalling, so it's all the same to me
14:07 whiteknight moritz: okay. I don't know if I will have a lot of time to do it myself this week. When is it needed?
14:08 moritz whiteknight: I can even try it myself, just wanted some feedback first
14:08 moritz any example of a method in a PMC that takes an optional argument?
14:08 whiteknight oh, okay. Yes it sounds very sane to me. Whichever variant you prefer should be fine
14:08 whiteknight moritz: src/pmc/imccompiler.pmc .compile() and .compile_file() methods take optional parameters
14:09 whiteknight I don't think :optional works with :named. There are some examples of that combination in that file which aren't used, but didn't appear to work when I tested briefly
14:09 whiteknight so, just stick with :optional
14:09 moritz ok
14:09 moritz so, pretty much like in PIR :-)
14:21 benabik whiteknight: Looks like you're breaking up set_args into pieces?
14:39 whiteknight benabik: yes
14:39 whiteknight benabik: http://whiteknight.github.com/201​1/05/12/pcc_refactor_timings.html
14:44 benabik whiteknight: I notice that the block labeled PASM for optional/positional stuff is actually PIR.
14:44 benabik (about 2/3s of the way down)
14:45 whiteknight ah, looks like a copy+paste error
14:45 whiteknight that post is several months old and nobody has mentioned that yet
14:45 benabik And the fast way of doing optional positional is probably checking a length argument.
14:45 benabik It's easy to gloss over the code.
14:45 benabik (I know I've read it before and I didn't notice)
14:46 dalek parrot: e95cf3a | moritz++ | src/pmc/socket.pmc:
14:46 dalek parrot: give Select.readline an optional deleimiter parameter (not yet tested)
14:46 dalek parrot: review: https://github.com/parrot/parrot/commit/e95cf3a6df
14:46 benabik Select.readline?
14:46 benabik Oh!  Socket.
14:46 moritz sorry
14:46 * moritz braindead
14:46 whiteknight benabik: yes, length checking would work very well for the positionals
14:47 whiteknight okay, I have to go now. I have to see a man about a house
14:47 JimmyZ joined #parrot
14:47 benabik moritz: No big deal.  I'm just not awake enough to realize what you meant quickly.
14:47 moritz have fun^Wsuccess :-)
14:47 benabik 'luck1
14:47 benabik s/1/!
14:47 whiteknight Thanks!
15:55 ilbot2 joined #parrot
15:55 Topic for #parrot is now Parrot 3.10.0 "Apple Pi" | http://parrot.org | Log: http://irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
16:02 * Coke is all for saneifying the build system.
16:03 Coke checking in built files doesn't help with that process.
16:11 dukeleto ~~
16:27 dalek Guitor: e069557 | NotFound++ | examples/graph.winxed:
16:27 dalek Guitor: a bit more eye candy in example graph
16:27 dalek Guitor: review: https://github.com/NotFoun​d/Guitor/commit/e0695578fb
16:38 contingencyplan joined #parrot
16:41 cotto ~~
16:57 dmalcolm joined #parrot
16:58 dalek rakudo/nom: f0ac58c | coke++ | tools/autounfudge.pl:
16:58 dalek rakudo/nom: add more on-demand debug output
16:58 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/f0ac58cdda
17:09 davidfetter joined #parrot
17:25 zby_home joined #parrot
17:35 dalek Guitor: 7d438ce | NotFound++ | / (4 files):
17:35 dalek Guitor: constants for GC logical functions - use constants consistently in examples
17:35 dalek Guitor: review: https://github.com/NotFoun​d/Guitor/commit/7d438ceb36
17:43 fperrad joined #parrot
17:50 ambs joined #parrot
19:01 lucian joined #parrot
19:42 dalek nqp: e680f11 | moritz++ | tools/build/PARROT_REVISION:
19:42 dalek nqp: bump parrot revision
19:42 dalek nqp: review: https://github.com/perl6/nqp/commit/e680f11467
19:43 dalek rakudo/nom: 2b31355 | moritz++ | / (2 files):
19:43 dalek rakudo/nom: implement input-line-separator on IO::Socket::INET (not yet tested, but not regressing either)
19:43 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/2b31355165
20:23 schmooster joined #parrot
20:29 Yuki`N joined #parrot
21:11 perlite joined #parrot
21:52 blaise joined #parrot
21:53 alester joined #parrot
21:53 alester seen dukeleto
21:53 aloha dukeleto was last seen in #parrot 5 hours 42 mins ago saying "~~".
21:55 jsut_ joined #parrot
22:02 alvis msg dukeleto got your msg 'bout the vm spec. thank you.
22:02 aloha OK. I'll deliver the message.
22:02 alvis seen NotFound
22:02 aloha NotFound was last seen in #parrot 1 days 19 hours ago saying "cotto: doesn't matter, just let people send money and we'll manage to find something to do with it ;)".
22:04 NotFound ~~
22:04 alvis NotFound: Hello.  Got a coupl'a questions: Are you familiar with the JVM Specification?
22:05 NotFound I know it exists ;)
22:05 alvis NotFound: Ok, well, I'm thinking about doing something similar for Parrot and in it, it features Java ...
22:06 alvis NotFound: so, I was wondering if you'd be opposed to me featuring Winxed?
22:06 cotto unsurprisingly
22:06 alvis cotto: :)
22:06 cotto +1 (or more)
22:06 benabik JVM spec was amazingly clear when I had to work with it.
22:06 cotto We should encourage things that aren't PIR.
22:07 NotFound alvis: featuring in what sense? Providind example or test code in it?
22:07 alvis cotto: right, i'd also like to do nqp-rx, at least.
22:07 benabik I like the Anything but PIR ticket for 2012.  :-D
22:07 alvis benabik: Yeah, that's one of the virtues of the spec or any spec: clarity.
22:08 NotFound Anyway, I don't oppose the use of winxed for anything. On the contrary, I encourage world domination.
22:08 alvis NotFound: Basically, a syntactic and semantic description of the language, along with example code (like your examples)
22:09 alvis NotFound: Ok, thanks.  I wanted to ask you _before_ I included it in my proposal for a Parrot VM Specification document.
22:10 NotFound alvis: if you want clarity, I proclaim here, in front of the parrot community, that I authorize and encourage you.
22:11 alvis NotFound: Ha! :) Good 'nough!
22:12 PerlJam NotFound: does that mean that you want alvis to re-write most of the parrot core in winxed?  ;)
22:12 alvis cotto: Do you have any other language(s) you think I should look at for consideration or inclusion?
22:12 Yuki`N I for one encourage things not in PIR.
22:12 NotFound (maybe I've should be used majestic plural?)
22:12 PerlJam NotFound: you should have said "Hear ye! Hear ye!" too
22:13 benabik For a VM spec, PIR is actually one of the better things to use at the moment.  PASM might be better if it's actually functional (which I have little proof of at the moment).
22:13 NotFound I have enough problems with present days english, won't try medieval.
22:14 benabik I'd discourage nqp-rx for the purpose as what it generates isn't really clear.
22:14 alvis benabik: Well ..., there will have to be some (don't know how much, at this point) recourse to PIR.
22:14 benabik (Not that I was asked.  >.>  <.< )
22:15 alvis benabik: ... and it's sooo slow.  haven't had the chance to figure out why. <shrugs>
22:15 PerlJam alvis: could you comparatively quantify the slowness?
22:16 benabik My guess on nqp-rx speed is find/store_lex being slow and it using Integer and Float PMCs instead of I and N registers.
22:16 benabik PerlJam: My nqp-rx PCT port took about 2x the time to compile Rakudo.
22:16 cotto NotFound: I feel the same way about nqp-rx.  Also, it's designed for people interested in Rakudo more than as a general-purpose language.
22:16 nbrown joined #parrot
22:17 benabik And nqp-rx generating way too many find/store_lex ops…  I wonder if we could use mls++'s directaccess additions to improve that.
22:17 cotto alvis: only winxed comes to mind atm.
22:18 alvis PerlJam: Not at the moment, but on the tests I've ran, it really lags.
22:18 NotFound Guys, be nice. Don't say that nqp is slow, just say that winxed is fast ;)
22:18 benabik nqp is reasonable, AFAICT.  nqp-rx is slow.  ;-)
22:18 Yuki`N msg dukeleto i've got some code for you to review: http://www.google-melange.com/gci​/task/view/google/gci2011/7197337
22:18 aloha OK. I'll deliver the message.
22:19 Yuki`N I'm suprised by the relative speed of winxed.
22:19 Yuki`N Given that it's running on an interpretive VM, it's not that bad.
22:20 benabik For sheer numerical work, Parrot should be pretty good.  :-D  There are some pain points in our object system, though.  :-/
22:21 Yuki`N I propose JIT should be a GSoC project.
22:22 NotFound The drawing of R->R functions in the graph example of Guitor looks reasonably fast. Have somenone looked at it?
22:26 alvis Ok, just to be clear, the general consensus for inclusion in a PVM Spec is winxed (and some) PIR?
22:26 NotFound +1
22:27 alvis and I will submit a well-formulated question about the same to parrot-dev/parrot-users.
22:36 dalek Guitor: 7145f6d | NotFound++ | / (3 files):
22:36 dalek Guitor: font getHeight and example of using font metrics
22:36 dalek Guitor: review: https://github.com/NotFoun​d/Guitor/commit/7145f6d03a
22:41 whiteknight joined #parrot
22:42 lucian joined #parrot
22:46 whiteknight good evening, #parrot
22:47 cotto hio whiteknight
22:47 whiteknight hello cotto
22:54 NotFound whiteknight: the change you propose for winxed will work with the current release, or depends on master?
23:19 whiteknight NotFound: depends on master
23:19 whiteknight I added that second parameter to master yesterday
23:21 NotFound whiteknight: I'm going to wait a few days, then.
23:21 whiteknight okay, no rush
23:36 awwaiid joined #parrot
23:46 dalek Guitor: bf014ba | NotFound++ | / (3 files):
23:46 dalek Guitor: some fontmetrics for fontsets
23:46 dalek Guitor: review: https://github.com/NotFoun​d/Guitor/commit/bf014baa02
23:55 dalek Guitor: 04999fa | NotFound++ | examples/text.winxed:
23:56 dalek Guitor: Ops, this was just for testing
23:56 dalek Guitor: review: https://github.com/NotFoun​d/Guitor/commit/04999fa24f

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

Parrot | source cross referenced