Camelia, the Perl 6 bug

IRC log for #padre, 2011-07-05

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

All times shown according to UTC.

Time Nick Message
00:05 castaway left #padre
00:05 castaway joined #padre
00:15 Alias_ joined #padre
00:39 bowtie left #padre
01:26 gabiruh left #padre
01:26 gabiruh joined #padre
01:30 asarch left #padre
02:11 Di-ima left #padre
02:20 Di-ima joined #padre
03:19 Alias_ FBP 0.35 uploaded
03:19 Alias_ This is the first release that supports all non-AUI widget classes
03:19 Alias_ The only things it can't yet do are AUI widgets, and dedicated Menu/Toolbar classes
03:20 Alias_ And Padre doesn't need any of those three
03:43 Alias left #padre
03:59 Zapelius joined #padre
04:10 Sno| joined #padre
04:13 |Sno| left #padre
04:35 Zapelius left #padre
04:54 jazzanova joined #padre
05:28 asarch joined #padre
05:33 Alias_ Two widgets to go
06:02 toi joined #padre
06:03 toi left #padre
06:10 pece joined #padre
06:40 danlucraft joined #padre
06:45 [Sno] joined #padre
06:45 toi joined #padre
06:46 toi left #padre
06:47 toi joined #padre
06:47 toi left #padre
06:49 toi joined #padre
06:49 toi left #padre
06:52 toi joined #padre
06:52 toi left #padre
06:53 toi joined #padre
06:54 toi left #padre
06:54 toi joined #padre
06:57 asarch left #padre
06:57 toi left #padre
06:58 toi joined #padre
07:09 Sewi joined #padre
07:13 Sewi gm all
07:21 El_Che lo
07:34 danlucraft left #padre
07:48 daxim joined #padre
07:57 sugar joined #padre
07:59 dolmen joined #padre
08:05 lsm-mob joined #padre
08:27 sugar left #padre
08:29 waxhead_ evening
08:29 waxhead_ is now known as waxhead
08:32 bowtie joined #padre
08:32 mj41 joined #padre
08:32 sugar joined #padre
08:33 El_Che hi sugar , hi waxhead , hi mj41
08:35 asarch joined #padre
08:38 danlucraft joined #padre
08:42 szabgab good morning-ish everyone
08:42 El_Che good mr dr nick
08:42 szabgab I have one more day at $client
08:42 El_Che you will miss your broken suse
08:43 szabgab indeed :)
08:44 bowtie szabgab, is this what's called a working relationship
08:45 El_Che bowtie: I would limit to a generic relationship as such :)
08:46 bowtie El_Che, no love lost then :)
08:46 El_Che to put it more vulgaraly: szabgab is opensuse's bitch :)
08:47 bowtie El_Che, a toy boy! :)
08:49 katofiad joined #padre
08:50 szabgab gentleman, please watch your keyboard!
08:50 szabgab I am now going to try to immerse myself in the social web for a while
08:51 szabgab so I am trying to figure out http://news.ycombinator.com/
08:51 szabgab any of you reading it ?
08:51 * Alias_ has 80% of Wx::Grid finished
08:52 Alias_ A tiny bit more, plus doing Wx::RichTextCtrl, and FBP::Perl is "finished"
08:52 Alias_ It has full widget coverage anyway
08:52 Alias_ Hopefully I can be done tonight
08:52 Alias_ But right now, I'm off to a meeting :(
08:52 mj41 left #padre
08:54 Alias_ left #padre
09:00 asarch left #padre
09:08 szabgab Sewi: are you around for some memory leak discussion?
09:08 szabgab or anyone else who understands memory usage on Linux ?
09:08 Sewi I'm here
09:09 szabgab great
09:09 szabgab so running ps I seem to get values such as 19508  for a perl process
09:10 szabgab I guess it means 19,508 Kbyte right?
09:10 szabgab and it is growing slightly
09:10 szabgab here is the latest version of the code: https://github.com/szabgab/Net-XMPP
09:10 szabgab with a TODO test checking this
09:11 szabgab but I wonder if my expectation is correct?
09:12 Sewi Which col?
09:12 Sewi VSZ?
09:12 szabgab RSS
09:13 szabgab interesting, I have aloop that connects to GTalk
09:13 Sewi Yes, it looks like it leaks
09:13 szabgab RSS grows in the first 4-5 attempts but then it stops growing
09:14 Sewi How long should these connections stay? Forever?
09:14 szabgab A connection might stay a few hours and then new ones will open
09:15 szabgab and a script needs to handle several concurrecnt connections and it should be able to handly many throughout its life
09:15 szabgab I don't want to restart it (and lose the connections) every few hours
09:15 szabgab maybe once a week is ok
09:16 szabgab anyway now that I see it stops growing after the 5th cycle I am less worried
09:16 szabgab I'll add some more tests to actually do something on the connections to see if those leak or if I managed to fix all the leak?
09:16 szabgab s
09:17 Sewi Idea: Start a sub-process (other script?) for every connection, like a proxy. Every connection process lifes as long as it's connection and the main process could use a local fifo|socket|etc. to talk to the connection process.
09:18 Sewi The main script may run forever without eating up more memory while the connection processes leak memory (1 leak per connection = 1 leak per proccess) and free the memory once the connection is finished.
09:18 Sewi You'ld have no need to restart other connections because one connection went out of scope or too much memory has been leaked.
09:21 szabgab that's not good as each process takes up a lot of memory
09:21 szabgab and we need to handle thousands of concurrent connections
09:22 Sewi Only XAMPP and some kind of backend connection to the main script are used in each process.
09:22 Sewi Ok, this is too much :)
09:22 szabgab yes, the XMPP module is huge
09:22 szabgab I am not sure why, but it takes a lot of memory
09:23 Sewi Is rewriting an option?
09:23 szabgab on my last day?
09:23 szabgab :)
09:23 Sewi There is also Protocol::XMPP
09:23 szabgab another time :)
09:24 szabgab but for now it seems I am good,
09:25 Sewi Last idea: Start the main script and count the number of connections. If you reach 1000 or so, the script doesn't start new connections but starts another copy.
09:25 Sewi The first copy will go out of scope if all connections are finished with no need to force them to finish.
09:26 szabgab Sewi: yes, that's the strategy I think
09:27 szabgab but even for that I have to make sure there is no huge leak
09:27 szabgab I go back now to add more tests and ping you later, ok?
09:32 Sewi ok
10:00 jazzanova left #padre
10:02 bowtie garu, ping
10:13 dolmen left #padre
10:41 GabrielVieira left #padre
10:50 katofiad left #padre
10:55 szabgab Sewi: if you have time with the leak, I added now one more step - authentiation - and now it leaks
10:55 Sewi strange
10:56 szabgab using the latest version of XML::Stream from https://github.com/szabgab/XML-Stream/
10:56 szabgab and I pushed out the Net::XMPP code as well
11:00 waxhead hey El_Che
11:00 waxhead Darn... where's alias when you want him?
11:01 katofiad joined #padre
11:02 dolmen joined #padre
11:03 waxhead failed install for FBP::Perl
11:03 szabgab waxhead: alnewkirk|com is in meeting
11:03 szabgab sorry I mean alias
11:03 waxhead fair enough
11:05 bowtie waxhead, did you get #   Failed test 'use Wx::HTML;'
11:18 katofiad left #padre
11:27 shadowpaste "szabgab" at 217.168.150.38 pasted "Net::XMPP memory leak" (11 lines) at http://paste.scsys.co.uk/119352
11:37 danlucraft left #padre
11:50 mj41 joined #padre
12:20 rindolf joined #padre
12:31 rindolf Hi all.
12:40 ispy_ joined #padre
12:48 rindolf left #padre
13:12 sugar_ joined #padre
13:12 sugar left #padre
13:12 sugar_ is now known as sugar
13:28 dolmen left #padre
13:29 dolmen1 joined #padre
13:30 danlucraft joined #padre
13:32 pece left #padre
13:44 mj41 left #padre
14:10 asarch joined #padre
14:13 asarch left #padre
14:32 rindolf joined #padre
14:43 Di-ima left #padre
14:47 sugar left #padre
14:50 sugar joined #padre
15:11 toi left #padre
15:14 bowtie some feedback:
15:14 bowtie When using Search->Find on a Highlighted word, I get the following:
15:14 bowtie Can't call method "SetValue" on an undefined value at
15:14 bowtie /usr/src/Padre/Padre/lib/Padre/Wx/ActionLibrary.pm line 1205
15:20 Sewi highlighted = selected?
15:22 bowtie Sewi, yes, opps, sorry wrong terminology
15:22 Sewi no, everything is good
15:24 rindolf ispy_: here?
15:27 bowtie Sewi, any thoughts on #1244
15:27 Hyppolit # 1244 :  The menu "recent files" is not updated on history updates, only with 1 file delay (new defect) by bowtie  [ http://padre.perlide.org/t​rac/ticket/1244#comment:2 ]
15:30 AndChat| joined #padre
15:30 rindolf left #padre
15:35 lsm-mob left #padre
15:38 garu bowtie: pong
15:39 bowtie garu: p($data, caller_message => "Displaying the contents of $label")
15:39 bowtie I like your idea but
15:39 bowtie p($data, caller_message => "Displaying the contents of $label->name")
15:39 bowtie don't work
15:39 bowtie have to $fudge = $label->name
15:39 bowtie thus
15:40 bowtie p($data, caller_message => "Displaying the contents of $fudge")
15:40 bowtie garu, hope the feedback helps
15:44 sugar left #padre
15:46 sugar joined #padre
16:06 kaare joined #padre
16:06 garu bowtie: that's an interpolation issue with Perl strings, not really related to Data::Printer I think. You can either say p($data, caller_message => "Displaying contents of " . $label->name) instead
16:07 bowtie garu, ok use the . instead, thanks cool, how is your mc and padre?
16:08 garu mc?
16:08 bowtie garu, your pc or ws or fs etc..
16:10 bowtie garu,  some assistance please, PBP hates eval but try::tiny is yuck, hence I have to use Try Catch instead ?
16:15 Adam_ joined #padre
16:18 Adam_ FBP::Perl 0.52 uploaded, all widgets implemented!
16:18 Adam_ is now known as Alias
16:18 Alias Next, to update the plugin to match the API changes
16:21 dapatrick joined #padre
16:22 bowtie Alias, will it then be possible to us a wx-form instead of a wx-dialog ?
16:22 bowtie opps us -> use
16:22 Alias A Wx::Form?
16:23 Alias Wx::Form is a role that covers Dialog + Frame + Panel
16:24 bowtie Alias, sorry I meant wx-Frame
16:24 Alias Yep
16:24 Alias Gotta run
16:24 Alias left #padre
16:26 sugar left #padre
16:30 garu bowtie: how is Try::Tiny yuck? TryCatch has even more sugar, so I'm not sure how it will be any better
16:31 bowtie garu, do i have any other choices?
16:31 garu bowtie: well, I think the problem PBP has with eval concerns string eval, not block. In block eval the issues are more related to edge-cases, which is what TryCatch and Try::Tiny attempt to fix
16:32 garu bowtie: so eval { ... }  should be fine in most cases, I guess
16:33 garu if you're using Perl::Critic, check out http://beta.metacpan.org/module/Perl::Critic::Po​licy::Lax::ProhibitStringyEval::ExceptForRequire
16:34 bowtie garu, thanks for that, all my one liners work as expected, ok another thing to ignore, thank you, :)
16:34 garu anytime :)
16:40 mj41 joined #padre
16:53 Sewi left #padre
16:53 estranho left #padre
16:54 bowtie left #padre
16:56 pece joined #padre
16:57 dolmen1 left #padre
17:02 daxim left #padre
17:04 Sewi joined #padre
17:39 asarch joined #padre
17:43 toi joined #padre
18:12 rindolf joined #padre
18:12 rindolf Hi all.
18:31 Hyppolit svn: r14818 | bowtie++ | http://padre.perlide.org/trac/changeset/14818
18:31 Hyppolit added garu suggestion, cleaned up startup, removed commented out code and some other tweaks
18:31 Hyppolit trunk/Padre-Plugin-Cookbook/lib/​Padre/Plugin/Cookbook/Recipe04/ trunk/Padre-Plugin-Cookbook/lib/Pa​dre/Plugin/Cookbook/Recipe04/FBP/
18:32 bowtie joined #padre
19:44 kaare left #padre
20:16 toi left #padre
20:35 mj41 left #padre
20:42 danlucraft left #padre
20:44 asarch left #padre
20:47 rindolf left #padre
21:11 pece left #padre
21:21 dapatrick left #padre
21:22 perlite_ joined #padre
21:25 perlite left #padre
21:25 perlite_ is now known as perlite
21:29 Sewi left #padre
21:29 ispy_ left #padre
22:12 Sewi joined #padre
22:17 Sewi left #padre
22:20 Zapelius joined #padre
23:33 shadowpaste "bowtie" at 217.168.150.38 pasted "Alias cpan fail for FBP::Perl" (78 lines) at http://paste.scsys.co.uk/119565
23:57 asarch joined #padre

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