Perl 6 - the future is here, just unevenly distributed

IRC log for #inline, 2014-12-04

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

All times shown according to UTC.

Time Nick Message
01:05 bulk88_3 joined #inline
15:39 davido_ joined #inline
17:20 ingy hi davido_
17:21 davido_ hey
17:22 davido_ how are you ingy?
17:22 ingy ok!
17:26 davido_ ingy, privmsg
17:27 ingy davido_: I want to try writing some tests today
17:27 davido_ ok, are you in the pairup?
17:28 davido_ what's your schedule like?
17:28 ingy I can work on it now
17:28 daoswald^ingy .
17:29 davido_ ok.
17:32 davido_ lol, grhh sounds like an expression, not a command.
17:40 davido_ what is setup for then?
17:40 ingy the tests will be in bash
17:40 davido_ oh, ok.  :) that's better?
17:40 ingy setup is just where I put the common bootstrap code
17:40 ingy way better
17:40 davido_ got it.
17:41 ingy for this kind of testing
17:47 davido_ I do like your bash test::more
17:54 davido_ sec
17:56 davido_ k
18:00 ingy brb
18:00 davido_ ok
18:03 ingy trap is like END in perl
18:03 davido_ yeah. i looked it up :)
18:03 ingy but I think we collide
18:04 ingy with the Test::More trap
18:04 davido_ oh,
18:04 davido_ bash test more's trap.
18:05 davido_ how is the order resolved?
18:05 ingy it's not
18:05 davido_ and that's the collision
18:05 ingy it is overwritten
18:06 ingy I think
18:06 ingy sec
18:06 davido_ ok, need to generate the code that goes into trap then
18:07 davido_ i didn't see it.
18:08 ingy you can only have 1 trap
18:08 davido_ i have a thought on it though.
18:08 davido_ but can express it better in Perl. lol
18:10 ingy works fine
18:10 davido_ Was thinking along these lines... https://gist.github.com/daoswald/404cf6b31590be841b9d
18:11 ingy making it generic is not for today
18:11 davido_ :)
18:12 davido_ prvmsg
18:32 davido_ k
18:40 ingy back
18:40 davido_ :)
18:45 davido_ this assumes that the script is being run from project root, correct?
18:47 ingy probably
19:03 GitHub48 [inline-module-pm] ingydotnet pushed 2 new commits to autostub: http://git.io/uTEfwA
19:03 GitHub48 inline-module-pm/autostub 9234397 Ingy döt Net: git subrepo clone git@github.com:ingydotnet/test-more-bash ext/test-more-bash...
19:03 GitHub48 inline-module-pm/autostub f65f875 Ingy döt Net: Add a dev test for generating a stub
19:04 davido_ haven't used cherry-pick
19:05 GitHub43 [inline-module-pm] ingydotnet pushed 1 new commit to autostub: http://git.io/E8jNZQ
19:05 GitHub43 inline-module-pm/autostub 864ed66 Ingy döt Net: CPAN Release 0.17...
19:09 ingy I'm not sure it was the right move
19:09 ingy anyway
19:09 davido_ lol
19:10 davido_ I just do a double-take every time I see grhh
19:10 davido_ yeah, i know.
19:10 davido_ git reset hard head
19:10 davido_ or head hard or whatever
19:15 mohawk git reset --hard HEAD~4 # goes back 4 commits
19:15 davido_ yeah
19:15 davido_ Or bounce on the ^ key for awhile. ;)
19:15 * mohawk restrains himself from a "that's what she said" remark
19:16 daoswald^ingy mohawk: srsly?
19:17 mohawk i know - who knew i had that much willpower?
19:38 davido_ here
19:44 ether apparently not that much
19:45 davido_ lol, for a moment I thought that applied to my "here".
19:51 ingy davido_: trying to determine what needs to be done next
19:51 davido_ ok
20:40 GitHub40 [inline-module-pm] ingydotnet comment on issue #7: THis has been done for a while now. Closing.
20:40 GitHub82 [inline-module-pm] ingydotnet closed issue #7: Inline::Module::MakeMaker should be merged into Inline::Module. http://git.io/IZUk9g
20:46 GitHub155 [inline-module-pm] ingydotnet comment on issue #5: I think we can add this to the postamble section.
20:47 GitHub165 [inline-cog] ingydotnet opened issue #3: Add list of posts to sidebar. http://git.io/Cnezhw
20:49 alh joined #inline
20:50 ingy ta
20:50 alh np
21:01 alh left #inline
21:01 alh joined #inline
21:08 ingy left #inline
21:08 ingy joined #inline
21:33 daoswald^ingy invited alh into pairup for a moment
21:33 davido_ hey
21:33 daoswald^ingy hi
21:34 ingy davido_: #inline is registered up now
21:34 davido_ Oh good! :)
21:34 daoswald^ingy hi alh
21:34 alh Howdy
21:34 daoswald^ingy you can talk in #inline
21:34 daoswald^ingy :)
21:34 davido_ hi alh.
21:34 daoswald^ingy Oh, neato
21:34 davido_ we haven't met have we?
21:34 daoswald^ingy this is how davido_ and ingy work
21:35 alh Don't think so
21:35 * davido_ shakes hands.
21:35 * alh shakes back
21:36 davido_ Pairup(tm) is cool.  Hardest part is figuring out what Ingy is thinking (which is usually a few hours ahead of me)
21:36 davido_ :)
21:37 alh Yeah, hadn't tried one of those yet
21:37 alh Neat stuff
21:38 ingy alh: we tried to have it termcast
21:38 ingy and will again
21:39 ingy so anyone could watch in a browser
21:39 alh Heh
21:39 davido_ we mostly had it except that it would blow up frequently.
21:39 ingy crowd-enhanced-pair-programming
21:39 davido_ lol.
21:40 ingy yeah, we'll give it another go once we get some important stuff done
21:40 davido_ yeah.  got to prioritize important for now, then fun.  Best is when there's an intersection between them.
21:41 Topic for #inline is now LOG: http://irclog.perlgeek.de/inline/2014-11-12 | TPF Grant Work in Progress | http://inline.ouistreet.com | Discussion of Inline.pm and ILSMs | https://github.com/ingydotnet/inline-pm
21:43 davido_ sec
21:44 Topic for #inline is now LOG: http://irclog.perlgeek.de/inline | TPF Grant Work in Progress | http://inline.ouistreet.com | Discussion of Inline.pm and ILSMs | https://github.com/ingydotnet/inline-pm
21:44 davido_ k
21:47 ingy ok davido_… waking up
21:47 ingy ;)
21:47 davido_ i agree with putting ::Inline into author blib.
21:47 ingy I'm not so sure now
21:47 davido_ :)
21:48 ingy there are 3 candidates for stub location
21:48 ingy lib/ blib/ _Inline/
21:48 davido_ _Inline should be safe too.
21:48 ingy and more obvious maybe
21:49 davido_ I dunno.... if we're talking author time, blib or _Inline.  If we're talking "installed". lib.
21:49 ingy there's 3 scenarios: author, distdir, install
21:50 davido_ yes.
21:51 ingy I was thinking to allow choice for author time
21:51 ingy but that might just be confusing
21:51 davido_ why would an author *need* to change it?
21:51 davido_ (nevermind prefer to change)
21:52 ingy we should offer a best practice and then respond to real needs
21:52 davido_ right.
21:52 davido_ if there's a use case, sure.
21:52 davido_ if it's just "because some authors might like it"... meh.
21:52 ingy I'm also thinking .inline for author time
21:53 davido_ What advantage does .inline or _Inline have over blib?
21:53 ingy authors *could* copy from .inline into lib if they really want the stub in lib
21:54 ingy well blib has a known meaning
21:54 ingy and we are exploiting it
21:55 davido_ I don't think we're abusing it too badly.
21:55 davido_ maybe though. :)
21:55 ingy I think it would be confusing for blib to appear at an unexpected time
21:55 ingy sure
21:55 davido_ ah, yeah.
21:55 davido_ blib should appear at 'make'
21:56 alh left #inline
21:56 ingy right, so during dev, I don't think a blib should appear
21:56 ingy well at least not for `prove -lv t`
21:56 davido_ yeah, that's a good point.  So _Inline is to be expected.
21:57 ingy if people test using `perl Makefile.PL; make test` then it /probably/ should
21:57 davido_ For example, when compiling some XS modules, the .c file ends up in project root.
21:57 davido_ that's a generated file too.
21:58 davido_ It seems natural that during dev the project_root/_Inline should contain whatever generated cruft there is.
21:58 ingy I have an idea
21:58 davido_ the problem is that the ::Inline.pm *is* a Perl module.
21:58 ingy to the pairup!
21:59 davido_ and I can't think of any time it's the natural order of things for a Perl module to live somewhere outside of lib or blib.
22:00 ingy yeah
22:00 ingy let me try something
22:04 davido_ hm
22:06 ingy I dunno. I kinda like using .inline/ for everything
22:06 davido_ everything at dev time.
22:06 ingy yes
22:06 davido_ It's not wrong, and there's probably no "right" :)
22:07 ingy author time
22:07 davido_ yeah
22:07 ingy well we can drive this with tests now
22:07 ingy I think that's best. else we swim in circles
22:07 davido_ What I like about it is that it keeps all the Inline generated files in one easily RM'ed place.
22:08 davido_ Yeah, just decide and move on.  If someone feels strongly they can do a pull request with accompanying tests. ;)
22:08 ingy )
22:08 ingy :)
22:09 davido_ see. there's the RM _Inline I was talking about
22:09 ingy yeah, it was same with blib
22:09 davido_ right.  but then blib has other non-Inline-specific stuff too.
22:10 ingy yeah
22:10 davido_ we can just re-generate whatever needs to be in _Inline, independently of blib.
22:11 GitHub146 [inline-module-pm] ingydotnet pushed 1 new commit to autostub: http://git.io/DHBvsQ
22:11 GitHub146 inline-module-pm/autostub 9c122d3 Ingy döt Net: Update notes
22:14 GitHub137 [inline-module-pm] ingydotnet created autostub2 (+4 new commits): http://git.io/IUfwQA
22:14 GitHub137 inline-module-pm/autostub2 91d6996 Ingy döt Net: Half done work on autostub branch
22:14 GitHub137 inline-module-pm/autostub2 35ba74b Ingy döt Net: git subrepo clone git@github.com:ingydotnet/test-more-bash ext/test-more-bash...
22:14 GitHub137 inline-module-pm/autostub2 18ba04b Ingy döt Net: Add a dev test for generating a stub
22:15 GitHub134 [inline-module-pm] ingydotnet deleted autostub at 9c122d3: http://git.io/ZVADWg
22:15 ingy kind of a gracefuller force push :)
22:16 davido_ haha
22:18 travis-ci ingydotnet/inline-module-pm#24 (autostub - 9c122d3 : Ingy döt Net): The build has errored.
22:18 travis-ci Change view : https://github.com/ingydotnet/inline-module-pm/compare/864ed66db630...9c122d3cf4e4
22:18 travis-ci Build details : http://travis-ci.org/ingydotnet/inline-module-pm/builds/43035848
22:18 ingy can you look into that
22:18 ingy ?
22:18 davido_ yeah, checking now.
22:19 ingy I think we can add the devel tests to travis
22:19 davido_ failing on 5.16 and 5.8
22:20 davido_ https://travis-ci.org/ingydotnet/inline-module-pm/jobs/43035853
22:20 ingy can you recycle/rerun?
22:20 davido_ "the command "eval git clone --gepth=50........ failed"
22:20 davido_ depth i mean
22:20 ingy oh we deleted the branch
22:20 ingy nm
22:21 ingy we should see a success on autostub2
22:24 davido_ ok, need 15 again. :(
22:25 ingy np
22:26 travis-ci ingydotnet/inline-module-pm#25 (autostub2 - a518bff : Ingy döt Net): The build passed.
22:26 travis-ci Change view : https://github.com/ingydotnet/inline-module-pm/compare/91d6996c2f58^...a518bfff2dd3
22:26 travis-ci Build details : http://travis-ci.org/ingydotnet/inline-module-pm/builds/43036252
22:40 davido_ here
22:41 ingy I'm confusing myself
22:42 davido_ is the same file opened twice there?
22:42 ingy well how does .inline/lib get into @INC now
22:43 ingy and how did blib/lib get it
22:43 ingy get in
22:43 davido_ prove -b includes anything in blib
22:43 ingy I'm missing something
22:43 davido_ so make test runs "prove -lbv'
22:43 ingy but I think prove -l worked
22:43 davido_ how?
22:43 davido_ hm, shouldn't have.
22:43 ingy sec
22:44 davido_ prove -lv would work if we were still putting our stub in lib, which we stopped doing.
22:44 davido_ perl-inline-module generate put it in lib.
22:44 davido_ originally
22:44 ingy agreed
22:45 ingy but I thought I saw something working
22:45 ingy brb
22:59 davido__ joined #inline
23:15 willthechill joined #inline

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