Camelia, the Perl 6 bug

IRC log for #padre, 2009-11-13

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

All times shown according to UTC.

Time Nick Message
00:16 teejay joined #padre
00:20 Alias joined #padre
00:26 Alias joined #padre
01:05 patspam joined #padre
01:23 kthakore joined #padre
01:23 kthakore Getty: around?
01:24 kthakore Alias: hi!!!!
01:52 mj41_ joined #padre
02:08 mohsen joined #padre
02:08 Alias kthakore: heya
02:08 * Alias has been busy working on geo2gov.com.au
02:08 kthakore Alias: I saw!!!
02:08 kthakore Alias: neato
02:08 kthakore now come to Canada and do that :P
02:09 * kthakore has been busy with redesign and maintainace
02:09 kthakore Alias: here a gift. http://yapgh.blogspot.com/2009/11/​once-in-while-seteventfilter.html
02:10 kthakore Alias: oh and real tests !!! http://sdlperl.ath.cx:8080​/app/public_graphs/start/1
02:10 kthakore Alias: going to sleep no
02:10 kthakore p now
02:10 kthakore see ya
02:18 ejb joined #padre
02:38 mohsen joined #padre
02:40 mohsen joined #padre
02:56 Alias kthakore: Could probably be done fairly easily if the data is available
02:56 Alias kthakore: The actual search code is pretty portable
03:30 kthakore alias how do i get teh data?
03:39 Alias I got mine from the Australian Bureau of Statistics
03:40 Alias So you'd really need http://www.statcan.gc.ca/start-debut-eng.html to provide it
03:41 Alias http://www12.statcan.gc.ca/census-rec​ensement/2006/geo/bound-limit-eng.cfm
03:42 Alias http://geodepot.statcan.gc.ca/2006/0401​20011618150421032019/031904_05-eng.jsp
03:42 Alias Looks like there's more than enough information there to do the Census layer of what I'm doing
03:58 kthakore k
06:12 Hyppolit #743: No option for hooking up <STDIN> in Padre (new enhancement) [ http://padre.perlide.org/trac/ticket/743#comment:2 ]
06:48 mohsen joined #padre
07:03 Sewi joined #padre
07:03 Sewi good morning
07:05 Sewi fg3: Sorry, was sleepy yesterday night, didn't see your error message. If you didn't get any solution until now: Did you try reinstalling wx?
07:11 kaare joined #padre
07:31 submersible joined #padre
07:44 SvenDowideit__ joined #padre
08:07 SvenDowideit joined #padre
08:38 Alias_ joined #padre
09:07 Hyppolit #655: Lexical Rename of Variable - Can't rename to a variable iwth an underscore in it (closed defect) [ http://padre.perlide.org/trac/ticket/655#comment:3 ]
09:12 mohsen joined #padre
09:41 pece joined #padre
10:28 pece2 joined #padre
11:05 siegfri3d joined #padre
11:12 pece joined #padre
11:26 Hyppolit svn: r9196 | Sewi++ | http://padre.perlide.org/trac/changeset/9196
11:26 Hyppolit "Find method declaration" tries to use perltags first (untested with tags)
11:26 Hyppolit trunk/Padre/lib/Padre/Document/
11:31 Hyppolit #749: padre should take shebang line into account for syntax highlighting (new defect) [ http://padre.perlide.org/trac/ticket/749 ]
11:42 daxim joined #padre
11:55 Hyppolit #750: tab / ctrl+tab do not work anymore (new defect) [ http://padre.perlide.org/trac/ticket/750 ]
11:58 Hyppolit #750: tab / ctrl+tab do not work anymore (new defect) [ http://padre.perlide.org/trac/ticket/750#comment:1 ]
11:59 pece joined #padre
11:59 Hyppolit #750: tab / ctrl+tab do not work anymore (new defect) [ http://padre.perlide.org/trac/ticket/750#comment:2 ]
12:40 pece2 joined #padre
12:42 kaare joined #padre
12:55 pece joined #padre
12:58 Hyppolit svn: r9197 | tsee++ | http://padre.perlide.org/trac/changeset/9197
12:58 Hyppolit * Rename _perltags_parser to perltags_parser since there's no reason for it to be internal.
12:58 Hyppolit * This ain't Scheme.
12:58 Hyppolit trunk/Padre/lib/Padre/Document/
13:03 Hyppolit svn: r9198 | Sewi++ | http://padre.perlide.org/trac/changeset/9198
13:03 Hyppolit Perl tidy
13:03 Hyppolit trunk/Padre/lib/Padre/Document/ trunk/Padre/lib/Padre/Wx/ trunk/Padre/t/
13:05 Hyppolit svn: r9199 | tsee++ | http://padre.perlide.org/trac/changeset/9199
13:05 Hyppolit fix perltidy screwup
13:05 Hyppolit trunk/Padre/lib/Padre/Document/
13:18 szabgab joined #padre
13:34 pece2 joined #padre
13:39 Hyppolit svn: r9200 | tsee++ | http://padre.perlide.org/trac/changeset/9200
13:39 Hyppolit Use the class name for jumping to the method declaration IF available
13:39 Hyppolit trunk/Padre/lib/Padre/Document/
13:39 tsee joined #padre
13:41 rindolf joined #padre
13:42 rindolf Hi all.
13:44 Sewi Hi rindolf
13:44 rindolf hi Sewi
13:45 tsee Sewi, find-method-declaration from tags works.
13:45 rindolf Sewi: what's up?
13:46 tsee I just added the ability to find the SPECIFIC method of the given class in case of class methods.
13:46 tsee Now, we just need a magic piece of "guess the type of this variable" code.
13:46 tsee And then we're all set for world^HIDE domination!
13:47 Sewi tsee: thx
13:47 tsee Oh, and for the record. I disapprove of the current .perltidy setup.
13:47 szabgab tsee, this is great!
13:47 tsee szabgab, doesn't work for object methods, though...
13:47 tsee And in that case, we *could* pop up a little list window that shows all matches.
13:47 Sewi tsee: The github-download didn't make a executable "perl-tags"...
13:48 szabgab I guess one could look for the declaration of the variable and know this from there
13:48 szabgab in some cases
13:48 tsee szabgab, few cases, yes.
13:48 tsee But only if it looks like "my $VARNAME = CLASSNAME->new"
13:49 szabgab and hoping that there is not $VARANAME = $some_other_object   later
13:50 szabgab I wonder how could we decouple this whole thing from Padre ?
13:51 Sewi We could go the reverse way: look who calls the current method and look if there is a class->new declaration there. This can become very complex and won't give reliable results, but hints.
13:52 tsee That'd be moderately painful.
13:52 tsee (On the order of nail-through-shoulder or so)
13:53 szabgab I think if we can factor this out to a non-padre code with tests then we could get many more people interested in it
13:53 Sewi It'd work for things like $document in Padre which is based on a Padre::Document object
13:56 pece joined #padre
13:56 tsee I'm always all for putting such logic in external modules, but here, I think we should punt and write our own hacks for now. If they mature, we can factor them out.
13:57 tsee Oh. And before I forget: Perl::Tags doesn't do inheritance.
13:57 tsee That's a biggie.
13:57 tsee (plug: File::PackageIndexer does)
13:58 Sewi tsee: Should the perl-tags command be created during make or did I get something wrong?
13:58 tsee Sewi: When you download the tarball, you should have the same as an extracted CPAN tarball except for the missing meta files (META.yml, MANIFEST).
13:58 tsee It should live in bin/perl-tags
13:58 tsee Without installing anything, you can run it as: perl -Ilib bin/perl-tags
13:59 tsee When you do perl Makefile.PL && make, it will be copied over to blib/bin or so.
13:59 Sewi Got the tarball but no bin/
13:59 tsee Strange.
13:59 tsee Try the most recent revision
13:59 Sewi blib/bin is empty
14:00 tsee If there's no bin/...
14:00 tsee Try: http://github.com/tsee/perl-tags/tarball/​b53ba3afecfeb9b312df958902f34c620992a0a1
14:35 Sewi tsee: This is the file I'm using.
14:35 tsee Odd
14:37 tsee It's an old commit apparently (github--) Try http://github.com/tsee/perl-tags/tarball/master
14:55 szabgab here is the poll   http://bit.ly/XIzqO
14:57 szabgab pls let me know if you see Matlab in the list
14:59 daxim joined #padre
15:00 Sewi szabgab: Negative
15:00 szabgab it seems their thing is quite broken then
15:00 szabgab as I added it a few minutes ago and it shows up in the list of the results
15:05 szabgab anyway, I have to go now
15:05 Sewi enjoy your weekend
15:10 Haarg joined #padre
15:10 szabgab will be back later
15:10 szabgab just going to dinner to grandparent
15:10 szabgab s
15:12 Hyppolit svn: r9201 | szabgab++ | http://padre.perlide.org/trac/changeset/9201
15:12 Hyppolit add poll200911
15:12 Hyppolit trunk/perlide.org/ trunk/perlide.org/poll200911/
15:18 tsee How does Padre's tooltip functionality work for perlfunc and friends?
15:18 tsee I.e. where does the list of functions with the explanations come from?
15:18 tsee How is it stored, etc?
15:18 tsee Ah.
15:19 tsee share/languages/perl5.yml
15:19 tsee share/languages/perl5/perl5.yml
15:19 tsee Too bad.
15:20 CSJewell Finally installed Padre in my "Strawberry Perl Debugging" VM - is there a ticket up for the fact that it's not listening to some of the preferences? (Specifically, I lile to use tabs, but set them to display at 4 [currently displaying at 8], and I'm not getting any indication of a project in the toolbar?)
15:21 Alias_ Check the trac
15:21 tsee Alias: Me? About the calltips?
15:21 tsee CSJewell, disable indentation-auto-sensing
15:22 CSJewell Thanks, tsee.
15:22 tsee CSJewell, by default, Padre will determine the indentation settings automatically for each document.
15:22 tsee Overriding the values you set in the preferences.
15:22 tsee Those are used for new documents and as a fallback.
15:23 tsee Is there a way to read the whole calltips thing as a reference from the editor?
15:24 CSJewell Now that I've got installing Padre using CPAN to where it's 12 minutes rather than nearly an hour to install (I .par-filed Alien::wxWidgets and Wx), it's worth installing and keeping up-to-date to me.
15:24 Alias_ :)
15:26 patspam joined #padre
15:33 CSJewell OK. One other question. How do you tell Padre "this directory is a project that I want to call "THAT""?
15:34 Sewi CSJewell: If it has Makefile.PL or padre.yml in it
15:37 awnstudio joined #padre
15:56 Sewi tsee: Any other source for the padre-tags script?
15:56 Sewi perl-tags
15:56 tsee git clone ...
15:57 tsee did you see me saying "<tsee> It's an old commit apparently (github--) Try http://github.com/tsee/perl-tags/tarball/master"
15:57 tsee That shoudl have it.
15:57 Sewi Sorry, didn't noticed the URL
16:01 Sewi tsee: fyi: There are test-failures.
16:01 tsee are there? Can you nopaste?
16:03 Sewi ...and there is a bin/perl-tags :-)
16:04 shadowpaste "Sewi" at 82.83.246.3 pasted "PerlTags-Errors" (91 lines) at http://scsys.co.uk:8001/36170
16:07 Sewi Some kind of caching would be great: Modules could create a PM-Name.perltags - file on install and you won't need to parse Data::Dumper each time someone uses it.
16:07 Sewi But this is a wish, no requirement :-)
16:08 tsee Sewi: retry.
16:10 Sewi Sorry, need to go to buy some food for the weekend, will look at it later...
16:14 clscott joined #padre
16:27 tsee BEHOLD!
16:27 tsee perl -MPerl::APIReference -e 'print Perl::APIReference->new(perl_version=​>"5.10.0")->as_yaml_calltips(),"\n"'
16:27 tsee Will output...
16:28 shadowpaste "tsee" at 217.168.144.84 pasted "perlapi calltips" (1670 lines) at http://scsys.co.uk:8001/36172
16:28 tsee Perl::APIReference will be committed to Alias' repository shortly.
16:29 tsee It's a giant hack, as usual.
16:29 jq lots of plugins aren't released on cpan - is that on purpose?
16:29 tsee Currently supports perlapis are 5.10.0, 5.10.1, 5.8.9
16:29 tsee *supported
16:29 tsee Adding more is a matter of:
16:29 tsee perl author_scripts/generate.pl data/perlapi.5.8.9.pod 5.008009
16:30 tsee And then mv'ing the generated .pm file to lib
16:31 CromeDome joined #padre
16:32 tsee jq: I think a lot of them are experiments that didn't make it.
16:32 tsee Maybe we should have a trunk/corpses directory.
16:32 tsee Or more friendly:
16:32 tsee trunk/attic
16:33 jq some would be interesting...
16:33 jq nytprof for example
16:43 tsee Do we have a list of scintilla-supported mime types?
16:47 rindolf jq: hi.
16:47 rindolf jq: canyou join #perlcafe on Freenode?
16:47 jq rindolf: hi - why?
16:47 rindolf jq: there's someone there who needs help with Dist-Zilla.
16:47 jq can't he join perlnet#distzilla ?
16:56 rindolf jq: don't know.
16:56 jq rindolf: i think he did
16:56 rindolf jq: ah.
17:05 tsee I have working XS calltips! steffen-mueller.net/tmp/working_xs_calltips.png
17:05 tsee Sorry: http://steffen-mueller.net/​tmp/working_xs_calltips.png
17:05 tsee (dedicated prototyping/hacking)++
17:08 Hyppolit svn: r9202 | tsee++ | http://padre.perlide.org/trac/changeset/9202
17:08 Hyppolit Import a proof-of-concept YAML file of the perlapi as of 5.10.1
17:08 Hyppolit trunk/Padre/share/languages/perl5/
17:09 Hyppolit svn: r9203 | tsee++ | http://padre.perlide.org/trac/changeset/9203
17:09 Hyppolit Add an XS document type
17:09 Hyppolit trunk/Padre/lib/Padre/Document/
17:10 Hyppolit svn: r9204 | tsee++ | http://padre.perlide.org/trac/changeset/9204
17:10 Hyppolit Add C and XS MIME type mappings
17:10 Hyppolit trunk/Padre/lib/Padre/
17:12 tsee Hmm. Sewi: Is the perltidy running in a post-commit hook?
17:14 tsee Ah, nevermind.
17:15 Hyppolit svn: r9205 | tsee++ | http://padre.perlide.org/trac/changeset/9205
17:15 Hyppolit spaces to tabs
17:15 Hyppolit trunk/Padre/lib/Padre/Document/
17:17 Hyppolit svn: r9206 | tsee++ | http://padre.perlide.org/trac/changeset/9206
17:17 Hyppolit Document XS document support and perlapi calltips
17:17 Hyppolit trunk/Padre/
17:22 Hyppolit #751: Proper XS lexing/highlighting (new enhancement) [ http://padre.perlide.org/trac/ticket/751 ]
17:25 Hyppolit #752: Document and end-user-simplify the perltags and autocomplete featureset (new defect) [ http://padre.perlide.org/trac/ticket/752 ]
17:25 Hyppolit #751: Proper XS lexing/highlighting (new enhancement) [ http://padre.perlide.org/trac/ticket/751#comment:1 ]
17:26 Hyppolit #753: Implement better method autocompletion heuristics (new defect) [ http://padre.perlide.org/trac/ticket/753 ]
17:27 Hyppolit #753: Implement better method autocompletion heuristics (new defect) [ http://padre.perlide.org/trac/ticket/753#comment:1 ]
17:28 Hyppolit #754: XS/perlapi calltips should depend on perl version (new defect) [ http://padre.perlide.org/trac/ticket/754 ]
17:39 pece joined #padre
17:39 tsee Sewi: osfameron just uploaded the new Perl::Tags release which includes the perl-tags command.
17:42 pece2 joined #padre
17:43 tsee Within a few hours, it will be available from your CPAN mirror.
17:43 tsee I also just uploaded Perl::APIReference.
17:43 tsee Which can be used to programmatically query the perlapi of different versions of perl.
17:43 tsee I.e. "how does SvOK work in perl 5.004?"
17:46 Hyppolit #204: Scalars leaked: 1 (new defect) [ http://padre.perlide.org/trac/ticket/204#comment:1 ]
17:48 Hyppolit #755: XS API calltips should include PPPort (new defect) [ http://padre.perlide.org/trac/ticket/755 ]
17:49 tsee Enough hacking.
18:11 Sewi back
18:12 Sewi tsee: Here comes your tidy...
18:15 Hyppolit svn: r9207 | Sewi++ | http://padre.perlide.org/trac/changeset/9207
18:15 Hyppolit Perl tidy
18:15 Hyppolit trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Document/
18:57 tsee joined #padre
19:03 Sewi tsee: no (for the tidy-commit-hook-question) and thanks for the uploads.
20:00 isec joined #padre
20:00 tsee http://use.perl.org/~tsee/journal/39893
20:03 tsee opbots trust DrHyde
20:03 tsee Damn.
20:03 tsee Hyppolit, trust DrHyde
20:03 Hyppolit Consider DrHyde trusted
20:03 tsee Hyppolit, trust cosimo
20:03 Hyppolit Consider cosimo trusted
20:03 tsee Hyppolit, trust jjore
20:03 Hyppolit Consider jjore trusted
20:03 tsee Hyppolit, trust BooK
20:03 Hyppolit Consider BooK trusted
20:24 Sewi tsee: the tags generator should work for every language by changing the parser?
20:26 tsee Umm. Not sure.
20:26 tsee Then you probably want to take a look at exuberant-ctags instead.
20:26 tsee But in principle, it might.
20:26 tsee The code is a little crufty, though.
20:39 Sewi tsee: Last question... May I steal from your perl-tags (the script) code for a Padre extension?
20:39 tsee Don't kid me. Feel free.
20:39 Sewi Thanks
20:58 Hyppolit svn: r9208 | szabgab++ | http://padre.perlide.org/trac/changeset/9208
20:58 Hyppolit blog entry of tsee++
20:58 Hyppolit trunk/template.padre.perlide.org/data/
21:22 Hyppolit svn: r9209 | Sewi++ | http://padre.perlide.org/trac/changeset/9209
21:22 Hyppolit Menu option to Create a perltags-file using the perl-tags script.
21:22 Hyppolit trunk/Padre/lib/Padre/Action/ trunk/Padre/lib/Padre/Document/ trunk/Padre/lib/Padre/Wx/Menu/
21:28 Hyppolit #572: Padre standalone: Eliminate the black console window from when running Padre. (closed defect) [ http://padre.perlide.org/trac/ticket/572#comment:3 ]
21:32 tsee Sewi: Great! I was planning to do that / waiting for somebody else to do it
21:33 Sewi tsee: It's still far far away from what I want. For example: do this internal to Padre without external script, detect if Perl::Tags is installed, optional update the tags file on every file save without re-creating the full file, etc.
21:34 tsee Perl::Tags itself could use a lot of work.
21:34 tsee perl-tags is just a quick hack of mine.
21:34 tsee It should be able to not only extract new info, but also incorporate existing perltags files.
21:34 tsee It should also eliminate duplicates.
21:35 tsee It should also respect Class::XSAccessor and other accessor generators.
21:35 tsee Moose, of course.
21:35 tsee Etc, etc.
21:35 tsee Oh.
21:35 tsee And the biggie would be: Add support for inheritance!
21:36 Sewi after taking a short look at perl-tags, it should be possible to run ->process on every saved file while keeping the parser object in $document->{}
21:37 Sewi And the files should be read via Padre::File, otherwise the tags function won't support remote projects as padre (does|should).
21:40 tsee Well. Remote perltags files are going to be teh suuck.
21:40 Sewi why?
21:40 tsee It all relies on ultra-fast reading/seeking.
21:40 tsee The files can be very large.
21:41 tsee And the code just does a binary search on the sorted file.
21:41 Sewi Oh, I though it does everything in memory :-(
21:41 tsee Not IIRC.
21:41 tsee But feel free to read the included C library of Parse::ExuberantCTags.
21:43 Sewi Just added a TODO for a workaround to Padre's source.
21:44 Sewi We shouldn't try to do seeking on remote files - a local tempfile copy will be a much better place for this data.
21:50 MoC joined #padre
21:50 Hyppolit svn: r9210 | Sewi++ | http://padre.perlide.org/trac/changeset/9210
21:50 Hyppolit Actually use the project-specifig perltags file
21:50 Hyppolit trunk/Padre/lib/Padre/Document/
22:04 tsee Sewi: "Create project tagsfile" needs Backhroundification :)
22:04 tsee Backgroundification, even.
22:04 tsee Or Taskification!
22:08 Sewi sure, but for now (experimental testing stage), it should work this way. It still needs a lot of improvement and I plan to split it and move parts to Document.pm for usage by all languages.
22:11 waxhead joined #padre
22:19 Hyppolit svn: r9211 | Sewi++ | http://padre.perlide.org/trac/changeset/9211
22:19 Hyppolit Adding some PODs
22:19 Hyppolit trunk/Padre/lib/Padre/Document/
22:33 Hyppolit svn: r9212 | Sewi++ | http://padre.perlide.org/trac/changeset/9212
22:33 Hyppolit Use a local temporary copy of the perltags file if it is remote. (Currently untested due to lack of test-tagsfile)
22:33 Hyppolit trunk/Padre/lib/Padre/Document/
22:35 Hyppolit svn: r9213 | Sewi++ | http://padre.perlide.org/trac/changeset/9213
22:35 Hyppolit Perl tidy
22:35 Hyppolit trunk/Padre/lib/Padre/Action/ trunk/Padre/lib/Padre/Document/
22:37 PacoLinux joined #padre
23:19 waxhead joined #padre

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