Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Qcombinator
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
Qcombinator
4y ago
Now there’s a blast from the past! (It really ought to have a warning that it’s full of obsolete code.)
2.
▲
by
Qcombinator
7y ago
#! /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
3.
▲
by
Qcombinator
7y ago
Yes, indeed — I should have said "scalar element of the array var..." or something.
4.
▲
by
Qcombinator
7y ago
I think explains a lot of the polarised reactions people have towards Perl. It's trivial to understand the difference between the scalar var $foo and the array var $foo[0] if someone explains it to you or you read it; but if you'r
5.
▲
by
Qcombinator
7y ago
You don't have to be "wrong". You just have to be not exactly the same as everybody else. And of course, nobody is exactly the same as everybody else, therefore there is not possible for there to be such a thing as The One Pe
6.
▲
by
Qcombinator
7y ago
Sounds like the perfect opportunity to check out P6. It's stable enough and has a lot of cool features if you want to learn something new. It even has built-in multi-dispatch command-line arg-processing: https://docs.perl6.
7.
▲
by
Qcombinator
7y ago
Then it should have been called "1.0". Calling it "DEFINITELY NOT 1.0" while deciding that that is secret P6 code for "really means 1.0" is awfully bad marketing. (More seriously, slow performance, missing feat
8.
▲
by
Qcombinator
7y ago
A lot of languages — in fact, a lot of software in general — is designed to make things easy for the computer/programmer: "This is how it works and you just have to adapt, deal with it." Larry Wall put a lot of effort into ma
9.
▲
by
Qcombinator
7y ago
No, P6 was intended to fix as many Perl 5 problems as possible, and being eminently parseable was considered very important (and important in deciding to forsake backwards-compatibility, I believe). In fact, a key design-goal is having th
10.
▲
by
Qcombinator
7y ago
>The world has moved on. 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 woul
11.
▲
by
Qcombinator
7y ago
As just another Perl hacker, your "not real Perl" made me laugh. And no, let me reassure you that that snippet of line-noise is not, in fact, syntactically valid Perl after all. ...you have to transpose a couple of characters for
12.
▲
by
Qcombinator
7y ago
This applies to Macs as well. Or at least it used to, in some situations — now that I think about it, I can't really recall the last time I did that. The standard behaviour now seems to be scrolling faster the farther the mouse is from
13.
▲
by
Qcombinator
8y ago
>You have to click the speaker icon once to bring up the bar, then look at it and drag it to the desired position. Actually, you don't — tap the "button" and just start sliding your finger. Same for the brightness control.
14.
▲
by
Qcombinator
9y ago
The way command-tabbing brings all an application's windows forward always bugged me too. Fortunately, there is LiteSwitch ( http://sysbeep.com ) that lets you switch to the frontmost window only. While I'm at it, I'
15.
▲
by
Qcombinator
10y ago
Doesn't seem very ironic for an institution that, whatever you think of it, has been a prominent supporter and driver of science ever since the days when it was known as "natural philosophy".
16.
▲
by
Qcombinator
10y ago
Various reasons, of course, but a key one is that we're lazy: formal logic needs to be applied to something, but apparently accusing the other guy of fallacies is more fun than the boring old job of taking time to define one's ter
17.
▲
by
Qcombinator
10y ago
I made no reference to a subject either. For "my" experiences to be not really "anybody's" experiences is a somewhat separate problem. As is a belief that I don't really have any beliefs, and so on. Any attempt
18.
▲
by
Qcombinator
10y ago
> …device makers build in pattern learning so devices can recognize when they're been compromised. A coffee maker that suddenly starts sending out email, for instance, would be suspicious and should set off alarms. Or, you know, d
19.
▲
by
Qcombinator
10y ago
> Materialism can classify qualia as an illusion 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
20.
▲
by
Qcombinator
10y ago
And for making keyboard input do things you didn't know were possible, OS X has Karabiner ( http://pqrs.org/osx/karabiner/ ). Advanced stuff has a steep learning curve, but the author's really helpful.
21.
▲
by
Qcombinator
10y ago
I'm tempted to file this as another "Humans think oversimplistically, says oversimplistic study". The world is a massively complicated place, and nobody can come close to understanding it all. If your intellectual background
22.
▲
by
Qcombinator
10y ago
Of course, one man's "reasoning should be about outcomes, not ideology" is another man's "the ends justify the means"….
23.
▲
by
Qcombinator
10y ago
> The perl example cited here kind of blows my mind compare to the trivial python approach 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'
24.
▲
by
Qcombinator
10y ago
We draw elephants with trunks like trumpets ( https://media.giphy.com/media/Qms9I3pAiN2la/giphy.gif )… why shouldn't they?
25.
▲
by
Qcombinator
10y ago
Wikipedia should never have existed. 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