Camelia, the Perl 6 bug

IRC log for #padre, 2011-06-01

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

All times shown according to UTC.

Time Nick Message
00:05 teejay left #padre
00:10 katofiad joined #padre
00:18 teejay joined #padre
00:50 estranho left #padre
01:09 teejay left #padre
01:10 Alias joined #padre
01:17 wallasey joined #padre
01:17 wallasey re horrible Wx::AuiNotebook Freeze / Thaw issue
01:18 wallasey I've done my bit : http://trac.wxwidgets.org/ticket/13254
01:18 wallasey In the mean time
01:18 wallasey The only method I could find to force an update of Wx::AuiNotebook
01:19 wallasey $notebookinstance->Layout;
01:19 wallasey I did notice that Wx::AuiNotebook gets its own automatic aui manager
01:20 teejay joined #padre
01:20 wallasey retrieve by $notebookinstance->GetAuiManager
01:20 wallasey Sorry I can't offer more than hints on fixing this - I'm not an AUI user
01:25 wallasey Maybe implement your own Wx::WindowUpdateLocker - don't call Freeze on the Top Level window
01:26 wallasey on MS Win - just on the children that aren't Wx::AuiNotebook
01:27 wallasey All it does is Freeze, then Thaw on DESTROY
01:30 Alias greetings
01:31 Alias wallasey: Thanks for wading in, this is an f'ing annoying change
01:32 Alias We already have our own locker, which is acting to wrap around the main one
01:32 estranho joined #padre
01:32 Alias I'll have another play today and see if I can do a better fix
01:33 Alias wallasey == mark dootson?
01:37 wallasey wallasey == mark dootson - yes
01:38 Alias Replying to your mails now
01:39 Alias Basically, I liked WindowUpdateLocker because it's native
01:39 Alias And that means less Perl code, lower memory usage, and faster code
01:39 Alias And potentially less future problems
01:40 Alias Whenever I find a new piece of the API I didn't know existed that mirrors our code, I try to move to it when I can
01:40 Alias I only work on Windows, so I actually wasn't aware that non-MSW didn't do child freezing too
01:41 Alias So it's entirely possible the update/paint storms have only been suppressed on Windows
01:41 Alias Biggest example of these is if you try to open 20 files at once
01:41 Alias With locking off, you see major flicker in the notebook as each tab is opened
01:42 wallasey GTK doesn't do a wxWidgets 'Freeze' - but the underlying call to the gtk2 window prevents child updates at the raw gtk level
01:42 Alias With locking on, it's one visual change, and it takes MUCH less time because we can skip all the rendering
01:42 Alias ah, ok
01:42 Alias oh I see
01:42 Alias So while the end effect is the same visually, the internals that rely on IsFrozen will act differently?
01:43 Alias TBH, I'm not a huge fan of AUI anyway
01:43 Alias I was happy with the original Wx::Notebook layout
01:43 Alias But this option does allow for tearaway tools and other stuff later
01:44 wallasey I stopped using Wx::AUI - problems like this. Yes - you might live with it for tearaway etc.
01:44 Alias We expected to have more tools by now
01:44 Alias But we are starting to get close to the point of having tools you might want to put on other windows or optionally dock
01:49 wallasey It is difficult to second guess the future - but I might be tempted to look at implementing custom tearaway and dock
01:49 Alias ya
01:50 Alias Trying really hard to limit the amount of gui features we have to maintain, so we can concentrate on actual user features :)
01:50 wallasey AUI has always presented these sorts of problems - for me at least, whereas the basic widgets seem to remain reasonably consistent
01:50 Alias It's hard enough having to write a threading API
01:50 Alias That still doesn't work right
01:51 wallasey AUI updates seem to have changes a lot in 2.9 branch - again -
01:51 Alias I wonder if we should port back to AUI until after 3.0 echos have faded
01:51 Alias er
01:51 Alias port away from AUI until after 3.0 echos have faded
01:53 wallasey It would be worth investigating how Padre looks on 2.9.1 today. Maybe the underlying code chanages are transparent - maybe
01:54 wallasey Taking a step back, best approach is probably hacking in changes to fix AUI on windows now
01:54 wallasey concentrate on adding features
01:55 Alias Yup
01:55 wallasey see what 3.0 looks like when eventually released
01:55 Alias I'm doing your children->Layout fix now to test it
02:02 skyloid joined #padre
02:32 wallasey left #padre
02:37 katofiad left #padre
04:10 |Sno| joined #padre
04:13 Sno| left #padre
05:01 submersible_toaster left #padre
05:01 submersible_toaster joined #padre
05:31 asarch joined #padre
05:36 Sewi joined #padre
05:37 marcela joined #padre
06:16 asarch left #padre
06:39 toi joined #padre
07:01 azawawi joined #padre
07:05 azawawi hi everyone
07:05 azawawi just posted a question in #moose about a Java to Perl Moose guide and nothing so far
07:06 szabgab hi azawawi
07:07 szabgab yeah I asked thema bout it when we talked about it a few days ago
07:07 mj41 joined #padre
07:07 szabgab azawawi: have you seen the rakudo installer for windows?
07:07 szabgab I just posted about it
07:08 azawawi szabgab: good morning first :)
07:08 szabgab it would be nice if we could upgrade the PErl6 plugin
07:08 szabgab oh yeah, good morning :)
07:08 * azawawi itches his head
07:14 azawawi i dont know why i lost my Perl 6 momentum
07:14 azawawi somehow i said to myself, i'll go back to perl5 and that's it
07:15 azawawi however, this has affected me since i did some great things while developing for Perl 6 :)
07:30 rindolf joined #padre
07:41 pece joined #padre
07:59 azawawi szabgab: wow, #moose people are really helpful
08:13 daxim joined #padre
08:36 bowtie joined #padre
08:45 danlucraft joined #padre
08:47 * azawawi is learning Regexp::Grammars
08:50 El_Che be carefull of you'll end up mantaining half of cpan like alias :)
08:51 squeeks_ joined #padre
08:51 azawawi El_Che: why is that? :)
08:52 squeeks_ left #padre
08:53 El_Che you are getting expertise on all the levels of the perl world
08:53 El_Che wx, moose, swt/perl, padre, etc etc
08:55 azawawi "Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young. The greatest thing in life is to keep your mind young." :)
08:58 bowtie azawawi, what about my grey hair :)
08:59 azawawi bowtie: that will come eventually... whether you like it or not :)
08:59 bowtie azawawi, but i still have hair :)
09:04 bowtie Q where do I find  Wx::Dialog
09:04 bowtie opps in Padre trunk
09:04 pece left #padre
10:14 Di-ima left #padre
10:25 Di-ima joined #padre
10:30 azawawi Regexp::Grammars is awesome!
10:30 azawawi im parsing java in perl... lol
11:06 estranho left #padre
11:26 sniper joined #padre
12:06 * azawawi switches to Parse::RecDescent :)
12:10 zenog azawawi: Parse::RecDescent rocks!
12:10 zenog azawawi: I used it during my undergraduate studies.
12:21 azawawi zenog: yup, no need to rewrite grammar
12:21 azawawi zenog: although Regexp::Grammars is great, extending perls regex proved to be segfaulty (pre 5.14.0)
12:22 azawawi zenog: http://perl-swt.googlecode.com​/svn/trunk/test_recdescent.pl
12:23 azawawi zenog: nearly there... :)
12:23 azawawi zenog: started with http://perl-swt.googlecode.c​om/svn/trunk/test_regexp.pl
12:31 marcela left #padre
12:39 marcela joined #padre
12:42 Maltus joined #padre
12:53 Hyppolit wiki page http://padre.perlide.org/tra​c/wiki/PadrePluginCookbook02 changed by bowtie
12:54 pece joined #padre
13:24 pece left #padre
13:29 Hyppolit wiki page http://padre.perlide.org/tra​c/wiki/PadrePluginCookbook02 changed by bowtie
13:30 Hyppolit wiki page http://padre.perlide.org/tra​c/wiki/PadrePluginCookbook02 changed by bowtie
13:32 azawawi okay, i finally was able to parse a subset of the swt java files using Parse::RecDescent... now the fun part begins :)
13:34 Hyppolit svn: r14455 | szabgab++ | http://padre.perlide.org/trac/changeset/14455
13:34 Hyppolit adding a comment
13:34 Hyppolit trunk/Padre/lib/Padre/Document/Perl/
13:35 azawawi Moosifying and translating java code into Perl = aka porting :)
13:38 Hyppolit svn: r14456 | szabgab++ | http://padre.perlide.org/trac/changeset/14456
13:38 Hyppolit add the very basic and probably not yet working Dancer plugin
13:38 Hyppolit trunk/ trunk/Padre-Plugin-Dancer/ trunk/Padre-Plugin-Dancer/lib/ trunk/Padre-Plugin-Dancer/lib/Padre/ trunk/Padre-Plugin-Dancer/lib/Padre/Plugin/ trunk/Padre-Plugin-Dancer/lib/Padre/Plugin/Dancer/ trunk/Padre-Plugin-Dancer/t/
13:39 azawawi szabgab: btw, i think we should discuss this
13:39 azawawi szabgab: i wanted to discuss it also with Alias
13:39 azawawi szabgab: we have various "web" framework plugins for Padre
13:40 azawawi szabgab: we need to unify them into one
13:40 azawawi szabgab: Padre::Plugin::Web ?
13:40 azawawi szabgab: it does not require any of them at first
13:40 azawawi szabgab: but if you have installed Dancer, it enables Dancer functionality
13:41 azawawi szabgab: etc...
13:42 azawawi szabgab: that way we can make installing it easier and faster
13:42 azawawi szabgab: and then add actions to install Dancer from within Padre CPAN install... if you want that functionality unlocked
13:43 azawawi Does that look friendlier or not? or am i just talking non-sense? :)
13:43 Hyppolit wiki page http://padre.perlide.org/tra​c/wiki/PadrePluginCookbook02 changed by bowtie
13:49 * azawawi home &
13:49 azawawi left #padre
13:55 marcela left #padre
14:08 toi left #padre
14:21 asarch joined #padre
14:38 rindolf left #padre
14:42 jnap joined #padre
14:52 dapatrick joined #padre
15:03 kaare joined #padre
15:13 Maltus left #padre
15:13 skyloid left #padre
15:14 Maltus joined #padre
15:17 kaare left #padre
15:18 skyloid joined #padre
15:19 kaare joined #padre
15:33 kaare_ joined #padre
15:35 kaare left #padre
15:42 daxim left #padre
15:42 alnewkirk left #padre
15:43 kaare_ left #padre
15:43 kaare_ joined #padre
15:43 alnewkirk joined #padre
15:48 Hyppolit wiki page http://padre.perlide.org/tra​c/wiki/PadrePluginCookbook02 changed by bowtie
15:58 kaare_ left #padre
16:17 Sewi left #padre
16:21 Sewi joined #padre
16:22 Hyppolit wiki page http://padre.perlide.org/tra​c/wiki/PadrePluginCookbook02 changed by bowtie
16:23 mj41 left #padre
16:23 toi joined #padre
16:23 Hyppolit wiki page http://padre.perlide.org/t​rac/wiki/PadrePluginDialog changed by bowtie
16:26 Hyppolit wiki page http://padre.perlide.org/t​rac/wiki/PadrePluginDialog changed by bowtie
16:26 danlucraft left #padre
16:28 rindolf joined #padre
16:32 danlucraft joined #padre
16:35 Maltus left #padre
16:36 jnap left #padre
16:48 mj41 joined #padre
17:12 dodathome joined #padre
17:34 toi left #padre
17:57 danlucraft left #padre
18:03 alnewkirk left #padre
18:10 sugar joined #padre
18:18 perlnoob joined #padre
18:19 Sewi left #padre
18:20 perlnoob Hi all, I installed Padre 0.84 with strawberry perl on my win xp system using the 0.84 exe installer. Install was smooth but now when i click padre icon, no gui - nothing happens. Any help?
18:21 szabgab perlnoob: do you have any other perl installations?
18:21 perlnoob i had activestate perl which i uninstalled and removed the path from the env variable
18:23 szabgab so try opening a cmd windows
18:23 szabgab and type   padre in there
18:23 szabgab maybe you'll see some error message there
18:24 szabgab oh and btw to which path have you installed it ?
18:24 perlnoob its installed to the default path C:\Strawberry\perl\bin
18:25 perlnoob if i type padre, it simply returns back to the command prompt
18:25 perlnoob i see a padre process created in the task manager
18:25 perlnoob but no visual
18:25 szabgab is this your first padre installation?
18:25 perlnoob yes
18:25 szabgab hmm
18:26 perlnoob i might have tried installing it a year ago.. cant recall ..
18:26 szabgab try padre --resett
18:26 szabgab --reset
18:27 szabgab and then padre again
18:27 szabgab and if that does not work try    perl c:\strawberry\perl\site\padre
18:30 perlnoob tried all those,, still nothing :(
18:30 szabgab do you have non-ascii characters in your username?
18:30 perlnoob after i did padre-reset and padre i saw something popup and disappeared in a couple milliseconds
18:30 perlnoob no
18:31 szabgab try  perl c:\strawberry\perl\site\padre --version
18:31 szabgab try   perl -V
18:32 perlnoob padre path has perl\site\bin\padre in my case
18:32 szabgab yes, right sorry , my typo
18:33 perlnoob no prob, i appreciate the help
18:33 szabgab which Windows do you have?
18:33 perlnoob padre--version = Perl Application Development and Refactoring Environment 0.84
18:34 szabgab maybe there is some permission thing? a firewall?
18:34 perlnoob i have eset nod32 av installed but nothing else special apart from default windows setting
18:35 szabgab can you check if maybe that prevented something oto launch?
18:36 szabgab another thing you mmight try is to:    set PADRE_DIE=1
18:36 szabgab and then try to launch padre
18:36 szabgab it should print you the exceptions on the screen
18:36 szabgab if theer are
18:37 perlnoob no exceptions
18:38 szabgab strange
18:38 szabgab so which windows do you have?
18:38 perlnoob unfortunately i can do anything with the Antivirus, my IT guy put a password in the AV settings
18:38 perlnoob *cat
18:38 perlnoob *cant
18:38 Hyppolit wiki page http://padre.perlide.org/trac/wiki/DownloadWindows changed by szabgab
18:40 Di-ima left #padre
18:40 szabgab my config is in this directory C:\Documents and Settings\Gabor Szabo\Local Settings\Application Data\Perl\Padre
18:40 szabgab could you pls check if you have a similar directory?
18:40 perlnoob sure
18:40 szabgab with your user :)
18:41 perlnoob yes i see the folder, it has config.db and plugins folder
18:42 szabgab tyr deleting all the files in there
18:42 perlnoob ok
18:42 szabgab or move them to another place
18:43 Hyppolit wiki page http://padre.perlide.org/trac/wiki/DownloadWindows changed by szabgab
18:45 mj41 left #padre
18:45 perlnoob i downloaded padre-0.84-on-strawberry-5.12.3.0-v3.exe
18:45 perlnoob are there other exe installers besides this one?
18:46 szabgab nope, this is the one I just made 3 days ago
18:46 szabgab the others are all vey old
18:46 szabgab there is an earlier attempt which is a zip file
18:46 szabgab but I don't think that would work if this does not
18:51 perlnoob when i run padre --reset, do u know if its supposed to create a new process?
18:52 perlnoob on mine it does create a new process named padre
18:52 szabgab it is a very short lived process
18:52 szabgab or so I think
18:52 szabgab it should just reset the databae
18:53 perlnoob i just disabled the antivirus altogether.. still no action
18:53 szabgab and have you removed the configuration files?
18:53 szabgab if so, have they came back after running padre?
18:54 perlnoob yes
18:55 skyloid left #padre
18:56 perlnoob I emptied out appdata\perl\Padre and tried again.. still nothing
18:58 szabgab then I don't have better suggestion then to try to debug it
18:58 szabgab :)
18:58 perlnoob i also have python installed on the pc should that cause some kind of port conflict  you think?
18:58 szabgab you can try to launch it with    perl -d and step through it
18:58 szabgab no conflict should be with python
18:59 szabgab but you did not tell me which windows
18:59 perlnoob windows xp?
18:59 perlnoob is that what you wanted to know?
18:59 szabgab yes
19:00 perlnoob ok
19:00 szabgab I built this on xp
19:00 szabgab so thre should be even less issue hmm
19:00 perlnoob yes im sure theres something weird with my system.. happens to me all the time
19:00 perlnoob :) thanks a lot for your help though!
19:02 szabgab you are welcome
19:02 szabgab I am sorry this  did not work out
19:02 perlnoob no problem! you have a great day!!
19:03 perlnoob left #padre
19:11 asarch left #padre
19:23 mj41 joined #padre
19:23 toi joined #padre
19:29 rindolf left #padre
19:29 Sewi joined #padre
20:08 pece joined #padre
20:13 Maltus joined #padre
20:16 pece2 joined #padre
20:24 estranho joined #padre
20:35 mj41 left #padre
20:44 Sewi left #padre
20:51 teejay anybody know how nicely Padre runs on latest(?) OS X (10.6)
20:59 sugar left #padre
21:08 alnewkirk joined #padre
21:11 dapatrick left #padre
21:19 estranho left #padre
21:20 toi left #padre
21:25 dodathome left #padre
21:49 sniper teejay: I have a problem with my french keyboard layout. The keys for \ (shift-alt-/)raises the contextual menu alt-/
22:45 pece left #padre
23:05 Di-ima joined #padre
23:28 Maltus left #padre
23:47 bowtie left #padre

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