Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lizmat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
68 ms
·
721.
▲
2019.02 Is it Spring? – Weekly changes in and around Perl 6
(p6weekly.wordpress.com)
2 points
by
lizmat
8y ago
|
0 comments
722.
▲
2019.01 Wishes for 2019 – Weekly changes in and around Perl 6
(p6weekly.wordpress.com)
2 points
by
lizmat
8y ago
|
0 comments
723.
▲
by
lizmat
8y ago
> 7+ YEARS PERL ON RAILS EXPERIENCE What's "Perl on Rails"? Isn't it supposed to be "Ruby on Rails"?
724.
▲
by
lizmat
8y ago
Indeed, there was a bug with determining when to switch to floats, that was fixed by Zoffix in August: https://github.com/rakudo/rakudo/commit/fec1bd74f97e257d4c88673cd62fdcae39f587a3
725.
▲
by
lizmat
8y ago
They're called Rat (for Rational number): https://docs.perl6.org/type/Rat , which maintain precision until the denominator exceeds 64 bits: then they're downgraded to doubles. If you want to keep precision s
726.
▲
by
lizmat
8y ago
In Perl 6 even shorter than that: perl6 -e'print 9999999999999999.0 - 9999999999999998.0' 1
727.
▲
Perl 6 environment manager – Shoichi Kaji
(blogs.perl.org)
3 points
by
lizmat
8y ago
|
0 comments
728.
▲
2018.53 Goodbye PerlJam – Weekly Changes in and Around Perl 6
(p6weekly.wordpress.com)
2 points
by
lizmat
8y ago
|
0 comments
729.
▲
Calling subs and typing in Perl 6
(opensource.com)
3 points
by
lizmat
8y ago
|
0 comments
730.
▲
2018.52 Three Years Later – Weekly Changes in and Around Perl 6
(p6weekly.wordpress.com)
3 points
by
lizmat
8y ago
|
0 comments
731.
▲
by
lizmat
8y ago
Just for reference: a Perl 6 version: sub MAIN($limit = Inf) { my %bag is Bag = words.map(&lc); say "{.key}\t{.value}" for %bag.sort( { $^b.value cmp $^a.value || $^a.key cmp $^b.key } )
732.
▲
Testing Cro HTTP APIs
(perl6advent.wordpress.com)
1 points
by
lizmat
8y ago
|
0 comments
733.
▲
by
lizmat
8y ago
Ah, another translation of "Think Python"! Laurent Rosenfeld originally wanted to translate "Think Python" to French, but then decided to translate it to Perl 6: Think Perl 6 ( https://greenteapress.com/w
734.
▲
2018.51 Principally Designed – Weekly Changes in and Around Perl
(p6weekly.wordpress.com)
2 points
by
lizmat
8y ago
|
0 comments
735.
▲
by
lizmat
8y ago
FWIW, as a former employer of a web dev company, I can say that having a CS degree tended to be a minus rather than a plus: CS graduates tend to be too theoretical and not practical enough in day-to-day development work.
736.
▲
2018.49/50 Diwali Landed – Weekly Changes in and Around Perl 6
(p6weekly.wordpress.com)
2 points
by
lizmat
8y ago
|
0 comments
737.
▲
by
lizmat
8y ago
The ASCII equivalent of `∈` is `(elem)`.
738.
▲
by
lizmat
8y ago
Well volunteered!
739.
▲
by
lizmat
8y ago
The official name for "it" in Perl 6 is "the topic variable": https://docs.perl6.org/language/variables#index-entry-topic_...
740.
▲
by
lizmat
8y ago
Would you care to elaborate on the non-clean parts in your opinion?
741.
▲
by
lizmat
8y ago
In Perl 6 this could almost look the same: for @numbers -> $number { next unless $number > 10; next unless $number % 2; work($number); } Although personally, I wouldn't write it like that: I w
742.
▲
by
lizmat
8y ago
FWIW, with a little syntactic trick, you can actually have sigillless variables in Perl 6: my \foo = $ = 42; # bind sigilless name to a container with 42 say foo; # 42 foo = 666; say foo; # 666 See https:&#x
743.
▲
by
lizmat
8y ago
Unfortunately, the performance of regexes has not been improved much in the past years, that is true and on the radar. Yes, it can be improved (very much indeed). Most other subsystems of Rakudo Perl 6 have been improved significantly,
744.
▲
by
lizmat
8y ago
https://docs.perl6.org/language/unicode_ascii for a list of Unicode characters in Perl 6 and their ASCII counterparts.
745.
▲
by
lizmat
8y ago
「 and 」are indeed used in Perl 6 when textually representing a Match object (the Match.gist). See https://docs.perl6.org/language/unicode_ascii for other acceptable unicode characters (and their ASCII counterparts) in
746.
▲
by
lizmat
8y ago
In Perl 6, you can also use "kebab-case": my $is-it-time = True; The hyphen is allowed inside an identifier as long as it is not the first and as long as it is followed by at least one letter. my $foo-42; # interpr
747.
▲
2018.48 Groonga Grep – Weekly Changes in and Around Perl 6
(p6weekly.wordpress.com)
2 points
by
lizmat
8y ago
|
0 comments
748.
▲
Failure is an option in Perl 6
(opensource.com)
3 points
by
lizmat
8y ago
|
0 comments
749.
▲
2018.47 Piensa en Perl 6 – Weekly changes in and around Perl 6
(p6weekly.wordpress.com)
3 points
by
lizmat
8y ago
|
0 comments
750.
▲
by
lizmat
8y ago
<plug> This blog post could be of interest: https://opensource.com/article/18/9/using-sigils-perl-6 </plug>
More ›