Perl 6 - the future is here, just unevenly distributed

IRC log for #pr-challenge, 2015-02-07

| Channels | #pr-challenge index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:04 sawyer joined #pr-challenge
00:08 solargroovy joined #pr-challenge
00:37 kid51 joined #pr-challenge
00:51 kid51 I figure this should be a good place to ask this question ...
00:51 kid51 If I have created a git repository on my local disk, and, subsequently, want to publish that on github.com, what is the best sequence of commands to do that.
00:51 kid51 ?
00:52 kid51 This is a CPAN distro which has not previously been on github.
00:54 thrig clicky around on github to create the new repository, git remote add github git@gihub.com:blahdeblah/fooblah.git; git push github master
01:04 boreas joined #pr-challenge
01:04 kid51 thanks.  For the record:
01:05 kid51 had to s/gihub/github/ in your command
01:05 kid51 And before 'git push ...' worked, I had to say 'git fetch github; git rebase github/master'
01:05 kid51 https://github.com/jkeenan/set-intersection
01:19 BRAD joined #pr-challenge
01:20 fozz joined #pr-challenge
01:33 rvandam joined #pr-challenge
01:53 punter joined #pr-challenge
02:38 rvandam joined #pr-challenge
02:48 Peter thrig, will that always require you to specify the remove if you push?
02:49 Peter kid51, you wouldn't need to rebase if you told github you wanted an empty repo
02:49 kid51 Peter: Aha! Thanks.
02:50 Peter kid51, can you push now just by running "git push" or does it always complain about needing to know the remote or something?
02:51 kid51 I get:
02:51 kid51 $ git push
02:51 kid51 fatal: No configured push destination.
02:51 kid51 Either specify the URL from the command-line or configure a remote repository using
02:51 kid51 git remote add <name> <url>
02:51 kid51 and then push using the remote name
02:51 kid51 git push <name>
02:52 Su-Shee joined #pr-challenge
02:53 Peter run this: git remote add origin git@github.com:jkeenan/set-intersection.git
02:53 Peter Then give "git push" another try
02:53 Peter or "git pull"
02:58 kid51 The only way I can avoid any error message is to use both the name of the remote and the name of the branch being pushed, e.g.
02:58 kid51 git push origin master
02:58 kid51 or
02:58 kid51 git push github master
02:59 kid51 If I just say:
02:59 kid51 git push github
02:59 kid51 I get that annoying message that starts:
02:59 kid51 warning: push.default is unset; its implicit value is changing in
02:59 kid51 Git 2.0 from 'matching' to 'simple'.
03:00 kid51 But all that I really needed tonight was the simplest possible way of doing the initial population of a github.com repo from a repo I'd begun on disk.
03:17 jamessan "git push -u origin master" or "git branch -u origin/master master" will set the tracking branch, which should let you just "git push" in the future
03:17 kid51_ joined #pr-challenge
03:17 absolut__ joined #pr-challenge
03:19 lbrown joined #pr-challenge
04:48 jashank joined #pr-challenge
04:56 boreas joined #pr-challenge
05:02 boreas joined #pr-challenge
05:23 itcharlie left #pr-challenge
09:03 boreas joined #pr-challenge
09:04 neilb joined #pr-challenge
09:12 sivoais joined #pr-challenge
09:17 mvuets joined #pr-challenge
09:46 shorty_mu joined #pr-challenge
10:18 veryrusty joined #pr-challenge
10:25 neilb joined #pr-challenge
10:39 neilb joined #pr-challenge
10:50 neilb ok, I might regret this … every now and then someone signs up for the challenge who says they don’t know Perl, and what book / online resource would I recommend. I usually direct them to the modern perl book, because it’s available online for free.
10:50 neilb I haven’t read Ovid’s book, so would you recommend Ovid’s book or Leaning Perl?
11:05 pink_mist I'll just quote perlbot:
11:05 pink_mist 12:07 <perlbot> The original "Beginning Perl" and O'Reilly's "Learning Perl" are outdated. Please use Curtis "Ovid" Poe's "Beginning Perl" published by Wrox if you need a beginner's book.  Alternatives for people who already know programming: "Modern Perl" (see mp) and "Programming Perl" (O'Reilly)
11:10 punter joined #pr-challenge
11:33 neilb thanks pink_mist
11:35 kid51 joined #pr-challenge
12:02 sue joined #pr-challenge
12:27 ptc neilb: I recommended to my module author to use the block form of eval when use-ing Test::Pod::Coverage, however it's documented with the string form.  Is there a reason for using string-form eval?
12:27 ptc neilb: the reason I ask is because PBP recommends using the block form of eval
12:40 veryrusty joined #pr-challenge
12:43 sue ptc: perhaps you should not have made that recommendation before researching further :-)
12:47 ptc sue: why not?  It's a recommendation in PBP and the reasons listed there are good ones for avoiding string eval
12:47 ptc sue: after making the recommendation, the author wanted the docs in Test::Pod::Coverage (and Test::Pod) to reflect what current correct usage is
12:49 ptc sue: since neilb is the author of Test::Pod::Coverage, I thought I'd ask for the reason for the current documentation. ... maybe it needs to be updated, or the usage is equivalent, I don't know, but thought it couldn't hurt to ask
12:51 kid51_ joined #pr-challenge
12:51 cakirke joined #pr-challenge
12:53 sue i realise that is a recommendation in pbp, but that book is useful yet hardly canon law
12:53 sue and it's great at starting arguments
12:54 sue a module author might think it's just fine to take pbp as it stands or they might consider that overly restrictive
12:54 sue i happen to use block eval myself
12:55 ptc I know it's not canon law, but thought it a helpful recommendation; hence why no further research was undertaken
12:55 kid51 joined #pr-challenge
12:56 ptc nevertheless, the author asked, and I thought I'd dig a bit further to find out if there's some reason I don't know of for using the string form in the docs
13:13 neilb ptc: I just did the last few releases of Test::Pod::Coverage — I adopted it so I could fix some bugs. I’m not the author.
13:38 boreas joined #pr-challenge
13:38 ptc neilb: ah, ok.  Thanks for the answer.
13:39 neilb I do accept PRs for it :-)
13:39 ptc neilb: just what I was about to ask!  ;-)
13:39 ptc neilb: what's your opinion on the string eval vs. block eval debate?
13:40 kentnl neilb: Does MemoServ notify you of messages?
13:40 neilb I aasume so, but every time I connect it just says “you have no messages” :-)
13:41 * kentnl was trying it as an out-of-band notice system that might be easier than digging out for an email or having to make sure timesync occurs
13:41 kentnl I sent a few ... so that notice should have changed. Just the amount of noise It generates probably encourages you to ignore it =)
13:41 neilb On your eval question, is this about making a test optional depending on whether you have a module installed?
13:42 neilb how do I check my memos?
13:45 neilb kentnl: how do I check my memos?
13:45 kentnl /msg MemoServ list # should do the trick
13:45 isBEKaml joined #pr-challenge
13:46 ptc neilb: yes
13:47 neilb well, using eval I’d always use the block form. But to make an optional test based on whether another module is available, I use Test::Requires these days
13:47 neilb It does add another dependency I know, but it makes the test clearer
13:48 neilb but if you don’t want the dependency, then block eval
13:49 ptc don't think a new dependency is a good fit in this particular case
13:49 ptc neilb: ok, good to know.  I'll let the author know, and send through a patch to the Test::Pod::Coverage docs :-)
13:49 neilb cool
13:50 sue_ joined #pr-challenge
16:00 Peter Dependencies are (usually) good, we already have too many wheels dammit!
16:49 Mike__B pink_mist: I'd like to say that I think the "Learning Perl" book - which was updated in 2011 - is not really out of date and fine for (complete) beginners, I think. https://en.wikipedia.org/wiki/Learning_Perl
16:49 Mike__B You really should make sure you don't buy older editions second-hand or such; that would really not be good.
16:50 Mike__B I purchased the Cheetah book recently, which handles DBI --> http://shop.oreilly.com/product/9781565926998.do
16:50 Mike__B that one is VERY MUCH out of date, it's from 2000. I knew it was, but wanted it anyway :D
16:52 Mike__B I think Learning Perl / Intermediate Perl / Mastering Perl is a very good combination.
16:54 reneeb joined #pr-challenge
17:02 Peter Mike__B, same here. Haven't read Ovid's but I'd like to :D
17:30 boreas joined #pr-challenge
17:35 daveh joined #pr-challenge
17:41 cakirke joined #pr-challenge
18:13 mvuets joined #pr-challenge
18:16 daveh joined #pr-challenge
18:20 lbrown joined #pr-challenge
18:30 boreas joined #pr-challenge
19:01 boreas joined #pr-challenge
19:08 boreas joined #pr-challenge
19:20 tinypig joined #pr-challenge
20:10 veryrusty joined #pr-challenge
20:17 punter joined #pr-challenge
20:22 daveh joined #pr-challenge
20:22 boreas joined #pr-challenge
20:26 haarg joined #pr-challenge
20:50 meredith_ sometimes when i have older tech books, if the changes haven't been too drastic, i add notes inside the front page, explaining that the info is outdated but not entirely useless and how, and how to continue studying beyond the book, before donating it
20:52 meredith there are a lot of perl books out there, is there any sort of listing of how old they are and whether or not they can still be relevant?
20:52 meredith it sounds like a fun project, also another way to direct people to more modern perl practices
21:03 ether well volunteered! :)
21:05 vti meredith: i tried to do smth like on perltuts, here http://dev.perltuts.com/books/
21:13 meredith oh cool, good work!  go-to lists of recent stuff are important
21:17 meredith i'll make a note to myself about something that discusses older books
21:17 meredith i like to improve access for people who can't necessarily go snag the latest
21:18 sivoais joined #pr-challenge
21:21 boreas joined #pr-challenge
21:57 boreas joined #pr-challenge
22:16 daveh joined #pr-challenge
22:32 boreas joined #pr-challenge
22:34 sue joined #pr-challenge
22:39 boreas joined #pr-challenge
23:09 boreas joined #pr-challenge
23:41 gansh joined #pr-challenge
23:47 boreas joined #pr-challenge
23:58 kid51 A git question for  you all ...
23:59 kid51 Today I got it into my head to provide git tags for the commits which represented CPAN releases for one of my distros
23:59 kid51 I had never previously created a git tag -- only read them or looked them up

| Channels | #pr-challenge index | Today | | Search | Google Search | Plain-Text | summary