Camelia, the Perl 6 bug

IRC log for #padre, 2011-12-05

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

All times shown according to UTC.

Time Nick Message
00:09 bowtie left #padre
00:26 patspam joined #padre
00:30 patspam joined #padre
01:08 shmuel joined #padre
01:10 asarch joined #padre
01:55 jnap joined #padre
01:58 Di-ima joined #padre
04:08 [Sno] joined #padre
04:29 Di-ima joined #padre
04:37 Hyppolit svn: r17601 | adamk++ | http://padre.perlide.org/trac/changeset/17601
04:37 Hyppolit Move PADRE_HOME earlier, so we don't ignore it when doing --version
04:37 Hyppolit trunk/Padre/script/
05:04 Hyppolit svn: r17602 | adamk++ | http://padre.perlide.org/trac/changeset/17602
05:04 Hyppolit - Try to avoid failing silently when there are major load-time failures
05:04 Hyppolit and on Win32 ask if we can reset configuration directory (ADAMK)
05:04 Hyppolit trunk/Padre/ trunk/Padre/script/
05:06 Hyppolit svn: r17603 | adamk++ | http://padre.perlide.org/trac/changeset/17603
05:06 Hyppolit More tweaking to the script
05:06 Hyppolit trunk/Padre/script/
05:23 sewi_work joined #padre
05:42 pece joined #padre
06:08 Hyppolit svn: r17604 | adamk++ | http://padre.perlide.org/trac/changeset/17604
06:08 Hyppolit Since most plugins don't make gui changes at load time, remove the UPDATE lock to get rid of some startup flicker. The menu refresh lock should stop most of the plugin-driven changes
06:08 Hyppolit trunk/Padre/lib/Padre/
06:14 crux joined #padre
06:14 Hyppolit wiki page http://padre.perlide.org/trac​/wiki/Features/Perl5Debugger changed by bowtie
06:17 Hyppolit svn: r17605 | adamk++ | http://padre.perlide.org/trac/changeset/17605
06:18 Hyppolit Reverting a change where someone "fixed" a badcode.t warning by replacing working code with an infinite loop.
06:18 Hyppolit trunk/Padre/lib/Padre/
06:23 Hyppolit svn: r17606 | adamk++ | http://padre.perlide.org/trac/changeset/17606
06:23 Hyppolit Switch to ->load for plugin objects
06:23 Hyppolit trunk/Padre/lib/Padre/
06:53 marcela joined #padre
07:35 azawawi joined #padre
07:35 azawawi good morning #padre
07:35 azawawi damn Alias is offline :(
07:42 marcela joined #padre
08:03 mishin joined #padre
08:16 bowtie joined #padre
08:16 bowtie gm
08:26 azawawi bowtie: gm
08:27 bowtie azawawi, hi, how are you today
08:36 azawawi great
08:36 azawawi basically debugging a strange ORM bug :)
08:37 azawawi SELECT MAX(col)-MIN(col), 1   => {null, 1} # lol
08:38 bowtie azawawi, so they got mixed up with comers and big comers lol
08:39 bowtie somebody asked if Debug2 works on MS so I can say 'yes' ?
08:47 azawawi didnt 100% test it
08:48 azawawi and the test suite is broken btw
08:48 azawawi we break things a lot :)
08:48 Maltus joined #padre
08:50 bowtie azawawi, yes I know, I have been tweaking it over the weekend, but I should not need to change the api, only sort out the tests , I was thinking of using 0.17_xx as cpan testers is back to normal
08:53 mj41 joined #padre
08:55 bowtie azawawi, any way, how do I find out if the mouse is over a valid perl value ($,@,%) then short-cut right mouse when debug running  to display p|x value in debug-output
09:01 azawawi PPI
09:02 azawawi there is code for that btw
09:02 azawawi if i remember correctly
09:02 azawawi look in Editor.pm
09:03 bowtie azawawi, thanks, I will go fishing later :), might need some more bate though :)
09:06 sewi_work joined #padre
09:10 waxhead joined #padre
09:31 dolmen joined #padre
09:49 sugar joined #padre
10:15 GabrielVieira joined #padre
10:19 sugar joined #padre
10:19 bor joined #padre
10:29 abraxxa joined #padre
10:29 abraxxa my padre goes crazy on cpu
10:30 abraxxa an strace shows that it tries to read and write to file descriptor 4 which according to lsof is padre   4773 ahartmai    4u  unix 0x0000000000000000       0t0   8776222 socket
10:31 abraxxa can someone help me finding out what's going on?
10:49 azawawi abraxxa: i think it is syntax check
10:56 abraxxa i've disabled it
10:57 abraxxa at least i've disabled the bottom tab
11:03 mishin joined #padre
11:04 mj41 Hi. Failed to find a document class for '' at /home/mj/devel/padre-src/Padre/lib/Padre/MIME.pm line 235. when opening e.g. '.gitignore' file ... is know issue? ....
11:11 azawawi mj41: padre 0.92 or trunk?
11:17 bowtie azawawi, if it's trunk, it could be related to r17598, but why?
11:17 Hyppolit Changeset #17598 http://padre.perlide.org/trac/changeset/17598
11:21 bowtie azawawi, can we change die "Failed to find a document class for '" . $self->type . "'"; to return undef;
11:21 bowtie do we have to die?
11:22 zipf joined #padre
11:23 mj41 azawawi: yes, trunk
11:24 bowtie mj41, do you have any files open when this happens
11:27 mj41 bowtie: ./dev ... and open .gitignore or ./dev and open Makefile.PL and open .gitingnore ... boths dies
11:28 bowtie mj41,  cool I don't think it's me :)
11:29 bowtie mj41,  open a normal perl file first then some thing that kills to see what happens
11:42 mj41 bowtie: sorry, have to go
11:42 bowtie mj41, snap
11:42 bowtie left #padre
12:01 zipf joined #padre
12:51 abraxxa azawawi: i'm back. can you help me track down the bug?
13:16 azawawi abraxxa: sure
13:16 azawawi abraxxa: ping
13:17 abraxxa azawawi: pong
13:17 azawawi lots of IO or CPU?
13:17 abraxxa cpu
13:18 abraxxa one full core
13:18 azawawi ok what are the views that are active?
13:18 azawawi outline?
13:18 azawawi functions?
13:18 azawawi syntax check?
13:19 abraxxa project browser, outline, to-do list, toolbar, status bar
13:19 azawawi then it is outline
13:19 azawawi outline does PPI parses of Perl files
13:20 azawawi those are expensive
13:20 azawawi if you have big Perl modules
13:20 abraxxa when i disable and enable it I don't even have a single large cpu spike
13:20 azawawi so if you work with it... no spikes?
13:21 azawawi the second thing to watch out for
13:21 azawawi is syntax check
13:21 abraxxa should i paste the strace output?
13:21 azawawi those BEGIN {....}s
13:21 abraxxa i've disabled the syntax check because of slowness
13:22 azawawi sometimes one assume one thing but under syntax check temporary folder space, it can get messy
13:22 shadowpaste "abraxxa" at 217.168.150.38 pasted "cpu hog" (40 lines) at http://paste.scsys.co.uk/164564
13:23 abraxxa lsof shows a socket...
13:23 abraxxa padre   5005 ahartmai    4u  unix 0x0000000000000000       0t0   8802137 socket
13:23 abraxxa how can i get more infos about it?
13:23 azawawi no idea :)
13:23 azawawi padre uses a socket to make sure one instance is used
13:24 azawawi Wx::Scintilla 0.34 version?
13:24 azawawi padre 0.92?
13:25 abraxxa all up2date
13:25 abraxxa yes, 0.34
13:25 abraxxa and 0.92
13:26 abraxxa you should add a delay to all expensive operations
13:26 azawawi i suspect use Module::X where that module does some BEGIN {} IO/CPU
13:26 azawawi abraxxa: btw there is one
13:26 azawawi azawawi: editor_dwell
13:26 abraxxa can i increase it? the syntax check hogs my cpu while i type
13:26 azawawi yup editor_dwell
13:26 abraxxa 500, i assume those are msecs
13:27 azawawi preferences/advanced/ editor_dwell
13:27 azawawi yup
13:27 asarch joined #padre
13:27 azawawi abraxxa: save and restart Padre
13:27 azawawi abraxxa: and then make sure that was actually changed :)
13:28 abraxxa that's the default
13:28 abraxxa never touched it
13:28 azawawi i meant after changing it, sometimes one forgets to save :)
13:28 azawawi before restarting i.e.
13:29 azawawi i tried it
13:29 azawawi editor_dwell => 2 secs (2000)
13:29 azawawi works like a charm
13:29 abraxxa ok
13:29 azawawi ofcourse if you're switching between files a lot
13:30 azawawi expect an immediate syntax check to happen on each switch
13:30 azawawi part of its slowness is that we're launching a separate perl -c
13:30 azawawi process
13:31 azawawi and reading back its results
13:31 azawawi if Perl had a library to parse things like Java
13:31 azawawi in-process
13:31 azawawi that would be very fast
13:31 abraxxa is the result of that not cached for each tab?
13:32 azawawi i think it is cached per instance, not multiple
13:33 azawawi does that narrow down the problem?
13:34 abraxxa let's hope the increase of the delay is a workaround i can life with
13:34 azawawi s/life/live/ :)
13:34 abraxxa currently it seems so
13:34 azawawi cool
13:34 abraxxa but i couldn't reproduce it on demand
13:34 abraxxa some days it happens all the time and some days only once every hour
13:35 abraxxa but there seems to be a deeper problem because the cpu usage doesn't go away
13:35 azawawi but overall padre is stable or sucks? :)
13:35 abraxxa it stays there until you close padre
13:35 abraxxa stable yes, but since some version i experience those problems
13:35 abraxxa i blame the task 2.0 rewrite but understand that such a large refactor takes some time to settle
13:36 abraxxa padre replaced vim for me over a year ago
13:36 azawawi nice to hear that
13:36 azawawi what needs more work?
13:36 azawawi next padre = improved debugger by bowtie++
13:36 azawawi and possibly an improved help system
13:37 azawawi i need to go now since im fasting today
13:37 abraxxa a dark background color scheme :)
13:37 abraxxa and improved/teaked performance in those areas
13:38 abraxxa and a possibility to put plugin actions into the toolbar
13:38 abraxxa like perltidy
13:38 abraxxa ah, the problem is back
13:39 abraxxa i also see a poll on fd 3 which is padre   6633 ahartmai    3u  0000                0,9         0      5095 anon_inode
13:39 abraxxa can i view the task 2.0 sessions?
13:39 azawawi try the internal developer plugin
13:39 azawawi although im not an expert on task 2.0
13:39 azawawi and btw
13:40 azawawi it is 3.0 :)
13:40 abraxxa oh, ok
13:40 azawawi Alias++
13:40 abraxxa Help/Current Document could be moved to the outline
13:40 azawawi abraxxa: throw all those idea into one neat email to Padre dev mailing list
13:40 azawawi please :)
13:41 azawawi these days im finishing stuff at work
13:41 abraxxa do i have to subscribe to mail to it?
13:41 azawawi i think so
13:41 azawawi abraxxa: http://mail.perlide.org/mailman/listinfo/padre-dev
13:42 abraxxa :(
13:42 azawawi ticket?
13:42 Hyppolit ticket is http://padre.perlide.org/trac/wiki/Tickets
13:42 azawawi trac?
13:42 Hyppolit trac is http://padre.perlide.org/trac
13:43 azawawi trac!
13:43 azawawi Hyppolit: trac!
13:43 Hyppolit Trac registration opened for 5 minutes. Please visit http://padre.perlide.org/trac/register to register
13:43 abraxxa ok
13:44 azawawi i gtg now
13:44 azawawi abraxxa: thanks for using Padre! :)
13:44 abraxxa thanks for writing it!!!
13:45 Hyppolit # 1365 :  possibility to add plugin actions to the toolbar (new enhancement) [ http://padre.perlide.org/trac/ticket/1365 ]
13:46 abraxxa azawawi: http://padre.perlide.org/trac/ticket/1365
13:46 abraxxa ups
13:46 abraxxa Hyppolit wins
13:46 daxim joined #padre
13:47 azawawi abraxxa++
13:47 * azawawi home &
13:48 Hyppolit Trac registration closed
14:54 lsm-asus_trans joined #padre
15:02 jnap joined #padre
15:41 mib_v5tkbj joined #padre
15:43 kaare joined #padre
16:19 Hyppolit # 1298 :  Changing font in preferences is not applied to existing editors (new defect) by sugar  [ http://padre.perlide.org/t​rac/ticket/1298#comment:2 ]
16:48 pece joined #padre
17:02 rindolf joined #padre
17:22 Steffen joined #padre
17:49 Hyppolit svn: r17607 | bowtie++ | http://padre.perlide.org/trac/changeset/17607
17:49 Hyppolit A second go at getting the Debug2 icons to disappear when not required, also return undef instead of mime not found and die
17:49 Hyppolit trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Wx/
17:53 mj41 joined #padre
17:58 Steffen joined #padre
18:31 Hyppolit wiki page http://padre.perlide.org/trac​/wiki/Features/Perl5Debugger changed by bowtie
18:31 bowtie joined #padre
18:34 Hyppolit svn: r17608 | bowtie++ | http://padre.perlide.org/trac/changeset/17608
18:34 Hyppolit Debug2 Raw now handles h via Debug::Client->get_h_var()
18:34 Hyppolit trunk/Padre/lib/Padre/Wx/Panel/
18:43 jnap joined #padre
19:01 Luke83 joined #padre
19:02 Luke83 Hello All.
19:05 Luke83 I need to find out why my mojolicious plugin for padre is acting up. Does anyone know a good resource for figuring out an error in a padre plugin?
19:08 Luke83 I am upgrading to the latest padre right now. I was on .90
19:08 El_Che Luke83: I thing bowtie did some work and doc on that
19:09 El_Che stick around until he shows up
19:09 Luke83 Awesome thanks.
19:09 Luke83 I mean.. Awesome, thanks. :)
19:09 bowtie sorry all, it's not me, you need to talk to azawawi
19:10 bowtie don't for get azawawi is on GMT+3
19:10 Luke83 Ok
19:11 El_Che sorry bowtie, I thought you wrote that doc :)
19:12 Luke83 I was thinking about uninstalling the mojolicious plugin but wasnt sure how. I am really new to padre and perl. If you know a place I can read up on managing plugins for padre that would be helpful too.
19:13 bowtie Luke83, ok you need to read http://padre.perlide.org/t​rac/wiki/PadrePluginDialog enjoy :)
19:14 Luke83 thanks bowtie :)
19:17 El_Che Luke83: do you run padre from the command line? a lot of debug info may appear there
19:18 Luke83 I haven't done that before.
19:19 Luke83 the upgrade just finished through cpan. I am now upgrading the mojolicious plugin. Hopefully that will do the trick.
19:21 El_Che are you running linux or windows?
19:21 Luke83 Windows 7
19:21 Luke83 I am getting an error when I try to start a new mojolicious application
19:21 El_Che I think that you need to open a cmd windows, cd to the padre directory and type padre
19:22 Luke83 ok
19:23 Luke83 That starts padre, is there a command to make it log errors in the command prompt window?
19:25 Luke83 The error I see when i try to start a new mojolicious application identifies the file and line number. So i went to that file but go tlost pretty quickly.
19:26 Luke83 This isnt a high priority for me but I appreciate the help and will read through the docs. I like learning how things work.
19:31 dodathome joined #padre
19:34 Steffen joined #padre
19:39 Maltus joined #padre
19:47 sewi_work joined #padre
19:50 El_Che writing the request for speakers for the perl presence at fosdem 2012 (http://fosdem.org). I expect some people here to give some talks!
19:50 El_Che :)
19:53 Luke83 joined #padre
20:07 Zul83 joined #padre
20:12 Zul83 Just wanted to say thanks for all the work put into Padre. It is really helpful :)
20:13 Zul83 left #padre
20:16 Hyppolit svn: r17609 | szabgab++ | http://padre.perlide.org/trac/changeset/17609
20:16 Hyppolit Update the messages.pot file
20:16 Hyppolit trunk/Padre/share/locale/
20:19 mj41 joined #padre
20:36 Zul83 joined #padre
20:42 alnewkirk joined #padre
20:50 Maltus joined #padre
21:28 Zul83 left #padre
22:31 bowtie left #padre
23:22 pece joined #padre

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