Camelia, the Perl 6 bug

IRC log for #parrot, 2011-07-13

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:01 dalek parrot: da6b544 | NotFound++ | src/platform/win32/error.c:
00:01 dalek parrot: 'TODO: Support Unicode error messages' in platform win32 done
00:01 dalek parrot: review: https://github.com/parrot/parrot/commit/da6b544d52
00:05 logie left #parrot
00:24 whiteknight joined #parrot
00:25 whiteknight The good news: The install of Ubuntu 10.04 worked perfectly and I didn't lose any of my data.
00:26 whiteknight The bad news: My mouse is still not working correctly, so it wasn't a software problem
00:28 cotto_work At least you can work around it with a usb moose.
00:29 jay ping bubaflub
00:34 whiteknight I don't have a USB mouse right now
00:34 whiteknight so I need to get one of those
00:40 theory left #parrot
00:41 whiteknight I guess that is high up on my list of priorities now
00:42 jay hardware troubles, whiteknight?
00:42 whiteknight jay: Yeah. The trackpad on my laptop has been misbehaving in some extremely frustrating ways
00:42 whiteknight it started shortly after a software update, so I was hopeful it was a software problem
00:43 whiteknight but moving back to Ubuntu 10.04 doesnt seem to have helped
00:43 jay I have a pile of mice... if you happen to be in New Haven...
00:43 whiteknight I just threw away a box of them. We've been cleaning the apartment in preparation for moving to a new place
00:43 jay Driver problem you think?
00:44 jay Or can you dual-boot into Windows to see if it's a hardware problem?
00:44 rurban_ joined #parrot
00:44 whiteknight That's what I thought originally, but the problem persists with the older ubuntu
00:44 whiteknight I've been using ubuntu on here continously since 8.04, upgrading every few months with few hiccups
00:44 NotFound whiteknight: two remaining problems in os tests on windows: one is perl's fault, the other is that creating a hard link requires windows 2000 or something
00:44 whiteknight so I know it used to work with 10.04
00:45 whiteknight NotFound: the hard-link test, is that an OS PMC test?
00:45 jay Ah... I've never gone that long.  I'm a big fan of fresh installs.
00:45 NotFound whiteknight: os.link
00:45 whiteknight my windows environment is 64-bit windows 7
00:45 whiteknight NotFound: We should just skip that test on Windows
00:45 NotFound whiteknight: then that test should pass for you now.
00:45 rurban left #parrot
00:45 rurban_ is now known as rurban
00:45 whiteknight NotFound: it does pass for me
00:46 whiteknight the only tests I saw failing this morning were debug.t and nciutils.t
00:46 NotFound And the silly name one?
00:46 whiteknight the silly name one?
00:47 NotFound readdir with a file with a funny face in its name.
00:47 NotFound Test number 13
00:48 NotFound skipped only if msvc... funny.
00:50 NotFound I think the problem is related to windows console. If the console is using utf8 it may work.
00:51 NotFound 'cause the file with funny name is created from perl.
00:54 NotFound Too tired now, bye
01:07 whiteknight hmmm, I haven't seen that problem on my platform
01:08 lichtkind joined #parrot
01:13 lichtkind left #parrot
01:14 sigsegv joined #parrot
01:15 sigsegv hi guys.
01:21 whiteknight hello sigsegv
01:23 woosley joined #parrot
01:25 sigsegv having to send a PCLA is a bit burocratic. is it actually required?
01:25 rurban_ joined #parrot
01:27 sorear only if you want to commit changes
01:27 sorear and it's spelled bureaucratic
01:28 whiteknight sorear: no biting!
01:28 whiteknight sigsegv: yeah, it's only for committers. Anybody can submit patches or whatever without one
01:28 rurban left #parrot
01:28 sigsegv hehe, no problem. I know my english is so bad :)
01:28 rurban_ is now known as rurban
01:30 kid51 joined #parrot
01:31 kid51 whiteknight: ping
01:31 whiteknight pong
01:31 kid51 Did you have a chance to do a smoke test on Win32?
01:33 kid51 Different subject: Does anyone know why on http://smolder.parrot.org/a​pp/projects/smoke_reports/1 some smoke report summaries contain Revision while others don't?
01:34 kid51 (The ones lacking Revision are much less useful.)
01:35 kid51 (Full disclosure: My latest Smolder is lacking a Revision entry.)
01:36 sigsegv hehe
01:37 whiteknight kid51: git on windows is a tricky subject
01:38 whiteknight on my machine, I don't have git available so I don't have a revision
01:39 kid51 But my problem is on my Linux box, where I very definitely have git
01:40 kid51 Uh-oh, here's the problem.
01:40 kid51 lib/Parrot/Harness/Smoke.pm consults $PConfig{git_describe} ... which is no longer defined!
01:43 whiteknight weird
01:43 whiteknight sigsev: are you interested in hacking on parrot?
01:43 whiteknight we like new hackers!
01:43 daniel-s joined #parrot
01:44 sigsegv whiteknight: yes. :)
01:44 whiteknight sigsev: What kind of stuff do you program? What languages do you know?
01:45 sigsegv I'm looking for new project to contribute...
01:46 whiteknight sigsev: If you have an account on github, you can fork parrot and start hacking
01:46 whiteknight We can pull in your work when you have good things
01:46 whiteknight and if you have questions, you can always come here to talk!
01:48 dalek nqp/qregex: 838f6cd | pmichaud++ | / (5 files):
01:48 dalek nqp/qregex: Backtrack captures and backreferences.
01:48 dalek nqp/qregex: review: https://github.com/perl6/nqp/commit/838f6cd613
01:49 * whiteknight is going to bed. Goodnight
01:49 whiteknight left #parrot
02:06 dalek parrot: 23a0a42 | jkeenan++ | / (3 files):
02:06 dalek parrot: Remove file testing abandoned config step auto::git_describe.  Provide updated
02:06 dalek parrot: way for getting 'git describe'-ish value for smoke reports.
02:06 dalek parrot: review: https://github.com/parrot/parrot/commit/23a0a422b4
02:17 daniel-s left #parrot
02:18 sigsegv left #parrot
02:19 sigsegv joined #parrot
02:20 sigsegv is now known as Felipe
02:27 dalek parrot/soh-cah-toa/hbdb: 7064e7e | soh_cah_toa++ | include/parrot/hbdb.h:
02:27 dalek parrot/soh-cah-toa/hbdb: Added HBDB_BREAK status flag because I will need it soon.
02:27 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/7064e7e25d
02:27 dalek parrot/soh-cah-toa/hbdb: e294495 | soh_cah_toa++ | include/parrot/hbdb.h:
02:27 dalek parrot/soh-cah-toa/hbdb: Changed "skip" field in hbdb_breakpoint_t to unsigned since it's impossible for it to be less than 0.
02:27 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/e294495709
02:27 dalek parrot/soh-cah-toa/hbdb: 950e837 | soh_cah_toa++ | include/parrot/hbdb.h:
02:27 dalek parrot/soh-cah-toa/hbdb: Changed my mind about the previous commit. Setting "skip" to -1 will signal a disabled breakpoint.
02:27 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/950e83759c
02:27 dalek parrot/soh-cah-toa/hbdb: 3f2843c | soh_cah_toa++ | / (2 files):
02:27 dalek parrot/soh-cah-toa/hbdb: Added initial implementation of "run" command. Also started "continue" but ended up redesigning "run" not to rely on it so it doesn't do anything just yet.
02:27 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/3f2843c34f
02:27 dalek parrot/soh-cah-toa/hbdb: ef16714 | soh_cah_toa++ | src/hbdb.c:
02:27 dalek parrot/soh-cah-toa/hbdb: Removed STUB in hbdb_get_command() that wasn't needed anymore.
02:27 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/ef167143fe
02:27 dalek parrot/soh-cah-toa/hbdb: 875c525 | soh_cah_toa++ | / (2 files):
02:27 dalek parrot/soh-cah-toa/hbdb: Made continue_running() static to limit its scope to src/hbdb.c.
02:27 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/875c525ae9
02:27 dalek parrot/soh-cah-toa/hbdb: 342b496 | soh_cah_toa++ | src/hbdb.c:
02:27 dalek parrot/soh-cah-toa/hbdb: Added the ASSERT_ARGS macro inside continue_running().
02:27 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/342b4964da
02:27 dalek parrot/soh-cah-toa/hbdb: 6e3bfc5 | soh_cah_toa++ | src/hbdb.c:
02:28 dalek parrot/soh-cah-toa/hbdb: Added check_file_exists() to reduce duplicate code for verifying that a file has been loaded into memory. Also re-alphabetized function definitions and a few declarations in command_table.
02:28 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/6e3bfc5d26
02:28 kid51 When ya got it, flaunt it baby, flaunt it!
02:28 soh_cah_toa :)
02:33 theory joined #parrot
02:37 bubaflub ~
02:37 bubaflub pong jay
02:42 theory left #parrot
02:44 kid51 left #parrot
02:55 jay pong bubaflub.  May have missed you.
02:56 bubaflub jay: nope.  sorry, i was out to dinner earlier.  i just replied to your email.
02:57 jay And I just got back from the pool.  Just got it... just a sec.
02:58 bubaflub jay: very nice. lemme know if you have any questions.  i'll probably be on for another half an hour or so.
03:00 jay bubaflub: thanks, that helps.  Though if someone really were happy using PIR and dynamically loading from the lib*.so files, they wouldn't need these projects at all, right?  The goal is just to make things easier?
03:00 bubaflub jay: that's right.  if you just wanted to loadlib and dlfunc everytime you needed something, you wouldn't need this.
03:01 bubaflub jay: though one nice part is the VTABLE overrides; it allows me to do something like x = y + z where x, y, and z are instances of GMP::Integer
03:01 bubaflub and it calls the appropriate function
03:01 jay Ok.  Good -- still very worthwhile, but good to understand the big picture.  I'll trust you on that VTABLE thing.  Beyond my payscale at the moment.
03:03 bubaflub jay: heh.  https://github.com/bubaflub/parrot-gmp/​blob/master/src/GMP/Integer.winxed#L44 and below, all the functions marked with [vtable] if you are interested
03:03 bubaflub jay: my project is more of a foundation for other projects to build on
03:04 dalek tracwiki: v152 | soh_cah_toa++ | Languages
03:04 dalek tracwiki: Updated the URL for Cardinal to link to the active repository.
03:04 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=152&action=diff
03:04 dalek tracwiki: v153 | soh_cah_toa++ | Languages
03:04 dalek tracwiki: Added link to Winxed homepage.
03:04 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=153&action=diff
03:05 jay Of course... I don't think I'm like to be able to get the GSL project as polished and Parrot-integrated as yours, but... we'll see.  I'll have to look at the gmpdoc2winxed.pl carefully before deciding where to go, next.
03:07 bubaflub jay: yeah, GSL is much bigger and more comprehensive than GMP.  probably all you'll really need are a few sub-systems
03:07 jay On the other hand... you can get a lot of mileage out of a script or two...
03:08 bubaflub jay: exactly.  the gmpdoc2winxed script is a bit smarter - it uses Web::Scraper to parse the HTML and then some parsing of that text.
03:08 bubaflub jay: and i intend to refactor those scripts some more so they are more flexible and less tied to GMP; just might not get done till the end of summer.
03:09 jay I just glanced at it...  my perl is pretty rusty, but it is surprisingly short.
03:11 jay I think I'll call it a night -- thanks again, see you tomorrow.
03:11 bubaflub jay: have a good night.
03:19 dalek tracwiki: v154 | soh_cah_toa++ | Languages
03:19 dalek tracwiki: Fixed URL for Pipp to link to its GitHub repository.
03:19 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=154&action=diff
03:19 dalek tracwiki: v155 | soh_cah_toa++ | Languages
03:19 dalek tracwiki: Updated URL's for PIR.
03:19 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=155&action=diff
03:19 dalek tracwiki: v156 | soh_cah_toa++ | Languages
03:19 dalek tracwiki: Added link to Squaak's WikiBooks tutorial.
03:20 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=156&action=diff
03:30 daniel-s joined #parrot
03:35 dalek tracwiki: v157 | soh_cah_toa++ | Languages
03:35 dalek tracwiki: Added link to TAP Wikipedia article for nqpTAP.
03:35 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=157&action=diff
03:40 dukeleto soh_cah_toa++ # wiki gardening
03:41 soh_cah_toa yeah, i'm bored :)
03:44 dukeleto soh_cah_toa: dangerous words....
03:45 soh_cah_toa correction: i don't want to start anything new this late so i'm just "picking up the small trash"
03:46 theory joined #parrot
03:50 soh_cah_toa what's this POD in the languages wiki? the link is dead and i can't seem to find a new repo. has this project been abandoned?
03:51 dalek tracwiki: v158 | soh_cah_toa++ | Languages
03:51 dalek tracwiki: Added NQP as a language and fixed NQP-rx a bit.
03:51 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=158&action=diff
03:51 soh_cah_toa bah, just noticed nqp is already in the "inactive" section :(
04:07 dalek tracwiki: v159 | soh_cah_toa++ | Languages
04:07 dalek tracwiki: Removed NQP from "active" section because I didn't notice it was already in the "inactive" section.
04:07 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=159&action=diff
04:07 dalek tracwiki: v160 | soh_cah_toa++ | Languages
04:07 dalek tracwiki: Updated URL for NQP repository.
04:07 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=160&action=diff
04:07 dalek tracwiki: v161 | soh_cah_toa++ | Languages
04:07 dalek tracwiki: Added link to TAP Wikipedia article for Tapir.
04:07 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=161&action=diff
04:07 dalek tracwiki: v162 | soh_cah_toa++ | Languages
04:07 dalek tracwiki: Added link to PIR Wikipedia article for PIRATE.
04:07 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=162&action=diff
04:07 dalek tracwiki: v163 | soh_cah_toa++ | Languages
04:07 dalek tracwiki: Added link to PostgreSQL Wikipedia article for PL/Parrot.
04:07 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=163&action=diff
04:22 dalek tracwiki: v164 | soh_cah_toa++ | Languages
04:22 dalek tracwiki: Added C and Perl 5 to "Written In" for PL/Parrot.
04:22 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=164&action=diff
04:22 dalek tracwiki: v165 | soh_cah_toa++ | Languages
04:22 dalek tracwiki: Added link to POD Wikipedia article for POD.
04:22 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=165&action=diff
04:22 dalek tracwiki: v166 | soh_cah_toa++ | Languages
04:22 dalek tracwiki: Added links to XML and SAX Wikipedia articles for XML language.
04:22 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=166&action=diff
04:22 dalek tracwiki: v167 | soh_cah_toa++ | Languages
04:22 dalek tracwiki: Added links to .NET and PIR Wikipedia articles for dotnet.
04:22 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=167&action=diff
04:23 dalek tracwiki: v168 | soh_cah_toa++ | Languages
04:23 dalek tracwiki: Added link to "Regular Expression" Wikipedia article for regex.
04:23 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=168&action=diff
04:23 dalek tracwiki: v169 | soh_cah_toa++ | Languages
04:23 dalek tracwiki: Added link to "QuickBASIC" Wikipedia article for BASIC.
04:23 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=169&action=diff
04:23 dalek tracwiki: v170 | soh_cah_toa++ | Languages
04:23 dalek tracwiki: Added link to "Common Lisp" Wikipedia article for Kea-CL and updated the link to its repository.
04:23 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=170&action=diff
04:30 daniel-s left #parrot
04:44 dalek tracwiki: v171 | soh_cah_toa++ | Languages
04:44 dalek tracwiki: Removed Squaak from "Inactive" section since it's in the "Active" section.
04:44 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=171&action=diff
04:44 dalek tracwiki: v172 | soh_cah_toa++ | Languages
04:44 dalek tracwiki: Added link to Perl 5 homepage for Blizkost.
04:44 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=172&action=diff
04:44 dalek tracwiki: v173 | soh_cah_toa++ | Languages
04:44 dalek tracwiki: Added link to "Joy" Wikipedia article for Fun. Also fixed URL to link to its repository instead of the wiki.
04:44 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=173&action=diff
04:44 dalek tracwiki: v174 | soh_cah_toa++ | Languages
04:44 dalek tracwiki: Added link to "Java Virtual Machine" Wikipedia article for jvm.
04:44 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=174&action=diff
04:44 dalek tracwiki: v175 | soh_cah_toa++ | Languages
04:44 dalek tracwiki: Added link to "C" Wikipedia article for Close.
04:44 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=175&action=diff
04:52 contingencyplan joined #parrot
04:54 dalek tracwiki: v176 | soh_cah_toa++ | Languages
04:54 dalek tracwiki: Removed "parrot_compiler" since it's not even a language and the link was dead anyway.
04:54 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=176&action=diff
04:54 dalek tracwiki: v177 | soh_cah_toa++ | Languages
04:54 dalek tracwiki: Added link to Perl 6 specification for roast.
04:54 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=177&action=diff
04:54 dalek tracwiki: v178 | soh_cah_toa++ | Languages
04:54 dalek tracwiki: Removed "urm" since the link is broken and I can't find even the tiniest information about it. Assumed dead.
04:54 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=178&action=diff
04:54 dalek tracwiki: v179 | soh_cah_toa++ | Languages
04:54 dalek tracwiki: Update URL to chitchat's GitHub repository.
04:54 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=179&action=diff
05:10 dalek tracwiki: v180 | soh_cah_toa++ | Languages
05:10 dalek tracwiki: Added link to "Jacko" Wikipedia article for jako.
05:10 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=180&action=diff
05:31 cotto ~~
05:41 dalek tracwiki: v181 | soh_cah_toa++ | Languages
05:41 dalek tracwiki: Rewrote some of the headings and opening paragraph.
05:41 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=181&action=diff
05:42 soh_cah_toa phew, that's the end of that
05:44 cotto busy fellow
05:44 fperrad joined #parrot
05:44 soh_cah_toa all those dead links were bugging the heck out of me. once i started i couldn't stop :)
05:46 soh_cah_toa cotto: if you saw my late report on #ps (forgot about the time change) i've actually made a whole lot of progress so far this week
05:50 cotto soh_cah_toa, I did see it.  It's great to see the thing start to become useful.
05:50 soh_cah_toa absolutely
05:50 soh_cah_toa cotto: wow, and i think i just discovered why the "quit" command has been aborting and giving me a brack trace
05:50 cotto soh_cah_toa, I do question whether it's appropriate to have hbdb-specific functions in the API rather than to extend the API to provide what hbdb needs in a generic and reusable manner.
05:50 soh_cah_toa cotto: it's b/c i call Parrot_x_exit() right after hbdb_destroy() which free's the mem for the interp which causes instant chaos
05:51 cotto Mmmm.  Instant chaos.
05:51 soh_cah_toa cotto: whiteknight suggested i do that
05:51 soh_cah_toa well temporarily at least
05:51 cotto soh_cah_toa, whiteknight suggested instant chaos?  That's not typical.
05:51 soh_cah_toa ha! no i was referring to the api
05:52 cotto ah
05:52 cotto antecedents are tricky beasts
05:52 soh_cah_toa yeah
05:52 cotto I don't mind it if it's temporary, but I don't want to merge it into master like that.
05:52 soh_cah_toa hmm...looking at these functions i really don't see how they can be generalized
05:53 soh_cah_toa the reason they're there is b/c i need them for the frontend and backend
05:54 cotto Don't worry about it now.  We can figure something out a little later in the project.
05:54 soh_cah_toa ok. sure
05:56 soh_cah_toa egh, i really should head to bed
05:56 soh_cah_toa i'll talk to you tomorrow
05:56 soh_cah_toa left #parrot
05:58 jsut left #parrot
06:10 dalek parrot/soh-cah-toa/hbdb: 973394b | soh_cah_toa++ | src/hbdb.c:
06:10 dalek parrot/soh-cah-toa/hbdb: Quickfix to stop "quit" command from aborting and printing a backtrace.
06:10 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/973394b66e
06:40 theory left #parrot
06:49 theory joined #parrot
06:53 theory left #parrot
07:35 dalek nqp/qregex: 63c3eb9 | pmichaud++ | src/ (2 files):
07:35 dalek nqp/qregex: Fix capture stack.
07:35 dalek nqp/qregex: review: https://github.com/perl6/nqp/commit/63c3eb92d1
07:35 dalek nqp/qregex: 12d91bf | pmichaud++ | src/QRegex/Cursor.nqp:
07:35 dalek nqp/qregex: Fix backref bug.
07:35 dalek nqp/qregex: review: https://github.com/perl6/nqp/commit/12d91bf3b6
07:35 dalek nqp/qregex: 527ad9c | pmichaud++ | src/QRegex/Cursor.nqp:
07:35 dalek nqp/qregex: Fix multiply-named captures.
07:35 dalek nqp/qregex: review: https://github.com/perl6/nqp/commit/527ad9c53a
07:35 dalek nqp/qregex: 27cbf0e | pmichaud++ | / (3 files):
07:35 dalek nqp/qregex: Add <ws> and <ident> builtins.
07:35 dalek nqp/qregex: review: https://github.com/perl6/nqp/commit/27cbf0ea51
07:35 dalek nqp/qregex: ae3f728 | pmichaud++ | / (2 files):
07:35 dalek nqp/qregex: Fix negated subrule bug.
07:35 dalek nqp/qregex: review: https://github.com/perl6/nqp/commit/ae3f72821f
07:35 dalek nqp/qregex: bdcdab8 | pmichaud++ | src/QRegex/P6Regex/Actions.nqp:
07:35 dalek nqp/qregex: Add negated charclass rule.
07:35 dalek nqp/qregex: review: https://github.com/perl6/nqp/commit/bdcdab8132
07:35 dalek nqp/qregex: 9763b75 | pmichaud++ | / (2 files):
07:35 dalek nqp/qregex: More builtin Cursor rules.
07:35 dalek nqp/qregex: review: https://github.com/perl6/nqp/commit/9763b75fc4
07:35 dalek nqp/qregex: 6f9184d | pmichaud++ | src/QRegex/ (2 files):
07:35 dalek nqp/qregex: Handle subrule composition; fix builtins at end of string.
07:35 dalek nqp/qregex: review: https://github.com/perl6/nqp/commit/6f9184da52
07:36 dalek nqp/qregex: 7fc16c7 | pmichaud++ | / (2 files):
07:36 dalek nqp/qregex: Zerowidth enumcharclass, restore tests.
07:36 dalek nqp/qregex: review: https://github.com/perl6/nqp/commit/7fc16c7efb
07:38 mj41 joined #parrot
07:38 daniel-s joined #parrot
08:02 UltraDM joined #parrot
08:12 dalek rakudo/nom: c47b816 | moritz++ | / (3 files):
08:12 dalek rakudo/nom: simplistic List.ACCEPTS, fix Array.push to return self
08:12 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/c47b8167d2
08:44 rurban_ joined #parrot
08:45 rurban left #parrot
08:45 rurban_ is now known as rurban
09:16 contingencyplan left #parrot
09:24 pjcj left #parrot
09:31 pjcj joined #parrot
09:57 woosley left #parrot
10:06 ambs joined #parrot
10:37 dalek rakudo/nom: 422408b | jonathan++ | NOMMAP.markdown:
10:37 dalek rakudo/nom: Update nommap a little.
10:37 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/422408be63
10:37 dalek rakudo/nom: 197021d | jonathan++ | src/Perl6/ (2 files):
10:37 dalek rakudo/nom: Gut enum action method; align grammar with what STD parses.
10:37 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/197021dae5
10:51 SHODAN joined #parrot
11:24 JimmyZ joined #parrot
11:39 ambs left #parrot
11:41 mtk joined #parrot
11:43 fivetonsflax left #parrot
11:47 mtk left #parrot
11:47 mtk joined #parrot
11:48 dalek nqp: cdfcb78 | jonathan++ | src/6model/reprs/P6opaque. (2 files):
11:48 dalek nqp: Auto-viv memory and performance improvements, memory usage improvements and memory leak fixes for P6opaque. Patch courtesy of mls++.
11:48 dalek nqp: review: https://github.com/perl6/nqp/commit/cdfcb78477
12:03 lucian joined #parrot
12:06 dalek rakudo/nom: ccc52e5 | jonathan++ | / (5 files):
12:06 dalek rakudo/nom: Start to stub in EnumHOW; nothing especially exciting yet.
12:06 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/ccc52e5f5b
12:06 dalek rakudo/nom: 1084674 | jonathan++ | / (2 files):
12:06 dalek rakudo/nom: Stub in roles where we'll put extra methods that enumerations carry.
12:07 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/1084674c48
12:07 dalek rakudo/nom: a8d4770 | jonathan++ | src/Perl6/Metamodel/BaseType.pm:
12:07 dalek rakudo/nom: Get BaseType to compute an MRO.
12:07 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a8d4770f3f
12:07 dalek rakudo/nom: ab16385 | jonathan++ | src/Perl6/ (2 files):
12:07 dalek rakudo/nom: Get enum action method along far enough to create and install the type object. No handling of the values just yet.
12:07 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/ab16385705
12:08 simcop2387 left #parrot
12:13 dodathome joined #parrot
12:20 whiteknight joined #parrot
12:27 Felipe good morning :)
12:29 JimmyZ morning, Felipe
12:30 whiteknight good morning JimmyZ, Felipe
12:31 JimmyZ good moning, whiteknight
12:38 dalek nqp/qregex: 62c9c31 | pmichaud++ | tools/build/Makefile.in:
12:38 dalek nqp/qregex: Update Makefile to always build QRegex.pbc and to install it.
12:38 dalek nqp/qregex: review: https://github.com/perl6/nqp/commit/62c9c3159d
12:38 dalek nqp/qregex: e48d8aa | pmichaud++ | tools/build/Makefile.in:
12:38 dalek nqp/qregex: Merge branch 'master' into qregex
12:38 dalek nqp/qregex: review: https://github.com/perl6/nqp/commit/e48d8aa207
12:39 dalek nqp/qregex: 9839f38 | pmichaud++ | src/6model/reprs/P6opaque. (2 files):
12:39 dalek nqp/qregex: Merge branch 'master' into qregex
12:39 dalek nqp/qregex: review: https://github.com/perl6/nqp/commit/9839f38fea
12:40 dalek rakudo/qregex: 96eb9e1 | pmichaud++ | src/Perl6/ (3 files):
12:40 dalek rakudo/qregex: Load the QRegex library from NQP for regex support.
12:40 dalek rakudo/qregex: review: https://github.com/rakudo/rakudo/commit/96eb9e166b
12:57 dalek nqp: 6612b1f | jonathan++ | src/how/NQP (2 files):
12:57 dalek nqp: A renaming to standardize the meta-role specialization API between NQP and Rakudo.
12:57 dalek nqp: review: https://github.com/perl6/nqp/commit/6612b1fa2e
12:59 jay good morning JimmyZ, Felipe, and whiteknight
13:01 Felipe whiteknight: I'm sigsegv... answering your questions last night... I've coded stuff in the PHP project, as core dev. I like this compiler, VM, lexer, parsing topics. :)
13:01 simcop2387 joined #parrot
13:01 whiteknight Felipe: Oh cool. We like PHP. We wanted to create a PHP compiler for Parrot
13:02 whiteknight We have things like Unicode support already built-in, which we think would be a nice help :)
13:02 JimmyZ Felipe is the Core dev in the PHP project, that' s great, I earn money by using PHP
13:03 JimmyZ I'd like to see PHP on parrot too.
13:03 JimmyZ good morning jay
13:04 whiteknight We had an old PHP compiler a long time ago, but it uses a lot of our old libraries and isn't maintained
13:04 whiteknight We can definitely do better now
13:04 Felipe great
13:05 Felipe whiteknight: where is this code? github.com/parrot?
13:05 JimmyZ Felipe: https://github.com/bschmalhofer/pipp
13:06 Felipe thanks
13:06 JimmyZ or Pipp.org
13:07 * JimmyZ created https://github.com/pipp/pipp
13:09 jay bubaflub's code indicates that winxed uses type int for both int and long.  Does winxed use longs for everything, or does it bomb if it gets a number larger than an int can handle?
13:09 whiteknight Felipe: github.com/parrot contains the parrot core repository and many other related projects. Pipp is the old PHP compiler. I don't think it works
13:09 whiteknight jay: Parrot only exposes the notion of "INTVAL", which is typically defined as "int" in your C compiler
13:10 whiteknight jay: Our native types do not differentiate between "int" and "long"
13:10 jay Let me chew on "exposes" for a minute...
13:10 whiteknight jay: PIR has 4 register types: INTVAL, FLOATVAL, STRING, and PMC
13:10 whiteknight so those are the thigns you can use natively from PIR
13:10 whiteknight You can wrap other types in custom PMCs
13:11 jay Ok, gotcha.  So a potentially massive array in column-major format really needs to be a custom PMC, it can't be a simple class on top of FixedFloatArray or something.
13:14 jsut joined #parrot
13:16 Felipe whiteknight: Ok
13:16 whiteknight jay: any complex type really needs to be a PMC, unless you can fit it into a single integer, float, or string
13:17 whiteknight jay: Have you looked at the Parrot-Linear-Algebra project? I have array PMCs already. It shouldn't be too hard to modify the backing data store to use an mmapped file instead of a malloc'd array
13:17 dalek nqp: 0e40138 | jonathan++ | src/how/NQPConcreteRoleHOW.pm:
13:17 dalek nqp: Add missing .^does_list to NQPConcreteRoleHOW.
13:17 dalek nqp: review: https://github.com/perl6/nqp/commit/0e40138634
13:18 whiteknight jay: And PLA supports arrays in both column-major and row-major formats. That makes things like lazy transposes extremely easy
13:18 whiteknight CBLAS operations typically include a flag to differentiate between the two formats as well
13:18 dalek rakudo/nom: c6ec331 | jonathan++ | src/Perl6/Metamodel/RoleToClassApplier.pm:
13:18 dalek rakudo/nom: Update RoleToClassApplier so it can handle NQP roles.
13:18 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/c6ec331dd6
13:22 bubaflub ~
13:28 dalek rakudo/qregex: c6ec331 | jonathan++ | src/Perl6/Metamodel/RoleToClassApplier.pm:
13:28 dalek rakudo/qregex: Update RoleToClassApplier so it can handle NQP roles.
13:28 dalek rakudo/qregex: review: https://github.com/rakudo/rakudo/commit/c6ec331dd6
13:28 dalek rakudo/qregex: eadc8a6 | pmichaud++ | src/Perl6/Metamodel/RoleToClassApplier.pm:
13:28 dalek rakudo/qregex: Merge branch 'nom' into qregex
13:28 dalek rakudo/qregex: review: https://github.com/rakudo/rakudo/commit/eadc8a6aff
13:28 dalek rakudo/nom: a1c00f5 | jonathan++ | src/Perl6/Metamodel/RoleToRoleApplier.pm:
13:28 dalek rakudo/nom: Update RoleToRoleApplier. Now a Perl 6 class can have multiple NQP roles mixed in to it, as well as other Perl 6 roles in the mix.
13:28 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a1c00f5557
13:28 dalek nqp/qregex: 6612b1f | jonathan++ | src/how/NQP (2 files):
13:28 dalek nqp/qregex: A renaming to standardize the meta-role specialization API between NQP and Rakudo.
13:28 dalek nqp/qregex: review: https://github.com/perl6/nqp/commit/6612b1fa2e
13:28 dalek nqp/qregex: 0e40138 | jonathan++ | src/how/NQPConcreteRoleHOW.pm:
13:28 dalek nqp/qregex: Add missing .^does_list to NQPConcreteRoleHOW.
13:28 dalek nqp/qregex: review: https://github.com/perl6/nqp/commit/0e40138634
13:28 dalek nqp/qregex: 69aa482 | pmichaud++ | src/how/NQP (3 files):
13:28 dalek nqp/qregex: Merge branch 'master' into qregex
13:28 dalek nqp/qregex: review: https://github.com/perl6/nqp/commit/69aa482187
13:30 bluescreen joined #parrot
13:30 jay whiteknight: yes I wasn't worried about column vs row-major, but handling more than 2^31 -1 elements.
13:32 whiteknight jay: The only issue right now is that PLA does not support file-backed memory stores through mmap. It's not a hard addition to make
13:33 whiteknight The only decision that would need to be made is whether the capability should be bolted on to the existing types, or whether we should subclass
13:34 moritz .oO( compose it as a role... oh, wait )
13:34 jay But where int is 4-byte, at the very least the indexing would collapse in an HLL unless there were a kludge using doubles, right?
13:34 whiteknight jay: Yeah, at the moment all indexing is done with INTVAL. If you have a 64 bit system, you can compile Parrot to use "long" for INTVAL and then it should all magically work
13:35 whiteknight if you're on a 32-bit system, we would need something else. On that system, a lot of stuff would fall apart
13:35 whiteknight or, on my win64 machine I have to define INTVAL to be "long long" because the compiler there is awesome
13:36 moritz on 32bit system you'll not be happy with an array of 2^31 floats anyway :-)
13:36 jay Ok.  I'm sure there are fixes like that.  But I'm thinking in my 'R Project' world where the goal is to provide software that works for everyone with no fuss.
13:36 moritz considering that you can only address so much memory with 32 bit...
13:37 jay moritz: the issue isn't the atomic elelemt, the issue is the indexing.  But no, I'm not considering 32-bit systems.
13:37 whiteknight jay: Well, on a 32-bit system, Pointers aren't even large enough to contain such a large datastructure, neither are the integers used to index into it
13:37 whiteknight jay: If you're on a 64-bit system, we can make sure the INTVAL type is 64 bits long, and then our indices are 64-bits
13:39 jay Right.  Forget 32-bit (I'm willing to toss that).  Ok, I'll revisit this later, of course.  I'm "in the zone" right now on GSL, and just hit this int/long distinction as I looked through bubaflub's GMP.
13:39 whiteknight okay
13:40 whiteknight There is a way to query Parrot to find the size of INTVAL on your system. I'll have to look that up for you so you can figure it out
13:41 jay Thx!
13:41 bubaflub parrot_config intvalsize
13:42 bubaflub should do the trick
13:42 bubaflub also accessible from PIR
13:43 jay Thanks.  Just copied it into my RANDOM.NOTES for safe keeping.
13:45 jay bubaflub: two more for you.  In "How it works" simple typo, grep for "icnluded".
13:46 dalek parrot-gmp: 26f8ee5 | bubaflub++ | README.md:
13:46 dalek parrot-gmp: fix typo, jay++
13:46 dalek parrot-gmp: review: https://github.com/bubaflub/​parrot-gmp/commit/26f8ee585f
13:46 jay bubaflub: in bin/gmpdoc2winxed.pl I think the first "die" message should be change... it currently refers to gmpdoc2yml.pl, which I imagine was a previous version that is dead.
13:46 bubaflub jay: yes, that is correct
13:47 dalek parrot-gmp: 8654374 | bubaflub++ | bin/gmpdoc2winxed.pl:
13:47 dalek parrot-gmp: fix typo, jay++
13:47 dalek parrot-gmp: review: https://github.com/bubaflub/​parrot-gmp/commit/865437455b
13:47 bubaflub jay: i suppose i could use $0 in perl to refer to the name of the script that is running
13:47 bubaflub jay: also re
13:47 bubaflub ;
13:47 bubaflub INTVAL size
13:47 bubaflub when Parrot configs it dumps a bunch of configuration information into a hash - like CC flags, stuff that has been probed for, etc.
13:48 bubaflub you can get at that information via the command-line with parrot_config
13:49 bubaflub and you can get at it in PIR, see my setup.winxed line 72
13:49 dalek nqp: 69aa482 | pmichaud++ | src/how/NQP (3 files):
13:49 dalek nqp: Merge branch 'master' into qregex
13:49 dalek nqp: review: https://github.com/perl6/nqp/commit/69aa482187
13:49 bubaflub i think you need to include iglobals.pasm; there should be a bunch of other examples lying around as well
13:51 jay Ok, good to know.  Yes, intvalsize is 8.  I imagine size_t is the same.
13:52 whiteknight size_t should be big enough to hold a pointer at least, so I would assume it is 8 there
13:53 jay Interesting: long double is 16, so we might have a problem with that in our nci bindings, bubaflub?
13:53 Hunger left #parrot
13:54 Hunger joined #parrot
13:54 bubaflub jay: dunno. i haven't run into any problems yet
13:54 bubaflub but that doesn't mean you're wrong
13:54 jay I may know soon.  I have a function with is trying to return a long double.
13:55 whiteknight You probably would need to define FLOATVAL to be "long double" in your Parrot
13:55 whiteknight otherwise, you're going to lose precision as soon as you try to store it in a native PMC type or a native register
13:56 jay ok
13:56 dalek rakudo/nom: eadc8a6 | pmichaud++ | src/Perl6/Metamodel/RoleToClassApplier.pm:
13:56 dalek rakudo/nom: Merge branch 'nom' into qregex
13:56 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/eadc8a6aff
13:56 dalek rakudo/nom: 2224f72 | pmichaud++ | src/Perl6/ (2 files):
13:56 dalek rakudo/nom: Initial fixes to use QRegex for parsing/compilation.
13:56 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/2224f7274d
13:56 dalek rakudo/nom: 3bd7685 | pmichaud++ | src/Perl6/ (3 files):
13:56 dalek rakudo/nom: Merge branch 'qregex' into nom
13:56 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/3bd7685468
13:56 dalek rakudo/qregex: 2224f72 | pmichaud++ | src/Perl6/ (2 files):
13:56 dalek rakudo/qregex: Initial fixes to use QRegex for parsing/compilation.
13:56 dalek rakudo/qregex: review: https://github.com/rakudo/rakudo/commit/2224f7274d
13:57 dalek rakudo/nom: 8ddd8e9 | pmichaud++ | tools/build/NQP_REVISION:
13:57 dalek rakudo/nom: NQP_REVISION bump to get role and regex improvements.
13:57 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/8ddd8e9722
14:00 jay bubaflub, in your c_to_nci_mappings.yml I think size_t is likely going to need to be l instead of i for increased chances at portability.
14:00 bubaflub jay: ok
14:01 jay That was a headache for us in the R bigmemory project, trying to support various platforms and compilers.
14:02 whiteknight jay: It's a headache for everybody. Parrot tries to smooth out the differences through abstractions, but we obviously can't do a perfect job of it
14:03 jay Yeah, but at least you guys are thinking about it!
14:09 whiteknight jay: If you want to use PLA, I'm happy to add whatever features you want (or you can fork it and add them yourself!) If not, you're welcome to steal any code you like from it
14:12 jay Thanks.  Will get there eventually.  My work queue is: GSL statistics followed by NQR basics including the GSL functions; I will look at PLA more carefully before long, though.
14:14 whiteknight okay, awesome. Let me know what you need
14:15 jay Willdo.  I know you are straight out with the impending version release, though.
14:18 dalek rakudo: b5c1614 | moritz++ | build/PARROT_REVISION:
14:18 dalek rakudo: bump PARROT_REVISION for testing
14:18 dalek rakudo: review: https://github.com/rakudo/rakudo/commit/b5c1614ad0
14:18 dalek rakudo: b4486ed | moritz++ | src/Perl6/Compiler/Module.pm:
14:18 dalek rakudo: unconfuse order of alternatives in error message
14:18 dalek rakudo: review: https://github.com/rakudo/rakudo/commit/b4486ed11a
14:23 preflex left #parrot
14:27 theory joined #parrot
14:28 preflex joined #parrot
14:47 dalek rakudo/nom: 9ffc446 | jonathan++ | src/Perl6/Metamodel/BOOTSTRAP.pm:
14:47 dalek rakudo/nom: Add Regex class as a subclass of Method.
14:47 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/9ffc446a46
14:51 dalek rakudo/nom: bfd28b0 | jonathan++ | src/Perl6/Actions.pm:
14:51 dalek rakudo/nom: Factor out a bunch of the stuff in method_def, and re-use it from regex_def. Also gut the protoregex section of the code.
14:51 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/bfd28b0ff8
14:53 logie joined #parrot
14:54 dukeleto ~~
14:55 whiteknight good morning, dukeleto
14:56 dalek nqp: a8ba4b1 | pmichaud++ | src/QRegex/Cursor.nqp:
14:56 dalek nqp: Switch QRegex::Cursor to NQPCursorRole and export it.
14:56 dalek nqp: review: https://github.com/perl6/nqp/commit/a8ba4b1bb6
14:57 dukeleto whiteknight: mornin'
15:00 hercynium joined #parrot
15:01 darbelo joined #parrot
15:20 dalek rakudo/nom: fcfd48e | jonathan++ | src/Perl6/Actions.pm:
15:20 dalek rakudo/nom: Refactor method installation and re-use it in regex_def.
15:20 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/fcfd48efbf
15:20 dalek rakudo/nom: e605a5f | jonathan++ | src/Perl6/Actions.pm:
15:20 dalek rakudo/nom: Ensure there's a self register for the regex engine.
15:20 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/e605a5fc69
15:26 theory left #parrot
15:34 dukeleto blarg
15:35 whiteknight ?
15:36 dukeleto it was too quiet in here
15:37 bubaflub morning dukeleto
15:44 dalek rakudo/nom: 714f72c | jonathan++ | src/Perl6/Actions.pm:
15:44 dalek rakudo/nom: Fix up anon methods a bit more.
15:44 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/714f72c69f
15:49 cotto ~~
15:49 whiteknight hello cotto
15:50 cotto hi whiteknight
15:55 dalek rakudo/nom: 351390d | pmichaud++ | tools/build/NQP_REVISION:
15:55 dalek rakudo/nom: Bump NQP_REVISION to get NQPCursorRole.
15:55 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/351390d546
15:55 dalek rakudo/nom: 54d98bd | pmichaud++ | src/Perl6/Actions.pm:
15:55 dalek rakudo/nom: Merge branch 'nom' of github.com:rakudo/rakudo into nom
15:55 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/54d98bdba8
16:05 dalek rakudo/nom: 3fdad82 | jonathan++ | / (4 files):
16:05 dalek rakudo/nom: Get GrammarHOW set up as the HOW for the grammar package declarator. It doesn't do anything more than ClassHOW for now.
16:05 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/3fdad82a6f
16:06 lichtkind joined #parrot
16:08 theory joined #parrot
16:10 dalek rakudo/nom: 5ee1df9 | pmichaud++ | src/Perl6/Metamodel/BOOTSTRAP.pm:
16:10 dalek rakudo/nom: Make NQPCursorRole available via BOOTSTRAP.
16:10 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/5ee1df98d9
16:10 dalek nqp: 111cd0e | jonathan++ | src/how/NQPAttribute.pm:
16:10 dalek nqp: NQPAttribute.has_accessor
16:11 dalek nqp: review: https://github.com/perl6/nqp/commit/111cd0ef76
16:13 daniel-s left #parrot
16:13 daniel-s joined #parrot
16:16 JimmyZ left #parrot
16:18 ambs joined #parrot
16:19 daniel-s left #parrot
16:22 dalek nqp: 10d94ef | jonathan++ | src/how/NQPAttribute.pm:
16:22 dalek nqp: More API fleshing out to keep Rakudo happy.
16:22 dalek nqp: review: https://github.com/perl6/nqp/commit/10d94ef53d
16:30 dalek rakudo/nom: bc88e7e | pmichaud++ | / (6 files):
16:30 dalek rakudo/nom: Stub in some regex-related classes.
16:30 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/bc88e7e3f3
16:32 dmalcolm joined #parrot
16:44 rurban_ joined #parrot
16:46 rurban left #parrot
16:46 rurban_ is now known as rurban
16:48 alester joined #parrot
16:51 mj41 left #parrot
16:54 cotto_work ~~
16:54 dukeleto cotto_work: mornin'
16:57 contingencyplan joined #parrot
17:00 Kulag left #parrot
17:01 Kulag joined #parrot
17:12 dalek nqp: 3dcf683 | jonathan++ | src/NQP/Actions.pm:
17:12 dalek nqp: Need to decontainerize invocant in attribute accesses in NQP.
17:12 dalek nqp: review: https://github.com/perl6/nqp/commit/3dcf683267
17:12 dalek nqp: 2c89ff1 | jonathan++ | src/how/NQPAttribute.pm:
17:12 dalek nqp: Fix .type and disable not-really-right accessor generation for now (regresses a test, but the test is bogus too).
17:12 dalek nqp: review: https://github.com/perl6/nqp/commit/2c89ff1139
17:14 UltraDM left #parrot
17:26 mj41 joined #parrot
17:27 NotFound ~~
17:27 NotFound I've been fighting with NetworkManager for hours
17:27 NotFound But I win :)
18:03 ligne left #parrot
18:29 mtk left #parrot
18:33 mtk joined #parrot
18:34 mtk left #parrot
18:34 mtk joined #parrot
18:53 Eclesia joined #parrot
18:53 Eclesia hi
18:55 dukeleto Eclesia: wazzup
18:56 Eclesia awful day ... going for a 4day training next week
18:58 dalek rakudo/nom: ffa93fc | pmichaud++ | src/core/ (2 files):
18:58 dalek rakudo/nom: Add initial Cursor and Match classes.  Cursor has a commented-out method,
18:58 dalek rakudo/nom: uncommenting the method causes a 'recursion limit' failure when building nom.
18:58 dalek rakudo/nom: (It works fine when outside of the setting.)
18:58 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/ffa93fcace
19:05 dalek rakudo/nom: c0e38e1 | pmichaud++ | src/core/Cursor.pm:
19:05 dalek rakudo/nom: Remove debugging says from Cursor.BUILDMATCH.
19:05 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/c0e38e14cb
19:10 tadzik dukeleto: oh hai
19:10 tadzik are you before or after the talk?
19:16 dalek rakudo/nom: 8fc705e | jonathan++ | src/Perl6/Metamodel/RoleToClassApplier.pm:
19:16 dalek rakudo/nom: A little tweak to the role applier to avoid triggering an infinite recursion that pmichaud++ ran into (there's some deeper issue to hunt here, but this should unblock things).
19:16 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/8fc705ee13
19:27 dalek rakudo/nom: 2a681a4 | pmichaud++ | src/core/Cursor.pm:
19:27 dalek rakudo/nom: Add Cursor.MATCHBUILD, which builds the match object.
19:27 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/2a681a46b4
19:28 dalek rakudo/nom: 6e1fa32 | pmichaud++ | src/core/Grammar.pm:
19:28 dalek rakudo/nom: Uncomment Grammar type.
19:28 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/6e1fa32cb9
19:33 dodathome left #parrot
20:06 SHODAN left #parrot
20:07 benabik Interesting note:  NQP master appears to not build when I use g++ to build Parrot on Darwin/x86
20:11 whiteknight what do you mean, "not build"?
20:11 benabik Error out on pointer type conversions.
20:12 benabik Most specifically: `P6opaque.c:858: error: cannot convert ‘P6opaqueInstance*’ to ‘PMC*’ in initialization`
20:12 cotto_work probably an easy fix
20:12 sorear it seems that jnthn__ incorrectly assumed that .c files for Parrot extensions would be compiled using a C compiler
20:12 cotto_work definitely not Parrot's fault
20:12 sorear this is being discussed in #perl6 now
20:13 benabik Yes, it is.  But I thought that people here might want to know that ATM, g++ Parrot builds won't work with 6model.
20:13 jnthn__ sorear: I'd point out that NQP is NQP, *not* Parrot.
20:13 jnthn__ sorear: The policy there need not be whatever Parrot's policy is.
20:14 jnthn__ And my policy is that I write C and if others want to contribute patches to fix up things so it builds on C++ too, that's awesome.
20:14 benabik jnthn__: I'm fine with that policy.  :-)
20:14 cotto_work benabik: that's relevant if 6model can't be made to work, but I doubt the case.
20:14 whiteknight Man, I wish Parrot were written in C and not C-as-long-as-it's-also-C++
20:14 benabik cotto_work: Well, it's relevant if you're trying to build rakudo master today.  :-D
20:15 benabik I don't think I'm the only one who periodically builds with g++
20:15 whiteknight In the not-so-distant future 6model will  be in Parrot, and it will certainly build then
20:15 cotto_work yes
20:16 cotto_work benabik: I'm becoming a fan, just because it's better at catching some classes of bugs
20:20 whiteknight jnthn__: speaking of migrating 6model into Parrot, how long until you think it's stable enough to attempt?
20:21 jnthn__ whiteknight: Stability in API sense or code sense?
20:21 whiteknight either. I've been waiting because you said the code was undergoing changes with the Rakudo  nom migration
20:21 jnthn__ whiteknight: Though it's done quite well in both lately. It's been extended here and there.
20:21 jnthn__ Yeah
20:21 jnthn__ What was there has held up pretty well in the face of Rakudo's needs, and the extra bits went in quite easily.
20:22 whiteknight any big changes you can forsee?
20:24 jnthn__ Yeah
20:24 dalek rakudo/nom: 07acbeb | pmichaud++ | src/Perl6/ (2 files):
20:24 dalek rakudo/nom: Refactor building of regex methods, enable /.../ (but it produces a warning).
20:24 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/07acbeb9d0
20:24 jnthn__ REPR PMC is going away and probably STable one.
20:24 jnthn__ (more)
20:24 jnthn__ Actually that'll make your integration work easier.
20:24 whiteknight okay. Why are those going away, and are they being replaced by anything?
20:25 cotto_work \o/
20:25 jnthn__ whiteknight: Direct pointers.
20:25 jnthn__ Oh, and S-tables will be ref-counted, I expect.
20:25 whiteknight okay, so reprs and stables are going to be able to be accessed and inspected from PIR?
20:25 whiteknight be unable*
20:25 jnthn__ whiteknight: Well, you don't really introspect a repr
20:26 jnthn__ whiteknight: reprs are *very* low level really
20:26 jnthn__ They represent 6model's binding to the underlying VM.
20:26 NotFound whiteknight: the stream library test failures on windows are due to text files used by the tests converted to \r\n line ending by the git used.
20:26 jnthn__ whiteknight: And stables only have a few operations you'd sanely perform on them.
20:27 cotto_work NotFound: I was trying to trace through that library to find a proper fix.  It's convoluted.
20:27 jnthn__ whiteknight: Really stables are just infrastructure. They hang on to a bunch of stuff.
20:27 jnthn__ They don't themselves have any semantics.
20:27 whiteknight jnthn__: okay
20:27 jnthn__ whiteknight: The upshot is that pretty much everything that's "interesting" is a first class object.
20:27 jnthn__ Which is kinda right :)
20:28 whiteknight jnthn__: We can still create REPRs at the PIR/NQP level, right?
20:28 jnthn__ whiteknight: Currently 6model has no support for doing that.
20:28 jnthn__ whiteknight: Again, a REPR is a very low level thing.
20:28 whiteknight Oh, I thought it did
20:29 whiteknight okay, so what can be defined at the PIR level? Just the class itself?
20:29 jnthn__ If you think you're going to be writing a lot of them, then you've probably mis-understood 6model somewhere. :)
20:29 jnthn__ whiteknight: Every object is described by a meta-object.
20:29 jnthn__ You can write those in PIR, NQP, Perl 6 or just whatever.
20:29 whiteknight and meta-objects can be defined in PIR?
20:29 whiteknight okay
20:29 jnthn__ That's where the interesting stuff mostly is
20:29 dalek nqp: 69cc5ac | pmichaud++ | src/ (2 files):
20:29 dalek nqp: Refactor Match object construction, add nqp::hash.
20:29 dalek nqp: review: https://github.com/perl6/nqp/commit/69cc5acbec
20:29 whiteknight the terminology throws me for a loop every time
20:29 jnthn__ REPRs work at the level of "how do I lay out a piece of memory to store attributes"
20:30 jnthn__ Which there's really not that many ways to do. :)
20:30 jnthn__ Or at least, not that many *interesting* ways to do.
20:30 whiteknight ok
20:31 benabik Seems likely (to me) Parrot may only have a REPR for "things that are GCed" and "things that aren't".
20:31 NotFound cotto_work: looks like the only proper fix for some tests is to use a binary file.
20:31 whiteknight I'm signing off now, I'll be back later.
20:31 cotto_work whiteknight: adios
20:31 whiteknight left #parrot
20:35 plobsing left #parrot
20:37 fperrad left #parrot
20:38 dalek rakudo/nom: a618c39 | pmichaud++ | tools/build/NQP_REVISION:
20:38 dalek rakudo/nom: Bump NQP_REVISION.
20:38 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a618c39da1
20:38 dalek rakudo/nom: d488f2d | pmichaud++ | src/Perl6/Actions.pm:
20:38 dalek rakudo/nom: Fix scope of anonymous regexes.
20:38 Eclesia left #parrot
20:38 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/d488f2de9b
20:48 dalek rakudo/nom: 02cc95b | pmichaud++ | / (2 files):
20:48 dalek rakudo/nom: Add first version of Regex.ACCEPTS .
20:48 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/02cc95bbc9
20:52 dalek NQR: f9b6f0a | (Jay Emerson)++ | README:
20:52 dalek NQR: Updated README
20:52 dalek NQR: review: https://github.com/NQRCore/NQR/commit/f9b6f0a390
20:52 dalek GSL: 49c1ea2 | (Jay Emerson)++ | README:
20:52 dalek GSL: Updated README
20:52 dalek GSL: review: https://github.com/NQRCore/GSL/commit/49c1ea280d
20:53 jay Ok, Parroters, I decided it would be good for my karma to really join in... https://github.com/NQRCore
20:54 jay Special thanks to bubaflub, dukeleto, and whiteknight (and others for chiming in with pearls of wisdom) for helping be get started.
20:54 benabik jay++: I think if you add an AUTHORS file formatted similarly to Parrot's, dalek will give you karma instead of this (Jay Emerson) guy.
20:55 benabik If you care.
20:55 jay Thanks.  At the end of a long day, a beer is a good reward... but I'll look at that.  !_)
20:56 benabik jay: You've earned a beer, but I doubt I'm close enough to hand you one.  :-)
20:59 dalek GSL: 06a1229 | (Jay Emerson)++ | CREDITS:
20:59 dalek GSL: For karma...
20:59 dalek GSL: review: https://github.com/NQRCore/GSL/commit/06a1229220
21:01 dalek GSL: d08ee21 | (Jay Emerson)++ | CREDITS:
21:01 dalek GSL: Better karma?
21:01 dalek GSL: review: https://github.com/NQRCore/GSL/commit/d08ee210ed
21:03 benabik jay: Or I was wrong? :-/
21:03 jay benabik: not sure.  There is a note in the CREDITS file To turn this file into a author map for git-svn, see tools/dev/mk_
21:03 jay author_map.pl
21:04 jay so maybe I need to do a little more
21:04 benabik jay: I think that's a left over note from when parrot used SVN.
21:04 jay Not high-priority.  !_)
21:06 cotto_work jay: it only works for Parrot's CREDITS
21:06 dalek GSL: f294667 | (Jay Emerson)++ | CREDITS:
21:06 dalek GSL: Redid name?  Last try...
21:06 dalek GSL: review: https://github.com/NQRCore/GSL/commit/f2946673c7
21:06 tadzik Source and destination overlap in memcpy -- I believe Parrot's doing some forbidden-in-C practices
21:07 tadzik http://wklej.org/id/561555/ -- rakudo segfault, but the things I mention regard to Parrot
21:07 bluescreen left #parrot
21:10 soh_cah_toa joined #parrot
21:11 bubaflub jay: you  need to be in the Parrot CREDITS i think for that to work...
21:12 dalek rakudo/nom: 8e83387 | jonathan++ | / (3 files):
21:12 dalek rakudo/nom: Factor default parent handling out into a role.
21:12 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/8e83387e45
21:12 dalek rakudo/nom: 8c44a7a | jonathan++ | src/Perl6/Metamodel/ (2 files):
21:12 dalek rakudo/nom: GrammarHOW gets Grammar as default parent.
21:12 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/8c44a7ae3e
21:18 jay Ok, thanks bubaflub.  Np.
21:20 Felipe are you working in make R run in Parrot?
21:21 jay Felipe: no, just attempting the basic R (S language) syntax from scratch... kind of a sandbox effort at this point to learn more about Parrot.
21:21 jay And maybe providing low-level GSL bindings along the way.
21:28 Felipe great. I'm learning the acronyms yet. :P
21:28 jay Sorry... ask questions if you want.  I'm just getting started myself.
21:29 dalek parrot: 5012b89 | NotFound++ | t/op/exceptions.t:
21:29 dalek parrot: fix and unTODO an exception test that lacked finalize
21:29 dalek parrot: review: https://github.com/parrot/parrot/commit/5012b89aba
21:30 dalek parrot: 70ec43f | NotFound++ | t/pmc/iterator.t:
21:30 dalek parrot: fix and unTODO a wrong iterator test
21:30 dalek parrot: review: https://github.com/parrot/parrot/commit/70ec43ff17
21:33 dukeleto ~~
21:34 tadzik dukeleto: o/
21:34 Felipe ~~
21:34 ambs left #parrot
21:34 jay ping bubaflub
21:34 bubaflub pong jay
21:34 soh_cah_toa dukeleto: do you know the header where the enum_class_* enumerations are defined?
21:35 soh_cah_toa dukeleto: i need to add enum_class_PackfileView b/c i get a build error w/ the "parrot_utils" target
21:35 soh_cah_toa and git-grep isn't helping like usual
21:35 jay bubaflub: Suppose I do a dynload and set_global in my .sub anon load of an HLL, so:
21:35 jay set_global [], 'gsl_ran_gaussian_pdf', nci
21:35 Felipe what about setup an opengrok for parrot?
21:35 jay How do I call this function from NQP or PIR?
21:36 Felipe It's nice for searching and reading code :)
21:37 dukeleto tadzik: i can haz commit bit on panda? I have fixes for your readme
21:37 tadzik dukeleto: sure
21:37 bubaflub jay: if i'm not mistaken, that just puts it in the global namespace.  you can probably do a get_global
21:37 bubaflub like
21:37 tadzik dukeleto: how was the talk?
21:37 bubaflub $P0 = get_global "gsl_ran_gaussian_pdf"
21:37 tadzik dukeleto: done
21:37 dukeleto tadzik: still writing it. I give the talk in less than 5 hours :)
21:37 jay Ok, but then what:  $P0(arg1, arg2)?  That can't be valid.  Is there some 'eval' operator?
21:38 dukeleto Felipe: what is an opengrok?
21:38 bubaflub $P0.invoke i think
21:38 dukeleto Felipe: also, hello and welcome to #parrot
21:38 bubaflub or maybe .call
21:38 bubaflub lemme check
21:38 dukeleto soh_cah_toa: hmmm
21:38 Felipe dukeleto: hello, thanks.
21:38 tadzik dukeleto: oh nice :) I'd be asleep then, unfortunately
21:38 dukeleto soh_cah_toa: ack is your friend
21:39 bubaflub jay: look at t/compilers/imcc/syn/pcc.t line 88 -
21:39 bubaflub .local pmc the_sub
21:39 dukeleto soh_cah_toa: include/parrot/core_pmcs.h
21:39 bubaflub the_sub = get_global "_sub";
21:39 soh_cah_toa dukeleto: yeah, just used ctags to find it. thanks
21:39 bubaflub the_sub(10,20)
21:39 bubaflub .end
21:39 Felipe dukeleto: opengrok is just like lxr. it's a web-based source code search engine.
21:40 dukeleto Felipe: sounds awesome. go for it!
21:40 jay bubaflub, ok, give me a few minutes.
21:40 bubaflub jay: ok
21:40 NotFound I think you don't need that, if the_sub is in the current namespace that is done automatically
21:41 NotFound BTW $P0(...) is valid
21:41 bubaflub NotFound++
21:41 dukeleto tadzik: you ok with a readme in markdown for panda?
21:41 jay And would save a line of code.  I'll try them both.  NOt quite there.
21:41 tadzik dukeleto: I don't mind
21:43 Psyche^ joined #parrot
21:43 dukeleto tadzik: which features would you say are most important to add to panda next?
21:45 tadzik dukeleto: maybe tracking files and removing modules? I dunno, whatever the users want
21:46 tadzik removing the dependency on prove would be nice
21:48 dukeleto tadzik: over to #perl6
21:48 Patterner left #parrot
21:48 Psyche^ is now known as Patterner
21:53 dalek parrot: 5d02f0c | soh_cah_toa++ | frontend/pbc_disassemble/main.c:
21:53 dalek parrot: Fixed output of --help switch for pbc_disassemble to be vertically aligned.
21:53 dalek parrot: review: https://github.com/parrot/parrot/commit/5d02f0c76a
21:53 soh_cah_toa bleh, that wasn't the help switch it was -o
21:54 soh_cah_toa whatever, it's fixed
21:55 NotFound That's funny: we have a TODO test for the String trans method with unicode, and the pod of trans says: Translate ascii string C<src> with entries from C<trans_table>.
21:56 NotFound Same for is_integer
21:57 dalek rakudo/nom: 96bf65f | jonathan++ | / (3 files):
21:57 dalek rakudo/nom: Factor BUILDplan creation into a role.
21:57 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/96bf65f9c5
21:57 dalek rakudo/nom: dd360f8 | jonathan++ | / (3 files):
21:57 dalek rakudo/nom: Factor MRO-based method dispatch out into a role.
21:57 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/dd360f8e14
21:57 dalek rakudo/nom: b58cea2 | jonathan++ | / (3 files):
21:57 dalek rakudo/nom: Factor MRO-based type checking out into a role.
21:57 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/b58cea24dd
21:58 Felipe is there a list for Parrot tickets?
21:59 tadzik yes, trac.parrot.org
21:59 Felipe I mean, a mailing list
21:59 Felipe like parrot-commits
22:00 tadzik ah, I think parrot-dev receives ticket notifications
22:01 Felipe okay
22:03 writtencode Hey guys,  back again; I had asked yesterday about writing a language using parrot or LLVM, and it looks like I'll be using parrot because it seems a little more useful/ you guys are a little more helpful :). Thanks for your help yesterday, and another question: were I to want to do threading in my language on top of parrot, would I be able to do it directly through access to to system functions like popen()?
22:07 mj41 left #parrot
22:08 hercynium left #parrot
22:08 jay Bubaflub, if you don't quickly see something wrong, don't worry about it.  But this seems to make sense to me... https://gist.github.com/1081448
22:09 dalek NQR: 5fb3f57 | (Jay Emerson)++ | src/nqr (3 files):
22:09 dalek NQR: Attempting globals for bindings
22:09 dukeleto bubaflub: did you do your mid-term eval yet?
22:09 dalek NQR: review: https://github.com/NQRCore/NQR/commit/5fb3f573fb
22:10 bubaflub dukeleto: yep
22:10 dukeleto benabik: please do your gsoc midterm eval
22:10 Felipe does Parrot implements SSA form?
22:10 dukeleto bubaflub: i see now that you did. I will now bug the students who didn't
22:11 dukeleto Felipe: i am not sure that we do, but i am also not sure that SSA form is useful when not dealing with stacks. I could be very wrong about that, though.
22:11 writtencode dukeleto: what class is this?
22:11 dukeleto writtencode: what class is what?
22:12 bubaflub jay: looks good to me
22:13 writtencode dukeleto: "I will now bug the students who didn't"
22:13 jay Argh.  That isn't good, then.
22:13 jay Unless I've just stumbled on some nci bug?
22:15 dukeleto writtencode: google summer of code
22:16 dukeleto msg tcurtis please fill out your gsoc midterm evaluation!
22:16 aloha OK. I'll deliver the message.
22:17 dukeleto msg soh_cah_toa please fill out your gsoc midterm evaluation!
22:17 aloha OK. I'll deliver the message.
22:17 tadzik (:
22:17 bubaflub jay: no, lemme look further...
22:18 bubaflub jay: in the :init :anon method you're loadlib 'libgsl.so'
22:18 bubaflub in dnorm2 you are loadlib 'libgsl'
22:18 bubaflub you can check if libgsl is null
22:18 dukeleto msg benabik please fill out your gsoc midterm evaluation!
22:18 aloha OK. I'll deliver the message.
22:18 dukeleto looks like I get to bug some mentors too
22:19 jay bubaflub: ah... will try that.  Just a sec
22:19 dukeleto jay: you probably want : loadlib 'libgsl.so'
22:19 dukeleto jay: and you may have to use the full path to libgsl.so, unless you fiddle with some env vars
22:20 jay bubaflub++.  That was it, no .so needed.
22:20 jay dukeleto: No, it's finding it... I fought that battle a few days ago.  !-)  Thx.
22:20 dukeleto jay: are you on OS X?
22:20 jay Ok, very cool.  If I can do the same thing in two different ways then I've learned something.
22:20 jay Ubuntu Linux.
22:20 dukeleto jay: ok, just checking
22:21 dukeleto jay: and glad to hear it :)
22:21 jay If I'm pinched I can dual-book Windows 7 64-bit and will moan and groan every inch of the way.
22:21 jay (boot)
22:21 bubaflub jay: i'd recommend checking the results of both loadilb and dlfunc - if they are null then die with an error message
22:22 jay Yes, I'll get friendlier... just being minimalist now.  I do that in other examples, so I know how, thanks.
22:22 jay But it would have caught this particular one, I admit.  bibaflub++ I stand properly admonished.
22:23 bubaflub jay: no biggie - it's a one time fix.  once the bindings work they just work.
22:23 dalek NQR: ed13905 | (Jay Emerson)++ | src/nqr (2 files):
22:23 dalek NQR: bubaflub++ caught the unneeded .so
22:23 dalek NQR: review: https://github.com/NQRCore/NQR/commit/ed13905d50
22:23 jay dinner time, back soon
22:30 plobsing joined #parrot
22:31 dalek parrot: 5018f0c | NotFound++ | / (2 files):
22:31 dalek parrot: make String is_integer method accept all encodings,
22:31 dalek parrot: unTODO a test that failed because of that and update that test to current
22:31 dalek parrot: encoding naming
22:31 dalek parrot: review: https://github.com/parrot/parrot/commit/5018f0c4e5
22:33 bluescreen joined #parrot
22:34 whiteknight joined #parrot
22:36 plobsing left #parrot
22:38 Felipe are the .t files still needing to be converted to PIR tests?
22:40 cotto_work Felipe: you can if you want to, but it's not a high priority.
22:40 dalek rakudo/nom: b88391c | jonathan++ | src/Perl6/Metamodel/BaseType.pm:
22:40 dalek rakudo/nom: Fix a thinko in BaseType's MRO generation.
22:40 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/b88391c1cf
22:40 dalek rakudo/nom: beba09a | jonathan++ | src/Perl6/Metamodel/EnumHOW.pm:
22:40 dalek rakudo/nom: Flesh out EnumHOW a little more.
22:40 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/beba09acd0
22:40 whiteknight Felipe: where it makes sense, yes. We aren't as aggressive about converting anymore
22:41 Felipe ah ok
22:41 dalek parrot: c2c0d12 | NotFound++ | src/pmc/string.pmc:
22:41 dalek parrot: codingstd: no space after opening parens
22:41 dalek parrot: review: https://github.com/parrot/parrot/commit/c2c0d1289e
22:47 jay whiteknight, is there an easy change so that (Jay Emerson) becomes jay in my commits?
22:48 whiteknight jay: You need a github username "jay"
22:48 whiteknight Maybe also add your name to CREDITS, I think dalek might read that file for names
22:48 Felipe jay: http://help.github.com/set-your-u​ser-name-email-and-github-token/
22:49 jay Ok, I'll do that.
22:50 whiteknight sorear may know more about dalek's mechanics
22:51 dalek NQR: 3c00f31 | (Jay Emerson)++ | src/nqr.pir:
22:51 dalek NQR: Updated loading message
22:51 dalek NQR: review: https://github.com/NQRCore/NQR/commit/3c00f31922
22:54 cotto_work jay: I can fix that.
22:55 sorear most important thing is, you need a CREDITS entry
22:55 whiteknight my mouse appears to be completely dead today
22:55 sorear with N:, U:, and E:
22:55 whiteknight surfing the internet is now officially more hassle than it is worth
22:55 jay Cotto, thanks.  I changed the github.user to jay (in theory).  My actual github username is jayemerson.
22:55 cotto_work jay: what email address does github know you buy?
22:55 cotto_work *by
22:56 jay john.emerson@yale.edu
22:56 cotto_work that should do it
22:57 dalek parrot: 1024f0d | cotto++ | / (5 files):
22:57 dalek parrot: Merge branch 'master' of github.com:parrot/parrot
22:57 dalek parrot: review: https://github.com/parrot/parrot/commit/1024f0d53c
22:57 dalek parrot: 2b98378 | cotto++ | / (2 files):
22:57 dalek parrot: add jay++ to CREDITS
22:57 dalek parrot: review: https://github.com/parrot/parrot/commit/2b98378eb9
22:57 jay thx!  Now I'll need to make more progress to test it out...
22:57 * cotto_work wonders what he just merged
22:57 writtencode Hey guys, it's been a bit since I last asked, so quick question: were I to want to, would I be able to use system functions like popen to control threads while running on top of parrot?
22:58 jay cotto: now I can rule the world, right?
22:58 NotFound writtencode: popen for threads?
22:58 cotto_work jay: it might take a couple months, but yes
22:58 Felipe hehe
22:58 jay excellent.  I knew I was in the right place.
22:58 NotFound writtencode: I've always thought the the 'p' was for 'process' ;)
22:59 whiteknight writtencode: We have an NCI functionality to call functions from native librarys
22:59 writtencode Ok, so I would be able to implement multithreading directly through system calls?
23:01 writtencode NotFound: you're right, I'm just a bit tired :/
23:01 whiteknight writtencode: Yes. We don't have good thread safety, locking, or safe data sharing right now
23:02 whiteknight writtencode: so if you run Parrot in multiple threads, you will want multiple interpreters, and you need to find a safe way to share data
23:02 NotFound You don't need native calls to use popen, you can use: filehandle.open('command', 'rp') (or 'wp')
23:03 writtencode whiteknight: thanks. I've decided I'll be using Parrot, because the guys over at LLVM were not too helpful, and it seemed like parrot has what I want. As for sharing data, I'll have to think about that. My first thought is sockets, but that sounds ugly :/
23:03 writtencode NotFound: gracias, senor.
23:03 whiteknight writtencode: Like I said, we are designing a new threading system, so we won't be worthless forever :)
23:03 NotFound For sharing raw data you can use MappedByteArray, but the synchronization must be done by hand.
23:03 writtencode whiteknight: hahaha, you've been more than helpful :)
23:04 writtencode NotFound: I'll search the docs for that, thanks!
23:05 writtencode Alright, I have to head off to work. Thanks again for your help, guys, and good luck in the google summer of code.
23:06 NotFound A mixed approch will be doable: the mapped for sharing and the socket for synch
23:08 whiteknight I feel like if I punch my laptop a few more times, the mouse might start working again
23:08 whiteknight or, the whole thing will stop
23:08 darbelo left #parrot
23:09 darbelo joined #parrot
23:09 darbelo left #parrot
23:09 NotFound whiteknight: do you realize that mouses are cheap? ;)
23:09 whiteknight if I sign off in the next few minutes, you'll know why
23:10 whiteknight NotFound: my wife is at the store right now, she said she would buy one if she found it
23:11 NotFound Will be a shame to read in the news: Parrot development blocked because of a mouse!
23:11 Felipe heheh
23:12 whiteknight NotFound: we have other developers who don't have the hardware or irrational personality problems that I have
23:13 NotFound Now that you tell, I have a failing cable on my laptop, it intermitently disconnects. And let's not talk about irrationality....
23:15 NotFound But I have two laptops, a netbook and a tablet, not much of a problem.
23:15 whiteknight I have one laptop, and a child who hates laptops
23:15 NotFound Using the tablet as a mouse via vnc is amusing.
23:17 NotFound whiteknight: it can be worse, I know of a guy who uses a expensive cintiq drawing tablet and has a child who enjoy it.
23:19 whiteknight left #parrot
23:19 whiteknight joined #parrot
23:20 jay Suppose I have a FixedFloatArray in $P0.  Does get.pointer($P0) give me the pointer I'll need to pass to a C function?
23:21 whiteknight jay: yes
23:21 whiteknight the NCI signature "p" calls get_pointer for you
23:22 jay Ooo... so the func($P0, 1, 2) would get the pointer for $P0 automatically?
23:23 jay I mean, if the signature is something liek "dpii" returning a double of course.
23:25 whiteknight yes
23:26 whiteknight its magic
23:26 whiteknight also, plobsing++ is a rockstar
23:28 jay $P0 = new "FixedFloatArray", 2      not happy... says "init_pmc() not implemented in class 'FixedFloatArray'"?  Got to be close...
23:28 NotFound jay: use ["FixedFloatArray"]
23:29 jay You mean just use brackets around the quoted type?
23:29 NotFound jay: yes
23:30 NotFound The variant with plain string is discouraged, and probably does not support some features.
23:30 jay get_number() not implemented in class 'FixedFloatArray'
23:30 jay Wait... that could be an error after creation that is my fault.  Just a sec...
23:30 whiteknight this is starting to sound obnoxious. Don't we have tests for FixedFloatArray?
23:31 jay Ok, probably my fault again.  Then I can't do something like $P0[1] = 1.23?
23:31 cotto_work we could use a few extra docstars
23:32 NotFound In a quick view, looks like no there are no test for it that covers init_int
23:32 whiteknight $P0[1] = 1.23 should work, for an FFA
23:33 whiteknight and I'm going to be righteously pissed if it doesn't
23:33 jay Hmm... no, it does.  Something else.  I'm all set, finally making the call:
23:33 jay ans = gsl_stats_mean($P0, 1, 2)
23:34 jay and the error is   get_number() not implemented in class 'FixedFloatArray'
23:35 jay signature 'dpll'
23:35 Felipe I see a leak http://dpaste.com/568083/plain/
23:39 whiteknight left #parrot
23:39 whiteknight joined #parrot
23:40 * whiteknight got a mouse!
23:40 Felipe \o/
23:40 jay Congrats, whiteknight!
23:41 NotFound Felipe: yes, looks like a leak in imcc_compile_buffer_safe
23:41 Felipe NotFound: on imcc_cleanup_input(), Parrot_str_free_cstring() is just called when is_file is 0.
23:42 bubaflub jay: got any code for us to look at?
23:42 Felipe in my case it is 1.
23:42 jay bubaflub, yes, almost there...
23:43 NotFound That's the beauty of imcc, special cases everywhere
23:44 Felipe hm
23:45 jay Try this: https://gist.github.com/1081586
23:47 jay DAMN... Sorry.  Stop looking.
23:47 jay It works.  Mea culpa entirely.  Jay--
23:48 jay jay--
23:49 NotFound Felipe: Can you fill a trac ticket about that?
23:49 dmalcolm left #parrot
23:50 jay Thanks for looking, bubaflub++ and whiteknight++.  This is a huge step forward, moving from simple numbers to vectors.
23:51 dalek NQR: 765ade5 | (Jay Emerson)++ | src/nqr (3 files):
23:51 dalek NQR: YES!  First working example with FixedFloatArray
23:51 dalek NQR: review: https://github.com/NQRCore/NQR/commit/765ade5f39
23:51 bubaflub jay: what as the problem?
23:51 jay I copied-and-pasted and then didn't *quite* change everything, in the end.  But the earlier help getting the format right for creating the array, and that plobsing++ pointer trick... invaluable.
23:52 logie left #parrot
23:53 bubaflub jay: great.  what's the next step?  removing the Q:PIR block and using NQP?
23:54 mtk left #parrot
23:55 jay Well, I worry a little about the types... NQP will let me shoot myself in the foot pretty easily.
23:55 Felipe NotFound: sure.
23:55 jay bubaflub... but I'd try one as an example to learn.  I'll give it a go and if I hit a snag I'll ping you.
23:55 bubaflub jay: great.  i'm not an NQP expert (or even novice) but there are plenty loitering in this room who are.
23:56 jay I'll just convert that function I just did... easy enough example, surely.
23:56 bubaflub jay: exactly.
23:56 bubaflub jay: and that way you are certain it's your NQP that isn't working
23:56 jay I'm fairly confident in my NQP not working, yes.
23:57 NotFound I don't want to start a language war, but kindly suggest that for low level tests winxed may be easier.
23:57 jay NotFound: I'll sit back and listen to the debate... !_)
23:58 NotFound Too late for me to start a debate, 'night.
23:58 bubaflub haha
23:58 bubaflub jay: i used Winxed because it's syntax is closer to JavaScript or C; NQP is, as you can expect, closer to Perl 6
23:59 jay I tend to write Perl that looks like C code, so maybe I should look at winxed.

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

Parrot | source cross referenced