Camelia, the Perl 6 bug

IRC log for #parrot, 2012-03-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:12 benabik joined #parrot
00:15 dalek Rosella: 6f0e006 | Whiteknight++ | src/ (3 files):
00:15 dalek Rosella: [Net] Update MimeBase64 to try and make it unicode-capable. Untested
00:15 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/6f0e00657c
00:15 dalek Rosella: ec859c9 | Whiteknight++ | src/ (29 files):
00:15 dalek Rosella: [Builtins] Rename/rearrange a few builtins. We want to separate them from Parrot opcodes and make more clear what they do
00:15 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/ec859c9e84
00:15 dalek Rosella: 4b543db | Whiteknight++ | src/include/Builtins.winxed:
00:15 dalek Rosella: [Builtins] Remove a few unused and unneeded builtins. We can add them back-in later
00:15 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/4b543db3c2
00:15 dalek Rosella: 38fb630 | Whiteknight++ | src/dumper/Dump (2 files):
00:15 dalek Rosella: [Dumper] A few fixes to dumper I found while testing
00:15 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/38fb630cf5
00:15 dalek Rosella: 6535ea8 | Whiteknight++ | s (6 files):
00:15 dalek Rosella: [Xml] Add in a new stub xml parsing library. I said I wasn't going to write one, I lied.
00:15 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/6535ea8d01
00:22 benabik joined #parrot
00:27 dalek Rosella: c842b28 | Whiteknight++ | src/dumper/ (2 files):
00:27 dalek Rosella: [Dumper] Fix the Object dumper to recurse the MRO and print all non-overridden attributes
00:27 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/c842b28bd5
00:41 dalek Rosella: 8f25934 | Whiteknight++ | src/unstable/xml/ (4 files):
00:41 dalek Rosella: [Xml] Add in a .to_xml method to generate xml code again from a Document
00:41 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/8f25934ede
01:02 jashwanth joined #parrot
01:03 jashwanth hello whiteknight
01:07 whiteknight hello jashwanth
01:09 jashwanth did you check the mail
01:10 whiteknight yes I did. I sent a copy to dukeleto also
01:11 jashwanth oh any feed backs
01:13 whiteknight Overall, it looks very good
01:15 jashwanth really thanks
01:16 whiteknight the week of August 6, you mention you will be doing testing. You should be testing a little bit every week, and not save problems till the end
01:16 whiteknight I suggest you change your plan to not spend a whole week testing
01:16 jashwanth ok
01:16 whiteknight and July 23rd week, you say the same
01:16 whiteknight if you need to expand your timeline to allow more time for testing, you can do that
01:18 jashwanth actually I was looking forward to do the same
01:18 whiteknight ok
01:18 jashwanth but since I had to write the same for two consecutive weeks
01:19 jashwanth I split writing and testing into two
01:19 whiteknight Write a list of features you can cut out if you are behind schedule, so you know how to prioritize
01:19 whiteknight and include a few ideas of things to add if you are moving faster than expected
01:20 whiteknight if your time line is not accurate, we need to know what to do
01:20 jashwanth can I combine such 2 weeks of schedule into one
01:20 jashwanth I wrote about the extra topics in the end
01:21 jashwanth * If the project is ahead of schedule will try and add some more functions such as singular value decomposition,cramer's rule,using the decompositions to solve linear equations.
01:21 jashwanth I need to add about cutting down of things
01:23 jashwanth yes I also put the cases for the timeline not being accurate all of these I wrote after post coding starting with "*"
01:27 jashwanth "can I combine such 2 weeks of schedule into one" because I need atleast two weeks for developing and testing a particular topic
01:27 jashwanth Or should I write the same sentence for both the week
01:33 whiteknight yes, you can work on the same thing for more than one week, if you think it will take that long
01:35 jashwanth should I combine the weeks and write a combine description or just write the same for both the weeks
01:37 whiteknight try to cut it in half as best as you can
01:37 whiteknight don't write the same thing for both weeks
01:39 jashwanth Ok if you are free can you send a mail pointing out the errors and possible corrections I could make
01:41 jashwanth also is it ok to write the the cases in the end where I have provided "*" and written them
01:41 whiteknight yes, I will put together an email for you
01:41 whiteknight yes
01:45 jashwanth by the way where do you live in usa
01:45 whiteknight Philadelphia, PA
01:46 jashwanth about the blog
01:46 whiteknight yes
01:46 jashwanth I have never written one till date
01:46 jashwanth can you help me out with this
01:48 whiteknight yes, it's easy. We have blogs on parrot.org that you can use if you need
01:48 whiteknight You type up your thoughts and click the publish button
01:48 whiteknight You can also make a blog on github if you want
01:49 jashwanth oh I didnt know it was that simple
01:49 jashwanth thanks
01:49 sorear moritz: why do you manually +o people
01:49 sorear whiteknight: dalek should be fixed now.
01:50 whiteknight sorear: yes, I've already [ab]used it
01:51 kid51 In fact, last year, IIRC, it was a *requirement* that GSOC students blog at parrot.org
01:51 whiteknight kid51: yes, I don't know if we have a policy about that yet
01:51 kid51 Personally, I liked that (though others did not)
01:51 whiteknight kid51: I don't care either way. So long as they show up on the aggregator I'm happy
01:52 kid51 It made *very* clear which GSOCers were making progress and which were, umm, out to lunch
01:52 jashwanth I will be blogging any way
01:53 jashwanth since I have not done it till now I will be doing it now
01:53 whiteknight kid51: yes, that's true
01:54 kid51 The only problem with the aggregator is ... having to scroll down all the way past the posts by that guy from Philadelphia ;-)
01:55 whiteknight well, if other people would blog more my problems would be less obvious
02:01 dukeleto ~~
02:01 jashwanth dukeleto:hello
02:02 dukeleto jashwanth: howdy!
02:02 dukeleto jashwanth: i see your proposal in my email :)
02:03 jashwanth yes
02:03 jashwanth did you look at it
02:03 dukeleto jashwanth: i did
02:03 dukeleto jashwanth: does the PLA test suite currently pass on your machine?
02:04 jashwanth dukeleto:yes
02:04 dukeleto jashwanth: good
02:04 jashwanth dukeleto:hoe is the proposal
02:05 dukeleto jashwanth: is there no lapack support at all currently in PLA?
02:05 dukeleto jashwanth: i haven't looked at it in a while
02:05 dukeleto jashwanth: lapack has many thousands of functions, yes?
02:05 dukeleto jashwanth: i suggest you list the exact functions you plan to support, document and test
02:06 jashwanth dukeleto:tes
02:06 dukeleto jashwanth: "Final touchups to the project" is too vague
02:06 jashwanth dukeleto:yes
02:06 dukeleto jashwanth: for each week, you should list the exact features you plan to work on
02:06 dukeleto jashwanth: everyone knows that the plan will change
02:06 dukeleto jashwanth: but you still need a detailed plan
02:06 dukeleto jashwanth: makes sense?
02:06 jashwanth yes
02:07 dukeleto jashwanth: decide on the most important 50 lapack functions, or the most important 10 in each subsystem, or something like that
02:07 jashwanth ok
02:08 dukeleto jashwanth: and research how many functions are in lapack and/or how many are in each subsystem of lapack you want to support
02:08 dukeleto jashwanth: ok, i need to eat dinner
02:08 dukeleto jashwanth: email more questions to parrot-dev, cc me and/or ask in here :)
02:08 * dukeleto .eat($dinner)
02:08 jashwanth then rewrite the timeline stating their usage precisely
02:10 jashwanth whiteknight:can you guide with selecting them
02:13 dalek Rosella: a8d6c7b | Whiteknight++ | s (3 files):
02:13 dalek Rosella: [Xml] don't include empty stretches of whitespace as text literals
02:13 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/a8d6c7bc91
02:13 whiteknight jashwanth: yes, I can help select them. Right now I am going to bed
02:13 whiteknight I will look at the list tomorrow
02:13 jashwanth ok talk to you tomorrow
02:13 whiteknight goodnight
02:17 kid51 Is there one person mainly responsible for the 'threads' branch?
02:18 benabik kid51: I think it's mostly nine's work
02:19 kid51 I'm building/testing it for the first time tonight.
02:19 kid51 with --optimize
02:19 kid51 But it seems to be hanging at the end of 'make test'.
02:46 kid51 Have posted to list about that.
03:58 nbrown joined #parrot
05:46 fperrad joined #parrot
06:07 dalek parrot: 1c0e26c | dukeleto++ | src/platform/generic/dl.c:
06:07 dalek parrot: Merge remote-tracking branch 'origin/gh363/dlclose'
06:07 dalek parrot: review: https://github.com/parrot/parrot/commit/1c0e26caf9
06:10 ttbot Parrot 1c0e26ca darwin-thread-multi-2level make error http://tt.taptinder.org/cmdinfo/77425
06:11 dukeleto blargpoop
06:16 dukeleto that is an odd error.
07:56 dolmen joined #parrot
07:58 mj41 joined #parrot
08:02 dolmen joined #parrot
08:27 lucian joined #parrot
09:27 mj41 joined #parrot
09:50 mj41 joined #parrot
10:07 bacek joined #parrot
10:24 jsut joined #parrot
11:01 jashwanth joined #parrot
11:47 lucian joined #parrot
12:06 whiteknight joined #parrot
12:06 whiteknight good morning, #parrot
12:17 jashwanth whiteknight:hello
12:18 whiteknight hello jashwanth
12:44 nine Good evening, #parrot
12:45 tadzik good afternoon nine
12:47 whiteknight hello nine, tadzik
12:47 whiteknight nine: your threading branch is looking more and more awesome every day
12:50 nine whiteknight: Thanks... I hope so. Been working on it every day :)
13:08 whiteknight awesome, you should be really proud of what you've accomplished in only a few months
13:09 whiteknight I hope we can get the last remaining issue (ie windows support) ironed out and get this all into master without too much delay
13:10 nine Seems like build is broken on master again.
13:16 nine dukeleto: you broke the build with 6050332f3afd125ed606e0e94f85e945888934e6 is the first bad commit
13:27 dalek parrot: 0488f0a | nine++ | src/platform/generic/dl.c:
13:27 dalek parrot: Unbreak the build on gcc broken by 6050332f3afd125ed606e0e94f85e945888934e6
13:27 dalek parrot: review: https://github.com/parrot/parrot/commit/0488f0afde
13:32 PacoAir joined #parrot
13:32 dalek parrot: 905dba7 | nine++ | src/platform/generic/dl.c:
13:32 dalek parrot: Fix codingstd violations in src/platform/generic/dl.c
13:32 dalek parrot: review: https://github.com/parrot/parrot/commit/905dba7eb3
13:32 dalek parrot/threads: 3e9ca81 | NotFound++ | ext/winxed/compiler.pir:
13:32 dalek parrot/threads: update winxed snapshot to 375562d
13:32 dalek parrot/threads: - Default values in multiassign
13:33 dalek parrot/threads: - Minor fixes
13:33 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/3e9ca81f2f
13:33 dalek parrot/threads: 1c0e26c | dukeleto++ | src/platform/generic/dl.c:
13:33 dalek parrot/threads: Merge remote-tracking branch 'origin/gh363/dlclose'
13:33 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/1c0e26caf9
13:33 dalek parrot/threads: 1596021 | nine++ | / (23 files):
13:33 dalek parrot/threads: Merge branch 'master' into threads
13:33 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/1596021e87
13:34 dalek rakudo/nom: dab5893 | moritz++ | src/core/Str.pm:
13:34 dalek rakudo/nom: make unbase moderately magic again
13:34 dalek rakudo/nom:
13:34 dalek rakudo/nom: This now allows 0x and 0o in :16(), but 0d is correctly interpreted as
13:34 dalek rakudo/nom: a hex byte, not a prefix for decimal. pmichaud++
13:34 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/dab5893e3d
13:34 dalek parrot/threads: 0488f0a | nine++ | src/platform/generic/dl.c:
13:34 dalek parrot/threads: Unbreak the build on gcc broken by 6050332f3afd125ed606e0e94f85e945888934e6
13:34 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/0488f0afde
13:34 dalek parrot/threads: 905dba7 | nine++ | src/platform/generic/dl.c:
13:34 dalek parrot/threads: Fix codingstd violations in src/platform/generic/dl.c
13:34 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/905dba7eb3
13:34 dalek parrot/threads: 7f07581 | nine++ | src/platform/generic/dl.c:
13:34 dalek parrot/threads: Merge branch 'master' into threads
13:34 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/7f07581072
14:10 dalek parrot/threads: 79df6e1 | nine++ | / (7 files):
14:10 dalek parrot/threads: Fix codingstd violations in threads code
14:10 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/79df6e11f7
14:37 dalek rakudo/nom: 5793035 | moritz++ | t/spectest.data:
14:37 dalek rakudo/nom: run t/spec/S12-enums/thorough.t
14:37 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/579303592a
15:38 dalek Rosella: ba6372d | Whiteknight++ | s (3 files):
15:38 dalek Rosella: [Xml] Rearrange some interfaces, add the ability to read/write documents to file
15:38 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/ba6372d037
15:38 dalek Rosella: fc262e2 | Whiteknight++ | src/dumper/Dumper.winxed:
15:38 dalek Rosella: [Dumper] Add a convenience method to dump data out to stdout
15:38 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/fc262e2d0d
15:38 dalek Rosella: 55bd732 | Whiteknight++ | src/unstable/xml/ (5 files):
15:38 dalek Rosella: [Xml] More bounds-checking during xml parse to avoid certain common errors.
15:38 dalek Rosella: Fix .to_xml to use indents and newlines to be slightly prettier.
15:38 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/55bd732995
15:38 dalek Rosella: 9aed78e | Whiteknight++ | src/unstable/xml/ (3 files):
15:38 dalek Rosella: [Xml] Change indent string generation to an inline
15:38 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/9aed78e7c6
15:38 dalek Rosella: 7450796 | Whiteknight++ | src/unstable/xml/ (2 files):
15:38 dalek Rosella: [Xml] two TODO notes for later
15:38 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/7450796965
15:56 hercynium joined #parrot
16:13 jashwanth joined #parrot
17:01 dalek joined #parrot
17:12 dalek parrot: 6a4efe6 | nine++ | src/ops/core_ops.c:
17:12 dalek parrot: make bootstrap-ops which should have been done with 945d1c8b0591591e4fff4a4fa24713a39998d3d6
17:12 dalek parrot: review: https://github.com/parrot/parrot/commit/6a4efe6b37
17:29 dalek parrot/threads: 6a4efe6 | nine++ | src/ops/core_ops.c:
17:29 dalek parrot/threads: make bootstrap-ops which should have been done with 945d1c8b0591591e4fff4a4fa24713a39998d3d6
17:29 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/6a4efe6b37
17:29 dalek parrot/threads: cb851e6 | nine++ | src/ops/core_ops.c:
17:29 dalek parrot/threads: Merge branch 'master' into threads
17:29 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/cb851e65fe
17:29 dalek parrot/threads: cb939b4 | nine++ | / (4 files):
17:29 dalek parrot/threads: Make task.'send' and receive work with threads
17:29 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/cb939b4b4f
17:55 mj41 joined #parrot
18:03 dalek joined #parrot
18:06 dalek parrot/threads: e32f39e | nine++ | / (2 files):
18:06 dalek parrot/threads: Fix race condition in wait for the only extremely short task
18:06 dalek parrot/threads:
18:06 dalek parrot/threads: With only one task on the main thread and one extra task, if the main
18:06 dalek parrot/threads: task waits immediately for the extra task, it gets suspended. If the
18:06 dalek parrot/threads: extra task is extremely short, it can be already finished when the main
18:06 dalek parrot/threads: scheduler checks the foreign tasks and removes the killed ones. Between
18:06 dalek parrot/threads: the main thread realizing that it has no tasks anymore and that all
18:06 dalek parrot/threads: foreign tasks are completed the waiting main task could be scheduled but
18:06 dalek parrot/threads: the scheduler would not check for this anymore and exit the program.
18:06 dalek parrot/threads:
18:06 dalek parrot/threads: Fixed by rechecking for scheduled tasks after filtering killed foreign
18:06 dalek parrot/threads: tasks. Also needed is a lock when checking the killed flag of a task so
18:06 dalek parrot/threads: that either a task is still running or it is killed and the waiting task
18:06 dalek parrot/threads: scheduled but not killed and still having to schedule.
18:07 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/e32f39efcb
18:08 whiteknight nine: That looks like a doozie of a bug to fix
18:11 nine whiteknight: it was actually one of the simpler ones since I new that wait works usually but it pretty reliably did not when using it in the very very simple case in task.t. So there could not have been many reasons for the program exiting without an error.
18:20 nine How should I call the ops for disabling/enabling preemption?
18:20 whiteknight what do you mean?
18:21 nine whiteknight: http://niner.name/Hybrid_Th​reads_for_the_Parrot_VM.pdf page 23 third paragraph
18:24 whiteknight disable_preemption and enable_preemption are both fine
18:24 whiteknight do those nest?
18:24 nine I'm against nesting
18:25 nine Would be much more involved to implement and doesn't make the user's code better... See it like a CLI/STI in x86 assembly
18:25 nine I should probably include this comparison in the paper
18:26 whiteknight the enable/disable just a flag? Couldn't it be a count?
18:26 whiteknight (I'm not arguing the point, I'm just trying to understand your reasoning)
18:28 nine It's just a flag right now. The argument about user code is basically from http://www.zaval.org/resour​ces/library/butenhof1.html
18:29 dukeleto ~~
18:30 dukeleto nine++ for fixing my dlopen junk.
18:37 cotto ~~
18:39 whiteknight nine: I only worry about a case where a function disables preemption and then calls a library function which disables/enables
18:40 whiteknight so then it's re-enabled before the caller expects
18:47 whiteknight maybe calling disable_preemption when it's already disabled should throw an error, so the programmer knows
18:49 whiteknight or, enable_preemption when it's already enabled, et
18:53 alester joined #parrot
19:00 dmalcolm joined #parrot
19:24 brambles joined #parrot
19:37 nine whiteknight: throwing an error sounds like a very good idea
19:40 whiteknight It seems like principle of least surprise. If we don't support nesting, don't let users do it
19:45 dalek rakudo/nom: edb1989 | moritz++ | t/spectest.data:
19:45 dalek rakudo/nom: we pass another test. Just like this.
19:45 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/edb1989eee
19:45 dalek rakudo/nom: 3f7d5c2 | moritz++ | t/spectest.data:
19:45 dalek rakudo/nom: we pass some more macro tests
19:45 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/3f7d5c2e07
19:46 whiteknight We're also going to have to come up with some "best practices" with regards to when libraries should lock and when user code should
19:57 dalek rakudo/nom: 431a3fa | moritz++ | t/spectest.data:
19:57 dalek rakudo/nom: run another test file
19:57 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/431a3fac76
19:59 nine Tomorrow I'm gonna do a new benchmark, probably matrix multiplication or such. I'm very curious how we do at this. Should be much more in our favor :)
20:00 nine So...finally submitted my application for the master's degree
20:01 dalek rakudo/nom: 2e851f2 | moritz++ | t/spectest.data:
20:01 dalek rakudo/nom: run S05-metasyntax/assertions.t
20:01 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/2e851f23f3
20:03 whiteknight nine++
20:03 whiteknight nine++
20:03 whiteknight nine++
20:07 dukeleto nine++
20:11 PacoAir joined #parrot
20:16 moritz nine++
20:24 whiteknight I'm actually really psyched to start getting Rakudo using the new threads mechanisms
20:24 whiteknight easy task dispatching should make operator autothreading pretty easy
20:24 whiteknight well, easy to implement
20:24 whiteknight whether it produces any performance wins for common cases is another question
20:24 dukeleto http://mozakai.blogspot.com/2012/03/ho​wto-port-cc-library-to-javascript.html
20:27 whiteknight dukeleto: Pass the result to jaesop and you end up with (very ugly) winxed code
20:28 dukeleto whiteknight: indeed.
20:29 whiteknight assuming jaesop won't completely shit the bed with such large input
20:29 dukeleto whiteknight: :)
20:29 whiteknight anyway, it's time for me to go. Later
20:50 lucian joined #parrot
20:53 perlite_ joined #parrot
20:53 d4l3k_ joined #parrot
20:55 tadzik joined #parrot
20:58 _mayank joined #parrot
20:58 pmichaud joined #parrot
20:58 PerlJam joined #parrot
21:14 dalek joined #parrot
21:14 hercynium left #parrot
21:15 PerlJam joined #parrot
21:15 pmichaud joined #parrot
21:17 tadzik joined #parrot
21:18 Util joined #parrot
21:18 Coke joined #parrot
21:20 masak joined #parrot
21:25 bacek ~~
21:25 bacek msg whiteknight I do want to unmerge it... https://github.com/parrot/parrot/commit/​68bf472934e0df8e404fa15b4bab449dd38d4198
21:25 aloha OK. I'll deliver the message.
21:41 benabik ~~
22:27 alester joined #parrot
23:01 whiteknight joined #parrot
23:24 kid51 joined #parrot
23:39 alester joined #parrot

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

Parrot | source cross referenced