Perl 6 - the future is here, just unevenly distributed

IRC log for #parrot, 2014-02-24

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:46 kid51 joined #parrot
01:07 rurban1 joined #parrot
01:38 Zyro joined #parrot
01:38 Chirag_ joined #parrot
03:05 Zyro joined #parrot
03:05 Chirag_ joined #parrot
03:40 rurban1 joined #parrot
04:52 rurban1 joined #parrot
05:45 Chirag__ joined #parrot
07:12 rurban1 joined #parrot
07:15 Zyro joined #parrot
07:15 Chirag_ joined #parrot
07:21 FROGGS joined #parrot
07:43 Chirag__ joined #parrot
08:45 rurban1 joined #parrot
09:07 denis_boyun joined #parrot
09:52 wagle joined #parrot
10:01 wagle joined #parrot
10:40 rurban1 joined #parrot
11:19 wagle joined #parrot
13:07 denis_boyun joined #parrot
14:57 rurban1 joined #parrot
15:46 rurban1 joined #parrot
16:08 rurban1 joined #parrot
16:09 kshannon joined #parrot
16:25 mtk joined #parrot
16:29 rurban1 joined #parrot
17:09 rurban looking into bison 3 now. repro with perl Configure.pl --maintainer
17:49 denisboyun joined #parrot
17:58 FROGGS joined #parrot
18:14 rurban arglist: | STRINGC ADV_ARROW var /* State 385 conflicts: 1 shift/reduce */
18:14 rurban 263 arglist: STRINGC . ADV_ARROW var
18:14 rurban 326 stringc: STRINGC .
18:14 rurban ADV_ARROW  shift, and go to state 446
18:14 rurban ADV_ARROW  [reduce using rule 326 (stringc)]
18:14 rurban $default   reduce using rule 326 (stringc)
18:15 FROGGS O.o what kind of magic is this?
18:15 rurban bison
18:16 rurban See http://www.tldp.org/HOWTO/Lex-YACC-HOWTO-7.html#ss7.2
18:17 FROGGS ahh, thanks
18:17 rurban And the imcc flags (optims and debug) are never passed to the imcc via the PMC
18:17 rurban So it's a bit hard to optimize and debug it
18:19 TonyC_ joined #parrot
18:24 TonyC joined #parrot
18:31 TonyC_ joined #parrot
18:56 sa1 joined #parrot
19:02 Zyro joined #parrot
19:29 denis_boyun__ joined #parrot
19:37 Coke post to tpf-gsoc aboutimproving performance of method signatures - candidate is reaching out for pre-mentorship
19:38 FROGGS yeah, seen it too :o)
19:42 Chirag_ joined #parrot
19:42 rurban Ok, I'll start digging...
19:43 Coke rurban++
19:43 rurban I am just re-adding the imcc optimizations and flags back in. I needed imcc yydebug
19:44 rurban bison 3 looks good with Util's fix, but there's one shift-reduce conflict which disturbs me
19:45 rurban do we have a #gsoc channel on magnet?
19:49 FROGGS #soc-help
19:50 rurban thanks
19:50 FROGGS you're welcome
19:51 Chirag_ hey!
19:54 Coke Ho.
19:55 rurban hey, it's 1:30 am your time, right?
19:56 rurban I just wrote you a short letter about your questions. I'll need to dig into the history also to found to good points and backtraces to compare
19:56 Chirag yup
19:56 rurban and the relevant discussion in the parrot-dev mailinglist
19:56 rurban http://lists.parrot.org/pipermail/parrot-dev/
19:56 Chirag registered already :D
19:57 FROGGS Chirag++
19:57 rurban the biggest problem is that ffi-like signatures are parsed as string at run-time "S->P" and not at compile-time
19:58 Chirag but before it wasnt the case?
19:58 rurban they should be preprocessed and the method pointers probably cached
19:58 rurban nope, before it was pretty good
19:59 rurban before method calls needed to create 2 objects at run-time, now only one. That was an improvement
20:00 rurban method calls are created automatically with the PMC compiler, which is pure perl5, so pretty easy to understand (if you know perl5)
20:00 Chirag ok..
20:00 rurban how's the weather in Goa? I guess better than here
20:00 Chirag definitely :D
20:01 Chirag its still frozen?
20:02 rurban Not in Texas, just foggy
20:02 Chirag cool! :D
20:04 rurban I'm working 8:30 to 5pm usually, but can be reached at home also on irc, if I'm not at the movies. I watch a lot of Hindi movies also
20:04 Chirag oh really! which ones have u watched?
20:04 rurban So easiest is communication in your evening
20:05 rurban About Goa only the bad sex comedies recently
20:05 rurban http://www.rinema.com/ReiniUrban/
20:06 rurban Satyagraha was horrible, Ramleela fantastic
20:06 rurban Dedh Ishqiya mediocre
20:07 rurban My favorites were Paan Singh Tomar and Gangs of Wasseypur lately
20:07 Chirag I could suggest you better movies!
20:07 rurban Yes, please
20:07 Chirag My favorite is Rang De Basanti
20:08 Chirag Lagey Raho Munnabhai
20:08 rurban Oh, I heard about that. Missed it
20:08 Chirag Bollywood's not coming up with good movies of late
20:09 rurban My favorite was Mani Ratnam, but then he moved back to Chennai and got worse
20:10 Chirag Guru?
20:11 rurban Anurag Kashyap is pretty interesting but he wrote Yuva
20:11 Chirag havent seen
20:11 rurban I forgot about Guru, I guess It didn't impress me
20:11 rurban Yuva is Amores Perros in India
20:12 Chirag hmm..
20:12 Chirag I have started watching movies that have unique storylines
20:12 rurban 3 parallel, pretty predictable stories, with a new style of camera
20:13 Chirag Wow!
20:13 Chirag U have more idea about Hindi movies than me! LOL
20:13 rurban The latest Urdu movie was pretty unusual, forgot its name
20:13 rurban I'm working as film-critic so I should know :)
20:14 Chirag Oh nice :)
20:14 Chirag I saw this movie recently - The man from earth
20:17 Chirag btw when I was going through Parrot's API last summer, I remember the implementation was in C++
20:17 rurban nope, only pure C. I just looks like C++
20:18 Chirag That was for providing OpenCV bindings
20:18 Chirag openCL*
20:20 * Coke is reminded that Chennai Express is in his netflix queue.
20:20 rurban look in pmc/src/*.c at the generated C files, set a breakpoint there and look at the backtrace. we have enough testcases in t/pmc/
20:20 Chirag ok.. will do
20:20 rurban I'll gonna find a good testcase for you. My current one, imccompiler is not good
20:21 rurban nci is for "Native Call Interface", the ffi
20:21 rurban this is the problem
20:22 Chirag I will have to read up on that..
20:22 Chirag I have never worked on Perl before
20:22 Chirag Just Python and C .. and some C++ and a little Java
20:23 rurban ok, the other compiler for our ops is written in nqp, which is a simplified perl6
20:24 Chirag ok..
20:24 rurban So our sigs are declared like "PiSSoIpSnSoIpSnPoIp"
20:24 rurban Pointer, integer, String, ....
20:25 rurban parsed via Parrot_pcc_fill_params_from_c_args(interp, _call_object, "PiSSoIpSnSoIpSnPoIp", ...
20:25 rurban which parses the string "PiSSoIpSnSoIpSnPoIp" and fills the given args dependent on the type of the string, tyhe sig
20:26 rurban But we can precompile all that into generated C code for the pmc, depending on the sig.
20:26 Chirag Parrot's Documentation will help me understand I hope..
20:27 rurban A PMC is a generic parrot object. Almost everything is an object
20:27 Chirag like Python
20:28 rurban yes, we have 3 native objects (int, num, string) and then PMC for the rest
20:28 rurban the methods for all pmc's are specified in src/pmc/*.pmc
20:28 rurban and the pmc compiler emits src/pmc/*.c files and include/pmc/pmc_*.h headers
20:29 Chirag ok.. I will look into it
20:29 rurban it's actually easier and more readable than python
20:29 Chirag nice!
20:29 rurban and it should be more efficient than python also
20:29 Chirag yes python is slow
20:30 rurban I'll let you sleep, because it's pretty late, see ya tomorrow
20:30 Chirag sure!
20:30 Chirag What time does everine come online?
20:30 rurban european morning time
20:30 rurban until US evening time
20:31 rurban there are no asians here
20:31 rurban but most of the europeans are passive nowadays, mostly US folks
20:31 Chirag 2.30 pm IST - 6.00 am IST
20:32 Chirag roughly
20:32 rurban yes, your afternoon and evening
20:32 Chirag i ll idle on this channel and ping
20:33 rurban the work could be done in 2-3 days for a very experienced parrot programmer, but for a newcomer it will need a lot of time to get into it.
20:33 rurban bye
20:33 Chirag ok.. I will try my best
20:33 Chirag :)
20:33 Chirag bye!
20:33 rurban no prob. failure is also no problem
21:08 dalek parrot: 90e3128 | rurban++ | compilers/imcc/imc (3 files):
21:08 dalek parrot: [imcc] bison 3 fixes and more [gh #1031]
21:08 dalek parrot:
21:08 dalek parrot: Fix #1031 compat with bison 3: remove deprecated and unneeded YYID macro
21:08 dalek parrot: note one remaining shift/reduce conflict in arglist:  STRINGC ADV_ARROW var at ADV_ARROW
21:08 dalek parrot: change deprecated %pure_parser to new %pure-parser
21:08 dalek parrot: regenerate compilers/imcc/imcparser.[ch]
21:08 dalek parrot:
21:08 dalek parrot: Note: repro with perl Configure.pl --maintainer
21:08 dalek parrot: review: https://github.com/parrot/parrot/commit/90e3128ede
21:33 rurban I'm creating now the generated include/*.pasm files with vim and emacs read-only coda and proper modes
21:40 dalek parrot/rurban/h2inc-modes-gh1032: 0cad250 | rurban++ | / (4 files):
21:40 dalek parrot/rurban/h2inc-modes-gh1032: wip: add imcc flags to the refactored API and use it (again)
21:40 dalek parrot/rurban/h2inc-modes-gh1032: review: https://github.com/parrot/parrot/commit/0cad250a25
21:40 dalek parrot/rurban/h2inc-modes-gh1032: 45d8e31 | rurban++ | / (2 files):
21:40 dalek parrot/rurban/h2inc-modes-gh1032: [cage] Provide coda for generated include/*.pasm files #1032
21:40 dalek parrot/rurban/h2inc-modes-gh1032: review: https://github.com/parrot/parrot/commit/45d8e3118e
21:41 rurban oops, 0cad250 does not belong here.
21:44 dalek parrot/rurban/imccflags: ea57c49 | rurban++ | / (4 files):
21:44 dalek parrot/rurban/imccflags: [imcc] add old imcc optim flags as Parrot_trace_flags
21:44 dalek parrot/rurban/imccflags: review: https://github.com/parrot/parrot/commit/ea57c49008
21:45 travis-ci joined #parrot
21:45 travis-ci [travis-ci] parrot/parrot#947 (master - 90e3128 : Reini Urban): The build is still failing.
21:45 travis-ci [travis-ci] Change view : https://github.com/parrot/parrot/compare/df27e46e0afa...90e3128edec0
21:45 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/19529920
21:45 travis-ci left #parrot
21:47 dalek parrot/rurban/h2inc-modes-gh1032: 42184f2 | rurban++ | / (2 files):
21:47 dalek parrot/rurban/h2inc-modes-gh1032: [cage] Provide coda for generated include/*.pasm files #1032
21:47 dalek parrot/rurban/h2inc-modes-gh1032: review: https://github.com/parrot/parrot/commit/42184f2915
21:48 awwaiid joined #parrot
22:35 rurban1 joined #parrot
23:35 kid51 joined #parrot

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

Parrot | source cross referenced