Camelia, the Perl 6 bug

IRC log for #padre, 2011-02-25

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

All times shown according to UTC.

Time Nick Message
00:06 Alias_ It's not necessarily after a long time, I can trigger it in under a minute (and yes I'm aware he's left)
00:48 jazzanova joined #padre
01:24 katodroid joined #padre
01:30 droidica left #padre
02:05 diego joined #padre
02:06 diego Hey guys, is anyone using it on Mac ?
02:06 Alias_ I think it's not many
02:06 Alias_ It's kinda hard to install on Mac
02:06 Alias_ But anyone that is feel free to chip in
02:06 Alias_ I think schlomifish is
02:06 diego the installation via .dmg was sweet :)
02:07 diego it's silly, but i'd like to know if it would be possible to somehow create my own shortcuts
02:15 Alias_ What do you mean by create your own shortcuts
02:15 diego hotkeys to save, quit , open
02:16 diego unfortunately, i'm being forced to click to open / save etc.
02:19 Alias_ This works today
02:19 Alias_ Tools -> Key Bindings
02:21 diego hmm this menu is missing on my mac version, it should be here if i install it from cpan?
02:24 Alias_ What version are you on
02:25 diego 0.5
02:25 Alias_ 0.50?
02:25 Alias_ You are about 25 releases behind
02:25 Alias_ So yeah, install it from CPAN
02:25 diego hmm.. that makes a lot of sense
02:25 diego heheh oka ^^
02:26 Alias_ The dmg was provided as a one off gift
02:26 asarch left #padre
02:26 Alias_ The guy didn't provide the source code he used to build it
02:26 Alias_ So we can't really replicate the build
02:26 Alias_ (If he even used code to build it)
02:26 Alias_ We'd like something like the strawberry perl builder
02:26 Alias_ Where you just install the module, run it, and a dmg installer is spit out the end
02:27 diego sounds neat ;)
02:27 diego i'm going to try it from CPAN, thx !
02:28 Alias_ Could be a bit of an epic
02:28 Alias_ 25 releases is a long way back, so you might have trouble installing unless you have XCode
02:29 diego yeap i do, besides just found i blog that seems to have a howto
02:30 diego for future needs http://batland.de/subdomains/n​ucleus/Batland.php?itemid=133 (dunno if it's going to work)
02:34 asarch joined #padre
03:12 Alias let me know if it works :)
03:12 diego find this one as well: http://padre.perlide.org/trac/wiki/DownloadMacOSX which i think is newer
03:13 diego btw, besides this items missing, everything else worked like i charm.. i really loved it [=
03:17 asarch left #padre
03:27 diego left #padre
04:20 droidica joined #padre
04:24 katodroid left #padre
05:21 Alias_ left #padre
05:49 kaare joined #padre
06:06 Di-ima left #padre
06:32 user_7964 joined #padre
06:32 user_7964 left #padre
06:33 Sno|Laptop joined #padre
06:37 [Sno] left #padre
06:37 user_7964 joined #padre
06:38 user_7964 Is this the right way to ask about a possible bug in Padre regex editor?
06:42 Sewi joined #padre
06:47 kanishka left #padre
06:47 szabgab user_7964: yes this is the riht place
06:47 szabgab right
06:47 Sewi gm all
06:47 szabgab but you could pick a more personal nickname by typinng     /nick my_personal_nick
06:48 szabgab hi Sewi
06:48 katodroid joined #padre
06:51 [Sno] joined #padre
06:51 droidica left #padre
06:53 Sno|Laptop left #padre
06:57 szabgab waxhead: are you around? Any plans for the release?
06:57 user_7964 is now known as markkiteflyer
06:58 markkiteflyer I've been using the "insert" button on regex editor.  If I select any check box at the top, e.g. ignorecase then that is the only flag NOT inserted
06:59 Sewi markkiteflyer: Which Padre Version do you use?
06:59 szabgab markkiteflyer: better nick , yeah :)
06:59 markkiteflyer As an example if I tick "ignorecase" in a substitution then insert gives s///gmxs;
06:59 markkiteflyer Using version 0.8
07:00 szabgab markkiteflyer: would you like to open a ticket with that?
07:01 markkiteflyer Happy to ... bug report webpage said come here first :-)
07:02 Sewi confirmed, bug exists in trunk
07:03 markkiteflyer should be a quick s/unless/if/ or vice versa ;-)
07:04 Hyppolit svn: r13831 | szabgab++ | http://padre.perlide.org/trac/changeset/13831
07:04 Hyppolit add link to old blog post about Padre on Mac OS X
07:04 Hyppolit trunk/template.padre.perlide.org/data/
07:05 Sewi szabgab: Would you do the trac registration with markkiteflyer?
07:05 szabgab markkiteflyer: registration opened
07:05 szabgab trac?
07:05 Hyppolit trac is http://padre.perlide.org/trac and also http://padre.perlide.org/trac/register
07:06 szabgab pls follow the link and let me know when you are done
07:07 markkiteflyer I'm registered and at the "New ticket" page
07:08 Hyppolit svn: r13832 | szabgab++ | http://padre.perlide.org/trac/changeset/13832
07:08 Hyppolit link to release blog about 0.80
07:08 Hyppolit trunk/template.padre.perlide.org/data/
07:09 Sewi sub foo { return (1,2); } $bar = foo; Why is $bar == 2 now, I'd expect it to be 1
07:09 szabgab Sewi: context
07:10 szabgab try  sub foo { return (1,2); } $bar = foo;
07:10 szabgab try  sub foo { return (1,1); } $bar = foo;
07:10 Sewi this is the problem: get_modifier_settings does return ($active,$inactive)
07:10 Sewi insert_regex does my $modifiers = $self->get_modifier_settings - and it gets inactive
07:10 szabgab that coude should be  ($bar) = foo;    I guess
07:12 Hyppolit #1140: Regex editor reverses flags on insert (new defect) [ http://padre.perlide.org/trac/ticket/1140 ]
07:12 Hyppolit svn: r13833 | Sewi++ | http://padre.perlide.org/trac/changeset/13833
07:12 Hyppolit RegEx Editor fix: Insert the active flags, not the inactive (#1140)
07:12 Hyppolit trunk/Padre/lib/Padre/Wx/Dialog/
07:13 Hyppolit svn: r13834 | Sewi++ | http://padre.perlide.org/trac/changeset/13834
07:13 Hyppolit Update Changes
07:13 Hyppolit trunk/Padre/
07:13 szabgab Sewi: have you just fixed the bug markkiteflyer reported?
07:13 Sewi szabgab: Thanks, your solution works
07:13 Sewi yes
07:14 markkiteflyer Excellent customer service!  Bug fixed in <1 second of reporting
07:14 Sewi thanks :)
07:14 Hyppolit #1140: Regex editor reverses flags on insert (closed defect) [ http://padre.perlide.org/t​rac/ticket/1140#comment:1 ]
07:15 markkiteflyer Thank you and goodbye (5:15pn Friday & I'm thirsty)
07:15 szabgab if we could fix all our bugs that fast :)
07:15 szabgab markkiteflyer: I hope to see you again here
07:15 Sewi szabgab: It's a bad bug solved by a two-byte fix, so I though a branch and cross-check won't be neccessary in this case.
07:16 szabgab Sewi: I gave up on that idea for now
07:16 markkiteflyer left #padre
07:16 szabgab or rather, I might try to do it myself just to see how it works and maybe polish the tools for makeing it easier
07:16 Sewi szabgab: Do you think it should be ported to the release branch?
07:17 szabgab In the philosophical pov, no
07:17 szabgab we should only touch the release for crashes or data loss
07:17 Sewi ok.
07:18 Sewi I think the ticket is important because others having the same bug might see it resolved
07:18 szabgab even though I als feel that "oh we could do this, this is so harmless" but then I don't know where to stop :)
07:18 szabgab I also think it is important to have the ticket there
07:19 szabgab and also we did not know how easy or hard it will be to fix it
07:19 katodroid left #padre
07:24 El_Che Sewi: sub foo { return (1,2); } ($bar) = foo;
07:24 El_Che Sewi: you need to put bar in () to make clear you want list context
07:24 Sewi Hi El_Che, but why doesn't scalar context return the first argument?
07:25 El_Che it throws it away
07:25 El_Che if is the same as this:
07:25 El_Che (undef, $bar) = foo
07:26 El_Che so you'll end up with the last element
07:26 El_Che is the same principle as when you do my ($self, $param1, $param2- = @_;
07:27 El_Che is the same principle as when you do my ($self, $param1, $param2) = @_;
07:28 El_Che a p5 idiosyncracy
07:28 szabgab El_Che: nope
07:28 szabgab not the last element
07:28 szabgab the number of elements
07:28 El_Che no
07:28 El_Che try this:
07:28 El_Che perl -lw -e 'sub foo { return (10,20); } $bar = foo; print $bar;'
07:29 El_Che perl -lw -e 'sub foo { return (10,20); }; $bar = foo; print $bar;'
07:29 szabgab perl -lw -e 'sub foo { @x = (10,20); return @x } $bar = foo; print $bar;'
07:29 szabgab it of course depends
07:29 El_Che you are returning an array
07:29 El_Che I am returning a list
07:29 szabgab yes, that's the difference
07:30 El_Che personally, I'd rather return array refs
07:30 szabgab so in th e above case you were correct
07:30 [Sno] left #padre
07:30 El_Che not to fun of plural returns
07:30 El_Che too
07:31 szabgab I am looking for that recent post on how to fix a long standing bug in padre
07:31 szabgab blog post
07:31 El_Che http://zenoga.tumblr.com/post/332917261​2/fixing-an-easy-padre-bug-step-by-step
07:32 szabgab thanks
07:34 Hyppolit svn: r13835 | szabgab++ | http://padre.perlide.org/trac/changeset/13835
07:34 Hyppolit linking to the blog post of Zeno
07:34 Hyppolit trunk/template.padre.perlide.org/data/
07:42 pece joined #padre
07:56 marcela joined #padre
08:13 Hyppolit svn: r13836 | szabgab++ | http://padre.perlide.org/trac/changeset/13836
08:13 Hyppolit Hyppolit: revert to v0.05, using "svn merge -rHEAD:8244 http://svn.perlide.org/padre/trunk/Hyppolit ."
08:13 Hyppolit trunk/Hyppolit/ trunk/Hyppolit/lib/
08:16 psih0man joined #padre
08:16 Hyppolit svn: r13837 | szabgab++ | http://padre.perlide.org/trac/changeset/13837
08:16 Hyppolit Hyppolit, add support to code explain
08:16 Hyppolit trunk/Hyppolit/ trunk/Hyppolit/lib/
08:20 psih0man left #padre
08:21 Hyppolit left #padre
08:22 Hyppolit joined #padre
08:22 szabgab p5: $_
08:22 Hyppolit Default variable
08:22 szabgab p5: @_
08:22 Hyppolit Default array
08:23 szabgab p5:
08:23 Hyppolit You need to type in a perl5 expression and hope that Code::Explain v0.01 understand it
08:24 szabgab fellow Padre hackers, you are welcome  to try your own perl5 expressions to see if Code::Expression understand them or not
08:27 Hyppolit svn: r13838 | szabgab++ | http://padre.perlide.org/trac/changeset/13838
08:27 Hyppolit svn:ignore some generated files
08:27 Hyppolit trunk/Hyppolit/
08:54 waxhead szabgab, I'm trying to see if the crashing is due to perl 5.10.0
08:55 waxhead if 5.10.1 doesn't crash on my vm then I guess it's time to consider finalising and releasing
08:55 waxhead are we still tagging with the release?
08:57 waxhead good grief.. all of that work...
08:57 waxhead finally it's not crashing.
08:58 waxhead interesting though, what changed in Padre that it crashes on 5.10.0 and not on 5.10.1 ?
09:07 macroz joined #padre
09:11 kanishka joined #padre
09:41 zenog p5: "print 'hey';"
09:41 Hyppolit Not found
09:41 zenog p5:
09:41 Hyppolit You need to type in a perl5 expression and hope that Code::Explain v0.01 understand it
09:41 zenog p5: 'string'
09:41 Hyppolit Not found
09:41 zenog p5: 1
09:41 Hyppolit Not found
09:41 zenog p5: 1+1
09:41 Hyppolit Not found
09:42 zenog hm, does not understand many Perl expressions ...
09:45 daxim joined #padre
09:59 waxhead huh?
09:59 waxhead is this like the thing on the perl6 channel?
10:00 waxhead p5: split()
10:00 Hyppolit Not found
10:00 waxhead p5: split
10:00 Hyppolit Not found
10:00 waxhead p5: sucks
10:00 Hyppolit Not found
10:00 jazzanova left #padre
10:01 waxhead p5: help
10:01 Hyppolit Not found
10:01 waxhead p5:help
10:01 Hyppolit Not found
10:02 waxhead p5: join()
10:02 Hyppolit Not found
10:02 * waxhead gives up
10:04 Sewi p5: $$
10:04 Hyppolit Not found
10:04 Sewi p5: $_
10:04 Hyppolit Default variable
10:05 jon joined #padre
10:05 jon hello?
10:05 macroz left #padre
10:07 daxim 'lo
10:07 jon sup?
10:07 daxim pe!
10:08 jon phys ed?
10:08 jon maybe i'm showing off my n00b...
10:09 jon jon  <$perl -e 'fork while fork'> daxim
10:10 daxim what's that now?
10:10 jon portable executable?
10:10 jon lol.
10:10 jon didn't think anyone was actually there...
10:10 Sewi p5
10:10 Sewi p5:
10:10 Hyppolit You need to type in a perl5 expression and hope that Code::Explain v0.01 understand it
10:10 jon haha!
10:11 jon :(){ :|:& }; :
10:11 daxim p5: use perl5i; "Hello world from the happy Hyppo!".say;
10:11 Hyppolit Not found
10:11 jon That requires Code::Explain::Bash...
10:12 jon hey look if you type your password it just shows **********
10:13 daxim go hunter2 yourself!
10:13 Hyppolit Changeset #2 http://padre.perlide.org/trac/changeset/2
10:13 jon http://images.encyclopediadramati​ca.com/images/7/73/Trollface.png
10:13 jon lol.
10:13 Di-ima joined #padre
10:16 jon so is hippo supposed to understand perl expressions?
10:17 jon p5: print "hello your mom\n";
10:17 Hyppolit Not found
10:17 jon p5: use v5.10.1; print "hello your mom\n";
10:17 Hyppolit Not found
10:17 jon *jon punches Hyppolit in the face
10:18 jon (assuming Hyppolit isn't just some sinister ... person ... trying to make us crazy...)
10:18 szabgab hi
10:19 daxim you introduce actions with /me, not with *
10:19 szabgab please, be nice with Hyppolit
10:19 * jon punches Hyppolit in the face
10:19 jon oh, sweet!
10:20 macroz joined #padre
10:22 * jon says 'what's up' to macroz
10:23 Sewi szabgab: I didn't find code::explain on cpan...
10:24 szabgab Sewi: it is in github for now
10:24 szabgab and it has *very* limited capabilities
10:24 Sewi we already noticed that :)
10:24 szabgab p5: $_[$x]
10:24 Hyppolit This is element $x of the default array @_
10:24 Sewi google didn't find it
10:25 Sewi p5: $foo->{bar}
10:25 Hyppolit Not found
10:25 Sewi p5: $foo{bar}
10:25 Hyppolit Not found
10:25 Sewi p5: $_{$_}
10:25 Hyppolit Not found
10:25 szabgab https://github.com/szabgab/Code-Explain
10:26 Sewi thanks
10:26 jon p5: help
10:26 Hyppolit Not found
10:26 jon help\
10:26 jon help
10:27 jon Code::Explain help
10:27 jon p5: Code::Explain help
10:27 Hyppolit Not found
10:27 Sewi szabgab: What does Moose do in this module? I don't see it being used
10:27 * jon p5: Hyppolit in the face.
10:28 jon hey can I /me $USER somehow?
10:28 Sewi jon: Please stay peaceful
10:28 szabgab Sewi: I guess I just wanted to be hip using Moose :)
10:28 Sewi oh, now I understand :-)
10:29 jon that was a -- _compliment_ -- yea.
10:29 szabgab butit gives me a new method :)
10:29 szabgab ->new   I mean
10:29 Sewi cool :)
10:29 Sewi A little bit heavy (in case of dependencies), but nice :)
10:30 marcela_ joined #padre
10:30 szabgab First I thought this whole thing to be a separate project
10:30 szabgab but my new thought is to factor out all the capabilities of F2 to this
10:30 szabgab and then I should get rid of Moose
10:31 szabgab I also started to write a web interface for it
10:31 szabgab so our "context sensitive help" will be available to IRC people, vi people and even web people
10:32 szabgab but of course it needs a lot more work
10:32 marcela__ joined #padre
10:35 marcela left #padre
10:38 marcela_ left #padre
10:38 jon szabgab, what kind of work needs to be done on the web interface?  I [obviously] have no clue about IRC, but I develop web interfaces as a day job.
10:40 szabgab jon: I am not sure yet, first I need to improve the backend
10:40 szabgab the IRC part is just a matter of calling the ->explain method and printng the result back
10:41 szabgab so first I'll need a lot of help in the backend part
10:41 jon hehe, really?
10:41 szabgab and regarding the web application, it is based on Dancer
10:41 jon what'sgoing on in the backend?  That's honestly where my interest lies.
10:41 szabgab so take a look at the source of Code::Explain
10:42 szabgab first I need to port our code there from the source of Padre
10:42 jon project dancer: http://dancer.sourceforge.net/ ?
10:42 szabgab dancer?
10:43 szabgab Hyppolit: dancer is http://perldancer.org/
10:43 Hyppolit dancer was unknown
10:43 Hyppolit dancer is now http://perldancer.org/
10:43 szabgab that is the web framework
10:44 daxim szabgab, perlzonji
10:44 jon here: https://github.com/szabgab/Code-Expl​ain/blob/master/script/explain-code?
10:44 daxim has already a database of things
10:44 szabgab daxim: heh?
10:45 jon ok, so let me show off my n00b really quick...
10:45 szabgab oh nice
10:45 szabgab daxim: thanks, I'll take a look at that code
10:46 szabgab jon: that is only the script
10:46 szabgab the code is in the module
10:47 jon based on that code it looks like if the hash %opt has a key 'ppidump' we print to 'map {"$_\n"}' the output of the object method ppi_dump passing the value in $str as a parameter.
10:48 jon where do I find ppi_dump?
10:49 Sewi szabgab: Why not put it on the padre svn?
10:50 szabgab Sewi: as I would like to get all the vim hackers to also help with it
10:50 szabgab jon: https://github.com/szabgab/Code-Expl​ain/blob/master/lib/Code/Explain.pm
10:51 jon cool.  thanks.
10:52 jon p5: say
10:52 Hyppolit keyword in perl 5.10
10:54 jon hehe, that's why you're so protective of Hyppolit...  ok, so, first, tell me how to write to somebody, I just lerned the /me command...  second, how do I a) know what's needs to be contributed, and b) contribute?
10:56 szabgab if you want to send a personal messag type   /msg NICKNAME message    e.g. /msg jon hi
10:58 szabgab see you managed to send me back a personal message, good
10:58 Sewi jon: http://www.ircbeginner.com/​ircinfo/ircc-commands.html
10:59 szabgab then   a) I don't know myself yet, what needs to be contributed, are you a perl programmer?  a web designer?
10:59 jon yes, and I pretend to be, I mostly just design perl programs to write the HTML...
10:59 szabgab one of the contributions I already got is a nuch of string people would try to use to hackle the bot
11:00 szabgab jon:  yes to which one ?
11:00 jon and I use HTML::Template, love it.  for code that writes code, I rearely find my self limited.
11:00 szabgab s/nuch/bunch/
11:01 szabgab I guess adding more test cases would be nice, though I am not sure what kind of stuff I really want to support
11:02 jon yes I am a passionate Perl developer, and yes, I use Perl to pretend I am a web developer... lol.  I've learned HTML/CSS/JavaScript more out of necessity then passion.
11:03 szabgab and have you been involved in open source projects?
11:04 jon No, but I want to be.  I have some projects of my own I would like to make open source even.
11:14 szabgab jon: so if you would like to help there are several projects around
11:14 szabgab one of them here is obviously padre, the IDE.  do you use it?
11:15 jon yea, sometimes, I mostly use nano or gedit though...  shhhh....
11:20 waxhead hey szabgab, email to the dev list about the plan for the weekend and the release
11:20 waxhead about the only issue I have is the crashing issue with Padre on perl 5.10.0
11:21 waxhead I saw some discussion in the back log that pade should work with older perls...b
11:21 waxhead but I certainly have had problems with Padre on 5.10.0, but not on 5.10.1 on both linux and windows
11:21 waxhead jon, you using Catalyst for web stuff?
11:21 szabgab are you talking about the crashe I saw or something else?
11:22 waxhead actually perl is a bit spoilt for choice, there's Dancer and Mojolicious too
11:22 waxhead szabgab, no.. *I* had the problems...
11:22 szabgab ok
11:22 szabgab and do you see the same problesm on trunk as well?
11:22 waxhead I had problems with windows with 0.80 which I fixed with upgrading the strawberry perl, which gave me 5.10.1
11:23 waxhead I then tested padre on my ubuntu kramic VM and it crashed too...
11:23 waxhead took me a while to figure out it was the perl version, hence the perlbrew exercise and testing it with 5.10.1, which works fine
11:23 szabgab so I think then it is ok
11:23 waxhead szabgab, dunno. haven't tried trunk.. but I think it goes back to at least 0.80
11:24 waxhead so do I...
11:24 szabgab It is not that we are releasing one single version and then the world ends
11:24 waxhead if we accept that Padre is crashing on 5.10.0
11:24 szabgab at least I hope so
11:24 waxhead no, that's right...
11:25 waxhead so how about i aim to have the current branch built and on pause by sunday some time ( here in .au ) and then work out what to do from there
11:25 waxhead feel free to offer advise on the email in the dev list about the tagging etc after the release is built
11:25 waxhead off to bed now.. long day tomorrow
11:25 waxhead night
11:25 waxhead sleep(60*60*8);
11:25 szabgab night
11:26 * szabgab goes to have quick lunch
11:33 jon left #padre
11:55 kanishka left #padre
12:01 kanishka joined #padre
12:01 El_Che http://www.phenona.com/
12:01 El_Che http://www.phenona.com/
12:01 El_Che mm
12:02 El_Che good sign we start to see  that kind of things?
12:07 szabgab El_Che: I think so
12:09 szabgab they even have a business model, I like that :)
12:09 szabgab it looks like a Mojolicious thing
12:10 El_Che it looks more like a cpan enabled cloud
12:13 szabgab Padre in the cloud ?
12:24 aiglenoir left #padre
12:25 aiglenoir joined #padre
14:18 Sewi left #padre
14:18 Sewi joined #padre
14:30 meorero joined #padre
14:42 meorero left #padre
15:23 marcela__ left #padre
15:32 danlucraft joined #padre
15:39 pece left #padre
15:46 charsbar__ joined #padre
15:47 Sewi1 joined #padre
15:47 danlucraft left #padre
15:47 Sewi left #padre
15:48 charsbar left #padre
16:04 fenderson left #padre
16:12 dapatrick joined #padre
16:26 aiglenoir left #padre
16:45 aiglenoir joined #padre
17:02 pece joined #padre
17:04 Sewi1 left #padre
17:05 daxim left #padre
17:05 Sewi joined #padre
17:32 jon joined #padre
17:48 jon left #padre
19:47 toi joined #padre
20:16 kanishka left #padre
20:40 jq left #padre
20:43 zenog left #padre
20:58 meorero joined #padre
21:01 meorero left #padre
21:51 toi left #padre
22:03 pece left #padre
22:11 dapatrick left #padre
22:27 macroz left #padre
22:33 Sewi left #padre
22:33 Sewi joined #padre
22:39 Sewi left #padre
23:20 Di-ima left #padre
23:32 Di-ima joined #padre
23:33 kaare left #padre

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