Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cygx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
65 ms
·
661.
▲
by
cygx
7y ago
Perl6 also has been able to do this for a couple of years: sub fib(Int $n) { return $n if $n < 2; my $t = start { fib($n - 2) } fib($n - 1) + await($t); }
662.
▲
by
cygx
7y ago
It's not ads that are the problem, but the associated spyware.
663.
▲
by
cygx
7y ago
As far as I'm aware, here in DE they have to take such large notes as long as it's proportionate to the sum owed. Coincidentally, Germans do love their paper money more than most.
664.
▲
by
cygx
7y ago
The 19-year-old was in fact charged, pled guilty and "Bound over to be of good behaviour for Twelve Months".
665.
▲
by
cygx
7y ago
https://www.turing.org.uk/sources/sentence.html https://en.wikipedia.org/wiki/Gross_indecency Note that both Turing and Murray were charged with the same crimes, though which of them was charged w
666.
▲
by
cygx
7y ago
By that time, Amazon for example had already decided that Perl's time had passed. Another case in point, look at the Google trend for "perl tutorial"[1]. Unfortunately, that only starts at 2004, but you can still see by that
667.
▲
by
cygx
7y ago
It's a trade-off, though: Compactness and visual variety can help readability. There's a reason why symbolic math notation won out, and why the most regular and/or verbal languages (eg Lisp, Cobol) haven't won over every
668.
▲
by
cygx
7y ago
Perl6 was a reaction to Perl5's loss of mindshare, but it took a very long time to arrive and still cannot be used as a drop-in replacement for the latter. It has rather different strengths and weaknesses and thus has to find a new nic
669.
▲
by
cygx
7y ago
The thing is, Perl6 as it exists today can not be used as a replacement for Perl5, and in consequence, Perl5 development continues and will continue for the forseeable future. It's better to think of Perl5 and Perl6 as two separate lan
670.
▲
by
cygx
7y ago
You hear such complaints a lot, but frankly, this has never been an issue for me in practice.
671.
▲
by
cygx
7y ago
Depends: Some things can still be really (and I mean really ) slow. For example, I've been complaining about the speed of the regex/grammar engine for years. On the upside, the parallelism story is better than Python's or Pe
672.
▲
by
cygx
7y ago
Those are probably mostly Perl5 people, though.
673.
▲
by
cygx
7y ago
For the record, this could also be written as (1..100).hyper.map(&f).reduce(&g) Syntactic sugar can make a mess when overused, but also improve readabiliy tremendously when used judiciously.
674.
▲
by
cygx
7y ago
Perl6 has had two proper language releases (v6.c in Dec 2015 and v6.d in Nov 2018), and there's a compiler that implements them (namely Rakudo). The language is not 'finished' insofar that parts of the original design have ye
675.
▲
by
cygx
7y ago
My mistake: I should have said can't . Schrödinger time evolution is linear and unitary, ie once you split off branches that have factors living in different eigenspaces, they can no longer interact. It is true that branches may in pr
676.
▲
by
cygx
7y ago
Everett never called it "multiple worlds", he called it "relative state", which is IMHO much less misleading Also note that Everett's dissertation was titled The Theory of the Universal Wave Function , which puts
677.
▲
by
cygx
7y ago
More like solving the hard problem of consciousness via appeals to a world soul: It requires commitment to certain unfalsifiable metaphysical assumptions.
678.
▲
by
cygx
7y ago
There are various studies on the topic. For Germany, the figures that stuck in my brain were these: We can go 60% renewable without much of a problem, 80% with strategic storage and significant grid improvements, 100% via off-shore windpark
679.
▲
by
cygx
7y ago
Existing forests are neutral. Growing new ones is not.
680.
▲
by
cygx
7y ago
Entanglement and decoherence only solve the collapse problem if you subscribe to the many-worlds interpretation (or something equivalent).
681.
▲
by
cygx
7y ago
why do there also seem to be so many physicists claiming with 100% confidence that no such thing could ever work Because it would violate conservation of momentum. Now wait a minute, you might think, haven't we just learned that such
682.
▲
by
cygx
7y ago
And change in that consensus can only driven by those who reject it.
683.
▲
by
cygx
7y ago
It also took quite a while for people to come up with the concept of universal human rights, we're still bad at overcoming tribalism, and basing morality on majority vote isn't necessarily the best idea. That aside, you're ri
684.
▲
by
cygx
7y ago
The latter, presumably: Culling humanity for its own good is generally considered immoral, while it is deemed acceptable in case of nonhuman animals. That mismatch requires justification.
685.
▲
by
cygx
7y ago
Humpback whales have been known to protect other species (eg seals or gray whales) from orcas. Also, not all 'killer whales' are created equal: Some populations restrict their diet to fish and don't hunt mammals at all. It&#x
686.
▲
by
cygx
7y ago
Non-substantive comments are frowned upon. So's commentary on voting, for that matter. Cf https://news.ycombinator.com/newsguidelines.html
687.
▲
by
cygx
7y ago
https://static.skepticalscience.com/images/Temperature_Patte... vs https://static.skepticalscience.com/images/Temp_Pattern_1999... source: https://skepticalscience.com/greenland-us
688.
▲
by
cygx
7y ago
The increase in Germany was only temporary, though. We hit a low point in '09, and a high point in '13 (but still below levels of '07). Coal usage has gone down ever since, and we're currently at a new low.
689.
▲
by
cygx
7y ago
Naively, replacing coal with gas will decrease CO2 emissions by 40%. Not sure how this changes once you factor in supply chains, etc.
690.
▲
by
cygx
7y ago
History is a clear example. Hypothesis: Troy existed Prediction: there's a buried city in asia minor Test: dig it up
More ›