Camelia, the Perl 6 bug

IRC log for #padre, 2010-09-03

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

All times shown according to UTC.

Time Nick Message
00:57 jazzanova joined #padre
01:06 CSJewell left #padre
02:11 asarch joined #padre
02:16 CSJewell joined #padre
02:17 asarch left #padre
03:18 GabrielVieira2 joined #padre
03:19 GabrielVieira left #padre
03:44 |Sno| joined #padre
03:47 Sno| left #padre
03:54 asarch joined #padre
04:37 pece joined #padre
04:53 pece left #padre
04:59 Zapelius joined #padre
05:00 asarch left #padre
05:00 pece joined #padre
05:12 CSJewell left #padre
05:13 CSJewell joined #padre
05:18 chorny left #padre
05:19 marcela joined #padre
05:35 Sewi joined #padre
05:37 pece left #padre
05:49 lgtaube left #padre
05:50 kaare joined #padre
06:20 Zapelius left #padre
06:21 [Sno] left #padre
06:38 El_Che Alias__: that's not what I mean
06:38 El_Che overriding the class is ok
06:38 El_Che and I need Moose (or the Class metamodel modules) to easily and fast get the information for moose classes
06:38 El_Che that part is taken care of it already
06:39 El_Che the part is were to plug it
06:39 El_Che I am thinking plugin to force Moose on Padre
06:39 El_Che but as I understand the Padre codebase, plugin are not able to remove mime type classes (even if the method exist)
06:40 El_Che they only can register new mime type classes
06:42 El_Che (my English is terrible before coffee)
07:04 Steffen joined #padre
07:20 lgtaube joined #padre
08:33 Alias__ El_Che: Correct, you can't hijack existing mime-types
08:36 El_Che catch 22 then
08:37 Alias__ Well, it's the responsibility of whoever implements the document type class to provide subsequent per-mime-type hooks
08:38 Alias__ Why do you even NEED to hijack it? Because you want to influence the Outline widget?
08:38 El_Che I want to add attribute, method and class autocompletion for moose classes
08:38 Alias__ Can you use the editor hook?
08:39 El_Che in short override the autocomplete method in Document::Perl
08:40 El_Che I don't edit the method directly (as it should: it's NOT a new Document type, but just a perl file) because I don't want to add Moose there
08:40 El_Che at the moment it's Moose metamodel that provides this info fast and easy
08:41 El_Che I could add a test to enable a block only if the plugin is enabled
08:41 El_Che but it sounds like an overhead for people not using Moose
08:42 Alias__ Well, wouldn't you be doing to the analysis in a background task?
08:43 Alias__ We never load the code in your typing area in the foreground
08:53 El_Che does the autocomplete method of Document::Perl run in the background?
08:53 Steffen I don't think so.
08:53 Steffen Ideally, we'd have a much better "windowlet" for the autocomplete from Wx.
08:54 El_Che normally it should find the candidates with every key presses
08:54 Steffen Then we could spawn the bg process to do the heavy lifting and update the autocomplete list as we go.
08:54 El_Che pressed
08:54 El_Che moose info is just the same, it sjust add a few candidates to the returned array
08:54 Steffen You know, the pg process can scan for all completions and keep doing that while the further keys pressed just grep{} through the result.
08:55 Steffen That way, you wouldn't have a Task running per key pressed.
08:55 Steffen s/pg/bg/
08:55 Steffen Anyway. That's how I'd have done it if Wx gave me more freedom that way.
08:55 Steffen Wx or rather STC.
08:55 El_Che For now, do you see a work around for adding the Moose info?
08:56 El_Che or we need to really rethink how the autocomplete is done?
08:56 Steffen Err, it's been a while.
08:56 Steffen It *could* use a complete rethink.
08:56 Steffen But you could:
08:56 Steffen edit the autocomplete method in the perl document type to:
08:56 Steffen a) do a quick scan whether Moose is used
08:57 Steffen b) if so, try to load moose.
08:57 Steffen Ah. Wait.
08:57 El_Che "10:41 <@El_Che> I could add a test to enable a block only if the plugin is enabled
08:57 El_Che 10:41 <@El_Che> but it sounds like an overhead for people not using Moose
08:57 El_Che "
08:57 Steffen "eval {require Moose} if $text =~ /\bMoose\b/?"
08:57 El_Che the switch could be set by the plugin_enable
08:58 Steffen Not even that.
08:58 Steffen Just "eval {require Class::MOP}"
08:58 Steffen BUT
08:58 Steffen The big deal is that you have to compile the code in order to use Class::MOP.
08:58 Steffen Which is something you really, really want the user to be aware of.
08:58 Steffen And the reason why syntax-check is off by default.
08:59 El_Che syntax-check and autocomplete is something people really want
08:59 Steffen And if it currently doesn't compile because you're doign $bj->fo<Ctrl-Space>, then it's useless.
08:59 Steffen You know. You just started to type ->foooooooooo
08:59 Steffen And hit auto-complete.
08:59 Steffen It won't be in a compileable state.
08:59 El_Che ic
08:59 Steffen Sorry.
09:00 El_Che It really looked like low-hanging fruit
09:02 Steffen I see where you're coming from. Maybe a better improvement would be to hack Perl::Tags to support it.
09:03 Steffen Then you automagically get support via Parse::ExuberantCTags
09:03 Steffen (Which is written as C/XS specifically because autocomplete runs in the foreground, by the way.)
09:04 El_Che pattern matching in C?
09:04 El_Che you really don't like me :)
09:05 Steffen No, no.
09:05 Steffen Parse::ExuberantCTags is the "reading" part.
09:05 Steffen Which runs in padre.
09:05 Steffen Perl::Tags is Perl. It does the "indexing" part.
09:05 Steffen code -> Perl::Tags -> "ctags" file -> Parse::ExuberantCTags -> autocompletion
09:05 Steffen P::ECTags is just the scanner for ctags-style files.
09:11 El_Che I neend to have a serieus look at it. I am not sure I get it
09:23 danlucraft joined #padre
09:24 Mrdini joined #padre
10:04 jazzanova left #padre
10:52 Hyppolit #826: Allow changing the FunctionList sort order by right click (new enhancement) [ http://padre.perlide.org/trac/ticket/826#comment:3 ]
10:57 GabrielVieira joined #padre
10:57 Hyppolit #518: Open the config.yml for editing (closed enhancement) [ http://padre.perlide.org/trac/ticket/518#comment:1 ]
11:01 GabrielVieira2 left #padre
11:07 Hyppolit #999: clean up and extend preferences dialog (new task) [ http://padre.perlide.org/trac/ticket/999 ]
11:13 Hyppolit #1000: Run Parameters: Possible extensions (new enhancement) [ http://padre.perlide.org/trac/ticket/1000 ]
11:16 Hyppolit #999: clean up and extend preferences dialog (new task) [ http://padre.perlide.org/trac/ticket/999#comment:1 ]
11:18 Hyppolit #999: clean up and extend preferences dialog (new task) [ http://padre.perlide.org/trac/ticket/999#comment:2 ]
11:21 Hyppolit #412: find/replace dialog should autocomplete (new enhancement) [ http://padre.perlide.org/trac/ticket/412#comment:1 ]
11:26 Hyppolit #308: variable name completition (new enhancement) [ http://padre.perlide.org/trac/ticket/308#comment:3 ]
11:55 Hyppolit svn: r12428 | zenogantner++ | http://padre.perlide.org/trac/changeset/12428
11:55 Hyppolit fix tab focus order in Find dialog; fix Esc behaviour in all cases for the Replace dialog
11:55 Hyppolit trunk/Padre/ trunk/Padre/lib/Padre/Wx/Dialog/
12:56 kaare left #padre
13:06 chorny joined #padre
13:58 marcela left #padre
14:03 awnstudio_ left #padre
14:30 jq Alias__: ping
14:31 pece joined #padre
14:31 jq Alias__: file-homedir 0.92_03 release?
14:35 lgtaube left #padre
14:55 mib_jgaax2 joined #padre
14:55 mib_jgaax2 left #padre
15:16 dapatrick joined #padre
15:19 lgtaube joined #padre
15:26 CSJewell left #padre
15:27 CSJewell joined #padre
15:32 CSJewell left #padre
15:33 Alias__ left #padre
15:33 Alias__ joined #padre
15:33 Steffen left #padre
15:34 CSJewell joined #padre
15:41 CSJewell left #padre
16:24 Mrdini left #padre
16:25 [Sno] joined #padre
16:44 daxim left #padre
17:07 Alias joined #padre
17:09 Alias__ left #padre
17:14 lgtaube greetings
17:15 lgtaube anyone here using Padre on opensolaris?
17:15 El_Che Laidback_01 dpes
17:15 El_Che does
17:16 lgtaube excellent
17:16 El_Che however, there were some problems with his Wx compile if I recall correctly
17:17 El_Che I am solaris man, but I run Padre on linux :)
17:18 Laidback_01 I've tried to run Padre on OSOL with no luck so far
17:18 Laidback_01 did you get it to work?
17:19 Laidback_01 my attempt at this was to build up a threaded perl local install and attempt to install padre via cpan.  the problem i'm running into is I get so many warnings - close to 7000 of them when installing wxPerl.
17:19 Laidback_01 so, I think there's probably an issue there.
17:19 Laidback_01 it doesn't run for me - almost but not quite.
17:20 Laidback_01 pretty sure it's a Wx and WxPerl communication thing
17:20 Laidback_01 so my next attempt is to compile up a local Wx and ignore the Wx provided by OSOL.
17:21 El_Che have you tried - just as a test - on of the precompiled solaris pkgs from blastwave, opencsw or sunfreeware?
17:21 lgtaube well, my first attempt was using the perl and wxGTK supplied with osol (build 134 btw)
17:21 lgtaube I got everyting built successfully,...
17:22 Laidback_01 yeah, I didn't see padre in any of those repos
17:22 El_Che lgtaube: is there a Wx.pm?
17:22 lgtaube ...but when I started Parde, I just got the splash screen, the splash went away (as it should), and then
17:22 lgtaube Nothing Happened
17:22 El_Che I mean supplied on opensolaris?
17:22 Laidback_01 lgtaube, that's the exact same issue i have
17:23 lgtaube with the osol-supplied bits?
17:23 Laidback_01 if you run it via cmd it throws an error about en_GB for me
17:23 Laidback_01 er a warning
17:23 lgtaube ok
17:23 Laidback_01 and then it just sits there
17:23 lgtaube exactly
17:23 Laidback_01 okay, so I'm thinking that it's the osol supplied Wx
17:23 Laidback_01 I'm going to compile my own up now and go for it.
17:24 Laidback_01 your issue just reinforces that for me
17:24 Laidback_01 thanks!
17:24 lgtaube so I started from the beginning, by building the latest and greatest wxGTK, perl-5.12.1, and a large collection of Perl modules (including Alien::wxWidgets)
17:25 lgtaube all leading up to the dreaded Wx, which fails for STC.o staing it can't find the include file "wx/stc/stc.h"
17:25 lgtaube ...and I can't find it either  :-)
17:25 El_Che (on a non related not: have you been able to bild perl with d-trace support?)
17:25 lgtaube indeed I have
17:25 El_Che build
17:26 Laidback_01 never tried yet
17:26 El_Che did you have to patch the makefile?
17:26 lgtaube I found a blog entry detailing how to do it
17:26 El_Che ok, I need to check that
17:26 lgtaube http://plosquare.blogspot.com/2010/05/d​trace-enabled-perl-in-opensolaris.html
17:26 lgtaube after I patched according to the instructions, it all worked flawlessly
17:28 El_Che how do you applied the patchN
17:28 El_Che ?
17:28 El_Che weird format
17:33 rindolf joined #padre
17:34 rindolf Hi all
17:34 El_Che hi
17:38 lgtaube applying the patch:
17:38 lgtaube I unpacked the perl-5.12.1 tar file, did a cd down into the newly created directy
17:38 lgtaube then I d/l.ed tha patch from the blog, and ran
17:38 lgtaube patch < patch-from-blog.diff
17:38 lgtaube and hay Presto!  :-)
17:39 lgtaube after that I ran Configure
17:40 danlucraft left #padre
17:41 lgtaube ...but still no Padre. Good to hear that I'm not alone in trying to get it working on osol, though  :-)
17:45 GabrielVieira left #padre
17:48 El_Che lgtaube: thx
17:59 dapatrick left #padre
18:01 GabrielVieira joined #padre
18:06 toi joined #padre
18:28 patspam joined #padre
19:07 patspam compelling reason for switching to git number 101..
19:07 patspam Padre::Document::WebGUI::Asset inherits from Padre::Document
19:08 patspam and at some point Padre::Document::last_sync disappeared
19:08 patspam in git I can easily grep through the changelog to show which commit removed the method
19:08 patspam in svn...
19:09 chorny git-svn
19:09 patspam heh yeah, but that's kinda tragic
19:09 patspam and would take ages to import the first time from the svn server
19:10 patspam maybe gitpan will help
20:01 CSJewell joined #padre
20:08 GabrielVieira left #padre
20:29 CSJewell2 joined #padre
20:34 CSJewell left #padre
20:40 toi left #padre
20:53 Hyppolit svn: r12429 | patspam++ | http://padre.perlide.org/trac/changeset/12429
20:53 Hyppolit Padre::Plugin::WebGUI 0.06 release
20:53 Hyppolit trunk/Padre-Plugin-WebGUI/ trunk/Padre-Plugin-WebGUI/​lib/Padre/Document/WebGUI/ trunk/Padre-Plugin-WebGUI/lib/Padre/Plugin/ trunk/Padre-Plugin-WebGUI/lib/Padre/Plugin/WebGUI/
20:59 Sewi left #padre
20:59 patspam left #padre
21:12 rindolf left #padre
21:31 [Sno] left #padre
21:33 PlutocraticSoul joined #padre
21:34 PlutocraticSoul Hi, I am looking for a good Perl IDE, Padre looks good but I was wondering if there was a portable version?
21:35 PlutocraticSoul You guys all bots?
21:35 [Sno] joined #padre
21:36 chorny yes
21:36 PlutocraticSoul LOL
21:36 chorny you will bot soot too
21:36 chorny soon
21:37 chorny Padre runs on unreleased Portable
21:38 PlutocraticSoul The download page seems to only have solid installations, I require something that I can run off of a USB.  Are there any parde builds that I can run like that?
21:39 chorny Any Padre build runs on unreleased Portable Strawberry
21:40 PlutocraticSoul Ok, that is a bit of a downer, I have to switch from system to system and much of the code I support, requires a particiular type of perl. I guess I'll have a look at something else.  Thanks for your time.
21:42 chorny You can wait for new release or I can send you modifications for current Portable Strawberry
21:45 PlutocraticSoul That is very nice and the IDE looks great to use, however I need an IDE that is idependent from the version of perl running on the box.  The dumbass programmers I work with have written 20,000 to 30,000 lines of perl per application that will only run on very specif versions of perl.  However, each developer chose different versions, not just packages.
21:45 PlutocraticSoul I don't want to add Strawberry to that mix.
21:48 PlutocraticSoul left #padre
21:48 chorny Portable Padre would obviously include Portable Strawberry...
22:29 GabrielVieira joined #padre
22:42 chorny left #padre
23:34 pece left #padre
23:34 Laidback_01 left #padre

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