Camelia, the Perl 6 bug

IRC log for #padre, 2012-11-26

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

All times shown according to UTC.

Time Nick Message
00:01 bowtie are you saying you want to be offered a list of .pl files that correspond to current .pm file in a perl project, regardless of location
00:01 SvenDowideit thats _one_ useful UI yes
00:01 SvenDowideit there are a number of different things that can help speed use debugging
00:02 SvenDowideit my general use of debuggers makes me want them to get out of my way, so i cna focus on the code i'm learning / debugging
00:02 bowtie ok, the breakpoint system would still work as it loads breakpoints for a project
00:02 SvenDowideit yup
00:02 SvenDowideit or even non-breakpoint wise - just that .pm i'm in
00:03 SvenDowideit have you tried komodo?
00:03 bowtie you just need to hack into the 'morpho' button event then ...
00:04 bowtie basic editor yes, a long time ago, did not like so switched to eclipse
00:04 SvenDowideit i mean the full version of komodo
00:05 SvenDowideit the basic cut down one has no point existing :)
00:05 SvenDowideit the full one has a proper gui debugger
00:05 bowtie but I don't think using there community offerings is a far viewing
00:05 SvenDowideit that lets you do good things like remote debugging
00:05 SvenDowideit and emulates CGI mode
00:05 SvenDowideit and other things that allow a user to focus on learning and fixing code
00:06 SvenDowideit and yes, i agree, their community stuff is marketing for their products
00:07 * SvenDowideit bought a komodo license in um, 2004 or so
00:07 bowtie I hate 30 day stuff, may years ago I stopped using it as when you go back after some time nothing works
00:07 SvenDowideit still use an ancient version of komodo when i need to do work
00:08 SvenDowideit komodo's debugger is a good example of the mininum functionality set
00:08 bowtie so what is there current commercial offerings like
00:08 SvenDowideit beats me
00:08 SvenDowideit my version of komodo is old, and good enough for what i need
00:09 SvenDowideit but presuming that its better than the old (and they do good work really)
00:09 SvenDowideit i'd expect it to be very good
00:10 bowtie ok, I am just trying to avoid emulating an old adversary
00:11 SvenDowideit well, you wouldn't be
00:11 SvenDowideit as they only emulated the industry norm
00:13 SvenDowideit yes, but i don't need the current document to be a pl
00:14 SvenDowideit mm, interesting
00:14 bowtie is this pick list a komodo feature
00:14 SvenDowideit sorry, moved computers :)
00:14 SvenDowideit na, its more primitive than that
00:14 bowtie also avaible via eclipse
00:14 SvenDowideit komodo makes me type lots
00:15 SvenDowideit except that it'll take me ages to learn the padre codebase and stuff, most of what i want is more magical than komodo
00:16 bowtie ok, I will think about how we would apply a dialog, pick list
00:16 SvenDowideit but the pedagogy part of the padre debug UI makes that alot more complicated
00:17 bowtie do you want to design one in wxformbuilder
00:18 SvenDowideit i have to first find out how to use wxformbuilder :)
00:18 bowtie what do you want to do about there being multiple projects open in Padre
00:18 bowtie it will be fun, thrust me :)
00:18 bowtie s/thrust/trust/
00:18 SvenDowideit giggle
00:19 * SvenDowideit parries your trust and counters with .....
00:19 bowtie or trust me I am dyslexic :)
00:20 SvenDowideit mmm, clearly, i need to find out how to install a dev plugin into the deb padre
00:20 SvenDowideit dev
00:20 bowtie did you try that sample code yet with a watch
00:20 SvenDowideit nope
00:20 bowtie tip 'perl dev -a'
00:20 SvenDowideit i was debugging one of my own programs at the time
00:21 SvenDowideit i'm slightly fascinated by the results of running a .pm file
00:21 bowtie it makes all the plugins available to load
00:21 SvenDowideit sweet :)
00:21 SvenDowideit i bet none of my code remains in dev.pl :)
00:22 bowtie so if you svn the whole trunk inc plugins you can run any plugin
00:22 SvenDowideit 'any' and 'all' just to watch it all fall over :)
00:24 bowtie SvenDowideit, it was a log time age Last Commit: 12-Oct-2009
00:25 SvenDowideit hehe - not as long as i thought :)
00:25 bowtie see -> https://www.ohloh.net/p/padre/contributors?commi​t=Update&page=2&query=&sort=commits
00:28 bowtie I suggest you look at the cookbook also see -> http://padre.perlide.org/trac/wiki/Plugins
00:28 SvenDowideit oh dear, and then i look at the list of plugins
00:28 SvenDowideit mmm, debugging using Plack plugin would be neat
00:29 SvenDowideit worse, it would be sweet to get started :)
00:29 bowtie SvenDowideit, now you have just stumbled on a subject
00:30 SvenDowideit (foswiki - my main work, still hasn't ported to psgi, so we're a long way behind)
00:30 bowtie there are a group of plugins relating to web dev, before Plack came along
00:32 bowtie SvenDowideit, it's getting late here
00:32 SvenDowideit :)
00:32 SvenDowideit have a good nite :)
00:32 bowtie so night
00:32 SvenDowideit you've left me with a stack of reading already :)
00:32 bowtie lol
00:32 * SvenDowideit is one of those dispised developers that likes to read docco
00:34 bowtie SvenDowideit, before I go, the most current plugin is Git, critiques welcome
00:34 SvenDowideit grin - git?
00:35 SvenDowideit oh dear, a mixed git&svn workflow?
00:35 SvenDowideit thats what we have too :(
00:35 bowtie http://padre.perlide.org/trac/wiki/PadrePluginGit
00:35 SvenDowideit though at the general assembly in december, i'm wanting to push to git only :)
00:36 bowtie in the end I gave in and wrote plugin on my way
00:36 SvenDowideit it crashed :)
00:37 SvenDowideit oh, neat! it needs CPAN::Changes?
00:37 bowtie you might like the commits to 'Changes' then
00:38 bowtie yes, be warned, using perl dev -a negates a normal cpan install and Makefile.PL
00:38 SvenDowideit normal cpan too?
00:38 SvenDowideit interesting idea
00:38 bowtie see CPAN::Changes::Spec and make a backup
00:39 * SvenDowideit is in for some pain
00:40 SvenDowideit looks like wxformbuilder is not in the debian i'm running
00:40 bowtie 'perl dev -a' is a dev trick, it lets you reload a plugin with out having to install it, so you can develop live
00:40 bowtie note version in cookbook
00:42 bowtie SvenDowideit, you might need to check some of the Makefile before enabling the plugins via plugin manager
00:43 bowtie but plugin manager should complain, remember a normal user would have install a plugin from cpan
00:43 SvenDowideit y - the error about CPAN::Changes was from the manager
00:44 SvenDowideit so i just left it off and moved back to trying to work out how best to get wxformbuilder on this system without messing everything else up
00:45 bowtie try cpan Padre::Plugin::Git if you want to install it
00:48 SvenDowideit http://packages.debian.org/search?k​eywords=wxform&searchon=sourcen​ames&suite=all&section=all
00:48 SvenDowideit not what i would expect
00:51 SvenDowideit mmm, well, that brings that to a dead stop
00:53 bowtie http://sourceforge.net/projects/wxformbuilder/
00:53 SvenDowideit y, except that i'd like to avoid building more stuff from source
00:54 SvenDowideit as i have too many things juggling as is (and too many different computers i develop on at the same time
00:54 bowtie you will have to ask debian package team
00:54 SvenDowideit going to try installing the ubuntu pkg, but :/
00:55 bowtie which should be based on a debian package any way
00:55 SvenDowideit should, but isn't
00:55 bowtie I did say should :)
00:55 SvenDowideit luckily, debian has moe perl pkgs than ubuntu
00:56 bowtie that's why I suggested you ask a deb packager
00:56 SvenDowideit there isn't one
00:56 SvenDowideit well, you know what i mean
00:56 SvenDowideit there's a person that made the ubuntu deb
00:56 bowtie ok, use botbot to give a message to dod
00:56 SvenDowideit but thats not a 'real' deb :)
00:57 SvenDowideit and its been on the debian wishlist since 2006
00:57 SvenDowideit ie, not likely to happen any time
00:57 bowtie but dod is a debian packager
00:58 bowtie and if you ask you my get
00:58 SvenDowideit the debian request for pkging basically said it needed help
00:58 SvenDowideit and none was forthcoming
00:58 bowtie ok
00:59 bowtie if I recall I built from source on old deb box a while a go
01:00 bowtie the matches have just snapped, so night &
01:00 SvenDowideit nite :)
01:08 SvenDowideit argh!
01:08 SvenDowideit install latest deb
01:08 SvenDowideit run it, to be told that the fbp file is too new, and it can't load it
01:09 SvenDowideit this is mad! that means no debian / ubuntu user  is likely to write a plugin
01:10 SvenDowideit so, does anyone know what version of wxformbuilder padre requires?
01:12 SvenDowideit the deb is 3.1.59
01:12 SvenDowideit the latest on sf is 3.1.70
01:12 SvenDowideit guess that instead of playign with padre, i'll play with more packaging
02:14 Foxcool joined #padre
02:30 SvenDowideit ah, ok, the ubuntu deb is full of things that would not pass debian's requirements
02:31 SvenDowideit and after an hour of kicking it, i might just give in, reminding me that i have stuff i should be doing
02:51 asarch joined #padre
03:11 Foxcool joined #padre
03:31 Foxcool joined #padre
04:52 asarch joined #padre
05:00 SvenDowideit well, nope.
05:01 SvenDowideit mass continuation of fail.
05:01 SvenDowideit I have wxformbuilder installed
05:01 SvenDowideit but the formbuilder plugin does nothing
05:01 SvenDowideit and has no submenus in the tools|formbuilder
05:02 ppant joined #padre
05:02 SvenDowideit plus there are no error messages in the plugin manager, nor anywhere else i know to look
05:15 SvenDowideit mmm
05:15 SvenDowideit Failed to find shared file 'wxfb.png' for dist 'Padre-Plugin-FormBuilder' at /home/sven/src/Padre/Padre-Plugin-FormBui​lder/lib/Padre/Plugin/FormBuilder/FBP.pm line 36.
05:15 SvenDowideit so the eval in FormBuilder.pm hides whatever the problems are
05:18 SvenDowideit File::ShareDir::dist_file( "Padre-Plugin-FormBuilder", "wxfb.png" ) returns 'wxfb.png'
05:19 SvenDowideit mm, can't be
05:20 SvenDowideit ah, no, thats the function that goes boom
05:20 SvenDowideit wonnerful
05:41 sewi joined #padre
08:13 dod joined #padre
08:24 dod joined #padre
08:40 Kharec joined #padre
09:10 mib_nr8y29 joined #padre
09:10 botbot Welcome mib_nr8y29
10:08 sugar joined #padre
12:06 bowtie joined #padre
12:06 bowtie gm
12:06 bowtie SvenDowideit, hi
12:12 bowtie SvenDowideit, I would like to point out that you missed the info at the top of the file modified by r19561, hence this should be reverted, and done by editing Padre.fbp with wxFormBuilder then generating the Dialogue with pp-formbuilder
12:12 botbot Changeset #19561 http://padre.perlide.org/trac/changeset/19561
12:17 bowtie SvenDowideit, you asked this -> http://padre.perlide.org/trac/wiki/Pa​drePluginCookbook01#Step2CreateMainFB.fbpxml
12:18 bowtie dod, hi
12:28 dod bowtie: hello
12:29 dod I've seen your message regarding git blame.
12:29 dod Thanks a bunch, I'll try it asap
12:30 bowtie cool
12:38 bowtie dod, pp-git its very simple (basic) in its approach, if you are after more the blame in 'git gui' may suit
12:39 dod yup. Is it possible to launch gui-gui from the plugin ?
12:39 dod err, git-gui
12:39 dod guigui is a colleague of mine :o)
12:41 bowtie yes, but which would I launch, 'git gui' 'git cola' 'git...'
12:42 bowtie dod there must be a dozens of git gui apps depending on os
12:42 dod defer the decision to the user ...
12:42 dod -> config parameter
12:43 SvenDowideit bowtie ish :)
12:43 SvenDowideit I did actually mod padre.fbp
12:43 SvenDowideit but i did the new debugoptions dialog in there too
12:43 SvenDowideit and have half implemented it
12:45 bowtie dod, I was not intending of launching an external app, but will look into it
12:45 dod okay
12:46 SvenDowideit mmm, though given the less than helpful mergability of xml, i should probably commit the fbp before i goto bed (soon) rather than wait the day or 3 til i have the debug options UI to the point where getting feedback on my learner level changes is worth it
12:46 bowtie SvenDowideit, the assumption is that as it was not included in a svn commit you probably did a manual edit
12:46 SvenDowideit yup, very true
12:48 bowtie SvenDowideit, as the debugoptions dialog is not active, it won't be the only dialog in there that is dormant
12:49 SvenDowideit ah, sweet :)
12:50 bowtie dod, do you want external app just for branch, or are there other features
12:50 SvenDowideit i got to the point where i need to refactor Document::Perl::get_command so that the dialog can allow the user to change the 4 elements, and then have it re-constitute them into one string
12:50 SvenDowideit atm, I'm thinking of having get_command return (join(), hash of parts)
12:51 SvenDowideit and take an optional param of a hash that sets the same
12:51 SvenDowideit but i'm too tired to do more, so it'll wait til the next time i have free code time :)
12:52 bowtie SvenDowideit, ok, don't forget to commit padre.fbp
12:52 SvenDowideit yup, the only last thing :)
12:53 bowtie cool
12:53 dod bowtie: in fact I use git gui mostly to do the equivalent of 'git add -p'. If this commit by patch could be done directly from padre, that would be great (although I acknowledge that it may be very difficult)
12:54 SvenDowideit thanks for the help btw - I've been meaning to do this for a very long time
12:54 SvenDowideit and thankyou for implementing the debugger code
12:54 SvenDowideit i never knew enough to do it myself
12:54 bowtie dod, yes it can be added,
12:55 bowtie SvenDowideit, ok
12:55 SvenDowideit nite :)
12:55 dod otherwise, I often use gitk to navigate in branches.
12:55 dod SvenDowideit: good night
12:56 bowtie dod, git add patch, ok is this a thing you do to local / origin, dose it apply to a file or a directory/project
12:57 Kharec joined #padre
12:57 bowtie I will need to go read about it, as I am not sure where to add in menu
12:58 dod bowtie: it mostly applies to a file, although I've already run it with several files.
12:59 bowtie dod, ok, later this afternoon then
12:59 dod okay, thanks
13:00 bowtie SvenDowideit++
13:44 GlitchMr joined #padre
13:50 bowtie SvenDowideit, just looked at new dialog, looks ok, wrong name options implies -> http://perldoc.perl.org/perlde​bug.html#Configurable-Options, may be something like Debug Start/Chose/Initial/Launch/Params.
14:07 GlitchMr42 joined #padre
14:33 bowtie dod, what a great feature, I did not know git was so clever
14:33 bowtie as for pp-git doing an interactive is outside of it's Simple(basic) scope I think
14:33 bowtie as you rightly said 'git gui' dose this for you at present
14:33 bowtie we could launch 'git add -p file-name' in a terminal
14:33 bowtie would you consider that a solution or a naff fudge
14:35 jq joined #padre
14:47 dod bowtie: I think this would be a stop-gap solution. Padre aleady highlight modification. can't this be tweaked to provide a "add chunk" button (on contextual menu) ?
14:50 kaare joined #padre
15:08 bowtie dod, I think you are referring to the Version Control Feature and it's nice +- diff markers in the margin
15:30 dod bowtie: yes
15:42 bowtie dod, I think you are correct, and should add to #1444 as it's an enhancement ticket for VCS Feature, I agree with you that doing 'git add -p' against margin markers is a good idea of yours, nice suggestion
15:43 bowtie dod, so can I assume 'git add -p' is out of scope of pp-git then
15:46 dod bowtie: AFAIK, this feature is specific to git. I do not know any equivalent for svn.
15:47 dod bowtie: may be pp-git should be able to "surgically graft" this feature to VCS stuff (probably easier said than done)
15:47 bowtie dod, ok, but that would be the best place to implement this in Padre would it not, if only for git
15:49 dolmen joined #padre
15:58 dod bowtie: you'd be setting on a fence. Either git feature is completely in a plugin, or it is completely integrated in Padre...
15:58 dod In the latter case, you'd still need to be able to disable git feature for those who work with another VCS
16:15 sugar_ joined #padre
16:43 stkowski joined #padre
16:58 bowtie dod, Add Stage Patch for dod++ (BOWTIE) in trunk uses cmd
16:58 bowtie botbot tell dod Add Stage Patch for dod++ (BOWTIE) in trunk uses cmd
16:58 botbot bowtie, I'll tell that dod when we see each other.
18:07 dod joined #padre
18:10 dod1 joined #padre
18:11 Pepl32 joined #padre
18:27 dod joined #padre
18:38 Di-ima joined #padre
20:38 dolmen1 joined #padre
20:49 LeK joined #padre
21:29 perlite_ joined #padre
21:33 botbot Welcome perlite

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