Camelia, the Perl 6 bug

IRC log for #padre, 2012-03-04

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

All times shown according to UTC.

Time Nick Message
00:31 bowtie left #padre
00:56 Di-ima joined #padre
01:37 jnap joined #padre
01:56 asarch joined #padre
02:43 jnap joined #padre
02:52 jnap joined #padre
04:37 dandv joined #padre
04:37 dandv Is it just me or DWIMPerl doesn't set an association for .pl ?
04:37 dandv szabgab: ping ^
05:27 asarch joined #padre
06:02 kaare joined #padre
07:05 pece joined #padre
08:02 sewi joined #padre
08:11 dandv szabgab: Is it just me or DWIMPerl doesn't set an association for .pl ?
08:28 pece joined #padre
08:48 dodathome joined #padre
08:50 dodathome joined #padre
10:33 mj41 joined #padre
10:43 bowtie joined #padre
11:25 Hyppolit svn: r18553 | bowtie++ | http://padre.perlide.org/trac/changeset/18553
11:25 Hyppolit use an info dialogue
11:25 Hyppolit trunk/Padre-Plugin-SpellCheck​/lib/Padre/Plugin/SpellCheck/
11:30 Hyppolit svn: r18554 | bowtie++ | http://padre.perlide.org/trac/changeset/18554
11:30 Hyppolit oops revert last
11:30 Hyppolit trunk/Padre-Plugin-SpellCheck​/lib/Padre/Plugin/SpellCheck/
11:45 szabgab dandv: probably it does not do it
11:46 szabgab could you please open a ticket or at least send me an e-mail to me so I'll remember to add it
12:59 azawawi joined #padre
13:00 azawawi hi
13:26 bowtie azawawi, hi
13:35 azawawi bowtie: hey
13:39 azawawi textmate is so powerful
13:39 azawawi i didnt realize that before but really it is something else
13:40 bowtie azawawi, it's just another apple gem
13:40 azawawi take a look at this... in vim
13:40 azawawi http://www.zalas.eu/how-to-use​-textmate-like-snippets-in-vim
13:40 bowtie will do
13:41 azawawi we need that feature for sure...
13:45 azawawi i need to know just one thing
13:45 azawawi what's the stop condition
13:46 azawawi for getting outside a TAB sequence
13:46 bowtie i presume when there are no more tab's in snippet
13:47 azawawi or up/down?
13:47 azawawi bowtie: do you access to a TextMate editor?
13:48 bowtie azawawi, no just various ixus, and a naff old win32
13:48 * azawawi watches http://www.youtube.com/watch?v=_galFW​wSDt0&feature=endscreen&NR=1
13:48 bowtie but I can play with a mac tomorrow if i want
13:49 azawawi http://www.vim.org/scripts​/script.php?script_id=2540
13:50 azawawi bowtie: we need also to able to read vim- or textmate- bundles :)
13:50 sewi joined #padre
13:50 azawawi sewi: hi
13:51 bowtie hold on watching last video
13:54 El_Che http://redcareditor.com/
13:54 El_Che ruby, code available
13:54 El_Che support snippets
13:54 El_Che http://www.e-texteditor.com/
13:55 El_Che just from googling
13:55 El_Che (haven't tried it)
13:57 El_Che azawawi: I did recently some basic C on netbeans: what? no syntax error cheching besides non imported definitions?
14:01 _9090 joined #padre
14:02 _9090 hello
14:02 _9090 I installed Padre and wanted to use the included mysql package.
14:03 _9090 it says it couldn't find it in @INC, though. :(
14:05 _9090 Dwimperl\perl\vendor\lib\auto\ seems to be missing from @INC?
14:06 bowtie szabgab, ping, a DWIMperl user for you
14:06 El_Che :)
14:06 bowtie azawawi, can _9090 use CPAN feature to install
14:07 _9090 I'll try. It shouldn't be necessary though, right? (since Dwimperl's selling point includes included libs)
14:08 El_Che _9090: while waiting for szabgab (I don't have a windows install here), check the @INC:
14:08 El_Che perl -e 'print "@INC"'
14:08 El_Che _9090: exactly
14:08 _9090 El_Che: absolutely nothing :-|
14:08 El_Che _9090: if mysql is included, I am pretty sur it's a bug szabgab will fix
14:08 bowtie _9090, try the Padre feature CPAN, it can install modules for you
14:10 _9090 this is the error I see: Can't locate Mysql.pm in @INC (@INC contains: c:/Dwimperl/perl/site/lib c:/Dwimperl/perl/vendor/lib c:/Dwimperl/perl/lib .) at perlmysqlconnect.pl line 4.
14:10 * azawawi restarts &
14:11 _9090 cpan> install DBD::mysql DBD::mysql is up to date (4.020).
14:12 bowtie _9090, enable feature CPAN in tools -> prefs
14:13 _9090 bowtie: everything is checked in the Features panel
14:13 _9090 including CPAN explorer
14:14 bowtie Padre -> View -> show CPAN explorer
14:14 bowtie then use search, then install
14:14 _9090 I did, also says "up to date"
14:16 bowtie ok, we need to give this to szabgab as he is Mr DWIMperl
14:16 bowtie szabgab, ping
14:17 azawawi joined #padre
14:35 langmic joined #padre
14:36 azawawi bowtie: interesting
14:37 azawawi bowtie: interesting, you can embed bash scripts inside the TextMate snippet...
14:37 azawawi bowtie: you can put ${1: $FILENAME}  # Special variables
14:47 asarch joined #padre
14:51 bowtie azawawi, I am going to install the vim -snippets, it looks interesting, back to vim, the ever reliable stead
14:53 azawawi bowtie: cool
14:54 azawawi bowtie: just asked on #textmate, nothing about end conditions lol
14:57 * azawawi starts reading http://manual.macromates.com/en/snippets#snippets
15:05 Steffen joined #padre
15:12 asarch joined #padre
15:19 azawawi bowtie: im trying it right now on ubuntu/vim http://vim.sourceforge.net/scr​ipts/script.php?script_id=2540
15:19 azawawi bowtie: not bad :)
15:20 bowtie azawawi, I am trying to decide which vimrc or debian.vim i need to edit
15:20 azawawi bowtie: edit ~/.vimrc
15:20 azawawi bowtie: and unzip snipMate.zip -d ~/.vim
15:21 azawawi bowtie: and then vim test.html or test.pl
15:21 azawawi bowtie: https://github.com/msanders/snipmate.v​im/blob/master/snippets/perl.snippets
15:22 azawawi bowtie: naturally the format should be better to contain snippet description + trigger + template
15:25 Steffen_ joined #padre
15:25 azawawi bowtie: what i suspected: ESC cancels it
15:25 azawawi bowtie: and Up/down screw the selection
15:26 bowtie azawawi, up and running, going to have a look around, after food
15:26 bowtie cook -> eat, later
15:27 azawawi snippet cl # is cool... Alias will like it :)
15:27 azawawi => class using plain old Perl object...
15:28 jnap joined #padre
15:31 azawawi now that i have a reference implementation, i can do it :)
15:56 jnap joined #padre
16:03 bowtie azawawi, so is this the birth of P-P-Snippets or function->Snippets
16:05 Steffen_ left #padre
16:37 asarch joined #padre
16:55 asarch joined #padre
18:17 szabgab _9090: bowtie thanks for the ping I just saw it
18:17 bowtie szabgab, dose the feature CPAN work in DWIMperl?
18:18 szabgab what do you mean by "feature CPAN" ?
18:19 bowtie show CPAN explorer, dose it work in dwim and install files in correct place?
18:19 szabgab no idea :)
18:19 szabgab I have been using the command line cpan client to install all the stuff
18:20 szabgab but the DBD::mysql actually already came from Strawberry Perl
18:20 szabgab I have not tested it though
18:20 bowtie it would be the easiest way from within Padre
18:22 szabgab what would be the easiest?
18:24 bowtie szabgab, I would think that for a new user, feature CPAN would be the easiest, as you don't need to go to a terminal and run cpan
18:31 szabgab sure so?
18:32 szabgab it does now work?
18:34 bowtie szabgab, is this not part of DWIMperl (dp) evolution, correct or fix , update to current CPAN and release, just like dandv bug about .pl not being assigned
18:35 bowtie oops association for .pl
18:35 szabgab bowtie: I don't understand your hungarian :)
18:36 bowtie shame :)
18:38 szabgab could you please tell me what is the problem?
18:40 bowtie szabgab, I don't know, I don't use dp, so you will have to test 1, dandv Is it just me or DWIMPerl doesn't set an association for .pl ?
18:40 bowtie 2, dose show CPAN explorer work with dp
18:40 szabgab yeah I asked dandv already to file a ticket or send me a mail so I'll remember
18:40 bowtie these are things for you
18:40 asarch joined #padre
18:41 szabgab I don't unders 2
18:41 szabgab I don't understand 2
18:41 szabgab is the problem that CPAN explorer does not work?
18:42 bowtie run Padre, show CPAN explorer, install a perl module with it, dose it work, did it install to correct location within dp environment
21:18 Hyppolit svn: r18555 | bowtie++ | http://padre.perlide.org/trac/changeset/18555
21:18 Hyppolit convert p-p-xx-yy -> p-p-xx in P-Plugin make;s getting config easy
21:18 Hyppolit trunk/Padre/lib/Padre/
21:18 Hyppolit svn: r18556 | bowtie++ | http://padre.perlide.org/trac/changeset/18556
21:18 Hyppolit update Changes
21:18 Hyppolit trunk/Padre/
21:31 Hyppolit svn: r18557 | bowtie++ | http://padre.perlide.org/trac/changeset/18557
21:31 Hyppolit update Changes
21:31 Hyppolit trunk/Padre/
21:48 azawawi joined #padre
21:48 azawawi hi
21:48 azawawi bowtie: ping
21:49 bowtie pong
21:49 azawawi bowtie: been busy trying all the snippets of snipMate for perl :)
21:49 azawawi bowtie: slurp<TAB>!
21:50 azawawi bowtie: https://github.com/msanders/snipmate.v​im/blob/master/snippets/perl.snippets
21:50 azawawi bowtie: the fun thing is the following...
21:50 bowtie azawawi, yes I noticed that they appear to not understand code types
21:50 azawawi bowtie: and it seems to like a ridiculous idea to suggest
21:51 azawawi bowtie: imagine snippets.yml that you could silently include in your module somewhere...
21:51 azawawi bowtie: and synopsis<TAB> or something easier...
21:52 azawawi bowtie: bam... all the synopsis in usable form
21:52 bowtie it has to be TAB
21:52 azawawi TAP on iPads :)
21:52 azawawi we can make something else...
21:52 azawawi btw, it is also shift-tab for reverse...
21:53 bowtie I thought they had a basic keyboard, lower ascii
21:54 azawawi tab
21:54 azawawi snipMate screws up though on selection
21:55 azawawi for<tab> => up/down => does not exit snippet mode
21:55 azawawi checked it with perigrin@#moose
21:55 azawawi in textmate that exits snippet mode
21:55 azawawi so in a snippet $1, $2 and $3
21:56 azawawi <tab> <tab> <tab> => exit snippet mode
21:56 azawawi shift-tab = can loop indefinitly
21:56 azawawi (snipMate behavior => circular loop)
21:56 azawawi (TextMate behavior => stops at $1
21:57 azawawi ${1:something} and ${1} and $1 are the same
21:57 bowtie thats because textmate is clever
21:57 azawawi ${1:default_value}
21:58 azawawi yup for $$$ :)
21:58 azawawi ${1:regex} is also supported in TextMate
21:58 azawawi basically you can run default_value through even a bash script
21:59 azawawi so there is no limit to what you can do
21:59 azawawi and ${1:$TM_FILENAME}   => (TM_ => TextMate), FILENAME is the current filename
22:00 bowtie azawawi, now you know why, when people migrate to apple they stay
22:00 azawawi yup
22:00 azawawi 100%
22:01 azawawi the thing i didnt understand about Apple dialogs is no OK/Cancel/Apply changes buttons
22:01 azawawi just close...
22:02 azawawi so how can you undo current changes to the preferences dialog you just modified by mistake?
22:02 azawawi in Apple that is
22:02 azawawi s/Apple/MacOS/ :)
22:03 bowtie don't they just click on red cross on title bar
22:04 azawawi bowtie: the cool thing is padre_plugin_snippets.yml, perloo.yml (Alias-style OO snippets:)), moose.yml, ...etc
22:05 azawawi padre should go live on github
22:05 azawawi we need more contributors
22:06 bowtie yes numbers are now below 40
22:06 azawawi e.g. https://github.com/msanders/snipmate.vim/pulls
22:06 azawawi (dead project)
22:06 azawawi when people feel your project is useful, they contribute
22:07 azawawi and when it is easy for them to send you changes with commitment
22:08 azawawi license_snippets.yml # :)
22:08 azawawi module_starter.yml # :)
22:08 azawawi damn it is so generic
22:09 azawawi i'll try to have something production-quality tomorrow :)
22:09 azawawi in ::Snippet
22:09 bowtie so module starter is feasible with snippets
22:10 azawawi yeah
22:10 azawawi abstract<tab> :)
22:11 azawawi pod<tab> ...etc
22:11 asarch joined #padre
22:13 * azawawi sighs: if only YAML::Tiny didnt eat away leading whitespace... :)
22:20 azawawi one step at a time
22:20 azawawi i like what i have been learning so far
22:20 azawawi bowtie: see the x-months gaming and 1-month programming habit is good
22:20 azawawi bowtie: it used to be 1:1 :)
22:24 bowtie azawawi, it's your fly on the wall, helps you back up so you can see
22:27 * azawawi good night &
22:27 bowtie night
22:34 jnap joined #padre
22:39 dandv szabgab: https://github.com/dwimperl/dwimperl.com/issues/1 - this is the first issue ever, wowz
22:43 jnap joined #padre
23:06 asarch joined #padre
23:29 asarch joined #padre
23:36 jnap joined #padre
23:39 bowtie left #padre
23:46 jnap joined #padre

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