Camelia, the Perl 6 bug

IRC log for #padre, 2009-12-19

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

All times shown according to UTC.

Time Nick Message
00:17 teejay joined #padre
00:39 patspam joined #padre
01:07 kthakore joined #padre
02:18 patspam joined #padre
03:32 awnstudio joined #padre
04:57 Hyppolit svn: r9790 | adamk++ | http://padre.perlide.org/trac/changeset/9790
04:57 Hyppolit A dialog box for entering a keyboard shortcut
04:57 Hyppolit trunk/Padre/lib/Padre/Wx/Dialog/
04:58 Hyppolit svn: r9791 | adamk++ | http://padre.perlide.org/trac/changeset/9791
04:58 Hyppolit Minor tweaks
04:58 Hyppolit trunk/Padre/lib/Padre/Wx/Dialog/Preferences/
06:25 dougk joined #padre
07:06 robn joined #padre
07:54 stemdA joined #padre
08:33 kaare joined #padre
10:01 Alias_ joined #padre
10:07 Sewi joined #padre
10:07 Sewi gm
10:11 Alias_ \o
10:11 * Alias_ tries to get the locking system supporting refreshing some time before the release
10:12 Sewi Hi Alias. Do you want to submit a Padre-post for http://www.perladvent.org? It should be written by someone who writes a better English than I do.
10:12 Getty Sewi: you cant get your head away from this, eh? ;)
10:13 Sewi Getty: If a native speaker is around, it's worth a question, either Alias and waxhead (as the release manager) are both more than qualified to write it :-) But I won't disturb all of you again with it.
10:16 Sewi_Ubuntu joined #padre
10:17 szabgab Sewi you are officially appointed to be the Padre Advent nagger
10:17 szabgab Sewi++
10:18 szabgab and I am so happy I still have vi installed so I can fix padre when I manage to break the compilation and then try to restart it ...
10:20 Getty lol
10:21 Getty thats what i said ;)
10:21 Getty developing the developing tools is an evil chain ;)
10:21 Sewi Just install a released Padre system-wide as fallback :-)
10:21 Getty thats why i must really think about how to integrate local::lib for base install
10:21 Getty as option
10:22 Getty so that you can install 20< padre without stress
10:22 waxhead What's this Padre::Wx::Role ?
10:23 szabgab when did padre stop supporting  :wq ?
10:24 tsee joined #padre
10:25 Getty szabgab: lol it doesnt really supported it, or?
10:25 Hyppolit svn: r9792 | szabgab++ | http://padre.perlide.org/trac/changeset/9792
10:25 Hyppolit show where the debugger currently is
10:25 Hyppolit trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Wx/
10:26 szabgab pls try to debug a small script
10:26 Alias_ Is there anything you specifically want in an advent post?
10:27 Alias_ Padre::Wx::Role is for shared behavioural stuff that you can't fit into a regular inheritance tree
10:28 Getty Alias: its more like that we have the chance to get into the advent post, i think more like some install hints and some usage hints wouldnt be required
10:29 Alias_ meh
10:29 Alias_ I
10:29 Alias_ I'm not a huge fan of the whole advent thing
10:30 Getty the perladvent calender is widely used over the perl community, somehow, so it would be a popularity boost
10:30 Getty its more marketing ;)
10:30 szabgab oh the M word, hush hush
10:31 Getty hehe
10:31 waxhead szabgab you could write something showing how to use the debugged in Padre.. :)
10:31 Getty i say it! yes! i say it!
10:32 szabgab I vote for garu to write it
10:32 szabgab he already proved he can
10:32 waxhead the advent calendar entry should be compelling reading about what padre can do for you
10:32 Getty then lets take garu
10:32 Getty GGAARRUU!!! come out! ;)
10:33 waxhead debugging in your ide is one of the most compelling reasons when it comes to dynamic languages...
10:33 waxhead not that all the coolness of Padre today isn't reason enough to use it.. :)
10:33 Alias_ Unfortunately, we don't do it very well quite yet
10:33 szabgab so any of you tried r9792 ?
10:33 Hyppolit Changeset #9792 http://padre.perlide.org/trac/changeset/9792
10:33 waxhead no not yet...
10:33 szabgab you need Debug::Client 0.09
10:34 Alias_ Even with that, it's just raw menu entries right
10:34 Alias_ I tried it and nothing much happened
10:34 waxhead not likely to tonight.. early christmas here today and I'm a little sozzled..
10:35 Getty but guys... just curious
10:35 Getty cant we lower wx requirement?
10:35 tsee Nope.
10:35 tsee Genuine bugs solved in Wx.
10:36 Getty thats really bad, cause on debian stable you cant install padre now really
10:36 Getty i must definitly violate anything of the system to get it on
10:36 tsee Unless the required Wx version has been significantly bumped since last time I checked.
10:36 tsee Which may well be the case.
10:36 Getty its now 8.8.8 or something
10:36 Getty and debian has 8.8.7
10:36 tsee Ah!
10:37 szabgab Getty, I am sure if you install Alien::wxWidgets  it will work
10:37 tsee You mean wxWidgets!
10:37 Getty yeah
10:37 Getty wxWidgets
10:37 Getty sorry ;)
10:37 tsee That's different.
10:37 szabgab and btw have you tried to download the stand-alone for linux I created ?
10:37 Getty szabgab: it doesnt work on regular CPAN installation with debian
10:37 tsee We need 2.8.8, IIRC.
10:37 Getty szabgab: oh no, but i can try
10:37 szabgab pls do so and let me know
10:37 Getty i will, just need to get back to my linux PC
10:37 tsee Getty, you mean Alien::wxWidgets doesn't work with the debian stable perl installation?
10:37 tsee That's very odd.
10:38 Getty tsee: yes
10:38 tsee Works like a charm on ubuntu.
10:38 Getty tsee: i can try agian if that is fixed now
10:38 tsee Maybe you need the perl headers.
10:38 Getty never compare ubuntu with debian ;)
10:38 tsee Where do you think ubuntu gets its perl stuff from?
10:38 waxhead ok.. time to go.. nite all
10:38 tsee The awesome debian-perl group!
10:38 tsee I.e. the perl-dev or libperl-dev or somesuch.
10:38 Getty tsee: yeah but still i hate ubuntu
10:39 Getty tsee: ubuntu should burn in hell, thats all i say to this ;)
10:39 tsee Sorry, but I don't care about such discussions.
10:39 tsee I'm just trying to help you.
10:39 tsee My point being it works here and this system is no *better* than what debian ships.
10:39 Getty yeah, but telling ubuntu works isnt helpful ;) just makes anger hehe, but i will try to find out whats wrong more specific
10:39 Getty the problem is the age
10:39 Getty debian release cycle <=> ubuntu release cycle
10:39 Getty debian stable is again now 2-3 years old
10:40 Getty so its clear that there are problems
10:40 tsee Oh, it's that old? I'm a little surprised. I thought it was newer.
10:40 Getty thats also why i hate ubuntu, they just fix all the problems somehow better cause they have that small release cycle, on the other side, companies cant work with that release cycle, it would incredible higher the administrative costs
10:40 Alias_ indeed
10:40 Getty it could be 1-2 years, but i'm sure its 2 years and a bit more
10:41 Alias_ Ubuntu has been talking this idea of two levels
10:41 Alias_ 6 month releases, with every 4th release marked as the Long Term release
10:41 Getty Alias: will never work
10:41 tsee http://www.debian.org/releases/stable/ <-- are you on old stable?
10:42 Getty the 5.0.3 is just an update
10:42 Getty the gag is still the version blockoing
10:42 Getty you must check when 5.0.0 had came out
10:42 Getty and then you got the "version freeze"
10:42 Getty (no packages get upgraded, just bugfixed)
10:42 tsee ah, sorry.
10:43 Getty you always got many problems with that version freeze on the "desktop sector"
10:43 Getty gedit has flaws in stable, parted doesnt work at all (for the features it has unique) really and so on...
10:43 Getty sometimes its a pain, but mostly i like the longtime factor
10:44 Getty its nice to know that you upgrade and then its over for 2-3 years
10:44 Getty and you can concentrate on the real work again
10:44 Getty cause in final, we all use linux to reduce our work
10:44 Getty not to increase it with all the time upgrades
10:51 Hyppolit svn: r9793 | szabgab++ | http://padre.perlide.org/trac/changeset/9793
10:51 Hyppolit step_in can now follow to other files as well
10:51 Hyppolit trunk/Padre/lib/Padre/Wx/
11:01 SvenDowideit joined #padre
11:02 Hyppolit svn: r9794 | szabgab++ | http://padre.perlide.org/trac/changeset/9794
11:02 Hyppolit eliminate crash when user does not select anything and asks for its value
11:02 Hyppolit trunk/Padre/lib/Padre/Wx/
11:57 submersible joined #padre
12:49 Hyppolit svn: r9795 | adamk++ | http://padre.perlide.org/trac/changeset/9795
12:49 Hyppolit Theoretically now has support for ->refresh methods, will add support for it next
12:49 Hyppolit trunk/Padre/lib/Padre/
12:49 Alias_ Time for the big test
12:50 Alias_ Time to add an actual method to it
13:26 Getty szabgab: where is the standalone installer?
13:27 Alias_ http://www.strawberryperl.com/downl​oad/padre/padre-standalone-0.50.msi
13:29 Hyppolit svn: r9796 | adamk++ | http://padre.perlide.org/trac/changeset/9796
13:29 Hyppolit Allow the use of an inspecific REFRESH lock to lock GUI updates in an inspecific fashion
13:29 Hyppolit trunk/Padre/lib/Padre/
13:30 Getty no no the linux one he mentioned :)
13:33 Alias_ ah
13:51 Alias_ I think I've uncovered a fairly systematic flaw in Padre
13:51 Alias_ Sigh... newlines
13:52 Getty -v
13:52 Alias_ Which explains a lot about why it has been generating Mixed newline files for me
13:55 Alias_ Do macs still use "MAC" newlines?
13:55 Alias_ Or is it just legacy mac
13:55 Getty oh... actually i would say they still exist, you must get someone with BBEdit and check what that generates by default
14:48 Hyppolit svn: r9797 | adamk++ | http://padre.perlide.org/trac/changeset/9797
14:48 Hyppolit Another attempt to make the new function list work properly
14:48 Hyppolit trunk/Padre/lib/Padre/Document/
14:49 Alias_ I think at some point we need to switch Padre to always use Unix newlines internally...
14:49 Alias_ Although then I don't know what we'd do with Mixed newlines
15:03 patspam joined #padre
15:06 szabgab Getty, http://szabgab.com/blog/2009/12/1260392467.html
15:14 Alias_ Curious
15:14 Alias_ The function list refresh run at least twice on startup
15:26 kthakore joined #padre
15:26 kthakore Alias_, hiya
15:27 kthakore Alias_, in windows I can't see wxFrame and WxApp from  wxPerl scripts
15:27 Alias_ hrm?
15:27 kthakore read up
15:27 Alias_ What do you mean, can't see?
15:27 Getty szabgab: it works :D
15:27 kthakore ok well I ran the default wxperl demo
15:28 kthakore Alias_ no window to see
15:28 kthakore Alias_, gui stuff in winxp + strawberry no go
15:28 Alias_ Does padre work?
15:28 kthakore Alias_, yes
15:28 Alias_ How do I run this demo?
15:28 kthakore but F5 of scripts with wx stuff don't work
15:29 kthakore Alias_, ok let me get the linky
15:29 dgeorge29ca_ joined #padre
15:29 dgeorge29ca_ hello there
15:29 dgeorge29ca_ i am new to perl and looking for some practical experience
15:30 kthakore Alias_, http://wxperl.sourceforge.net/tu​torial/tutorial2.html#id4690123
15:30 kthakore dgeorge29ca_, welcome!
15:30 kthakore dgeorge29ca_, you are in the right place
15:30 dgeorge29ca_ thanks
15:31 dgeorge29ca_ I just started learning perl
15:31 Alias_ Welcome
15:31 dgeorge29ca_ i am using a linux os
15:31 kthakore dgeorge29ca_, so am I. \0 hi-five
15:31 dgeorge29ca_ high 5...
15:31 kthakore yay!
15:31 Alias_ kthakore, you are doing ->Show(1) right?
15:31 kthakore yup
15:31 dgeorge29ca_ im working on arrays right now
15:31 kthakore dgeorge29ca_, nice!
15:31 Alias_ kthakore, and using defaultsize and defaultposition?
15:32 kthakore Alias_, yup see the script
15:32 dgeorge29ca_ but i would like to have some practical working with that language as i learn
15:32 kthakore dgeorge29ca_, nice
15:32 Getty szabgab: we should mention that package on padre packge for debian stable user
15:32 kthakore dgeorge29ca_, padre is your friend
15:32 dgeorge29ca_ oh really... so how do i get started... even though I only have limited knowledge at the moment
15:33 Alias_ kthakore, ok so WORKSFORME if I run it from the command line
15:33 Getty i just need to know how i install stuff now...
15:33 Alias_ Whahttp://wxperl.sourceforge.​net/tutorial/first.pl.txt
15:33 Alias_ http://wxperl.sourceforge.​net/tutorial/first.pl.txt
15:33 Getty if i use its CPAN where it installs...
15:33 Alias_ That link in particular
15:34 kthakore dgeorge29ca_, well first get padre
15:34 kthakore dgeorge29ca_, get the standalone
15:34 dgeorge29ca_ ok going to do that right now
15:34 kthakore Alias_, what is the link for padre standalone
15:34 kthakore dgeorge29ca_, what platform are you on?
15:34 Alias_ For linux? I don't know
15:35 kthakore Alias_, no this is WinXP that the script don't work
15:35 kthakore CPAN padre
15:35 Alias_ kthakore, I'm on XP, using trunk
15:35 kthakore Alias_, ah crap I can't get trunk
15:35 Alias_ I agree that the F5 execution doesn't work
15:35 kthakore Alias, yay!
15:35 kthakore bug hunting success!
15:35 dgeorge29ca_ linux mint 8
15:35 Alias_ It runs, but nothing shows
15:36 kthakore dgeorge29ca_, so get padre from CPAN
15:36 dgeorge29ca_ installing 0.42 now
15:36 dgeorge29ca_ it was in the package manager
15:36 kthakore dgeorge29ca_, try cpan padre
15:36 Alias_ eep, a little on the older side :)
15:36 kthakore dgeorge29ca_, ah ok
15:36 Alias_ No
15:36 Alias_ He should install 0.4 first
15:36 Alias_ To get the main deps
15:36 kthakore Alias_, ok
15:36 kthakore dgeorge29ca_, listen to Alias_
15:36 kthakore brb
15:36 dgeorge29ca_ ok 0.42 intstalled
15:36 dgeorge29ca_ what is the next step
15:37 Alias_ Well, if you like, you can just start using it now
15:37 kthakore Alias_, 0.42 is old!
15:37 Alias_ But the main release series is currently at 0.52
15:37 Alias_ And trunk is heading towards a 0.53
15:37 kthakore dgeorge29ca_, as a newbie I recommend 0.52 as it has context help!! The greatest feature ever!
15:37 Alias_ oh right
15:37 Alias_ ok
15:37 dgeorge29ca_ ok can i upgrade that in terminal
15:38 Alias_ So next step, uninstall the padre package
15:38 kthakore lol
15:38 Alias_ Which will leave all the main deps installed
15:38 Alias_ Which is what you want
15:38 Alias_ Uninstall only the top level headline package though, not any deps
15:40 Alias_ Once you've done that, run "sudo cpan Padre" from the terminal
15:40 dgeorge29ca_ ok so 0.42 is uninstalled
15:40 Alias_ Oh, do you have make and gcc and etc installed?
15:41 Alias_ The normal C dev tools?
15:41 dgeorge29ca_ i have them
15:41 dgeorge29ca_ terminal working it out here
15:42 Alias_ ok
15:42 Alias_ Let the cpan install run until it stops
15:42 Alias_ And see if you end with errors
15:42 Alias_ If so, we'll work them out
15:42 dgeorge29ca_ k
15:43 dgeorge29ca_ this is somewhat exciting
15:44 kthakore dgeorge29ca_, yay!
15:44 kthakore dgeorge29ca_, it is an adventure :P
15:44 kthakore Alias_, so ... that is a bug right!
15:44 kthakore Alias_, I am going to go eat then make a report or something
15:44 kthakore cya
15:45 dgeorge29ca_ terminal still going
15:48 Alias_ Yep
15:48 Alias_ It's mostly the test suites running
15:49 dgeorge29ca_ ok it stopped
15:49 dgeorge29ca_ i got some errors here
15:49 dgeorge29ca_ Running make install
15:49 dgeorge29ca_ make test had returned bad status, won't install without force
15:50 dgeorge29ca_ Failed test 'STDOUT of Wx/Perl/Dialog/Simple.pm
15:50 dgeorge29ca_ make: *** [test_dynamic] Error 255
15:50 dgeorge29ca_ /usr/bin/make test -- NOT OK
15:50 dgeorge29ca_ Warning (usually harmless): 'YAML' not installed, will not store persistent state
15:51 dgeorge29ca_ Alias_ what do i do now
15:51 tsee Probably: "force install Wx::Perl::Dialog::Simple"
15:52 dgeorge29ca_ not sure what that means
15:52 dgeorge29ca_ what would i need to put into terminal
15:54 kthakore dgeorge29ca_, first do cpan YAML
15:55 kthakore tsee, he is not in the cpan sell
15:55 kthakore shell
15:55 tsee Oh. Sorry.
15:55 dgeorge29ca_ im just in terminal
15:55 dgeorge29ca_ ok kthakore
15:55 tsee dgeorge29ca_, I'll let kthakore handle this then :)
15:56 dgeorge29ca_ Warning: Cannot install yaml, don't know what it is.
15:56 dgeorge29ca_ Try the command
15:56 dgeorge29ca_ i /yaml/
15:57 dgeorge29ca_ the debian package won't install either
15:57 tsee YAML, not yaml.
15:58 dgeorge29ca_ ok installing now
15:58 dgeorge29ca_ done
15:58 dgeorge29ca_ no errors
15:58 Alias_ Lets try this
15:58 Alias_ run...
15:58 dgeorge29ca_ ok
15:58 Alias_ look Padre
15:59 Alias_ then run...
15:59 Alias_ perl Makefile.PL
15:59 Alias_ It should show a list of dependencies that weren't installed
15:59 Alias_ or failed
16:00 tsee dgeorge29ca_, thanks for your patience and persistance.
16:00 dgeorge29ca_ no problem at all
16:00 dgeorge29ca_ this is cool
16:00 dgeorge29ca_ padre
16:00 dgeorge29ca_ padre's
16:00 dgeorge29ca_ padres
16:01 dgeorge29ca_ just let me know what i need to do
16:03 Alias_ Where are you now
16:04 dgeorge29ca_ i typed in look padre
16:04 dgeorge29ca_ got that list above
16:04 dgeorge29ca_ makefile didn't work
16:05 Alias_ look Padre
16:05 Alias_ (capital)
16:06 dgeorge29ca_ i get the same list
16:07 Alias_ Which list?
16:07 dgeorge29ca_ padre
16:07 dgeorge29ca_ padre's
16:07 dgeorge29ca_ padres
16:07 dgeorge29ca_ look Padre
16:07 Alias_ huh
16:08 Alias_ Did you run this from inside the CPAN shell?
16:08 dgeorge29ca_ ok im in terminal
16:08 Alias_ ah
16:08 Alias_ Run "cpan"
16:09 Alias_ And then do look Padre again
16:09 holli joined #padre
16:09 dgeorge29ca_ ok i see a list
16:09 dgeorge29ca_ very long list
16:10 dgeorge29ca_ i am in the padre-0.52-s9mWj3 directory now
16:11 dgeorge29ca_ i see the makefile now
16:11 Alias_ perl Makefile.PL
16:12 dgeorge29ca_ Warning: prerequisite Wx::Perl::ProcessStream 0.20 not found. We have 0.11.
16:12 dgeorge29ca_ Warning, threads::shared has already been loaded.  To
16:12 dgeorge29ca_ enable shared variables, 'use threads' must be called
16:12 dgeorge29ca_ before threads::shared or any module that uses it.
16:12 Alias_ ugh
16:12 Alias_ processstream
16:13 Alias_ ok, exit
16:13 Alias_ run
16:13 Alias_ exit
16:13 dgeorge29ca_ in cpan?
16:13 Alias_ Then when you are back in the CPAN shell
16:13 Alias_ no, from the shell that the look command put you in
16:13 Alias_ exit will take you back to the cpan shell
16:13 Alias_ Then run
16:13 Alias_ force install Wx::Perl::ProcessStream
16:15 dgeorge29ca_ ok it ran through some things here
16:15 dgeorge29ca_ make_test FAILED but failure ignored because 'force' in effect
16:16 dgeorge29ca_ Failed during this command:
16:16 dgeorge29ca_ MDOOTSON/Wx-Perl-ProcessStream-0.22.tar.gz   : make_test FAILED but failure ignored because 'force' in effect
16:18 Alias_ yup
16:18 dgeorge29ca_ lots of errors on this it seems
16:18 Alias_ We'll just hope for the best :)
16:18 dgeorge29ca_ ok what next
16:18 Alias_ look Padre
16:18 Alias_ perl Makefile.PL
16:19 dgeorge29ca_ Found locale    en_US.UTF-8
16:19 dgeorge29ca_ Found wxWidgets 2.801
16:19 dgeorge29ca_ Found Wx.pm     0.91
16:19 dgeorge29ca_ Warning, threads::shared has already been loaded.  To
16:19 dgeorge29ca_ enable shared variables, 'use threads' must be called
16:19 dgeorge29ca_ before threads::shared or any module that uses it.
16:19 dgeorge29ca_ Writing Makefile for Padre
16:19 kthakore sudo make install
16:20 dgeorge29ca_ Alias_ is that what I should do next?
16:20 Alias_ yup
16:20 Alias_ Well
16:20 Alias_ Actually
16:21 Alias_ try just this first
16:21 Alias_ sudo make test
16:21 dgeorge29ca_ Failed test 'STDOUT of Wx/Perl/Dialog/Simple.pm'
16:21 dgeorge29ca_ #   at t/00-compile.t line 44.
16:21 dgeorge29ca_ #          got: ''
16:21 dgeorge29ca_ #     expected: 'ok'
16:21 dgeorge29ca_ Bailout called.  Further testing stopped:  Aborting test suite
16:21 dgeorge29ca_ that is what i got at the end of that mess
16:22 kthakore lol
16:22 kthakore the tests are too intense
16:22 dgeorge29ca_ i have no idea what all this means..
16:23 kthakore dgeorge29ca_, imo just install it and run
16:23 kthakore Alias_, tsee you guys are making this too complicated
16:23 kthakore dgeorge29ca_, sudo make install
16:23 kthakore dgeorge29ca_, then padre
16:23 dgeorge29ca_ sudo make install padre?
16:23 tsee "sudo make install"
16:23 tsee later: "padre" <--- to run it
16:24 Alias_ And lets hope it runs
16:24 dgeorge29ca_ here we go
16:25 dgeorge29ca_ I have a window now
16:25 dgeorge29ca_ padre
16:25 Alias_ awesome
16:25 dgeorge29ca_ very cool icon in my dock now... nice
16:26 dgeorge29ca_ alright.. now what is the next step
16:26 dgeorge29ca_ so i have this installed..
16:28 milenn joined #padre
16:28 kthakore dgeorge29ca_, yay!
16:28 kthakore dgeorge29ca_, now where would you like to begin
16:28 kthakore dgeorge29ca_, I recommend going trough this
16:28 dgeorge29ca_ well i just tested it by running my hello world script
16:28 dgeorge29ca_ it works
16:29 dgeorge29ca_ i like that it has the output at the bottom of the window
16:29 kthakore dgeorge29ca_, \o hi five!
16:29 kthakore dgeorge29ca_, http://perldoc.perl.org/index-language.html
16:29 dgeorge29ca_ yeah i use this in terminal
16:30 kthakore dgeorge29ca_, right
16:30 dgeorge29ca_ so now where do i start
16:30 kthakore dgeorge29ca_, so pick one thing for today I guess
16:30 dgeorge29ca_ ok cool
16:30 dgeorge29ca_ what do u suggest
16:31 kthakore dgeorge29ca_, I perlsyn, perlop perldata
16:31 Alias_ Find a feature you like, then go hunting to find where it's implemented
16:31 dgeorge29ca_ ok cool...
16:31 kthakore dgeorge29ca_, try making a terminal menu program for me
16:31 kthakore Alias_, where is the context help?
16:31 dgeorge29ca_ ok cool... what do i need
16:31 Alias_ dunno
16:31 Alias_ But I need sleep :)
16:32 Alias_ It's 3:30am
16:32 dgeorge29ca_ 1:32am here
16:32 kthakore dgeorge29ca_, perlsyn perlop and perlsub
16:32 kthakore dgeorge29ca_, lol
16:32 kthakore dgeorge29ca_, try that
16:32 kthakore dgeorge29ca_, also use F2 a lot!
16:32 dgeorge29ca_ when you say try that... i don't know what you mean
16:32 kthakore dgeorge29ca_, oh ok
16:33 dgeorge29ca_ i am in perlsyn now
16:33 Alias_ dgeorge29ca_, Perth or Asia?
16:33 dgeorge29ca_ asia
16:33 dgeorge29ca_ korea actually
16:33 Alias_ oh hey!
16:33 milenn_ joined #padre
16:33 Alias_ dgeorge29ca_, so there's one thing you can try
16:33 dgeorge29ca_ ok
16:34 Alias_ View -> Language -> Korean
16:34 dgeorge29ca_ cool it changed all the menus to korean
16:34 Alias_ It looks like it's SLIIIIGHTLY out of date
16:34 Alias_ Translation probably hasn't been maintained for a while
16:35 dgeorge29ca_ im not korean though
16:35 dgeorge29ca_ im from canada
16:35 Alias_ oh, darn
16:35 Alias_ Well, we could also use an American/Canadian translation at some point :)
16:35 dgeorge29ca_ kthakore: i don't know how this is helping me at all
16:36 dgeorge29ca_ cool Alias
16:36 Alias_ Anyways, night
16:36 dgeorge29ca_ night night
16:36 dgeorge29ca_ i need to learn something
16:37 kthakore dgeorge29ca_, right ... you need a program you want to make
16:37 kthakore dgeorge29ca_, then we will make + debug in Padre
16:37 kthakore dgeorge29ca_, use F2 for help
16:37 kthakore dgeorge29ca_, get some sleep
16:37 dgeorge29ca_ what program
16:37 kthakore dgeorge29ca_, anything
16:37 kthakore dgeorge29ca_, hangman game, a simple command line menu anything
16:38 dgeorge29ca_ where do i get this program
16:38 kthakore dgeorge29ca_, http://learn.perl.org/books/beginning-perl/
16:38 kthakore dgeorge29ca_, that works
16:38 kthakore dgeorge29ca_, I gtg bb soon
16:38 dgeorge29ca_ k
16:48 mj41 joined #padre
16:49 kthakore Alias_, did you go to sleep?
16:49 kthakore tsee, hi did you?
16:49 kthakore Getty, hiya
16:49 * Getty hides
16:49 kthakore Getty, um how do I add docs to ship with Padre?
16:49 tsee no.
16:49 tsee I'm just busy.
16:49 kthakore tsee, see above question
16:50 kthakore tsee, oh ok
16:50 tsee Put it in lib/Padre/Some/Thing.pod
16:50 kthakore tsee, I want to put this http://learn.perl.org/books/beginning-perl/ on there
16:50 kthakore tsee can we do that? or license hell
16:50 tsee license hell.
16:50 kthakore crap
16:51 kthakore tsee what if we made just the examples in there for usage?
16:51 tsee Besides. Shipping a whole book with a *program* is just silly.
16:51 kthakore tsee, is it?
16:51 tsee Yes.
16:51 kthakore it will help new ppl
16:51 kthakore ok a plugin then
16:51 kthakore Padre::plugin::beginningperl
16:51 tsee It's a *book*
16:51 kthakore ??
16:51 kthakore fine ..
16:51 tsee You mean take the examples and put them under Padre's examples directory?
16:51 tsee That makes much more sense.
16:52 kthakore yeah that
16:52 kthakore and the examples whould have pod explaination in it
16:53 dgeorge29ca_ on to chapter 2 of the beginning perl book
16:53 dgeorge29ca_ very boring so far
16:53 dgeorge29ca_ strings
16:53 kthakore dgeorge29ca_, heh
16:53 kthakore dgeorge29ca_, if you want fun
16:53 kthakore dgeorge29ca_, make a prgram that reads numbers in string
16:53 kthakore dgeorge29ca_, so input: One Hundred and One
16:53 kthakore output: 101
16:53 kthakore dgeorge29ca_, go make and enjoy :p
16:54 dgeorge29ca_ how do you translate words into numbers
16:54 kthakore dgeorge29ca_, that is for you to find out
16:54 kthakore dgeorge29ca_, I can point you in the right direction
16:54 dgeorge29ca_ would you have to store them in an var
16:54 kthakore dgeorge29ca_, ahh ... :)
16:55 kthakore dgeorge29ca_, ok well try this first
16:55 dgeorge29ca_ ok
16:55 kthakore my $input = 'Hundred';
16:55 kthakore then give $output = 101
16:55 kthakore so you will have a function (called sub in perl) like this number_from_string
16:56 kthakore $output = number_from_string($input)
16:56 dgeorge29ca_ ok
16:56 milenn joined #padre
16:56 kthakore dgeorge29ca_, give it a shot and come back (hint: perl regex)
16:56 kthakore :)
16:57 kthakore tsee, that was the most fun I had with perl when I started :)
16:57 kthakore regex ftw!
16:57 tsee yuck.
16:57 kthakore tsee, why? I like them
16:57 tsee Making people learn regular expressions as the first thing is... sadism.
16:57 kthakore hehe
16:57 kthakore tsee, I hinted
16:57 dgeorge29ca_ im new guys
16:57 kthakore dgeorge29ca_, ok try split then
16:58 tsee Exactly my point.
16:58 kthakore tsee, fine what do you recommend
16:58 kthakore dgeorge29ca_, I am sorry (but I digress it is an awesome thing to learn)
16:58 tsee Nothing. I'm just saying. Regular expressions are difficult beasts to get started with.
16:58 kthakore tsee, ah ok
16:58 kthakore dgeorge29ca_, ok well give it a shot without regex
16:59 dgeorge29ca_ i tell you that  i have built so far... i built one program that takes the a currency trade entry and exit price and calculates the number of profit pips
16:59 kthakore dgeorge29ca_, try to get just one, ten, hundred and thousand
16:59 kthakore dgeorge29ca_, nice in perl?
16:59 dgeorge29ca_ yep..
16:59 dgeorge29ca_ its was very easy... using <STDIN>
16:59 kthakore dgeorge29ca_, good!
17:00 kthakore next get comfotable with array and hashs
17:01 kthakore oh no ... I just realize this is way of topic
17:01 dgeorge29ca_ i have test connecting to a database and getting information with perl that seems interesting to me
17:01 kthakore dgeorge29ca_, nice!
17:01 dgeorge29ca_ what I am thinking that i could build a forex trade tracker using mysql and perl
17:02 dgeorge29ca_ yeah i know... sorry
17:02 kthakore dgeorge29ca_, nice! make your own or use this http://search.cpan.org/~edd/Finan​ce-YahooQuote-0.22/YahooQuote.pm
17:02 kthakore dgeorge29ca_, read the code in that
17:02 kthakore dgeorge29ca_, I don't think anyone minds
17:03 kthakore tsee, right?
17:03 tsee ?
17:03 dgeorge29ca_ i really don't need it for this program... because the entry values will be typed in after the trade has been completed
17:03 kthakore dgeorge29ca_, ah ok
17:03 dgeorge29ca_ and the profit and loss will update when those values are placed
17:04 kthakore look at DBD::MySQL and DBI
17:04 kthakore tsee, super off topic
17:04 dgeorge29ca_ yep i have been looking at that.. first connection script to my localhost and mysql worked
17:04 kthakore dgeorge29ca_, \o hui five
17:04 kthakore hi five
17:04 kthakore dgeorge29ca_, good luck I am going to go study
17:04 dgeorge29ca_ ok cool
17:04 kthakore dgeorge29ca_, I will be around
17:05 kthakore dgeorge29ca_, talk to me in #sdl
17:05 kthakore tsee, cya
17:09 rindolf joined #padre
17:47 jq joined #padre
18:15 Hyppolit svn: r9798 | szabgab++ | http://padre.perlide.org/trac/changeset/9798
18:15 Hyppolit replace hard-coded values by call to function
18:15 Hyppolit trunk/Padre/lib/Padre/Task/ trunk/Padre/lib/Padre/Wx/
18:24 Sewi joined #padre
19:20 isec joined #padre
19:37 robn joined #padre
19:42 Sewi_Ubuntu joined #padre
19:52 holli joined #padre
22:04 Sewi gn8
22:15 kent\n joined #padre
23:46 kentnl joined #padre

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