Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gpvos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
781.
▲
by
gpvos
3y ago
All nontrivial sed programs are line noise, there is no other way to program in it. In Perl you at least have a chance. Awk is not much more readable than Perl actually.
782.
▲
by
gpvos
3y ago
That sounds like the kind of homebrew crypto that one should never do in production. I'll stick to my boring but proven salted hashes, thanks.
783.
▲
by
gpvos
3y ago
What would you suggest instead?
784.
▲
by
gpvos
3y ago
However you store them, it is a database. And there's actually nothing wrong with using a relational database for that. (Of course, you don't store passwords, but salts and salted hashes.)
785.
▲
by
gpvos
3y ago
Mozilla must have introduced this feature for some reason, but the article doesn't talk about the possible negative consequences of disabling it.
786.
▲
by
gpvos
3y ago
Thanks. I admit I haven't often used Moose et al., or any Perl OO system, except in a project that was set up by someone else in which I only occasionally added a method.
787.
▲
by
gpvos
3y ago
I wasn't saying anyone seriously used that for OO. (There are still uses for tying.) But it would have been nice to have one integrated mechanism, with class syntax for high-level use and bless for low-level access. And maybe with some
788.
▲
by
gpvos
3y ago
Was it really not possible to make that a shorthand for the existing structure with blessing variables? Having two object systems may make things too confusing.
789.
▲
by
gpvos
3y ago
That was later though. Interest in Perl was already declining a bit then. And the problem was more that the design and implementation of Perl 6 (now Raku) took extremely long, and attention to Perl 5 suffered from that, as Perlistas thought
790.
▲
by
gpvos
3y ago
Because PHP (heavily inspired by Perl, but not as well thought out) came with all the glue to directly use it to generate web pages. Then came Ruby (also inspired by Perl, but with a more mainstream syntax, and nicer in some ways), and Ruby
791.
▲
by
gpvos
3y ago
You still appear to be advertising a specific book selling website instead of recommending books like OP asked for.
792.
▲
by
gpvos
3y ago
But which book then?
793.
▲
by
gpvos
3y ago
You need to make sure that you write the clever bits clearly. Maybe add a comment. It takes some discipline, but isn't hard. In fact, Perl remains remarkably robust if you stack clever tricks on top of each other.
794.
▲
by
gpvos
3y ago
Absolutely. It is comparable to python in some ways, but makes it much easier to write quick one-liners using regexes and data manipulation, and to scale those up to real programs. It fills the gap between bash scripts using awk, grep and s
795.
▲
by
gpvos
3y ago
I thought the NY Times had reworked it so you couldn't see the answer in advance anymore, but maybe not. The current code is too obfuscated for me to figure it out easily.
796.
▲
by
gpvos
3y ago
So Neal solves Wordle every midnight to keep this game running?
797.
▲
by
gpvos
3y ago
Correct. In summer the main window façade is not in direct sunlight.
798.
▲
by
gpvos
3y ago
The Wikipedia page has been posted here many, many times: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
799.
▲
by
gpvos
3y ago
The most amazing type of house, and one I'd like to live in, is the Heliodome, which apparently is heated by the sun even in winter while staying cool enough in summer: https://www.heliodome.com/ .
800.
▲
by
gpvos
3y ago
I used the common Unix "units" program, and entered quarts and asked for l (i.e., litres). Maybe it used my locale? GNU programs can be crazy like that.
801.
▲
Otter Browser
(otter-browser.org)
1 points
by
gpvos
3y ago
|
0 comments
802.
▲
by
gpvos
3y ago
10 quarts = 11.3 l I had no idea that a quart is about a litre.
803.
▲
by
gpvos
3y ago
I don't care about copyright one iota, but this may be useful in distinguishing fake images from real photos.
804.
▲
by
gpvos
3y ago
We did that during the agrarian period before modern times, but evidence suggests that hunter-gatherers did not do it, or at least much less, instead staying up late at the camp fire.
805.
▲
by
gpvos
3y ago
$() is a quote, like ``, and the "$file" is entirely within it, so it should work.
806.
▲
by
gpvos
3y ago
Maybe you are referring to the Ediacaran period: https://en.wikipedia.org/wiki/Ediacaran_biota , which happened a bit later. Something like it can have happened before that as well, but that is more the subject of curr
807.
▲
by
gpvos
3y ago
Some context: between 1.8 and 0.8 billion (milliard) years ago, the Earth went through a period colloquially called the "Boring Billion", when tectonically and climatically almost nothing happened. Evolutionarily, however, this wa
808.
▲
by
gpvos
3y ago
Okay, apparently that is a reference to something I'm not getting. Could anyone please explain?
809.
▲
by
gpvos
3y ago
What a misguided comment. Carmack has a few good points, but seems not to get that having a job you like is a luxury few can attain. The goal is not to prevent sone from working and earning more, but making sure that all can earn enough to
810.
▲
by
gpvos
3y ago
They are not always on time, but in my experience and from what I'm hearing, the long-distance trains (IC and ICE) have more and worse delays than the regional ones.
More ›