84 karma · joined February 1, 2017
#! /usr/local/bin/perl -w
use Lingua::Romana::Perligata;
maximum inquementum tum biguttam egresso scribe.
meo maximo vestibulo perlegamentum da.
da duo tum maximum conscribementa meis listis.
dum listis decapitamentum damentum nexto
fac sic
nextum tum novumversum scribe egresso.
lista sic hoc recidementum nextum cis vannementa da listis.
cis.
And people say Perl requires too much punctuation!It even has built-in multi-dispatch command-line arg-processing: https://docs.perl6.org/language/create-cli
(More seriously, slow performance, missing features, bugs, etc. were part of the reason for not calling it "1.0", but I would agree that to be really successful, the language needs a release that is called 1.0 and acts like it.)
The result was a language that has a lot of power and flexibility. People who like Perl tend to love it, because it fits like a tailor-made suit instead of all those off-the-rack languages. People who dislike Perl tend to hate it, because all that power and flexibility can be easily abused (even when you're trying not to — there's a reason so many people buy off the rack instead of making DIY suits).
•https://bigthink.com/videos/why-perl-is-like-a-human-languag...
Except that it hasn't. What other language does everything P6 does? (Or even tries, let alone does it as well or better.) What language does "most" or "a lot" of it? To be honest, I would have expected that after a couple of decades, there would be other languages that stole a lot of P6's thunder, but if there is anything remotely comparable, I haven't heard of it.
P6 is an surprisingly ambitious project. (I think even surprisingly so to its creators.) Apparently it just takes this long to do something that big and powerful.
...you have to transpose a couple of characters for that:
cat nocarrier.pl
!$#foo->_%[]
perl -c nocarrier.pl
nocarrier.pl syntax OK
(And yes, that genuinely does make me love Perl a tiny bit more. I guess you and I are just different that way, and that's OK.)Actually, you don't — tap the "button" and just start sliding your finger. Same for the brightness control.
I think it is one of those cases Apple sometimes has where they come up with a good interface, but people are so used to bad ones they don't even realise that a better way might work.
I'm not surprised that I've seen a lot of complaints about the touchbar; if you're used to physical keys, a touch-screen is no substitute. (Fortunately, I was already weaning myself off Fkeys, so I don't really miss them.) But I am surprised that I haven't seen more discussion of what it gets right. A slider that you can actually slide is a good UI metaphor for volume (as opposed to tapping fake keys repetitively). The touchbar also can show buttons from dialog-boxes, letting you "type" them instead of having to move your hand to the mouse. It isn't always used to great effect, but it's clear that some real thought was put into it, and I appreciate the attempt to take advantage of what it can do.
While I'm at it, I'll also plug https://manytricks.com/witch which I find invaluable for switching between windows and just got an update.
Or, you know, don't install an e-mail server in your coffeepot to begin with.
(You'd think that would be a lot easier, too, but I guess the other way they can charge more for "machine learning".)
But can it? To say something is an illusion is to say that is really an experience of something else. And qualia are qualitative experiences, so the claim is that certain experiences are not experiences… which is problematic. Of course, a proper argument needs to be fleshed out more than that, but eliminativists face a real difficulty, unless they broaden the definition of materialism (which would take us closer to Aristotle).
Of course, your background beliefs are never going to be perfect, so sometimes you will reject the wrong things, but that's not because our reason is "broken" per se, it's an engineering trade-off: we have to take certain shortcuts, make certain assumptions, apply certain guesses, because working everything out in full mathematical detail just isn't possible.
(That said, I'm certainly not claiming that most people are brilliant thinkers — the line "Coming from a group of academics in the nineteen-seventies, the contention that people can’t think straight was shocking" would come as news to everyone from Aristophanes to Zamyatin.)
That's because the Perl version is a two-for-one deal: just for fun, Cestith threw in a non-recursive version too. The 'trivial' recursive approach is more or less equivalent to the Python:
sub flatten { map ref($_)? flatten(@$_) : $_, @_ }Encyclopedias exist to provide (a) access to information, (b) organisation, and (c) some guarantee of expertise. It's easy to take for granted how amazing it is to have a world of information at our fingertips, but the Internet itself provides greater access to more information than any encyclopedia ever could. (And of course Wikipedia deliberately eschews original content anyway.) We already have tools to organise and find information on the Internet: it's called Google. Or DuckDuckGo. Or etc. How much authority an encyclopedia has depends on how much you trust its editors to be, or be able to find, experts in the relevant subject matter. A search engine doesn't provide any guarantee of accuracy in its results, but then neither does Wikipedia — most people point out that it's up to you to follow the references and evaluate them. The things Wikipedia is good at are the things that the Internet itself is good at; and the things that the Internet on its own is bad at (e.g. vetting accuracy) is not something that can really be fixed short of turning into Britannica Online.
It's not quite that simple, of course. In theory, anyone can throw up a webpage on hemovanadin for the world to see, and it is relatively easy to do so, but it could be easier. What isn't so easy is collaborating — Wikipedia's greatest strength is also its Achilles' heel: anyone from anywhere in the world can contribute, constructively or destructively. But easier collaboration is a technical issue. There's no reason in principle that a centralised body should be required to manage all that. It's just that the availability and user-friendliness of the necessary software currently provide too much friction to ignore.