»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend! Set by sorear on 4 February 2011. |
|||
00:04
donri left
00:05
takadonet1 joined
|
|||
takadonet1 | ping * | 00:05 | |
TimToady | Error: can't ping * without root privs | 00:06 | |
takadonet1 | sudo ping * | ||
TimToady | pong | ||
00:06
rdesfo joined
00:07
dayangkun_ left
|
|||
takadonet1 | TimToady: how are you sir? | 00:08 | |
TimToady | my wrist has improved to the point it doesn't feel like my hand is gonna fall off just yet | 00:11 | |
00:12
justatheory left
|
|||
takadonet1 | TimToady: Good to hear. | 00:12 | |
TimToady | that too | 00:13 | |
I've been wearing earplugs to keep it that way :) | |||
TimToady has been tearing siding off his house, hence the connection... | |||
takadonet1 | hehe | ||
00:17
dayangkun joined
|
|||
sjohnson | wrists hurt from all that perl hacking | 00:18 | |
00:20
Rotwang joined
|
|||
sorear | good * #perl6 | 00:21 | |
takadonet1 | sorear: yo yo ! | 00:22 | |
00:24
ymasory joined
00:32
dayangkun left
00:37
justatheory joined
00:43
dayangkun joined
00:45
am0c left
00:56
geekosaur left
01:07
rdesfo left
01:10
allbery_b joined
01:11
Rotwang left
01:12
uvtc joined
|
|||
uvtc | TimToady and sjohnson: just to chime in about the wrist pain -- if it's related to possible RSI, what's helped me greatly is one of these kinesis-ergo.com/contoured.htm | 01:13 | |
along with a trackpad mounted in the middle. | |||
01:13
xinming_ left
|
|||
uvtc | I think I actually emailed TimToady a long time ago about it actually. (I've got no connection with the company other than buying a couple of them.) | 01:14 | |
Most important was to have it low enough (ex. on your lap) so your wrists can hangdown just a bit. Anyway, hth. | 01:16 | ||
01:19
xinming joined
01:20
stkowski left
01:22
dayangkun_ joined
01:25
dayangkun left
01:33
nnunley joined
01:36
ymasory left
01:39
dayangkun__ joined
01:43
dayangkun_ left
|
|||
benabik | I used a Kinesis for a long time, they're very nice. | 01:47 | |
Tene | uvtc: I've been curious about trying one of those. | ||
01:47
dayangkun_ joined
01:50
dayangkun__ left
01:51
uvtc left
01:56
uvtc joined,
alester joined
|
|||
uvtc | Tene: they're pretty amazingly comfortable. One possible drawback is that they have only a tiny rubber chicklet Esc key (along with the F-keys). | 01:57 | |
When using vim, I used ^[ in place of Esc though, and it was fine. | |||
02:00
dayangkun_ left
|
|||
uvtc | The keys though to avoiding hand pain is to have it low (as I mentioned), and also the use of a trackpad so you can avoid touching a mouse. | 02:00 | |
02:00
dayangkun_ joined
|
|||
benabik | I used a Kinesis and a trackball. Worked lovely. then I stopped using a desktop. | 02:04 | |
02:07
whiteknight left
|
|||
TimToady | my problem is not with keyboards--it's with crowbars | 02:08 | |
uvtc | benabik: I'm on a laptop. Using the Contoured/Advantage kybd externally (via USB). Hardly ever touch the built-in keyboard. Trouble is, I'm pretty stranded if I need to work somewhere and haven't brought the keyboard with me. | ||
benabik | TimToady: Don't hit your wrist with a crowbar. That's bad. | ||
uvtc: Since I don't have a desk dedicated to my computer, I don't have a good place to use the keyboard. | 02:09 | ||
uvtc | benabik: Ah. Mine generally either stays on my lap, or on top of the laptop when it's folded closed. If I had no room, I'd probably try to figure a way of hanging it on a wall somewhere. :) | 02:11 | |
benabik | uvtc: Mine also has a... problem. I bought it back when they had lifetime support, but proving that is always an issue, since I can no longer read the serial number. | ||
uvtc | TimToady: I'd suggest that typing with a crowbar is probably suboptimal. | ||
Tene | I spend most of my time with my feet up on my desk, leaning back in my chair, with the keyboard in my lap. | ||
uvtc | TimToady: ;) | 02:12 | |
Tene | It's not great, but it's the most comfortable I've been able to manage. | ||
benabik | Mine is also PS2 interface, which sucks. | ||
Tene | Sitting like my co-workers do, straight up in my chair with keyboard on the desk and my legs hanging down on the floor gets very uncomfortable for me pretty quickly. | ||
uvtc | benabik: Ah, yeah, the newer ones are USB. I've got an older PS2 model as well as a USB. | 02:13 | |
02:13
am0c joined
|
|||
Tene | The best I can do similar to that is with my legs folded under me, up on the chair, but then I lose circulation, so when I have to sit like that, I alternate legs back and forth between up and down, which gets pretty annoying to need to do. | 02:13 | |
uvtc | Tene: I've used a footstool in the past to help level things out. Putting the feet up once in a while sounds good for circulation. | 02:14 | |
flussence_ | I got a new mouse today... and it ended up having terrible surface detection and sufficiently high friction on the loose slide-out keyboard thing on my desk as to be completely useless. | 02:15 | |
(guess I need a better desk) | |||
uvtc | flussence_: the trackpad is less accurate and slower than the mouse, but it's saved my mouse-button finger/hand. | 02:16 | |
Tene | at home I've got this couch, and I sit on the extended section with my legs up. www.ikea.com/us/en/images/products/...824_S4.JPG | 02:17 | |
... I should probably ask a doctor to look into circulation problems or something someday. If I could be comfortable with my legs hanging down, that would be very convenient. | 02:18 | ||
benabik | I had a pretty high accuracy trackball. Had a cutout on the side that let me hold it with finger and thumb. | 02:19 | |
uvtc | Tene: you might try the footstool idea (along with a regular chair) to see if it works for you. | ||
Tene | uvtc: ah, you mean a small stool underneath my desk? I hadn't considered that... | ||
that might work. :) | 02:20 | ||
I also should try a standing desk someday; I expect to hate it, but it's worth trying. | |||
02:20
mtk left
02:29
mtk joined,
takadonet1 left
|
|||
sorear | good * #perl6 | 02:35 | |
02:35
Eevee left
|
|||
colomon | \o | 02:39 | |
02:47
Eevee joined
02:49
uvtc left
02:52
leprevost joined
|
|||
sorear | o/ colomon | 02:52 | |
02:54
alester left,
leprevost left,
hudnix left
03:15
dayangkun_ left
03:16
dayangkun_ joined
03:27
Su-Shee joined
03:46
zer0o left
03:56
envi joined
03:59
orafu left,
orafu joined
04:01
satyavvd joined
04:13
nymacro joined
04:15
dayangkun_ left,
dayangkun_ joined
04:18
daemon joined
04:28
kaare_ joined
|
|||
daemon | hey all I am new to perl6 even though I do use perl 5 quite alot .. there is parrot and rukudo... if I understand this correctly they are the current compiles for perl6; which one is turnning out to be the more popular | 04:32 | |
compilers* | |||
Eevee | parrot is a virtual machine that rakudo runs on | 04:34 | |
daemon | go it | ||
just read it in ports descr | |||
Eevee | parrot doesn't understand perl 6 and rakudo doesn't work without parrot | 04:35 | |
04:40
kanishka joined
04:41
birdwindupbird joined
|
|||
sorear | rakudo is a compiler which turns Perl 6 into Parrot bytecode | 04:48 | |
Parrot is a VM which Rakudo's output runs on | |||
04:50
woosley joined
04:53
Mowah joined
04:56
kanishka left
|
|||
sorear | daemon: do you follow? | 05:00 | |
daemon | sorear, certainly do | 05:04 | |
its like erlang and BEAM | |||
the language runs in a virtualized enviromen | |||
t | |||
sorear | Almost. | 05:05 | |
Parrot is designed to be a reusable component (there is a pretty good Lua compiler, and several other things in various states of completeness) | |||
And Perl 6 has several implementations, only one of which targets Parrot. | 05:06 | ||
05:06
dual left
05:10
dayangkun_ left
05:11
dayangkun_ joined
05:12
dual joined
05:14
sftp left
05:21
sufrostico joined
|
|||
sufrostico | hello! dumb question... arew you using .pl as perl6 file extension or the traditional .pl ?? | 05:22 | |
tadzik | usually .pl | ||
sufrostico | I mean, .p6 or .pl | ||
tadzik | or .pl6 :) | ||
sufrostico | nice | 05:23 | |
thanks | 05:27 | ||
05:33
Mowah left
|
|||
tadzik | you're welcome | 05:39 | |
05:41
flatwhatson left
05:59
kanishka joined
06:11
kanishka left
06:21
Mowah joined
06:24
dayangkun__ joined
06:25
dayangkun_ left
06:26
kanishka joined
06:28
Su-Shee left
06:29
dayangkun__ left
06:30
dayangkun joined
|
|||
dalek | ecza: 3074e34 | sorear++ | / (6 files): [mmd] Compiler support for multisubs |
06:30 | |
06:34
kanishka left
06:41
justatheory left,
justatheory joined
06:46
justatheory left
|
|||
dalek | ecza: c464669 | sorear++ | / (2 files): [mmd] Finish "multi sub"s |
06:48 | |
06:57
cottoo left
06:58
flatwhatson joined
06:59
flatwhatson left
07:02
flatwhatson joined
|
|||
dalek | ecza: f40836b | sorear++ | / (2 files): [mmd] Fixes for "my multi regex" |
07:07 | |
sorear -> sleep | 07:08 | ||
07:31
mj41 joined
07:34
jaldhar joined
07:42
fhelmberger joined
|
|||
dalek | ast: 2b4b33c | moritz++ | S03-operators/range-basic.t: [range-basic.t] fudge for niecza |
07:56 | |
07:57
proller_ left
|
|||
moritz | phenny: tell sorear to run t/spec/S06-multi/type-based.t in niecza - 'Unhandled exception: Unable to resolve method ast in class Any' at /home/moritz/p6/niecza/src/NieczaActions.pm6 line 212 (NieczaActions NieczaActions.mangle_longname @ 5) (seems to be triggered by param parsing code) | 07:59 | |
phenny | moritz: I'll pass that on when sorear is around. | ||
moritz | phenny: tell sorear that bug seems to prevent compilation of most multi-related test files | 08:00 | |
phenny | moritz: I'll pass that on when sorear is around. | ||
08:02
Axius joined
08:05
dayangkun_ joined
08:08
dayangkun left
08:11
MayDaniel joined,
Axius left
08:22
dakkar joined
08:29
dayangkun__ joined
08:30
Su-Shee_ joined
08:33
dayangkun_ left
08:43
awoodland joined
08:45
Su-Shee_ is now known as Su-Shee
08:48
araujo joined
08:51
MayDaniel left
|
|||
dalek | ecza: bfe938e | moritz++ | t/spectest.data: 7 new passing test files |
08:52 | |
08:58
dayangkun_ joined
09:01
dayangkun__ left
09:14
awoodland left
09:16
Axius joined
09:39
JimmyZ joined,
JimmyZ left
09:41
Axius left
09:56
woosley left
10:03
tomaw left,
Mowah left
10:05
Rotwang joined,
tomaw joined
10:08
mtk left
10:17
mtk joined
10:45
Mowah joined
10:47
Rotwang left
10:56
bacek left
10:58
silent_h_ joined
11:16
noganex_ joined
11:20
noganex left
11:24
MayDaniel joined
11:32
kaare__ joined
11:36
leprevost joined
11:43
kaare__ left
11:53
Patterner left
11:55
Psyche^ joined,
Psyche^ is now known as Patterner
11:58
satyavvd left
|
|||
takadonet | morning all | 11:59 | |
12:11
Alias left,
Alias joined
12:19
MayDaniel left
12:27
sftp joined
12:31
dayangkun_ left
12:37
donri joined
12:38
plobsing left
12:58
Holy_Cow joined
13:05
am0c left,
am0c joined
13:23
wooden left
13:29
dayangkun_ joined
13:34
bluescreen10 joined
13:47
hudnix joined
13:48
bluescreen10 left
13:53
JimmyZ_ joined
14:00
MayDaniel joined
14:03
bluescreen10 joined
14:05
fhelmberger left
14:10
fhelmberger joined
14:18
jaldhar left
|
|||
tadzik | good morning #perl6 | 14:19 | |
PerlJam | gutenMorgen tadzik | 14:21 | |
moritz | oh hai | 14:22 | |
last call for GSOC proposals: about 4 hours left until submission deadline | |||
tadzik | yeah, 4;38 | ||
tadzik is now after physics exam, can work on GSoC proposal | 14:23 | ||
PerlJam | tadzik: no more spherical cows of uniform density! | ||
tadzik | ho, what? :) | 14:24 | |
PerlJam | What kind of physics were you taking? | ||
moritz | PerlJam: nono, phycisists use point cows (ie with zero volume but finite mass) in most models :-) | 14:25 | |
tadzik | Basics of Physics, it's what I failed last semester :\ | ||
moritz | is that mechanics? | ||
PerlJam | moritz: yeah, but they always have ridiculous simplifying assumptions :) | ||
moritz | PerlJam: that's because the real world is too complicated to approach it without such simplifications... and it often turns out that even the ridicolous simplifications can be quite useful | 14:26 | |
tadzik | moritz: yeah, that exam was mainly mechanics. I don't know the english equivalent names though. Dynamics? The changing mass? Vibrations, as in E = 0.5 * kx^2, this kind of stuff | 14:28 | |
PerlJam | I don't need proselytizing :) | ||
tadzik | I don't think that last one is about vibrations | ||
phenny: "drgania"? | |||
phenny | tadzik: "Vibration" (pl to en, translate.google.com) | ||
tadzik | or maybe | ||
anyway, it went quite well | 14:29 | ||
coming soon: magnetism, electostatic stuff, Faradays, Gausses etc | |||
PerlJam | tadzik: btw, you know of Kahn Academy? And ocw.mit.edu/courses/physics/? And other such resources? | 14:32 | |
14:33
_twitch joined
14:38
noganex_ left
|
|||
tadzik | PerlJam: never heard of it | 14:41 | |
14:42
JimmyZ_ left
|
|||
PerlJam | tadzik: www.khanacademy.org/ | 14:42 | |
tadzik | oh, that looks cool | ||
PerlJam | I've been trying out Khan Academy on my kids and it works very well | ||
tadzik | woow | 14:43 | |
awesome | |||
Thank you PerlJam | 14:44 | ||
14:55
MindosCheng left
14:57
MindosCheng joined
15:00
am0c left
15:02
MindosCheng left
15:03
MindosCheng joined
15:05
justatheory joined
15:09
domidumont left
15:10
MindosCheng left,
MindosCheng joined
15:15
Eevee left
15:24
Eevee joined
15:25
mj41 left
|
|||
moritz | tadzik: mechanics usually implies dynamics (and only the engineers study statics :-) | 15:26 | |
15:30
ymasory joined
15:31
dayangkun_ left
15:34
jimmy1980 joined
15:35
jaffa4 joined
|
|||
jaffa4 | hi | 15:37 | |
15:39
cotto joined
15:41
bacek joined
15:44
noganex joined
15:48
noganex left
15:54
noganex joined
15:55
ggoebel joined
15:57
Trashlord left
15:58
plobsing joined
16:02
JimmyZ_ joined
16:05
nnunley left,
nnunley joined
|
|||
jaffa4 | coud not find compiler module for the language perl6 | 16:05 | |
16:05
am0c joined
|
|||
sbp | jaffa4: rakudo.org/ is a perl6 compiler to parrot bytecode | 16:07 | |
not sure what you mean by module though. module of what system? | |||
16:09
spq joined
|
|||
jaffa4 | I have something like ahat: perl d:\m\perlscripts\time.pl parrot -y -v -r -L C:\parrot-3.2.0\lib\parrot\languages\rakudo\ D:\m\p6\pirout.pbc | 16:09 | |
This is an error message given back by parrot. | 16:10 | ||
16:10
awwaiid joined
|
|||
moritz | how did you build and install rakudo? | 16:11 | |
jaffa4 | downloaded the binaries | ||
16:11
kaare_ left
|
|||
jaffa4 | the win32 binaries | 16:11 | |
perl.exe works | |||
just I want to run the generated pbc file | 16:12 | ||
to see how fast an example in itself | |||
moritz | and did you install it? | ||
jaffa4 | ran two installers | ||
moritz | what two installers? | ||
jaffa4 | for parrot and rakudo, into the same directory | ||
moritz | be specific please | 16:13 | |
and how did you generate the .pbc? | |||
jaffa4 | setup-parrot-3.2.0.exe | 16:14 | |
setup-parrot-3.2.0.exe-raukdo-39.exe | |||
setup-parrot-3.2.0.exe-rakudo-39.exe | |||
16:14
Trashlord joined
|
|||
jaffa4 | THis line perl6 --target=pir -oD:\m\p6\pirout.pir D:\m\p6\array.p6 | 16:14 | |
and parrot -L C:\parrot-3.2.0\lib\parrot\languages\rakudo\ -o D:\m\p6\pirout.pbc D:\m\p6\pirout.pir | 16:15 | ||
now do you know everything, moritz? | |||
moritz | jaffa4: of course I don't know everything | 16:16 | |
jaffa4 | do you have all information what you need now? | ||
moritz | I just tried the equivalent on linux, and it works there | ||
jaffa4 | same flags? | ||
PerlJam | jaffa4: What directory are you in when you execute the line that's giving your grief? | 16:18 | |
s/your/you/ | |||
moritz | no, i left out all the options to parrot except -o | ||
jaffa4 | in c:\parrot-3.2.0\bin | 16:19 | |
moritz | and it works for me outside of the install location too | 16:20 | |
PerlJam | yeah. I dunno | ||
perhaps the windows installer didn't install everything? | |||
jaffa4 | possible | 16:21 | |
WHat is a compiler module? | |||
How can I recognise it? | |||
WHat is its extension? | |||
16:23
risou joined
|
|||
moritz | I guess it's just a .pbc file named languages/$lang/$lang.pbc in the parrot installation | 16:23 | |
PerlJam | jaffa4: does it work if you run it from whatever directory has the perl6.pbc file? | 16:24 | |
jaffa4 | no, it does not. | 16:26 | |
ok, I am rebuilding it from the source | 16:30 | ||
16:32
dakkar left
16:41
colomon left
16:42
wooden joined
16:43
pmurias joined
16:49
birdwindupbird left
|
|||
sorear | good * #perl6 | 16:50 | |
phenny | sorear: 07:59Z <moritz> tell sorear to run t/spec/S06-multi/type-based.t in niecza - 'Unhandled exception: Unable to resolve method ast in class Any' at /home/moritz/p6/niecza/src/NieczaActions.pm6 line 212 (NieczaActions NieczaActions.mangle_longname @ 5) (seems to be triggered by param parsing code) | ||
sorear: 08:00Z <moritz> tell sorear that bug seems to prevent compilation of most multi-related test files | |||
sorear | is jaffa4 |newbie|? | 16:53 | |
16:53
colomon joined
|
|||
moritz | seems like | 16:54 | |
.oO( the eternal newbie ) |
|||
sbp | shame that "newbie" as a word has so many negative connotations these days | 16:56 | |
sorear | jaffa4: Don't try to benchmark Rakudo, it will only end in tears. | ||
sbp: not here! | |||
sbp | yep, I know. perl6 could do with as many as it can get! | ||
but it's like hacker amongst enthusiasts vs. use in the media | |||
creates this ever-so-slightly-annoying usage rift... | 16:57 | ||
jaffa4 | you are everywhere, you are omnipotent. | ||
sorear hugs sbp | |||
jaffa4 | sorear, have you cried a lot? | ||
WHat is your experience? | 16:58 | ||
sorear | rakudo was never designed for runtime performance | 16:59 | |
jaffa4 | I knew about compile time performance | ||
not even run-time performance? | |||
WHat about nietze? | |||
pmurias | * niecza | 17:00 | |
jaffa4 | niecza: print 4*4 | ||
p6eval | niecza v4-32-gbfe938e: OUTPUT«16» | ||
moritz | it has a horrible startup time, but it runs quite fast | 17:01 | |
jaffa4 | niecza: my $g= print $g*$g | ||
p6eval | niecza v4-32-gbfe938e: OUTPUT«Unhandled exception: Unable to resolve method Numeric in class Any at line 0 (ExitRunloop @ 0) at /tmp/yhCmgRZflt line 1 (MAIN mainline @ 1) at /home/p6eval/niecza/lib/CORE.setting line 1277 (CORE C535_ANON @ 2) at /home/p6eval/niecza/lib/CORE.setting line | ||
..1278 (CORE modul… | |||
jaffa4 | niecza: my $g=3; print $g*$g | ||
p6eval | niecza v4-32-gbfe938e: OUTPUT«9» | ||
jaffa4 | IS it possible to avoid the startup time? | 17:02 | |
niecza: 4 ==> my $g; | |||
p6eval | niecza v4-32-gbfe938e: OUTPUT«Unhandled exception: Feed ops NYI at /home/p6eval/niecza/lib/CORE.setting line 388 (CORE die @ 2) at /home/p6eval/niecza/lib/CORE.setting line 1180 (CORE infix:<==>> @ 2) at /tmp/33RZyULE2H line 1 (MAIN mainline @ 1) at /home/p6eval/niecza/lib/CORE.setting line | ||
..1277 (CORE C… | |||
pmurias | sorear: if niecza was kept in a persistent process what would the startup performance be? | ||
17:03
ggoebel left
|
|||
jaffa4 | perl6: 4 ==> my $g; | 17:03 | |
p6eval | niecza v4-32-gbfe938e: OUTPUT«Unhandled exception: Feed ops NYI at /home/p6eval/niecza/lib/CORE.setting line 388 (CORE die @ 2) at /home/p6eval/niecza/lib/CORE.setting line 1180 (CORE infix:<==>> @ 2) at /tmp/sJQaOE4Lzd line 1 (MAIN mainline @ 1) at /home/p6eval/niecza/lib/CORE.setting line | 17:04 | |
..1277 (CORE C… | |||
..rakudo 4bf132: OUTPUT«Method 'push' not found for invocant of class '' in main program body at line 22:/tmp/kXcwb31Ppc» | |||
..pugs: OUTPUT«***  Unexpected " my" at /tmp/iTY57VJgJz line 1, column 6» | |||
jaffa4 | perl6: my $g;4 ==> $g; | ||
p6eval | pugs: OUTPUT«***  Unexpected " $g" at /tmp/oCHckmqV7d line 1, column 12» | ||
..niecza v4-32-gbfe938e: OUTPUT«Unhandled exception: Feed ops NYI at /home/p6eval/niecza/lib/CORE.setting line 388 (CORE die @ 2) at /home/p6eval/niecza/lib/CORE.setting line 1180 (CORE infix:<==>> @ 2) at /tmp/34csMjAIsk line 1 (MAIN mainline @ 1) at /home/p6eval/niecza/lib/CORE.setting | |||
..line 1277 (CORE C… | |||
..rakudo 4bf132: OUTPUT«Method 'push' not found for invocant of class '' in main program body at line 22:/tmp/5LdWaM6ovc» | |||
17:04
ggoebel joined
17:06
ggoebel left
|
|||
jaffa4 | well, I have different error now | 17:12 | |
Could not load oplib `perl6_ops' | |||
moritz | did 'make test' succeed? | 17:13 | |
jaffa4 | yes | ||
17:14
JimmyZ_ left
|
|||
colomon | rakudo: 4 ==> my @g | 17:15 | |
p6eval | rakudo 4bf132: ( no output ) | ||
colomon | rakudo: 4 ==> my @g; say :@g.perl | 17:16 | |
p6eval | rakudo 4bf132: OUTPUT«"g" => [4]» | ||
jaffa4 | rakudo: 4 ==> print | 17:17 | |
p6eval | rakudo 4bf132: OUTPUT«4» | ||
17:17
am0c left
17:20
MayDaniel left
|
|||
sorear | jaffa4: did you move Perl6 after compiling it? | 17:24 | |
jaffa4 | no | ||
sorear | jaffa4: niecza has limited support for avoiding compilation time; try "run\Niecza.exe -c -e 'say "Hello, world"'" and then "obj\MAIN.exe" | 17:26 | |
jaffa4 | what do you mean limited support? | 17:28 | |
sorear | well if you want to save the output you need to copy files manually | 17:30 | |
17:30
PZt left
|
|||
jaffa4 | what output? | 17:32 | |
17:33
Chillance joined
|
|||
sorear | obj\MAIN.exe, obj\CORE.dll, obj\Kernel.dll, obj\CrossDomainReceiver.dll, I think those are the only ones you need to save | 17:33 | |
unless you're using modules | |||
"output" = the .exe and .dll files | 17:34 | ||
jaffa4 | ok | ||
sorear | they get overwritten when you run niecza, so if you want to compile an app, you need to save them | ||
jaffa4 | you mean there are generated | ||
and then there is no need for compilation | |||
17:37
PZt joined
|
|||
sorear | niecza: multi foo(5) { } | 17:37 | |
p6eval | niecza v4-32-gbfe938e: OUTPUT«Unhandled exception: Unable to resolve method ast in class Any at /home/p6eval/niecza/src/NieczaActions.pm6 line 212 (NieczaActions NieczaActions.mangle_longname @ 5) at /home/p6eval/niecza/src/NieczaActions.pm6 line 207 (NieczaActions NieczaActions.simple_longname | ||
..@ 2) at /h… | |||
pmurias | sorear: do you know haskell? | 17:39 | |
17:39
Mowah left
17:43
Mowah joined
17:44
PZt left
17:45
PZt joined
17:46
plobsing left
|
|||
sorear | moritz: that's your type-based.t problem ^^ | 17:52 | |
pmurias: yes | |||
moritz | niecza: multi foo(Int $ where 5 ) { } | 17:53 | |
p6eval | niecza v4-32-gbfe938e: OUTPUT«===SORRY!===Any()In parameter declaration, typename 'Int' must be predeclared (or marked as declarative with :: prefix) at /tmp/u8IuoZwH7U line 1:------> multi foo(Int⏏ $ where 5 ) { }Parse failed» | ||
sorear tries to find the Rakudo code for parsing signatues | |||
moritz | niecza: multi foo(Int $x where 5) { } | 17:54 | |
p6eval | niecza v4-32-gbfe938e: OUTPUT«===SORRY!===Any()In parameter declaration, typename 'Int' must be predeclared (or marked as declarative with :: prefix) at /tmp/Bfpg2i91fk line 1:------> multi foo(Int⏏ $x where 5) { }Parse failed» | ||
moritz | iirc rakudo stole from STD.pm | ||
niecza: multi foo(Int $x) { } | |||
p6eval | niecza v4-32-gbfe938e: OUTPUT«===SORRY!===Any()In parameter declaration, typename 'Int' must be predeclared (or marked as declarative with :: prefix) at /tmp/Zv_AOQdF3d line 1:------> multi foo(Int⏏ $x) { }Parse failed» | ||
sorear | niecza doesn't have an "Int" type yet | ||
moritz | oh. | ||
sorear | "where" is also NYI | ||
moritz | niecza: say 3.WHAT | ||
p6eval | niecza v4-32-gbfe938e: OUTPUT«Unhandled exception: System.InvalidCastException: Cannot cast from source type to destination type. at Niecza.CtxStrNativeNum2Str.Get (Niecza.Variable obj) [0x00000] in <filename unknown>:0  at CORE.C259_List_2Ejoin (Niecza.Frame ) [0x00000] in <filename unknown>:0 | ||
sorear | as is ::T $x, which I don't even understand how it works | ||
p6eval | .. at Niecza… | ||
sorear | niecza: say 3.WHAT === Num | 17:55 | |
p6eval | niecza v4-32-gbfe938e: OUTPUT«Bool::True» | ||
moritz | ::T $x is basically my ::T := $x.WHAT; | ||
sorear | there are ripple effects - most of the rest of the system can't handle typenames being variables | 17:56 | |
17:56
mtk left
|
|||
sorear | the simplest case being something like (::T $x, T $y) -- how does MMD see the type of $y? | 17:56 | |
jaffa4 | perl6: ms:g/ (\S+:) <rocks> / | 17:57 | |
p6eval | niecza v4-32-gbfe938e: OUTPUT«===SORRY!===Unsupported form of term:name at /tmp/6uX5qmOX2s line 1:------> ms:g⏏/ (\S+:) <rocks> /Any()Bogus term at /tmp/6uX5qmOX2s line 1:------> ms:g/ (\S+⏏:) <rocks> /Undeclared name: 'S' used at | ||
..line Any()1Unde… | |||
..rakudo 4bf132: OUTPUT«===SORRY!===Adverb 'g' not allowed on m at line 22, near ""» | |||
..pugs: OUTPUT«Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) { unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.16/blib6/pugs/perl5/lib'; eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;}'Pugs::Runtime::Match::HsBridge'"*** '<HANDLE>' trapped by operat… | |||
jaffa4 | perl6: "rrrr" ~~ ms:g/ (\S+:) <rocks> / | 17:58 | |
p6eval | niecza v4-32-gbfe938e: OUTPUT«===SORRY!===Unsupported form of term:name at /tmp/HeXHGe8ruo line 1:------> "rrrr" ~~ ms:g⏏/ (\S+:) <rocks> /Any()Bogus term at /tmp/HeXHGe8ruo line 1:------> "rrrr" ~~ ms:g/ (\S+⏏:) <rocks> /Undeclared | ||
..name: 'S' used… | |||
..rakudo 4bf132: OUTPUT«===SORRY!===Adverb 'g' not allowed on m at line 22, near ""» | |||
..pugs: OUTPUT«Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) { unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.16/blib6/pugs/perl5/lib'; eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;}'Pugs::Runtime::Match::HsBridge'"*** '<HANDLE>' trapped by operat… | |||
sorear | the error message should make it clear. ms:g is not going to work. | 17:59 | |
17:59
mtk joined
18:01
mkramer joined
|
|||
sorear | to really benefit from MMD, niecza will need roles and the numeric type ladder soon | 18:01 | |
moritz | i guess that the lack of Int type prevents most MMD tests in the spectest suite to run | 18:02 | |
because most people consider it (or at leat a faked, non-bigint version of it) "easy" for a Perl 6 compiler | |||
18:06
DWSR joined
|
|||
DWSR | Is P6 production ready? | 18:06 | |
moritz | "no", for most values of "production" | 18:07 | |
DWSR | Cool. | ||
iirc, 6 is supposed to be getting some OO enhancements, right? | |||
For some reason, the site is not working for me. | 18:08 | ||
So I figured I'd ask here | |||
moritz | which one? perl6.org? | ||
yes, perl 6 has a pretty cool object model, and rakudo implements rather big parts of it | |||
it does classes, roles, parametric roles, introspection, class construction through the metaclass | 18:09 | ||
DWSR | Huzzah | ||
moritz | multi method | ||
18:10
araujo left
|
|||
PerlJam | DWSR: moritz meant to say, "P6 is production ready for some small values of 'production'" :-) | 18:10 | |
moritz | rakudo: role B { method c() { say "hello DWSR" } }; class A does B { method b() { self.c } }; A.new.b | ||
p6eval | rakudo 4bf132: OUTPUT«hello DWSR» | 18:11 | |
PerlJam fills moritz's glass halfway to empty | |||
moritz | rakudo: class A { has $.a = 3; has $.b = 5; has $.c = $.a * $.b }; say A.new(a => 2).c | 18:12 | |
p6eval | rakudo 4bf132: OUTPUT«10» | ||
jaffa4 | introspection? | ||
moritz | this feature is quite nice | ||
DWSR | Anyway, nifty. | ||
Thanks for the info. | |||
moritz | you're welcome | ||
18:12
DWSR left
18:13
mtk left,
araujo joined,
araujo left,
araujo joined
|
|||
tadzik | moritz: I've updated my proposal to consider the exams, would you mind taking a critic look at it before I update it on Melange? | 18:15 | |
moritz | tadzik: URL? | ||
sorear | niecza: my token foo:abc { <[a..z]>+ }; my token foo:num { \d+ }; say "--abc--123de----".comb(/<&foo>/).perl | ||
p6eval | niecza v4-32-gbfe938e: OUTPUT«["abc", "123", "de"]» | ||
sorear | how much of a feature is this? | 18:16 | |
moritz | wow, that's ncie | ||
sorear++ | |||
18:16
araujo left
|
|||
tadzik | moritz: gist.github.com/892249 | 18:16 | |
looks like Github can't do gist revision diffs (yet) | |||
moritz: wklej.org/id/508809/ the diff alone | 18:17 | ||
18:18
mtk joined
|
|||
moritz | tadzik: looks fine | 18:18 | |
(I've cloned the gist locally and ran 'git show' there :-) | |||
18:19
plobsing joined
|
|||
tadzik | yeah, sane behaviour :) | 18:20 | |
ok, updating | |||
18:21
araujo joined
|
|||
tadzik | done, whew | 18:21 | |
18:27
rdesfo joined
18:29
icwiener joined
18:33
MayDaniel joined
|
|||
dalek | ecza: 58c0836 | pmurias++ | hoopl/ (2 files): [hoopl] seperate loading the optree into a seperate module |
18:35 | |
ecza: bfeeb72 | sorear++ | src/NieczaFrontendSTD.pm6: Prevent redundant categorical generation in CORE (speeds up CORE parse by 50%) |
18:41 | ||
ecza: a740a32 | sorear++ | src/niecza: Refactor categoricals allowing user-defined postcircumfixes |
|||
18:47
[particle]1 left,
ggoebel joined
18:48
[particle] joined
|
|||
pmurias | looking up an lexical is side-effect free? | 18:49 | |
18:51
envi left
18:52
_twitch left
|
|||
sorear | pmurias: depends on what you mean by "looking up" | 18:53 | |
tadzik | sorear: remember the locale issue? | 18:54 | |
my dot being comma, and so | |||
sorear | tadzik: oh yeah | ||
dalek | ecza: 290b117 | sorear++ | src/niecza: Implement user-defined circumfix operators |
18:55 | |
pmurias | sorear: scopedlex nam op | 18:56 | |
18:56
jaffa4 left
|
|||
sorear | pmurias: with 1 arg it's side effect free | 18:57 | |
tadzik | sorear: is it fixable inside niecza, or the user involvement will always be necessary? | ||
sorear | tadzik: it is fixable | 18:58 | |
pmurias | tadzik: you use polish locale? | 19:02 | |
19:02
MayDaniel_ joined,
spq left
19:05
MayDaniel left,
Mowah left
|
|||
tadzik | pmurias: aye | 19:07 | |
I'm still looking for a "let me type ą in urxvt but don't translate apps" set of variables :) | |||
sorear | tadzik: how do you type that in urxvt? | 19:08 | |
tadzik | sorear: right alt + a | ||
it's in my keyboard layout, which is a modified colemak | |||
19:09
Su-Shee left
|
|||
pmurias | tadzik: i have en_US.UTF-8 for everything | 19:09 | |
and i have a polish keyboard layout | |||
tadzik | hmm | ||
heh, somebody submitted a GSoC proposal 150 seconds before the deadline | 19:10 | ||
sorear | tadzik: how do you set keyboard layouts like that? | ||
19:10
pjcj left
|
|||
tadzik | sorear: `setxkbmap colemakpl`, having colemakpl in my /usr/share/somewhere | 19:10 | |
19:11
rdesfo left
19:13
nymacro left
19:17
Su-Shee joined
|
|||
tadzik | sorear: btw, the backtrace if full of at /home/stefan/rel/niecza-reboot/src/STD.pm6 line 812 (STD STD.dec_number @ 32) | 19:17 | |
is that something hard-coded? | 19:18 | ||
sorear | what, the path? | 19:20 | |
flussence_ | ("ą" is AltGr + ['+', 'a'] on my en_GB layout; all the symbol keys are assigned compose functions. Never seen it documented anywhere though.) | 19:21 | |
sorear | flussence_: what is the press/release sequence for that? | 19:22 | |
flussence_ | hold altgr+shift, press the =/+ key, press a | 19:23 | |
sorear | does nothing in en_US :( | 19:24 | |
flussence_ | maybe it's a case of different keyboard layouts' code written by different people... | 19:25 | |
tadzik | sorear: yeah | 19:26 | |
AltGr with + is × for me | 19:27 | ||
I just hold AltGr, then press a | |||
sorear | tadzik: the paths for backtraces are compiled in at compile time, so it's telling you where I had STD.pm6 when I generated niecza-4.zip | ||
tadzik | sorear: what happens if you do `setxkbmap pl` before? | 19:28 | |
sorear: I see | |||
sorear | whee, 'LC_ALL=pl_PL' breaks niecza | ||
flussence_ | even more annoying is that gtk has ctrl+shift+u, urxvt has something that I can't figure out but seems to be an extension, and Qt apparently assigns unused altgr combinations randomly. | ||
sorear: thousand/decimal separator bug? | 19:29 | ||
sorear | flussence_: yeah tadzik's been having decimal separator issues | ||
I can now reproduce it | |||
flussence_: (urxvt) hold down control-shift and type, say, 3080 | 19:30 | ||
tadzik | flussence_: yeah, I don't know if it's possible to use emacs-style keyboard shortcuts in Qt | 19:31 | |
sorear: oh, ideograms | 19:32 | ||
pmurias | sorear: when manipulating nam if i want to change foo(bar()) into tmp=bar() and foo(tmp) i should use let? | 19:35 | |
sorear | yes | 19:36 | |
19:36
mkramer left
|
|||
sorear | for hoopl it would probably be better to turn nam into register code in the parser | 19:36 | |
hoopl looks like it's really designed for register/SSA code | |||
the fact that nam uses tree code is mostly because it's very hard to convert SSA into compact code for stack machines like the JVM and CLR | 19:37 | ||
pmurias | by parser you mean the niecza-hoopl loader or part of niecza? | 19:38 | |
sorear: i'm converting the tree form into register form as the tree form seems hard to do optimalisations on | 19:40 | ||
i won't do SSA as it was invented in opposition to dataflow analysis | 19:41 | ||
19:41
stkowski joined
|
|||
pmurias | and it's mainly usefull for doing simple optimalisations fast (like a C compiler would do) | 19:41 | |
i implemented the transformation to SSA in mildew once | |||
sorear | hrm, en_GB layout *is* completely different... | 19:46 | |
19:46
risou left
19:48
rdesfo1 joined
|
|||
pmurias | sorear: it's slightly different | 19:48 | |
but really annoying to someone used to the us one | 19:49 | ||
s/to/for/ | |||
sorear | the letters are the same | ||
benabik | sorear: But the real question is: is all the punctuation needed for perl the same? | 19:50 | |
sorear | benabik: no | ||
benabik | Then it's really annoying. :) | ||
19:51
proller joined
|
|||
jnthn can't Perl on a US keyboard. It's all wrong. :P | 19:52 | ||
(I suspect that the same feeling would occur the other way around.) | 19:53 | ||
sorear | After today I won't be able to either. :D | ||
jnthn | :) | ||
sorear: Oh? | |||
sorear: Switching keyboard layout? | |||
19:54
pmurias left
|
|||
sorear | I kid, but only slightly. en_GB can get guillemots without compose-key trickery | 19:54 | |
jnthn | :) | 19:57 | |
19:58
pmurias joined
20:00
Rotwang joined
20:03
masak joined
|
|||
masak | oh hai, zebras | 20:03 | |
tadzik | oh hai maska | ||
sorear | hello masaka! | ||
tadzik | . o O ( hello roreas and datzik ) | 20:04 | |
jnthn | Videl som masaka dnes :) | 20:05 | |
20:07
daemon left
|
|||
pmurias | sorear: if i convert nam to a register based form how should i turn it back to something that can be compiled to .net efficently? | 20:08 | |
sorear | pmurias: oh, I thought hoopl was something totally separate | 20:10 | |
hmm | |||
I think the only good way is to map registers to .net locals | |||
niecza: my token foo:abc { <[a..z]>+ }; my token foo:num { \d+ }; say "--abc--123de----".comb(/<&foo>/).perl # for masak | |||
p6eval | niecza v4-36-g290b117: OUTPUT«["abc", "123", "de"]» | 20:11 | |
sorear | TimToady: Under what circumstances should Str/Num conversions be locale sensitive? | ||
masak | sorear++! | ||
pmurias | sorear: totally seperate to what? | 20:13 | |
20:13
MayDaniel_ left
|
|||
pmurias | sorear: doesn't the CPS transformation stop you from using the stack much? | 20:14 | |
sorear: is using .net local variables slower or does the jit handle them efficently? | 20:17 | ||
20:19
Spogg joined
|
|||
Spogg | Spogg; say 42 + 8 | 20:19 | |
sorear | pmurias: registers which are live across cpscalls need to be spilled to the frame | ||
perl6: say 42 + 8 | |||
p6eval | pugs, rakudo 4bf132, niecza v4-36-g290b117: OUTPUT«50» | ||
Spogg | Spogg: say 42 + 8 | 20:20 | |
perl6: say 42 + 8 | |||
p6eval | pugs, rakudo 4bf132, niecza v4-36-g290b117: OUTPUT«50» | ||
Spogg | perl6: say 55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555 + 555555555555555555555555555555555555555555555555555555555555555555555465783213546254356452146546 | 20:21 | |
p6eval | rakudo 4bf132: OUTPUT«6.02556267734054e+17» | 20:22 | |
..pugs: OUTPUT«55555555555555555555555555555556111111111111111111111111111111111111111111111111111111111111111111111021338769101809912007702101» | |||
..niecza v4-36-g290b117: OUTPUT«5.55555555555556E+127» | |||
pmurias | sorear: so is the .net niecza backend register based internally? | ||
Spogg | fuck | 20:23 | |
fdds | |||
fsd | |||
fs | |||
df | |||
sd | |||
f | |||
sd | |||
fds | |||
f | |||
s | |||
df | |||
20:23
Spogg left
|
|||
masak | ...right. | 20:24 | |
flussence_ | ooh, his ISP's abuse page specifically has an "IRC abuse" option :) | 20:25 | |
masak | ooh | 20:26 | |
sorear | pmurias: the .net backend is stack based, but the JIT turns it into register code | 20:29 | |
pmurias | so using locals a lot would just mean the bytecode would be bigger? | 20:33 | |
sorear | I think so, but it depends on how good your spiller is | 20:34 | |
the CLRBackend spiller actually reorders code in some cases to improve spill quality, it's a rather large win | |||
eg foo($x, bar()) will delay the $x so that it doesn't have to be spilled | 20:35 | ||
masak | alpha: my constant preoccupation = 42; say preoccupation | ||
p6eval | alpha : OUTPUT«Malformed declaration at line 10, near "constant p"in Main (file <unknown>, line <unknown>)» | ||
sorear | perl6: my constant preoccupation = 42; say preoccupation | 20:36 | |
p6eval | pugs: OUTPUT«***  Unexpected "preoccupation" expecting ":" or "(" at /tmp/kaqNNJKdv1 line 1, column 13» | ||
..rakudo 4bf132: OUTPUT«===SORRY!===Constant type declarator not yet implemented at line 22, near "= 42; say "» | |||
..niecza v4-36-g290b117: OUTPUT«42» | |||
masak | niecza++ | ||
sorear | rakudo: say Parcel.list.perl | 20:37 | |
p6eval | rakudo 4bf132: OUTPUT«()» | ||
pmurias | sorear: where in code is the spiller implemented? | ||
sorear | pmurias: the heart is in CpsOp.Primitive at line 2075 | 20:38 | |
that introduces lets where needed to avoid having anything on the eval stack across a cps call | 20:39 | ||
pmurias | what's a zyg? | 20:44 | |
moritz | a child | 20:45 | |
masak | short for 'zygote'. | ||
moritz | a larryism | ||
pmurias hates all the strange names from gimme5 | 20:46 | ||
masak | it's a $*HIGHMESS? :P | 20:47 | |
sorear | rakudo: say "abc".WHAT | 20:48 | |
p6eval | rakudo 4bf132: OUTPUT«Str()» | ||
20:51
icwiener left
20:53
ymasory left
20:55
icwiener joined
20:57
Holy_Cow left
|
|||
dalek | ecza: 36c239a | sorear++ | / (5 files): Fix locale sensitivity of JSYNC et al, fix undef handling in contexts |
21:03 | |
tadzik | yay | 21:04 | |
21:04
leprevost left
|
|||
sorear | phenny: tell TimToady does it ever make sense for 1.5 eq "1,5" in Perl 6? When should locales be honored? | 21:06 | |
phenny | sorear: I'll pass that on when TimToady is around. | ||
tadzik | sorear: I'll still need to workaround the included, precompiled niecza | ||
LC_ALL="C" make doesn't work | 21:08 | ||
21:11
rdesfo1 left
|
|||
flussence_ | export LC_ALL="C" ? | 21:12 | |
I think sometimes the var doesn't get passed to subprocesses for whatever reason... | |||
tadzik | same | ||
and after that `locale` gives ok results | |||
I mean, everything's "C" | 21:13 | ||
flussence_ | hrm | ||
sorear | tadzik: yes that won't work fully until the next precompiled release | 21:15 | |
tadzik: also the .nam files are likely corrupted from the unsuccessful attempt | 21:16 | ||
this change, by itself, still requires LC_ALL=C when running the compiler | 21:17 | ||
it only allows to avoid it for precompiled code | |||
tadzik | see above, it doesn't work for me | ||
sorear | ie "mono run/Niecza.exe -c test.pl; LC_ALL=pl_PL mono obj/MAIN.exe" works for me now | ||
TimToady | the point of "zyg" is to sort all then end-weight child nodes to the end of the list of hash keys | 21:21 | |
phenny | TimToady: 21:06Z <sorear> tell TimToady does it ever make sense for 1.5 eq "1,5" in Perl 6? When should locales be honored? | ||
TimToady hates locales very much | |||
TimToady thinks locale-based calls should contain "locale" somewhere in the function names | 21:23 | ||
pyrimidine happens to like 'zyg' | |||
pyrimidine also happens to be a biologist | |||
flussence_ likes gettext's _() for the low effort of adding it to code | 21:24 | ||
sorear | do you think it's reasonable to legislate that (1/2) ~~ /\x2E/ the world around? | ||
TimToady | yes, I believe in cultural imperialism to that extent | 21:25 | |
flussence_ | formatting it for regional human consumption should be an extra thing, like html-encoding and stuff like that. | 21:26 | |
moritz | rakudo: say chr(0x2e) | ||
p6eval | rakudo 4bf132: OUTPUT«.» | ||
moritz | that's what I thought :-) | ||
TimToady | at most, I think locale-based computing should be restricted to scopes that declare "use locale" | 21:27 | |
moritz | ... and that doesn't need to be a core pragma :-) | ||
flussence_ | there's no shortage of external libs to format numbers, and they usually come with language translation stuff since it's not much use doing it halfway. | ||
core stuff should do machine-readable output for that reason | 21:28 | ||
TimToady | note also that "123 456,78" is TTIAR :) | 21:29 | |
flussence_ | or to put it another way, do it in a way that minimises the number of developers who'll want to strangle you. | 21:31 | |
21:33
MayDaniel joined
|
|||
sorear | tadzik: looks like I can't put out a bootstrap quite that easily, I seem to have introduced a bug somewhere and the bootstrapped niecza thinks "self" is a syntax error | 21:33 | |
21:34
bluescreen10 left
|
|||
sorear | TimToady: the way STD generates declarative prefix DFAs with 5000+ states bothers me a bit... | 21:47 | |
not sure what to do about it though | |||
21:56
MayDaniel left
21:59
MayDaniel joined
22:02
ggoebel left
22:05
pmurias left,
Rotwang left
22:09
pjcj joined
22:17
cookys joined
22:18
Rotwang joined
|
|||
masak | 'night, #perl6 | 22:23 | |
22:23
masak left,
PacoLinux joined
22:31
PacoLinux left
22:32
PacoLinux joined
22:37
MayDaniel left
22:39
pmurias joined
|
|||
dalek | ecza: d9bb470 | sorear++ | test2.pl: Add tests for custom (post)circumfixes |
22:46 | |
ecza: 3c51536 | sorear++ | / (4 files): Update bootstrap for locale bug fix |
|||
sorear | tadzik: I just had a successful build with LC_ALL=pl_PL | ||
22:47
VXZ left,
Chillance left
22:57
silent_h__ joined
|
|||
sorear | tadzik: any luck? | 22:57 | |
23:03
icwiener left
23:10
silent_h__ left
23:19
Rotwang left
23:20
whiteknight joined
23:37
dayangkun_ joined
|