Perl 6 - the future is here, just unevenly distributed

IRC log for #pr-challenge, 2015-01-22

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

All times shown according to UTC.

Time Nick Message
00:55 boreas joined #pr-challenge
01:02 cakirke joined #pr-challenge
02:06 manchicken_ joined #pr-challenge
02:09 boreas I am probably going to describe this poorly. I have made a commit to my fork of the dist I am working on this month and I noticed an unneeded change in one of the files. Is there a way I can undo that change?
02:09 boreas not super familiar with git's workflow yet; I am used to svn
02:11 haarg there's a few ways you could go about that
02:11 haarg if you want to modify the last commit you made, you can make whatever changes you want and then git commit --amend
02:12 haarg then when you push the branch you'd need to add the -f flag, since you are re-writing history
02:13 boreas is this limited to changes that have not been pushed?
02:13 haarg no
02:14 haarg if you have already pushed it, after re-writing you'd need to push -f
02:14 haarg people have different opinions on rewriting history - i tend to think it's fine for topic branches, but should always be avoided for 'master' or other mainline branches.
02:15 boreas ok cool, that was exactly what I was hoping to hear.
02:15 haarg if the commit you want to modify is not the more recent commit, the process is a bit different
02:15 haarg s/more/most/
02:16 boreas so in order I need to 1) revert my unneeded change 2) git commit --amend 3) git push -f origin <mybranch>
02:16 boreas ?
02:17 haarg yes, assuming you are modifying the most recent commit
02:17 boreas 1.5) git add <changed-file>
02:17 boreas yes, this is the most recent commit
02:19 boreas haarg: thanks, that worked perfectly
02:19 haarg something you might consider using in the future is git add -p.  it asks you about each modified hunk if you want to include it in the commit or not.  this lets you commit only part of the changes you've made in a given file.  it's also a good way to review the changes you are adding.
02:20 haarg it's kind of the opposite extreme from git commit -a
02:22 boreas well that sounds amazing, I use svn day-to-day for work and diffing changes is not very well oiled. I usually end up in vimdiff
02:24 haarg i like git add -p a lot.  sometimes i have two unrelated changes in flight, and it makes it easy to commit only the relevant parts.
02:49 Su-Shee_ joined #pr-challenge
03:06 boreas joined #pr-challenge
03:32 vairav joined #pr-challenge
03:35 BRAD joined #pr-challenge
04:28 revert joined #pr-challenge
04:55 boreas joined #pr-challenge
05:10 veryrusty joined #pr-challenge
05:27 panshin joined #pr-challenge
05:46 waghso joined #pr-challenge
05:59 mvuets joined #pr-challenge
06:10 panshin joined #pr-challenge
06:44 boreas joined #pr-challenge
07:07 boreas joined #pr-challenge
07:30 reneeb joined #pr-challenge
07:30 vairav joined #pr-challenge
07:41 Lee joined #pr-challenge
08:02 reneeb joined #pr-challenge
08:34 neilb joined #pr-challenge
08:48 dolmen haarg++ # git mentoring
09:07 shorty_mu joined #pr-challenge
09:35 neilb joined #pr-challenge
09:57 choroba joined #pr-challenge
10:35 LLamaRider joined #pr-challenge
10:36 sue joined #pr-challenge
11:38 veryrusty joined #pr-challenge
13:13 manchicken__ joined #pr-challenge
13:56 jashank joined #pr-challenge
14:10 oeuftete joined #pr-challenge
14:21 vroom joined #pr-challenge
15:01 tinypig joined #pr-challenge
15:16 vroom joined #pr-challenge
15:17 vroom left #pr-challenge
15:28 labrown joined #pr-challenge
15:28 labrown 'ello
15:29 labrown So, blogs.perl.org is still not open for new registrations.  Suggestions for good perl-y sites to blog my PR challenge activity?
15:30 StylusEater joined #pr-challenge
15:35 StylusEater joined #pr-challenge
15:43 * choroba is probably going to dust off my blogspot blog
15:44 * jkg just has a wordpress install, but should probably migrate to something in perl...
15:44 jkg or at least something which isn't a remote code execution engine with a blogging plugin
15:44 moritz jkg: don't. The perl atlernatives all suck.
15:44 jkg moritz: sure, they're made of software
15:45 moritz but then again, the wordpress starts to suck pretty badly too
16:00 manchicken joined #pr-challenge
16:08 nawglan joined #pr-challenge
16:23 StylusEater joined #pr-challenge
16:25 vroom joined #pr-challenge
16:35 itcharlie joined #pr-challenge
16:37 itcharlie joined #pr-challenge
16:43 Su-Shee perl challenge 2016: application writing! ;)
16:43 Su-Shee blog, forum, puppet, docker, bugtracker..
16:53 reneeb Su-Shee: start from scratch or improve an existing one?
16:57 Su-Shee reneeb: "improve an existing one"? lol ;)
16:58 reneeb Su-Shee: there are many forums (e.g. the one used for perl-community.de), and RT/Bugzilla as bugtrackers, ...
16:59 reneeb Su-Shee: but that is "legacy" code, hence my question to improve one ;-)
17:00 Su-Shee reneeb: oh god I totally forgot the horrid thing perl-community.de ..
17:00 Su-Shee reneeb: ok, no. this stuff has to go, it's an embarrasment.
17:01 Su-Shee reneeb: go through szabab's list, it's a hall of shame.
17:02 choroba yeah, the teams will be established randomly
17:07 vairav joined #pr-challenge
17:26 neilb joined #pr-challenge
17:54 nawglan neilb: go ahead and mark me done please.  Don't think I'll get my 2nd PR done in time.
17:57 dolmen jkg, as you already have a Github account, Jekyll might be a good option https://help.github.com/articles/using-jekyll-with-pages/
18:04 dolmen nawglan, ok # https://api.github.com/search/issues?q=is:pr%20author:nawglan%20repo:ingydotnet/yaml-libyaml-pm
18:05 neilb nawglan: what’s your github id?
18:05 dolmen neilb: just see my link above
18:06 neilb nawglan: YAML-LibYAML marked as done!
18:06 neilb dolmen: ta
18:07 dolmen neilb, and my script that uses the Github API: https://github.com/dolmen/cpanpr/blob/master/cpanpr
18:07 * dolmen TODO:  workaround Github rate limits
18:08 neilb yeah, i’ve been trying to do that with a script I was working on
18:08 nawglan neilb: thanks.
18:09 neilb nearly at 15% complete
18:09 dolmen nawglan, thanks for improving CPAN!
18:28 labrown Hmmm...    http://jekyllbootstrap.com/
18:34 ambs seems cool
18:37 mje_ joined #pr-challenge
18:47 jluis_ joined #pr-challenge
19:23 sivoais_ joined #pr-challenge
19:31 veryrusty joined #pr-challenge
19:51 vairav joined #pr-challenge
20:01 veryrusty joined #pr-challenge
20:36 ether I love git add -p
20:37 pink_mist yeah, me too
20:37 ether one side effect that I have taken advantage of is that it leaves the changes in my terminal history
20:37 pink_mist only recently learned about it; have used it /so much/ since then :P
20:37 ether sometimes I accidentally undo too much, and I can scroll up and grab the lines of code that I lost
20:38 ether it's very very handy when working on multiple things at once and I lose track of what's going on
21:00 punter joined #pr-challenge
21:14 sue joined #pr-challenge
21:18 sue_ joined #pr-challenge
21:54 jb360 joined #pr-challenge
22:02 veryrusty joined #pr-challenge
22:03 mvuets joined #pr-challenge
22:11 veryrusty joined #pr-challenge
22:13 neilb you have email. Or will have soon. unless you’ve already finished for January.
22:29 itcharlie joined #pr-challenge
22:45 genehack so, is there a special prize if i'm the _last_ person in a month to complete the challenge?
22:45 genehack (asking for a friend)
22:48 thrig "Ninja of Cheibriados" snail plushie?
22:53 itcharlie Anyone here with experience on Poe::Kernel  ?
22:54 neilb genehack: maybe if it’s within the month :-)
22:55 itcharlie one of the test files for Poe::Component::Dirwatch is failing  when running via prove, but seems to pass when running via Perl debugger.
22:55 itcharlie https://github.com/arcanez/poe-component-dirwatch/issues/4
22:55 thrig itcharlie: ask on #poe ?
22:55 itcharlie ah
23:01 itcharlie thanks thrig
23:12 itcharlie left #pr-challenge
23:24 neilb Now at 18% done

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