Camelia, the Perl 6 bug

IRC log for #padre, 2010-01-13

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

All times shown according to UTC.

Time Nick Message
00:17 teejay joined #padre
00:22 basti1985 left #padre
00:46 basti1985 joined #padre
00:46 basti1985 left #padre
01:08 robkinyon joined #padre
01:08 robkinyon is there a vim-binding?
01:15 basti1985 joined #padre
01:19 c0bra joined #padre
01:44 basti1985 left #padre
02:58 jazzanova joined #padre
03:20 cognominal joined #padre
04:11 awnstudio joined #padre
04:26 Alias_ joined #padre
05:37 danlucraft joined #padre
06:20 Sewi joined #padre
06:20 Sewi gm
06:26 Alias_ afternoon
06:53 [1]awnstudio joined #padre
06:53 charsbar_ joined #padre
07:21 azawawi joined #padre
07:21 azawawi good morning
07:22 kaare joined #padre
07:32 Sewi Hi azawawi
07:59 Alias_ grrr
07:59 Sewi I didn't do it :-)
07:59 * Alias_ is trying to replicate a Java api that has managed to get away with using "if" as a function
08:00 Alias_ Somehow I think I'm not going to be able to get away with that
08:00 Sewi $java->if($arg); doesn't look good
08:07 marcela joined #padre
08:10 mohsen joined #padre
08:27 pece joined #padre
08:34 waxhead joined #padre
08:34 waxhead hey everyone
08:42 danlucraft joined #padre
09:04 pece2 joined #padre
10:52 daxim joined #padre
11:23 Hyppolit svn: r10122 | submersible_toaster++ | http://padre.perlide.org/trac/changeset/10122
11:23 Hyppolit [Swarm] fix or break everything for anyone. still no joy picking sensible listen address
11:23 Hyppolit trunk/Padre-Plugin-Swarm/ trunk/Padre-Plugin-Swarm/junkyard/ trunk/Padre-Plugin-Swarm/lib/Padre/Plugin/ trunk/Padre-Plugin-Swarm/lib/Padre/Service/ trunk/Padre-Plugin-Swarm/lib/Padre/Wx/Swarm/
11:33 Hyppolit svn: r10123 | submersible_toaster++ | http://padre.perlide.org/trac/changeset/10123
11:33 Hyppolit unbreak Chat.
11:33 Hyppolit trunk/Padre-Plugin-Swarm/lib/Padre/Service/ trunk/Padre-Plugin-Swarm/lib/Padre/Wx/Swarm/
12:19 Hyppolit svn: r10124 | bricas++ | http://padre.perlide.org/trac/changeset/10124
12:19 Hyppolit fix Makefile.PL to have proper dist+module names
12:19 Hyppolit trunk/Padre-Plugin-PerlCritic/
12:24 Hyppolit svn: r10125 | bricas++ | http://padre.perlide.org/trac/changeset/10125
12:24 Hyppolit split and tidy up tests
12:24 Hyppolit trunk/Padre-Plugin-PerlTidy/t/
13:14 Hyppolit svn: r10126 | bricas++ | http://padre.perlide.org/trac/changeset/10126
13:14 Hyppolit tiny text updates, fix tests accordingly
13:14 Hyppolit trunk/Padre-Plugin-PerlCritic/lib/Padre/Plugin/ trunk/Padre-Plugin-PerlCritic/t/
13:19 Alias_ Hrm
13:19 Alias_ bricas: Usually, if something isn't working right like that, I drop a $DB::single = 1 in just before the statement, and run it stepwise through the debugger
13:31 bricas oh, duh.
13:31 bricas the file *has* to exist for it to return anything.
13:34 robkinyon how would i go about finding out if there's a vim-binding for padre?
13:34 robkinyon google wasn't forthcoming
13:37 Hyppolit svn: r10127 | bricas++ | http://padre.perlide.org/trac/changeset/10127
13:37 Hyppolit need newlines add end of output
13:37 Hyppolit trunk/Padre-Plugin-PerlCritic/lib/Padre/Plugin/
13:39 robkinyon left #padre
14:09 PerlJam joined #padre
14:22 Hyppolit svn: r10128 | bricas++ | http://padre.perlide.org/trac/changeset/10128
14:22 Hyppolit - _T() replaced with Wx::gettext() (BRICAS)
14:22 Hyppolit - Use new project config setting (config_perltidy) if available (BRICAS)
14:22 Hyppolit trunk/Padre-Plugin-PerlTidy/ trunk/Padre-Plugin-PerlTidy/lib/Padre/Plugin/ trunk/Padre-Plugin-PerlTidy/t/
14:22 bricas Alias_: could probably use some tidying up -- but methinks it works.
14:23 Alias_ rob: You look in svn at Padre::Plugin::Vi?
14:33 jq Alias_: file::homedir is ready for another dev release
14:34 Alias_ ok
14:42 Alias_ Dev release pushed
14:46 jq thanks.
14:46 jq should we provide the my_data_dist() and al in further dev releases?
14:46 jq ie, can we start implementing them?
14:52 jq problems with autocompletion in padre 0.54
14:53 jq - using ctrl+tab to change active tab triggers autocompletion for a very brief time
14:54 jq - if cursor is on an empty, different line, starting typing will trigger autocompletion with last word on previous line
15:10 cognominal joined #padre
15:15 dapatrick joined #padre
15:22 szabgab_mib joined #padre
15:22 Alias_ jq: No, lets get this stuff to prod first
15:22 szabgab_mib hi
15:22 Alias_ jq: I want a number of dev releases while adding the extra methods
15:22 Alias_ jq: And I'd like some time to get it right
15:22 szabgab_mib I am at a client, just installed Padre Stand alone on Windows from the zip file as I don't have admin right
15:22 szabgab_mib s
15:23 szabgab_mib I am trying to use XML::LibXML but it complains about a missing DLL
15:23 szabgab_mib what do I need to configure so it will find it?
15:30 jq Alias_: ping
15:31 Alias_ szabgab_mib: You need to set PATH
15:31 basti1985 joined #padre
15:31 basti1985 left #padre
15:33 jq with ppi::statement::include, $node->module doesn't work for "use 5.006" and al., we're supposed to use $node->version for those.
15:34 jq but the question is: what's the best way to differentiate those?
15:34 jq eval { $node->module }; if ( $@ ) { # using $node->version }
15:34 jq ?
15:37 szabgab_mib joined #padre
15:37 jq szabgab_mib: 16:31:11 Alias_> szabgab_mib: You need to set PATH
15:38 szabgab_mib in the meantime I tracked down someone with admin rights, but thanks
15:38 szabgab_mib we better add this info somewhere in the download pages
15:38 szabgab_mib and in a readme file in the root of the padre stand alone (and probably also the strawberry) zip version
15:39 jq Alias_: or should i use $node->child(1)->isa('PPI::Token::Number')
15:39 jq ?
15:39 Alias_ The zip version is gnerally mean for people that can look after themselves :)
15:40 Alias_ if ( $node->module ) { ... module code ... } else { ... version code ... }
15:41 Alias_ $node->module returns defined-false if it's not a module
15:42 jq accessing $node->module_version when mininum module version is not set gives me:
15:42 jq YAML::Tiny does not support PPI::Token::Number::Float references at /usr/lib/perl5/vendor_perl/5.10.1/YAML/Tiny.pm line 520.
15:42 jq is that normal? (answer: no)
15:43 szabgab_mib Alias_: did someone say we want to have a nice first time experience :-)
15:43 Alias_ szabgab_mib, you see how we hid the zip version away on a secondary page, with giant "Download Strawberry 5.10.1.2" link on the front page? :)
15:44 Alias_ Where only clueful people would find it :)
15:44 szabgab_mib so forget about strawberry, in Padre I'd like to have that information :-)
15:44 Alias_ But if you did that to Padre, it would crash before you could get to it :)
15:46 szabgab_mib sorry? what would crash?
15:46 Alias_ Padre...
15:46 Alias_ Because a missing DLL happens pretty early
15:46 szabgab_mib I could run padre.bat from the unzipped dir
15:46 szabgab_mib the missing dll was dues to me trying to load XML::LibXML
15:47 szabgab_mib in a script
15:47 Alias_ You wouldn't run padre.bat
15:47 Alias_ As a newbie, you'd probably run padre.exe
15:47 szabgab_mib padre.exe  does not run anyway :-)
15:47 Alias_ And when a module was out of date or too old, it would just fail silently
15:47 Alias_ padre.exe runs now
15:47 Alias_ I fixed it
15:47 szabgab_mib congrats
15:47 szabgab_mib back to work now
15:47 Alias_ It's an ugly temporary hack
15:47 Alias_ And I'm removing it as soon as azawawi fixes it better
16:06 user_5144 joined #padre
16:07 user_5144 Hi I am padre for the first time and keep getting this error... "No execution mode was defined for this document"
16:08 Alias_ Welcome!
16:09 Alias_ If you look down the bottom right in the status bar, what is the file type shown as
16:09 user_5144 Scintilla       Text      Unix
16:09 Alias_ That's your problem
16:10 user_5144 How do I fix it?
16:10 Alias_ Padre thinks it's a text file, and you can run plain text :)
16:10 Alias_ can't
16:10 Sewi View -> View as... -> Perl
16:10 Alias_ View -> View Document As -> Perl 5
16:11 user_5144 That was easy    Thanks!!!!!
16:11 user_5144 I spent an hour on google looking for that error
16:11 Alias_ Out of curiosity, what's the file look like
16:11 user_5144 :)
16:12 Alias_ Padre is normally fairly good about automagically recognising Perl files
16:13 Alias_ Can you paste the file content?
16:13 Alias_ There's a PasteBin link below the typing area
16:14 user_5144 http://mibpaste.com/lufxxy
16:14 Alias_ Curious
16:14 user_5144 I teach Cisco Networking and am trying to write a script to reset Lab routers
16:14 Alias_ Padre should have automatically recognised that
16:14 Sewi No.
16:14 Alias_ If the file doesn't have a well known extension, it should look for #! ... perl
16:15 Sewi #!use/bin/perl isn't #!/usr/bin/perl
16:15 Alias_ It shouldn't need perfection
16:16 user_5144 Stupid little typos!
16:16 Sewi :-)
16:17 Sewi Alias: It might look for #!/
16:19 szabgab_mib I  need to process an XML file but I find the api of XML::LibXML fairly unintuitive, is it just me ?
16:20 * Alias_ will take a look at the code
16:20 Alias_ I think I wrote it
16:20 szabgab_mib what else do you suggest for XML processing?
16:21 szabgab_mib e.g. I have no clue how to get the name of the attributes, I seem to be able to get only the values
16:21 Sewi Simple XML? RegEx :-)
16:21 szabgab_mib You mean XML::Simple ?
16:21 szabgab_mib maybe I'll use that but then I still need to install it on
16:21 szabgab_mib Strawberry
16:21 Sewi No, simple XML structure.
16:22 szabgab_mib and tell client to do so as well
16:22 szabgab_mib oh yes, the xml I need to read is fairly simple
16:24 Sewi Typical "XML API": <Message><From>user1</From><To>user2<​/To><Text>Hello</Text></Message>where no more than one <Message> is allowed per API call and there are no surprises or deeper-level-tags within the inner tags
16:24 Hyppolit Changeset #1 http://padre.perlide.org/trac/changeset/1
16:26 Alias_ hrm
16:26 Alias_ It looks for /\A#![^\n]*\bperl6?\b/m
16:27 Sewi should match
16:27 Alias_ I had thought I did a half-decent job of it
16:28 Alias_ user_5144, what was the file name?
16:32 Alias__ joined #padre
16:42 u-foka joined #padre
17:33 user_5144 what does this error mean?  Global symbol $t requires explicit package name?
17:33 user_5144 $t = new Net::Telnet ( Timeout=>10, Errmode=>'die');
17:38 user_5144 Never mind.....  I figured it out.
18:01 Getty lol
18:01 Getty that reminds me again on the padre support channel ;)
18:01 Getty or we add additional link to non-padre help channel (#perl5 freenode)
18:02 Getty aehm #perl freenode
18:15 u-foka joined #padre
18:19 danlucraft joined #padre
20:56 u-foka joined #padre
21:41 kthakore msg mst hi
21:44 awnstudio joined #padre
22:27 cognominal joined #padre
22:57 cognominal joined #padre
23:15 SvenDowideit joined #padre

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