Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
arnsholt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
241.
▲
by
arnsholt
14y ago
Actually, regex syntax isn't primarily a Perl invention. Regexes as software tools go back to early Unix text processing tools (ed and grep, according to Wikipedia), and Perl took the syntax from those tools. It is true that Perl reformed t
242.
▲
by
arnsholt
14y ago
> Anything that comes out of the whole chomskian hierarchy stuff isn't going to look intuitive. Why not? Type-0 (recursively enumerable) languages are equivalent to Turing machines, and we've managed to invent some pretty good syntaxes
243.
▲
by
arnsholt
14y ago
IMO, the main problem is that the syntax is too terse. The syntax is taken wholesale from the algebraic notation used in mathematics and dropped in unmodified. Essentially, regex code ('cause regexes really are code) is not skimmable. The g
244.
▲
by
arnsholt
14y ago
That's one of the reasons I really like Opera mobile and Opera mini: if you fat-finger and there are two possible links you could've hit, it zooms in so that you can disambiguate the click.
245.
▲
by
arnsholt
14y ago
Tom Christiansen's talk Unicode: The good, the bad, & the (mostly) ugly covers a lot of Unicode wrinkles and how Javascript, PHP, Go, Python, Ruby, Java, and Perl handles them. Slides for that talk and two other Perl-related Unicode tal
246.
▲
by
arnsholt
14y ago
He's right though. Ten years ago it was different, but as the top-level comment quotes, the problem now is sifting through the terabytes or even petabytes of data generated by the sequencing process. Even worse is the fact that our ability
247.
▲
by
arnsholt
15y ago
For one thing, Juvenal was several centuries before the fall of Rome. The sack of Rome by the Goths was in 476. Second, this kind of rhetoric is more or less ubiquitous, just like the "the youth of today don't respect their elders" line.
248.
▲
by
arnsholt
15y ago
Actually, sign languages are quite distinct. Distinct to the extent that British and American sign language are not mutually comprehensible (ASL is in fact related to French sign language). In Norway (where I'm from), some of the sign langu
249.
▲
by
arnsholt
15y ago
The correct Classical plural of radius is indeed radii. As a Latinist, I'd accept radiuses as perhaps even better. Insisting on Classical inflection has a certain element of snobbery to it, IMO.
250.
▲
by
arnsholt
15y ago
I'd love to have the POD of this locally, but can't seem to find it anywhere. Anyone know where it lives?
251.
▲
by
arnsholt
15y ago
I don't have my full array of dictionaries at hand, but the Oxford Latin dictionary (the only one worth considering in my opinion if you want a serious discussion) gives the etymology of scio (the root verb) as possibly related to Sanskrit
252.
▲
by
arnsholt
15y ago
To be fair, the reason Perl, Python and PCRE (which all use pretty much the same regex syntax) don't use the linear-time algorithms is because they can't. Features like look-around and matching what you've already matched (/(\w+) \1/ to fin