Perl 6 - the future is here, just unevenly distributed

IRC log for #inline, 2014-11-22

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

All times shown according to UTC.

Time Nick Message
00:17 sivoais joined #inline
03:07 d^i joined #inline
03:07 d^i davido__: over here!
03:11 davido_lt hi
03:11 ingy hey
03:11 davido_lt is the pairup going?
03:12 d^i :)
03:12 davido_lt ok...
03:13 davido_lt screen size ok?
03:13 ingy yeah
03:13 ingy does the todo look ok?
03:13 ingy for starters
03:13 davido_lt yes.  isn't it postamble though?
03:14 ingy :) thx
03:14 davido_lt the M::I::InlineModule shouldn't be too bad.
03:15 davido_lt ...since M::I is mostly just an abstraction over EUMM, isn't it?
03:15 davido_lt wow, it's that time already.
03:15 ingy I think we can now cram all the logic into Inline::Module
03:17 davido_lt yeah, that's cool.  One module to rule them all. ;)
03:18 ingy :)
03:21 ingy first thing we need to do is merge leont changes to 0.0.14
03:21 ingy er 0.14
03:21 davido_lt yes.
03:21 davido_lt i don't think that's going to be a straight merge
03:21 davido_lt there was enough that changed, we may need to just apply the technique rather than attempt a merge.
03:21 davido_lt :) or not.
03:23 ingy I just tried it
03:23 ingy seems maybe ok
03:23 davido_lt yeah
03:23 davido_lt i was sure it would be chaos.
03:24 ingy well not tested yet!
03:26 ingy I'd say it's not working
03:26 davido_lt lol
03:26 davido_lt :)
03:26 davido_lt seemed like a lot to ask of the merge.
03:29 ingy yeah
03:32 davido_lt lol
03:32 davido_lt grhh... i thought that was an expression.
03:33 ingy grrrrrrr
03:33 davido_lt yeah, git reset hard head
03:33 davido_lt or head --hard
03:49 davido_lt was about to ask why that was still caps.
03:49 davido_lt Too bad we can't get the ilsm automatically
03:50 ingy eventually
04:06 davido_lt sec. I have to make a quick follow-up post stating that yapc payment system is working.
04:08 davido_lt k, back.
04:15 ingy sorry about this silence
04:15 ingy I'm thinking hard here
04:16 davido_lt it's ok.
04:23 ingy that's it
04:23 davido_lt :)
04:31 davido_lt all tests successful
04:32 ingy I remember now
04:32 davido_lt :)
04:35 davido_lt any idea what causes it?
04:38 ingy no
04:39 ingy well I don't really care :)
04:39 davido_lt just shut it up? :)
04:39 ingy let's release modules now
04:39 davido_lt Ok.
04:39 ingy no, we have to fix it. just later
04:39 ingy since it doesn't seem to affect anything else
04:39 davido_lt yeah
04:42 davido_lt so how do we generate?
04:42 davido_lt on demand
04:42 davido_lt yeah.
04:43 davido_lt that makes sense too
04:44 davido_lt EUMM can tell us the version it's assuming
04:52 davido_lt when did we release 0.14?
04:53 ingy I probably did
04:53 ingy right before leont did his postamble++ stuff
04:53 davido_lt so we should be on 0.15 now.
04:55 ether hey! I'm back
04:55 ether kinda
04:56 davido_lt wb ether
04:56 ingy welcome
04:56 * ether had the inline plugin mostly rewritten
04:56 ether and then...
04:56 ether my hard drive decided to ruin my week
04:56 ether :'(
04:56 davido_lt wow.
04:56 ingy we are putting out new inline::module right now
04:56 ingy much better thanks to ideas from leont
04:56 davido_lt v0.15 with some nice leont++ concepts
04:57 ingy sorry about your HD
04:57 ingy ether: did you ever see my privmsgs from last week
04:57 ingy ?
04:57 ingy I'll be in Van next 2 weekends
04:58 ingy not sure if it would work, but maybe we could meetup
04:58 ingy I'll be in gastown mostly I think
04:59 ingy davido_lt: idea...
04:59 ingy we can generate ::Inline right into blib
05:00 ingy I think
05:00 davido_lt It's not needed during pre-blib authorship?
05:00 ingy I mean into the developer blib
05:00 davido_lt oh, ok.
05:00 ingy then people never even know about it
05:00 ingy maybe I'm crazy but
05:01 davido_lt so that means dev needs to work out of blib always?
05:01 ingy no
05:01 ingy I'll show you
05:01 davido_lt ok.
05:03 GitHub116 [inline-module-pm] ingydotnet pushed 1 new commit to master: http://git.io/WrcH2Q
05:03 GitHub116 inline-module-pm/master ecc1742 Ingy döt Net: CPAN Release 0.15...
05:03 GitHub62 [inline-module-pm] ingydotnet tagged 0.15 at master: http://git.io/vxveHA
05:05 davido_lt Ok.
05:11 ether ingy: oh cool. I'll wave at you from the other end of the city :)
05:11 GitHub43 [acme-math-xs-pm] ingydotnet pushed 1 new commit to postamble-test: http://git.io/Waqq_w
05:11 GitHub43 acme-math-xs-pm/postamble-test 211696d Ingy döt Net: v0.0.4 -- Use new postamble style.
05:11 ether if you do the inlining from within Makefile.PL, that'll happen in blib "always"
05:11 ether the only trouble is if one wants to use dzil, and wants to run tests without dzil
05:12 ether then the dist.ini will have to copy Makefile.PL back from the built dist dir
05:12 ether xdg does that
05:12 GitHub41 [acme-math-xs-pm] ingydotnet tagged eumm-0.0.4 at postamble-test: http://git.io/5aaLLA
05:12 ether I do that with LICENSE and CONTRIBUTING, but not Makefile.PL out of principle
05:13 ingy ether: I think you are confusing levels
05:13 ether perhaps!
05:13 * ether hasn't been following closely
05:13 * ether retreats to the shadows.
05:13 ingy ether: hold on
05:13 davido_lt this is a multi-layer cake :)
05:13 ingy ether: there's 2 things to tell you
05:14 ingy ether: first we just push Alt-Acme-Math-XS-EUMM-0.0.4 out
05:14 ingy please look at the Makefile.PL
05:14 ingy totally different
05:14 ingy you'll need to generate that
05:15 ingy ether: also when you `prove -lv t` to do author tests, you get a blib
05:15 ingy because this is inline and stuff must compile
05:15 travis-ci ingydotnet/acme-math-xs-pm#20 (eumm-0.0.4 - 211696d : Ingy döt Net): The build passed.
05:15 travis-ci Change view : https://github.com/ingydotnet/acme-math-xs-pm/compare/eumm-0.0.4
05:15 travis-ci Build details : http://travis-ci.org/ingydotnet/acme-math-xs-pm/builds/41786688
05:15 ingy so we compile into blib
05:15 ingy just that's the blib we are talking about
05:16 davido_lt putting ::Inline.pm in blib just clicked.
05:16 ingy ether: it's awesome, because every time you run `prove -l t` it builds the code
05:17 ingy ether: so just like any pure perl module for testing
05:17 davido_lt auto-awesome.
05:17 ingy davido_lt: yeah it's just autogenerated
05:17 ingy yep
05:18 ingy ok, need a short food break
05:19 ingy bbi15
05:19 davido_lt ok,
05:24 ether wut? how are you building via prove?
05:24 ether I'll be honest - that's crazy :)
05:24 ether it doesn't work like that anywhere else
05:25 ether if you need to compile, you need to perl Makefile.PL && make first, always
05:25 ether or just 'make test' will DTRT
05:32 ingy ether: you've never used Inline I think
05:32 ingy it's the whole point
05:33 ingy you write subroutines in other langs inside your perl and run it
05:33 ingy and it works, just like perl works w/o compiling it first :)
05:33 ingy welcome to the future
05:34 ingy davido_lt: I'm obviously back
05:37 ingy davido_lt: so here's how I see the new ::Inline working…
05:38 ingy in your code your for Foo::Bar you write `use Foo::Bar::<something-unique> => C => …`
05:39 ingy and if <something-unique> is 'Inline' (which is encouraged, then you are done
05:40 ingy you just need to add {postamble: {inline: {module: 'Foo::Bar'}}} into your Makefile.PL, Meta, dist.ini whatever
05:41 ingy if you use something else you need to specify it in the 'inline' param of your thing
05:42 ingy then we just generate the file into blib
05:42 ingy which is a dir that is meant to go away
05:42 ingy so nobody thinks it weird
05:45 ingy the thing to figure out is what action generates the file
05:46 ingy right now it's `perl-inline-module generate Foo::Bar`
05:46 ingy which is something you don't want to repeat all the time
05:47 ingy well let's skip that idea and proceed
05:52 davido_lt back
05:53 d^i davido_lt: ok
05:53 d^i :)
05:54 ingy ether: can you answer my #dz question?
05:54 davido_lt So we're not repeating it all the time anymore anyway, if it's auto-generated on demand.
05:54 ingy davido_lt: there's a real problem though
05:54 ingy what action auto-generates it?
05:55 davido_lt yeah......
05:55 ingy if you run the tests, the module is not found
05:55 davido_lt thinking on it.
05:56 ingy so you need to do one of: 1) perl Makefile.PL 2) dzil inline-module 3) perl-inline-module 4) export PERL5OPT=Inline::Module=autogen
05:57 ingy I might go for the last one
05:57 davido_lt even perl Makefile.PL is not the right time.
05:57 ingy why not?
05:57 ingy it's the right time to generate everything needed by make
05:58 davido_lt I guess.  ...seems like the only action that should happen before "make" is making a makefile.
05:58 davido_lt blib doesn't exist before make
05:59 davido_lt well, it can
06:00 davido_lt how about if we create a make dev target?
06:00 davido_lt comes before make
06:01 ingy let's put this idea on hold
06:01 davido_lt but then i guess that's too late, because we need to know that it is ::Inline before we write our makefile
06:02 ingy ?
06:02 ingy I think you are more confused than ether :)
06:02 davido_lt No, i'm just talking confused. ;)
06:02 ingy let's either fix the dzil plugin
06:03 ingy or do module::install
06:03 davido_lt which do you prefer?  I think M::I shouldn't be too bad, but either way we'll end up making changes once we figure out the right way to generate the stub
06:03 ingy I think we should wait for ether to grace with her presence momentarily again before doing the dzil
06:04 ingy let's do MI
06:08 davido_lt http://search.cpan.org/~bingos/Module-Install-1.14/lib/Module/Install/API.pod#preamble,_postamble_(Module::Install::Makefile)
06:08 ingy cool
06:08 ingy let's come back to that
06:08 davido_lt maybe that saves some time
06:11 ingy I'm not sure how to do this
06:14 ingy that looks promising
06:14 davido_lt yeah.
06:14 ingy maybe
06:19 davido_lt I'm unclear on why the plugin is necessary
06:20 ingy see the inline line
06:20 ingy ?
06:20 davido_lt Yeah.
06:20 ingy it needs code :)
06:21 ingy is it clearer?
06:27 ingy works
06:27 davido_lt yes. and yes
06:38 ingy this is a bit gross
06:38 davido_lt :)
06:38 ingy I mean it's going to be
06:39 davido_lt lol $Inline::Module::Self
06:41 ingy Maybe done
06:41 davido_lt lets see.
06:46 davido_lt pass
06:50 ingy wait weird
06:50 ingy where's ::Inline
06:51 davido_lt I thought we looked at it earlier.
06:51 ingy shit. using installed one
06:51 ingy :)
06:51 davido_lt woops
06:52 ether I'm not quite sure what you want in your Makefile.PL, but if you show me what you want to get added into there, I can dzilify that
06:54 ingy ether: it's on cpan
06:54 ingy one sec
06:55 ingy https://metacpan.org/source/INGY/Alt-Acme-Math-XS-EUMM-0.0.4/Makefile.PL
06:56 ingy ether: https://github.com/ingydotnet/acme-math-xs-pm/blob/dzil/dist.ini#L20
06:56 ingy I want those 2 lines to make the preamble in the first link
06:57 ingy and I want to get rid of these line: https://github.com/ingydotnet/acme-math-xs-pm/blob/dzil/dist.ini#L8-11
06:57 ingy they were just a workaround
06:57 ingy ether: MAKE IT SO!
06:58 davido_lt :)
07:01 GitHub189 [acme-math-xs-pm] ingydotnet tagged m-i-0.0.1 at 1c7a990: http://git.io/Myr68w
07:01 GitHub189 acme-math-xs-pm/m-i-0.0.1 bcd1edc Ingy döt Net: Rename test to t for Module::Install
07:01 GitHub189 acme-math-xs-pm/m-i-0.0.1 bdd6124 Ingy döt Net: Don't use ReadMe.pod in M:I
07:01 GitHub189 acme-math-xs-pm/m-i-0.0.1 1b4fcdf Ingy döt Net: Add Changes file
07:01 GitHub173 [acme-math-xs-pm] ingydotnet pushed 4 new commits to m-i: http://git.io/akTjWQ
07:01 GitHub173 acme-math-xs-pm/m-i bcd1edc Ingy döt Net: Rename test to t for Module::Install
07:01 GitHub173 acme-math-xs-pm/m-i bdd6124 Ingy döt Net: Don't use ReadMe.pod in M:I
07:02 ingy davido_lt: we probably don't want/need the doc dir
07:02 ingy but its ok
07:02 ingy let's release the plugin
07:02 davido_lt Yes.
07:04 davido_lt Could use Acme::Math::XS in the synopsis
07:05 davido_lt or at least mentioned in the See section.
07:09 GitHub17 [module-install-inlinemodule-pm] ingydotnet pushed 1 new commit to master: http://git.io/OqKS-A
07:09 GitHub17 module-install-inlinemodule-pm/master adfd619 Ingy döt Net: 0.01
07:10 GitHub182 [module-install-inlinemodule-pm] ingydotnet pushed 1 new commit to master: http://git.io/G3gfdA
07:10 GitHub182 module-install-inlinemodule-pm/master 5e132e9 Ingy döt Net: CPAN Release 0.01...
07:10 GitHub52 [module-install-inlinemodule-pm] ingydotnet tagged 0.01 at master: http://git.io/8slPIQ
07:11 ingy GO MODULE::INSTALL!!!!!!!!!
07:11 davido_lt yay
07:11 ingy as in please GO AWAY!
07:12 ingy ;)
07:12 davido_lt We should fix the tutorial
07:12 ingy let's
07:12 ingy yes
07:12 davido_lt then write blog
07:12 davido_lt then sleep
07:13 davido_lt eventually there will probably need to be ::Tutorial::ModuleInstall,
07:13 davido_lt etc
07:14 davido_lt that's not quite right
07:15 davido_lt postamble => {inline => { module =>...
07:16 ingy we forgot to merge postamble branch back into eumm
07:17 GitHub149 [inline-c-pm] DannyThomas comment on issue #30: FYI t/27inline_maker.t fails spectacularly with ExtUtils::MakeMaker 6.98... http://git.io/UMyxqA
07:18 davido_lt that's a strange bug report.  I thought Inline is now requiring 7.02 anyway.
07:18 GitHub111 [acme-math-xs-pm] ingydotnet merged postamble-test into eumm: http://git.io/CAxL7A
07:18 GitHub110 [acme-math-xs-pm] ingydotnet deleted postamble-test at 211696d: http://git.io/1OFD2g
07:19 ingy ok acme branches all good now
07:20 davido_lt so it goes inline => { inline => 'A::M::XS::Inline', ... }
07:21 davido_lt field
07:21 davido_lt that inner 'inline' could be 'stub'
07:21 davido_lt or 'loader'
07:22 davido_lt not right now
07:23 davido_lt might be less confusing that way
07:23 ingy yeah
07:25 davido_lt in the report we should mention how may modules this project has spawned so far: I::M, M::B::I, A::M::XS, A::A::M::XS{EUMM,DZ,MB}
07:29 ingy so
07:29 ingy I need to sleep
07:29 davido_lt ok.  i'm there too. :)
07:30 ingy you could write a draft of the report at some point
07:30 ingy let's sync tomorrow after my ride
07:30 GitHub181 [inline-module-pm] ingydotnet pushed 1 new commit to master: http://git.io/VyRYOg
07:30 GitHub181 inline-module-pm/master 68ef209 Ingy döt Net: CPAN Release 0.16...
07:30 davido_lt ok, i'll write it in the morning and we can review whenever you like.
07:30 GitHub35 [inline-module-pm] ingydotnet tagged 0.16 at master: http://git.io/9cZRqw
07:30 ingy maybe 2pm PST
07:30 davido_lt ok, 3pm my time.
07:30 ingy maybe we can clean up the cogware a bit
07:31 davido_lt cool
07:31 ingy it's getting unruly
07:31 davido_lt did you notice that Inline::C bug report?
07:32 davido_lt yeah.
07:32 d^i that's mohawk's business
07:32 d^i :)
07:32 d^i I got out of that game
07:32 davido_lt just found it odd.
07:33 davido_lt lol, yeah
07:33 ingy 'm totally oblivious :)
07:33 davido_lt ok, good night.  see you tomorrow.
07:33 ingy o/
17:01 bulk88_3 joined #inline
22:04 davido_lt here
23:19 ingy hola
23:19 davido_lt hey, look who I found.
23:19 ingy :D
23:20 ingy let's PairUp™
23:20 ingy I'll start it
23:20 davido_lt btw: Did you see my blog.yapcna.org contributions?
23:20 ingy I got a small screen today
23:20 ingy no
23:20 ingy url?
23:20 davido_lt http://blog.yapcna.org
23:20 davido_lt :)
23:21 davido_lt joined #inline
23:21 davido_lt woops.
23:22 davido_lt hit ctrl-R in the wrong window.
23:22 davido_ joined #inline
23:22 davido_lt am i back?
23:22 davido_lt :)
23:24 davido_lt brb
23:28 davido_lt back
23:32 d^i joined #inline
23:32 d^i o/
23:32 davido_lt sec... i'm going to mess the screen up for a moment...
23:33 davido_lt done.
23:33 ingy I used a smaller font
23:33 ingy since I'm on laptop
23:33 davido_lt My LT has a 17" screen, so I'm not even full screen.
23:34 ingy yah I know
23:34 davido_lt but when you're on the desktop, i go full.

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