Camelia, the Perl 6 bug

IRC log for #bioperl, 2012-11-17

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

All times shown according to UTC.

Time Nick Message
00:01 deafferret virushunter: expert? no. i used it many times a couple years ago
00:01 deafferret so i was very familiar with it
00:01 deafferret (some formats thereof, anyway)
00:02 deafferret virushunter: so branches are great for code review. you can commit and push as a branch and then merge the branch when you're happy with it
00:02 deafferret branches++
00:02 * leont_ agrees with deafferret on branches
00:03 * deafferret salutes leont_
00:03 deafferret virushunter: if you're not hep to branches yet I can walk you through it
00:04 deafferret "git is easy!" lol
00:05 virushunter alright lemme 'git' my branch pushed to github
00:05 deafferret :)
00:05 deafferret gitRdone
00:07 virushunter ok topic/bug-3376 pushed
00:07 virushunter it was a very simple fix but adds 1 extra regex expression.
00:08 virushunter my concern is if it will slow parsing down
00:10 leont_ Getting wrong results fast is easy
00:11 deafferret virushunter: looks great to me. passes on my 5.16.2
00:12 leont_ Neither regexp is pathological. Failcase could probably be performance-optimized but I wouldn't bother unless it's a known performance issue.
00:14 deafferret #shipit
00:14 leont_ In general, the one class of regexps you have to be careful with is /(a|b+)+/, that can easily fail in exponential time
00:14 virushunter i tried to pattern the regex after the ones in the method
00:15 leont_ One thing though
00:15 leont_ You don't have to escape the -
00:16 leont_ It's only special in character classes
00:16 virushunter ah, I was wondering about that
00:16 virushunter whoever wrote the module was escaping the - so I did it too
00:17 virushunter i'll leave as is to be consistent with the rest of the code
00:17 virushunter ok, i need some git command help here since I've never pushed directly to master on github....
00:18 virushunter how do I merge my branch topic/bug-3376 on github master?
00:18 deafferret git checkout master; git merge --no-ff topc/bug-3376; git push
00:18 deafferret git checkout master; git merge --no-ff topic/bug-3376; git push
00:20 virushunter that git push should be git push upstream master, right?   upstream    -->    https://github.com/bioperl/bioperl-live.git (push)
00:20 leont_ Yeah
00:21 github [bioperl-live] pcantalupo pushed 1 new commit to master: https://github.com/bioperl/bioperl-live/comm​it/142e5d79e3a6593db32bf0af99048f47d01bd3f2
00:21 github bioperl-live/master 142e5d7 Paul Cantalupo: Merge branch 'topic/bug-3376'
00:21 deafferret ya, that's fine. you can call your remotes whatever you want. "origin" is the default in all the git clients I've ever used
00:21 virushunter thank you all
00:21 deafferret thank YOU! again!
00:21 virushunter np
00:21 virushunter i'm learning more bioperl by doing this
00:21 deafferret you can now delete that branch locally and remotely
00:21 virushunter and helping people too
00:22 leont_ deafferret: it's not that origin is the default, but if you copy-paste what github tells you to copy-paste it will set up origin as default
00:22 virushunter like this:  git push upstream :topic/bug-3376
00:22 virushunter ?
00:22 deafferret virushunter: yup
00:22 leont_ Yeah, that deletes the branch
00:22 deafferret leont_: oh?
00:23 deafferret leont_: I always do whatever github tells me to ;)
00:23 leont_ git push -u, it's the -u that does the trick
00:24 virushunter ah, -u is much simpler!
00:24 deafferret huh. i've been blissfully ignorant for years now
00:25 deafferret if you follow whatever github told you to do when you cloned then   'git push'  does everything automagically :)
00:25 leont_ Yeah, github++
00:26 virushunter deafferret: i think i followed what they said
00:27 virushunter deafferret: the extra typing doesn't bother me though
00:27 deafferret -shrug-   people are always telling me things about git that I never use :)
00:27 * deafferret likes his rut
00:27 * deafferret keeps digging
00:28 * leont_ didn't discover interactive rebasing until recently, my workflow hasn't been the same since
00:29 virushunter * virushunter doesn't know what rebasing is
00:29 virushunter lol
00:29 virushunter i'm still learning this git thingy
00:29 deafferret :)   my current rut includes   git pull --rebase   and    git add -p
00:29 leont_ it's rewriting the repository's history, basically
00:30 leont_ Not something you should do on public repositories, usually, but very useful before pushing stuff to the outside world
00:30 virushunter i c
00:30 * deafferret is not hep to git pull --rebase --interactive
00:31 virushunter well gotta run...thank you again
00:31 deafferret --autosquash  *shudder*
00:31 deafferret toodles :)
00:33 leont_ pull rebase is useful when developing in master, which you probably shouldn't do if others are also pushing to the same repo anyway
00:33 deafferret oh... git add -p   is --patch   which is part of --interactive
00:34 deafferret so I DO add --interactive, I just didn't know it
00:34 deafferret I don't rebase --iinteractive though
00:35 leont_ git rebase --interactive HEAD~3 allows you to rearrange the last 3 commits
00:35 deafferret OH -- ya, someone showed me that once... laugh. my head exploded
00:35 leont_ I use it mostly to squash  specific commits into one
00:35 leont_ "combine the last commit with the one 3 up, I screwed up there and only noticed now"
00:36 deafferret ya. I'm too unrepentant to care :)
00:36 deafferret also I like padding my commit stats with lots of small commits :)
00:37 deafferret I'm paid by the line, not the commit ;)
00:37 deafferret oh, that joke doesn't really work. nevermind
00:38 leont_ Anyway, off to bed
00:38 deafferret o7
09:28 leont_ joined #bioperl
10:13 audy joined #bioperl
15:15 carandraug joined #bioperl
15:15 carandraug joined #bioperl
18:49 leont_ joined #bioperl
21:34 sl33v3_ joined #bioperl
22:52 github [bioperl-live] fangly pushed 1 new commit to master: https://github.com/bioperl/bioperl-live/comm​it/9dc87e5755721fc7c2c3eccf03593d8d90ba5c7d
22:52 github bioperl-live/master 9dc87e5 Florent Angly: Merge branch 'master' of github.com:bioperl/bioperl-live

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