Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
raiph
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
241.
▲
by
raiph
11y ago
Aiui the Unicode problem is even more complex than most folk realize for the reasons I explain in this comment. ----------------------------------------- On the final technical destination implied by Unicode: The final technical destination
242.
▲
by
raiph
11y ago
Question from the Internet: "Does your exploit also work in tainted mode?" Netanel Rubin: "No". This simple "No" demonstrates the fundamental deception inherent in Netanel's talk. ---- From the Perl securi
243.
▲
by
raiph
11y ago
First of all, no one can yet run 6.c code on the JVM. Maybe the JVM backend will get there by Christmas 2016. The JVM's JIT is pretty awesome once it gets well warmed up. MoarVM's JITing is much less impressive so far but it'
244.
▲
by
raiph
11y ago
Hi Ultimatt, I was saddened when I saw that someone who loves Perl 6 used the word 'moron'. It is "closely tied with the American eugenics movement" according to wikipedia and is a deprecated diagnostic categorization of
245.
▲
by
raiph
11y ago
> Oh you're sticking with that confusing % for hashes, @ for arrays then $ for everything else... The claim is something like: Some folk like distinguishing singular ($foo) and plural (%dict, @array) nouns even if some others dislik
246.
▲
by
raiph
11y ago
It has some native typed features that mean one can speed up numeric or raw byte/bit operations to be faster, sometimes a lot faster than, say, Perl 5, but it's generally a whole lot slower, 10x and even 100x slower wasn't un
247.
▲
by
raiph
11y ago
I can see why this stuff is confusing. Perhaps the following will help reduce some of the confusion and highlight what's important. First, about the title: 1. The article's original title was "Christmas is here". It make
248.
▲
by
raiph
11y ago
My apologies. I had assumed that what you were talking about had something to do with either Perl 6 or Camelia.
249.
▲
by
raiph
11y ago
> downright manipulation ... huge campaign ... get girls to code, even if they are not interested ... decided that we should feel bad ... things that overwhelmingly attract males ... why not extrapolate That's an impressive amount o
250.
▲
by
raiph
11y ago
It sounds like you like Camelia but think the design goal is a mistake. Is that right?
251.
▲
by
raiph
11y ago
A timely post on encouraging the opposite psychological space from depressed, namely "optimizing for fun": https://perl6advent.wordpress.com/2015/12/20/perl-6-christma...
252.
▲
by
raiph
11y ago
I'm pretty sure the author of the medium article was conveying an entirely different point. Namely, that they noticed they wrote poor code, some time ago, when they were depressed, not that they got depressed, now, when they saw poor c
253.
▲
by
raiph
11y ago
> I'm getting tired of this argument Perhaps this is because Unicode is an exhaustive standard. :) Seriously, I hear ya. > every argument had the same hole that I see in your post: What, exactly, is a "character"? Pleas
254.
▲
by
raiph
11y ago
> Swift has probably the most comprehensive Unicode string API I've seen Perl 6 has long specified an interesting and rich approach to Unicode. Have you explored it? (An initial implementation for an initial release of the Rakudo co
255.
▲
by
raiph
11y ago
If all someone wants to express to a reader is literally `if x then y` then `y if x` doesn't really help. But we typically don't write utterly trivial one-liners with single letter names for conditions and actions. In actual progr
256.
▲
by
raiph
11y ago
> most libraries have little to no regard for thread safety because perl's threading support it so bad. Fwiw Perl 6's concurrency and parallelism is very much one of its strengths, not one of its weaknesses. (It's pretty o
257.
▲
by
raiph
11y ago
It turns out that the same NFG mechanism developed to support graphemes works for this non-grapheme scenario too: "... POSIX doesn’t promise you’ll get UTF-8, or even ASCII. It promises ... a bunch of bytes. We can now cope with this p
258.
▲
by
raiph
11y ago
A note of caution; it's way better than nothing and will get where it needs to be one day, hopefully in 2016, but it currently uses some awful hacks that make it suck for a lot of stuff.
259.
▲
by
raiph
11y ago
A lot of the advanced stuff is internal work leading to a simple exterior (at least in principle, modulo bugs and optimization work). Think "tormenting implementors on behalf of users". For example, in Perl 6 a character at the la
260.
▲
by
raiph
11y ago
Aiui it's for any time a coder prefers that a noun's name does not emphasize/convey the basic nature of the thing the noun refers to. Fwiw you can assign to such "raw" nouns if you declare that the raw noun you'
261.
▲
by
raiph
11y ago
I see it as a natural part of Perl 6's gradual typing approach, ie. a feature, not a mis-feature. It can be mis-applied. It arguably has been mis-applied in this example. But I can also argue it the other way. It depends on whether the
262.
▲
by
raiph
11y ago
If you click the green Start... button at this page: https://kiwiirc.com/client/irc.freenode.net/perl6?nick=chris... (change the nick if you want) you'll join the real time chat room (IRC) dedicated to develo
263.
▲
by
raiph
11y ago
> [implicitly approximating numbers like `0.1`] is a widespread practice Sure, but the key point is that it leads to approximation that may cause problems. It makes much more sense to interpret `0.1` as meaning exactly that number. Same
264.
▲
by
raiph
11y ago
> 0.1 and 0.2 ... are repeating decimals ... Au contraire, `0.1` and `0.2` are non-repeating decimals. Their approximations may be repeating of course, and some languages indulge in such approximations, but there's nothing intr
265.
▲
by
raiph
11y ago
One way to do it in Perl 6: > <brown red green yellow yellow brown brown black>.Mix mix(red, yellow(2), brown(3), black, green) See http://doc.perl6.org/type-composite.html for a little more info about Mix
266.
▲
by
raiph
11y ago
Fwiw Perl 6 only autovivifies anything, including intermediary data structure levels, when writing to a data structure. So nothing happens in this case: my %h; dd %h if %h<foo><bar><baz> { say "Never happens&q
267.
▲
by
raiph
11y ago
With apologies for the blizzard of questions: Do you have/write test suites? In P5? P6? Have you seriously tried any of the p5-to-p6 translators with your scripts? Was the usage message typically much-improved, about-the-same, or needs
268.
▲
by
raiph
11y ago
> Ruby is less like Perl 6 regex-wise due to the smart match (among many other things). In both Perl 5 and Perl 6, smart match (`~~`) with a regex on the right hand side is just an alternate spelling (Perl 5) or correct spelling (Perl 6)
269.
▲
by
raiph
11y ago
> to be undeservedly condescending ... is not lovely. It seems like you have just diagnosed someone's behavior without them asking for a diagnosis and your diagnosis is that they are being condescending. See the problem there? And t
270.
▲
by
raiph
11y ago
> if they want anybody to pay attention they should announce it on perl6.org or at least a more professional looking page. Right. I think that's the intent -- this christmas. But Larry can't stop someone posting an article that
More ›