Camelia, the Perl 6 bug

IRC log for #masakism, 2013-05-08

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

All times shown according to UTC.

Time Nick Message
04:51 dmol joined #masakism
05:07 d^_^b joined #masakism
05:07 d^_^b joined #masakism
07:22 dmol joined #masakism
09:09 cognominal__ joined #masakism
09:12 woolfy1 joined #masakism
09:14 blkcat_ joined #masakism
09:14 Util_ joined #masakism
09:15 GlitchMr joined #masakism
09:31 Neighbour joined #masakism
09:33 camelia joined #masakism
10:16 felher masak: https://gist.github.com/fe​lher/a8ff211b6f47c9e84024 | playlist is new. Didn't have the time to make it errorproof yet.
10:17 * felher afk for a while
10:19 masak felher: nice.
10:19 masak felher: should preferably handle not just minutes, but hours, days, and years, too.
10:19 masak felher: and then we can discuss whether there should be a type Span or Duration for this in Perl 6. :)
10:20 masak felher: hm, it's Perl 6, so you don't need parens around the hashes...
10:21 lizmat masak: tell that to someone trying to do: my Hash $h .= new( a => 1, b => 2 ); :-)
10:21 masak anyway, added to https://gist.github.com/masak/5496294
10:22 masak lizmat: well, whoever that person is, they're running up against a (well-known, well-documented) corner case in which named parameters win over hash pairs :)
10:22 masak lizmat: maybe we can make it even clearer, but...
10:23 lizmat well, my big issue with this, is that it fails silently (unlike niecza)
10:23 masak *nod*
10:23 lizmat n: my Hash $h .= new( a => 1, b => 2 )
10:23 camelia niecza v24-42-g69a3432: OUTPUT«Potential difficulties:â�¤  $h is declared but not used at /tmp/XsasKtFV70 line 1:â�¤------> [32mmy Hash [33mâ��[31m$h .= new( a => 1, b => 2 )[0mâ�¤â�¤Unhandled exception: Excess arguments to Hash.new, unused named a, bâ�¤  at /home/p6eval/niecza/lib/CORE.setting…
10:24 lizmat or more clearly:
10:24 masak having a warning or error there is kind of nice, yes.
10:24 lizmat n: my Hash $h .= new( a => 1, b => 2 ); $h
10:24 camelia niecza v24-42-g69a3432: OUTPUT«Unhandled exception: Excess arguments to Hash.new, unused named a, b␤  at /home/p6eval/niecza/lib/CORE.setting line 0 (Hash.new @ 1) ␤  at /tmp/8TnmaoKKAR line 1 (mainline @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4329 (ANON @ 3) ␤  at /home/p6e…
10:25 lizmat anyways, I don't think this belongs on #masakism  :-)
10:31 masak correct ;)
10:48 Farow joined #masakism
12:20 felher masak: i know. But parens tell vim to indent. :)
12:20 masak fair enough :)
12:21 * masak tends to turn off indenting in vim because it drives him nuts
12:22 felher masak: yeah vim indenting vor perl6 is... suboptimal. :)
12:22 felher *for
12:24 masak I dunno, I've never gotten along with vim indenting in general.
12:24 masak maybe I'm just doin' it wrong.
12:24 masak Eclipse's indenting works fine, at least for Java.
12:33 felher masak: well, C indenting is quite good. Java indenting is ok most of the time, but bugs me from time to time. Not enough to make me change the editor, though.
12:34 masak I was very impressed with vim when coding C in it, yes.
12:48 sjn left #masakism
15:23 Farow|2 joined #masakism
17:05 dmol joined #masakism
23:39 KvH_ joined #masakism

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