Camelia, the Perl 6 bug

IRC log for #padre, 2012-09-11

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

All times shown according to UTC.

Time Nick Message
00:10 bowtie &
01:08 LeK1 joined #padre
03:16 Di-ima joined #padre
04:21 sewi joined #padre
05:50 arpadszasz joined #padre
06:11 stkowski joined #padre
06:41 [Sno] joined #padre
07:22 Di-ima joined #padre
07:37 azawawi joined #padre
07:37 azawawi gm
08:02 dod hello
08:03 azawawi hey
08:03 azawawi been reading in the morning about Safe.pm
08:03 azawawi and experimenting with it for Farabi...
08:05 azawawi dod: btw, any chance you could test/package Wx::Scintilla 0.39?
08:11 dod According to the changelog, 0.39 provides only build fixes. So I don't see the point of packaging it.
08:11 azawawi cool
08:11 azawawi i like the Debian approach :)
08:11 dod :-)
08:11 dod We tend to be quite conservative, even more so during freeze period
08:12 azawawi did you try Safe in Perl?
08:12 azawawi is it wise to enable it in Farabi?
08:12 azawawi i know the RISKS
08:12 dod No I've never tried Safe.
08:13 * azawawi pastes a sample
08:14 azawawi http://pastie.org/pastes/4700305/text
08:15 azawawi basically :base_core is default...
08:15 azawawi https://metacpan.org/module/Opcode  # Opcodes to permit/deny
08:18 dod Why do you want safe in farabi ? AFAIK, you run only your farabi code on your server ...
08:18 azawawi right now i have run in browser which uses Perlito 5 -> Javascript runtime
08:19 azawawi i wanted to add 'run perl script' which uses a perl on your system
08:19 azawawi but in the end...
08:20 azawawi having it exposed over the web means = security risk
08:20 azawawi ofcourse you can jail the farabi process and ulimit it
08:20 azawawi but it is a security risk if i enable such a feature
08:21 azawawi im just throwing ideas here ofcourse
08:21 azawawi to get feedback
08:22 dod safe won't protect your server from a "while (1) { } "
08:22 azawawi ofcourse...
08:22 azawawi https://metacpan.org/module/Safe#RISKS
08:23 dod My advice is: getting a useful editor will be hard enough, let user run code on their side ...
08:24 dod Even if users have no evil intentions, farabi *will* be run by Perl beginners. Their (honest and normal) mistakes may bring your server down.
08:24 dod and what about perl dependencies ? How do you make them available on your server ?
08:29 bowtie joined #padre
08:29 bowtie gm
09:02 azawawi dod: sorry i was away a bit
09:03 azawawi dod: if i implement all of the perlito IO layer. We can theoritically make compile other modules...
09:04 azawawi dod: but Perlito is still growing with fglock++ work
09:04 azawawi you got to start somewhere in the end :)
09:21 dod sorry, I was busy reading "javascript: the good parts" book...
09:22 dod azawawi: I understand. I'm just worried that you won't control what perl code will run in perlito, and users will expect their code to just work.
09:56 azawawi dod: yeah true
09:56 azawawi dod: and when it doesnt work, the perception is that Perl doesnt work...
09:59 dod that's what I'm afraid of.
09:59 bowtie azawawi, f-172, I like the about dialog, but did help really need to be two clicks away
10:03 azawawi experimenting :)
10:04 azawawi im also experimenting with using the full width of the browser screen
10:04 azawawi basically tab-based approach...
10:04 azawawi Develop tab, Documentation Tab, CPAN tab... ..
10:05 azawawi the dialog approach has its cons and pros
10:05 azawawi but full screen mode is way better
10:12 azawawi i need to talk to fglock about how complete is Perlito
10:12 azawawi that is what can you do with it
10:12 azawawi and what you cant
10:12 azawawi the limits
10:14 bowtie azawawi, fglock came here yesterday, and left you a message
10:15 sugar joined #padre
10:22 azawawi yeah i know about IO layer and i implemented some :)
10:22 bowtie cool
10:25 fglock joined #padre
10:25 fglock hi
10:25 bowtie azawawi, boo
10:26 azawawi hehe
10:26 azawawi hey
10:26 azawawi we were just talking about you :)
10:26 fglock azawawi: I was reading the logs
10:26 ServerSa_ joined #padre
10:26 fglock there is a list of what works and what doesn't: https://github.com/fglock/Perlit​o/blob/master/README-perlito5-js
10:26 azawawi sorry i had to leave yesterday... I got sleepy and then i woke up later lol
10:27 * azawawi reads
10:28 fglock for example, I couldn't find how to implement "sleep()" in javascript yet
10:29 azawawi hmmm
10:29 azawawi recursive setTimeout?
10:31 azawawi sleep = browser hang = Stop current script confirm dialog...
10:33 azawawi i was thinking also of web workers
10:34 sugar in js no sleep
10:34 azawawi http://en.wikipedia.org/wiki/Web_worker
10:34 azawawi + while(... time) loop
10:34 sugar only callback at timeout
10:37 fglock a 'while' loop wold kill the cpu (and the device battery) :P
10:38 sugar yes, and hangs up ui scripts
10:38 * azawawi looks up web worker spec
10:39 fglock 'web worker' could be used to implement fork()
10:39 azawawi start main web worker.. fire sleep web worker... wait for it?
10:40 azawawi but web worker = no DOM access unless using messages
10:40 ServerSage joined #padre
10:41 azawawi fglock: so what would you ike Perlito to be in the end?
10:41 azawawi fglock: i see many runtimes
10:43 fglock it is a perl compiler written in perl - it can run in basically any place that has enough memory
10:43 azawawi i see.. brb
10:44 fglock most runtimes are proof of concept, just to see how far it can go, what the problems are
10:46 ServerSa_ joined #padre
10:46 azawawi i see
10:52 azawawi is there a debugger for Perlito 5?
10:54 fglock no, not yet (not in the javascript backend)
10:54 fglock I just use the normal perl debugger (and NYTProf)
10:54 fglock but a debugger in the browser would be cool
10:55 azawawi but we can ofcourse add breakpoint checkers statements
10:55 azawawi s/checkers/checker/
10:55 azawawi it will slow things down but hey you're debugging :)
10:56 fglock # lunch
10:56 azawawi have fun!
11:52 botbot Welcome sivoais
15:15 elcaro joined #padre
15:16 elcaro Hi there
15:16 elcaro I installed padre 0.94 today Win32 version on my Win7 x64 PC.
15:17 elcaro But once in a while, padre crashes while I press the semi-colon at the end of a line of code. Can anyone please help? I googled but could not find anything relevant. Thanks in advance
15:40 elcaro joined #padre
15:41 elcaro help
15:46 sivoais joined #padre
15:47 bowtie elcaro, hi
15:49 bowtie elcaro, strawberry or active perl
15:55 elcaro strawberry
15:55 elcaro i installed the DWIM Perl package
15:56 bowtie ok, bear with me while I check something
15:56 elcaro actually, I can execute the code most of the times, but once in a while, it crashes,
15:56 elcaro thank you bowtie
15:57 elcaro to add, just found out that DWIM has Padre 0.94 while the latest is 0.96, I am now attempting to use cpanm to upgrade Padre
15:59 bowtie elcaro, ok,
15:59 bowtie did you look at -> http://padre.perlide.org/trac/ticket/1422
15:59 bowtie there are a few more in our trac ticket system
16:02 elcaro ok, i have not got this particular error, but I checked and see only perl514.dll installed.
16:02 elcaro let me look the trac for anything relavant.
16:02 bowtie elcaro, as I am linux bod, I need to ask you to open a new ticket if you don't mind, re this issue, and I will then ...
16:04 elcaro ok, guess I can do that, btw, upgraded to Padre 0.96 and I am not seeing the issue ( so far)...If i do see this again, I will open a new ticket
16:04 bowtie that's good news
16:04 elcaro thank you for the prompt help :)
16:09 kaare__ joined #padre
16:21 jwb01 joined #padre
16:33 user_8088 joined #padre
16:33 botbot Welcome user_8088
16:46 stkowski joined #padre
16:47 patspam joined #padre
17:41 ServerSage joined #padre
18:14 azawawi joined #padre
20:11 azawawi joined #padre
20:35 azawawi bowtie: ping
20:35 azawawi hi everyone
20:49 stkowski joined #padre
20:57 bowtie azawawi, opps, I was going to say pong :)
23:18 perlite joined #padre
23:21 patspam joined #padre
23:27 ingy joined #padre
23:33 mj41 joined #padre
23:53 bowtie mj41, hi

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