Camelia, the Perl 6 bug

IRC log for #padre, 2009-10-19

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

All times shown according to UTC.

Time Nick Message
00:31 CSJewell_ joined #padre
00:33 Haarg joined #padre
01:59 mohsen joined #padre
02:25 patspam1 joined #padre
02:51 mohsen1 joined #padre
03:27 nobody joined #padre
03:31 nobody joined #padre
03:31 nobody joined #padre
03:32 nobody joined #padre
03:34 nobody Padre-0.48/blib/script/padre.exe.bat
03:39 nobody install_script expects scripts, runs through pl2bat, installs into blib/script, padre.exe needs to go into blib/bin
03:39 nobody for makemaker the argument is called EXE_FILES
03:43 shadowpaste "nobody" at 99.29.240.79 pasted "tweak for Makefile.PL" (6 lines) at http://scsys.co.uk:8001/35102
04:09 mib_lz4jvf joined #padre
04:24 szabgab good morning, apparently nobody was here a few hours ago :-)
04:31 zloyrusskiy joined #padre
04:55 Sewi joined #padre
04:56 Sewi good morning
04:59 zloyrusskiy greetings
05:02 MMSH joined #padre
05:03 patspam joined #padre
05:51 zloyrusskiy joined #padre
05:55 zloyrusskiy joined #padre
05:56 zloyrusskiy joined #padre
06:00 kaare joined #padre
06:00 patspam joined #padre
07:02 [1]awnstudio joined #padre
07:26 JRWeiss joined #padre
07:44 daxim joined #padre
09:14 waxhead joined #padre
10:04 Haarg joined #padre
10:20 code4pay joined #padre
10:38 SvenDowideit joined #padre
11:07 waxhead joined #padre
11:55 waxhead joined #padre
12:00 kthakore Sewi: /win2
12:01 kthakore szabgab: around?
12:01 kthakore szabgab: I managaged to make Padre die on memory
12:02 kthakore szabgab: its a combo of having 3 10000 line files open and writing continous output the Wx Terminal
12:02 kthakore szabgab: and its real slow
12:03 kthakore szabgab: are there any good function only modules with low deps on anything else and are pretty stable now
12:03 kthakore that might be good candidates for XS?
12:35 Sewi hi
12:54 Sewi kthakore: I'll look at your patch later, need to do some work atm
13:18 awnstudio joined #padre
13:27 mj41_ joined #padre
13:30 kthakore Sewi: hi
13:30 kthakore Sewi: np
13:45 Hyppolit svn: r8833 | Sewi++ | http://padre.perlide.org/trac/changeset/8833
13:45 Hyppolit Run make and TDD tests (kthakore++)
13:45 Hyppolit trunk/Padre/lib/Padre/Action/ trunk/Padre/lib/Padre/Wx/ trunk/Padre/lib/Padre/Wx/Menu/
13:46 Hyppolit svn: r8834 | Sewi++ | http://padre.perlide.org/trac/changeset/8834
13:46 Hyppolit Updated Changes
13:46 Hyppolit trunk/Padre/
13:46 Sewi kthakore: You patch is working and online.
13:46 kthakore yay!
13:46 kthakore TDD for the win
13:47 kthakore Sewi: is there a way to run perl Build.PL or perl Makefile.PL from the run menu?
13:49 Sewi Not currently but I'm unsure if this is useful without a "run project"
13:51 awnstudio joined #padre
14:07 Haarg joined #padre
14:09 PacoLinux joined #padre
14:23 * Sewi &
14:50 kaare joined #padre
15:02 dapatrick joined #padre
16:34 CromeDome joined #padre
16:56 Sewi no1 here?
17:00 * garu waves
17:00 Sewi Hi garu :-)
17:00 garu hi Sewi :)
17:03 * Sewi needs to commit something to make at least Hyppolit say something :-)
17:11 kthakore hi garu
17:12 kthakore hi Sewi
17:12 kthakore Sewi: I managaged to make Padre die on memory. its a combo of having 3 10000 line files open and writing continous       output the Wx Terminal
17:12 kthakore Sewi: are there any good function only modules with low deps on anything else   and are pretty stable now
17:12 kthakore Sewi: that might be good candidates for XS?
17:13 Sewi Most things are using XS alreday
17:13 Sewi already
17:13 kthakore then why the mem death
17:14 kthakore what if we had like a cap on Wx Terminal output?
17:14 Sewi Look at ulimit -a and ps u for the process
17:14 kthakore say a 10 linue?
17:14 kthakore oops
17:14 Sewi 10 is a bit few
17:14 kthakore 10 000 lines on the output
17:14 kthakore Sewi: :P
17:14 kthakore or maybe 1000 ?
17:14 Sewi better
17:15 kthakore how I do that for my Padre I have now?
17:15 kthakore I will submit patch later but I sort of need this for now. (or rather my Co-worker does)
17:16 kthakore Sewi: also thank you soooooo much for accepting my patch
17:16 Sewi kthakore: You're welcome.
17:16 kthakore Sewi: that finally made me to switch from notepad++ to Padre
17:17 kthakore the build thing
17:17 kthakore on Windows
17:17 Sewi Before we continue with this, may anybody of you try out #701 (if you're using Win != 7) and comment on it, please?
17:17 Hyppolit #701: Printing on Win(7) doesn't work (new defect) [ http://padre.perlide.org/trac/ticket/701 ]
17:17 kthakore still using Vim at home
17:17 kthakore :)
17:18 Sewi kthakore: I'ld prefer a dynamic limit which is calculated based on the ram which padre could use, but this is hard to do
17:18 Sewi Or - better - use a disk cache for too big outputs.
17:18 kthakore Sewi: well padre can tell ram right?
17:18 * Sewi trying to kill Padre using Wx Output window.
17:18 kthakore Sewi: ooh disk cache is unix style
17:18 kthakore Sewi: you need files open too
17:19 kthakore here let me give you what I was running
17:20 Sewi for (1..1000000) { print...
17:21 Sewi 142MB mem for 400k lines output atm
17:21 Sewi Sorry, 40k
17:22 kthakore yup that was my limit too
17:22 kthakore I have RAM:
17:22 kthakore 81.7MB
17:22 kthakore eww :(
17:22 Sewi 152 for 70k
17:22 kthakore work comp sucks
17:23 kthakore I got to ~25K
17:23 Sewi You're on win, right?
17:23 kthakore a disk cache should be good for this
17:23 kthakore Win
17:23 kthakore yes
17:23 Sewi Ubuntu here
17:23 kthakore oh
17:23 kthakore so its cross platform eh ?
17:23 kthakore how does info in about know Ram ?
17:24 kthakore can we just use this ration 10,000 lines / 80 MBs of ram
17:24 kthakore s/ration/ratio
17:24 kthakore everything else is cached?
17:25 Sewi I'ld say 64k lines (to have a computer, not human limit :-) ) and everything else is either written to a temp file or deleted
17:26 Sewi 185MB on 170k lines
17:27 kthakore Sewi: so 1MB per Line ?
17:27 kthakore wth is your data structure for WxOutput if you don't mind me asking
17:27 kthakore that kind of sucks
17:28 Sewi no, Padre without Plugins = ~66MB with one empty document (Ctrl-N)  ~102MB
17:28 kthakore wow!
17:28 kthakore thats insane for a text editor
17:28 Sewi ~203 MB for 230k lines
17:29 Sewi kthakore: Padre is no text editor, it's an IDE! :-)
17:29 kthakore Sewi: ohhhhh sorry ... still thats insane for any program
17:29 kthakore idle p 102 mb
17:29 kthakore wtf
17:29 Sewi lol? MS software usually eats this amount for splash :-)
17:30 kthakore I know
17:30 kthakore but my Vim uses 4 MB maybe at Idle
17:30 kthakore :{
17:31 Sewi But (even if I don't like this point of view) RAM is plenty on modern computers. 1 GB is "few" nowadays
17:31 kthakore I know
17:31 Sewi 226MB for 300k lines
17:31 kthakore sorry I am C prog so Mem is big deal to me sorry
17:33 Sewi kthakore: me too, I'm maintaining a project which runs a Cluster using Perl and we were hunting for ms there - something "modern JAVA developers" usually don't understand :-)
17:35 Sewi kthakore: Could you try out #701 on your Win, please, and add a comment?
17:35 Hyppolit #701: Printing on Win(7) doesn't work (new defect) [ http://padre.perlide.org/trac/ticket/701 ]
17:35 kthakore Sewi: ooh which project is this?
17:35 Sewi kthakore: A commercial one, nothing public
17:35 kthakore I want to do a CUDA rendering cluster with CUDA perl for my 4th year
17:36 kthakore [Disclaimer]CUDA perl doesn't exist yet btw
17:38 kthakore Sewi: truth is I want to do too many god damn things and I don't think I have enough lives to do this stuff
17:39 kthakore Sewi: ok I go make pong, let me know if you make that ticket or do any disk cache thingy
17:42 Sewi 322 MB 600k lines
17:43 Sewi kthakore: Same for me, I got too many project ideas but these days here got only 24 hours which is not enough time :-)
17:46 kthakore :) I feel the pain brotha
17:52 Sewi 406MB for 860k lines
17:53 kthakore Sewi: are you still counting that ?
17:53 kthakore Sewi: why?
17:53 kthakore Just to put something in here?
17:53 kthakore :P
17:59 CromeDome joined #padre
18:04 Sewi 445MB for 1M lines
18:04 * Sewi eating
18:06 szabgab there is an example of a very simple editor among the examples you could try the memory usage with that one to see if what is eating the memory is Scintilla
18:07 szabgab because that already uses Scintilla but is not threaded yet
18:07 szabgab and most of the features of padre are not in it
18:24 rindolf joined #padre
18:25 rindolf Hi all.
18:53 Sewi Hi rindolf
18:53 rindolf Sewi: hi. What's up?
18:54 Sewi rindolf: Just saying hi to give some life to the channel :-)
18:54 rindolf Sewi: OK.
18:54 rindolf Sewi: self-referential.
18:54 rindolf I went biking today.
18:54 rindolf It was kinda hot, but riding was nice.
18:54 rindolf I'm now very calm.
18:55 Sewi Which country are you from?
18:55 rindolf Sewi: Israel, and I live in Tel Aviv.
18:58 Sewi rindolf: Good reason why it's hot where you are :-)
18:59 rindolf Well, we had a heat wave.
18:59 rindolf What we call a "Hamsin"
19:00 kthakore hi rindolf
19:00 rindolf After the 50 days between Passover and Shavu'oth.
19:00 rindolf Hi kthakore
19:00 rindolf kthakore: aren't you the perl-SDL guy?
19:00 kthakore rindolf: yes I am :)
19:01 kthakore rindolf: I got my co-workers to switch from Java to Perl using Padre's help
19:01 kthakore rindolf: so I am on here now
19:01 rindolf kthakore: ah, interesting.
19:02 rindolf kthakore: what were they using Java for that Perl is a useful alternative?
19:30 calderman joined #padre
19:36 kthakore rindolf: batch jobs
19:36 kthakore Java is horrible for batch jobs
19:36 rindolf kthakore: ah.
19:36 rindolf kthakore: I see.
19:36 rindolf Heh, yeah.
19:36 kthakore rindolf: basically   get data from DB dump to environment
19:37 kthakore rindolf: I got sick of writing 10 gazillion lines of Java_oop_craplacular_line_of_the_behemoth_who_​will_rape_you_in_the_eyeballs_abstrat_factory
19:37 kthakore just to do this
19:38 kthakore while(<>){ print FH $_; }
19:38 rindolf kthakore: heh.
19:38 kthakore FUCK THAT
19:38 rindolf kthakore: yes. Java. "Money-oriented programming."
19:38 kthakore rindolf: the java vendor from sun got pissed at me
19:38 kthakore rindolf: thats when I knew I made the right choice
19:38 kthakore to fight for this
19:39 kthakore when I pissed someone off
19:42 kthakore rindolf: thats why I learned Perl, then I wanted to make game, and now here I am SDL PErl!!
19:42 cfedde and the rest is history.
19:42 kthakore cfedde: or the soon to be future
19:44 rindolf kthakore: cool.
19:44 kthakore rindolf: yup
19:44 rindolf kthakore: there used to be a lot of perl code on java.sun.com
19:44 rindolf On the web-service I mean.
19:45 kthakore really? did they phase it out for JSP or whatever crap they have now
19:45 rindolf kthakore: don't know.
19:45 rindolf kthakore: Java code always feels sluggish to me.
19:45 rindolf Mono seems to be much better in this regard.
19:46 kthakore rindolf I don't mind using Java or Mono or Whatever as long it was meant for the job
19:46 rindolf kthakore: yes.
19:46 rindolf I once tried to do some text processing in Mono.
19:46 kthakore Java is too verbose for a 10 second script I may or may not run after 2 weeks
19:46 kthakore rindolf: I shudder at that thought
19:47 rindolf I tried to replace a God-awful ad-hoc parser with something more reasonable.
19:47 rindolf And I gave up on ANTLR pretty quickly.
19:47 * kthakore *shudders*
19:47 rindolf Well ANTLR+generating Mono code.
19:47 kthakore rindolf: my co-worker just laughed at you :P
19:47 rindolf kthakore: it was for F-Spot which is written in Mono.NET.
19:47 rindolf And gtk#
19:48 kthakore rindolf: I use ANTLR+mono for magic the gathering game in my 3rd year project it was bad
19:48 rindolf kthakore: ah.
19:48 rindolf kthakore: s/use/used/ # May I correct your English?
19:48 kthakore rindolf: thanks
19:49 kthakore rindolf: My co-worker is still laughing at you for ANTLR, becuase he is so happy he doesn't have to do that now
19:49 kthakore s/becuase/because
19:49 rindolf Someone once gave me a .NET program he asked me to try running. So I unpacked it in an underprivileged user and tried to run it and got something like "Cannot access /home/cpan/download/programs/mydir\\hello\\there"
19:50 rindolf And naturally , the path with \\ does not exist.
19:50 rindolf kthakore: :-)
19:50 rindolf kthakore: I think ANTLR can also do Python and Ruby and has a Perl interface underworks.
19:50 rindolf kthakore: I gave up on creating a Perl backend for GNU bison. m4 madness.
19:50 kthakore rindolf: lol
19:51 rindolf m4--
19:51 kthakore ANTLR + perl I might be interested
19:51 rindolf Of course, I've witnessed someone writing some Win32-only Perl code.
19:51 kthakore rindolf: but I am finding I can make up any ad hoc parser easy with Perl+JSON where JSON acts as the 'source' for any data
19:52 kthakore rindolf: how did that go?
19:52 rindolf kthakore: how did what go?
19:52 rindolf kthakore: ad-hoc parser for which format?
19:53 rindolf A custom format?
19:53 kthakore custom
19:53 rindolf I wrote a few ad-hoc parsers.
19:53 kthakore rindolf: most of the scripts we right are like 1-10 time use of the seat of our pants hacking
19:53 kthakore rindolf: I likes it :)
19:54 rindolf One to replace a really hideous one written in Parse::RecDEscent.
19:54 rindolf kthakore: s/right/write/
19:54 kthakore no debugger to spoil you, extreme time limits, can't make mistakes so on
19:54 kthakore rindolf: thanks
19:54 kthakore s/likes/like
19:54 rindolf kthakore: s/I likes/I like/
19:54 rindolf yes.
19:54 kthakore lol :P
19:54 kthakore s/yes./yes
19:54 kthakore fragment
19:54 rindolf I likes it is in LOL-speak.
19:54 kthakore I am lol speaking
19:55 rindolf I can haz cheezeburger.
19:55 kthakore no
19:55 kthakore you can haz bouncy http://www.youtube.com/watch?v=W0wdkKB0lvg
19:55 rindolf kthakore: can's'z i?
19:55 kthakore wtf?
19:55 kthakore rindolf: join us on #sdl
19:55 kthakore its too quite there too
19:56 kthakore it is
21:28 SvenDowideit joined #padre
21:30 awnstudio joined #padre
21:37 Sewi left #padre
21:37 Sewi joined #padre
22:48 cognominal joined #padre
22:52 cognominal joined #padre
23:02 patspam joined #padre
23:20 CromeDome joined #padre
23:57 tokuhirom_________ joined #padre

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