Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ccalloway
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
ccalloway
5y ago
Umm, no, chaining together 5 or more somewhat arcane single-purpose tools is the unrealistic solution here. If the article was about using ls to just list files, and I had said "actually you should use Python's os.listdir() and fi
32.
▲
by
ccalloway
5y ago
I mean, the example you gave of what you use ssh for is itself an obsolete function. Using a personal Unix server to host a personal website is not really any different than making your own clothes using a sewing machine. It is perfectly fi
33.
▲
by
ccalloway
5y ago
Time spent maintaining your script by your future co-workers.
34.
▲
by
ccalloway
5y ago
That's fine but you are proving my point. I didn't say that no one uses shell, just that there aren't good practical reasons for doing so. Of course lots of people do it because they enjoy it or are used to it, and for them c
35.
▲
by
ccalloway
5y ago
> No "proper programming language" is capable of ergonomically piping between programs. You cherry-picked the one thing that shell script is somewhat better at than other languages (not even really needed for this task). Meanwh
36.
▲
by
ccalloway
5y ago
Yes, but the number of sysadmins in the world is converging rapidly to zero. Mainly because the invisible overhead of having your boxes managed by people who use sed and awk is much higher than the alternatives (containerisation, cloud vend
37.
▲
by
ccalloway
5y ago
Yes, but execution speed (of things like creating a lookup table from the second and third fields in each line) is rarely the operative constraint.
38.
▲
by
ccalloway
5y ago
Firstly the model of sshing into your server and trying to run commands on it directly is more or less obsolete. Secondly the presence of all these utilities on a machine is far from guaranteed - expecting Python to be present is no more or
39.
▲
by
ccalloway
5y ago
> The practical utility has just been demonstrated in this particular article? How? The author is doing something which could be done much more easily and elegantly in a programming language.
40.
▲
by
ccalloway
5y ago
Most of the justifications for using collections of command-line Unix tools are no longer valid today. Instead you should be using a proper programming language. Note that people who still do use complex solutions built from cat, head, cut,
41.
▲
by
ccalloway
5y ago
A pheromone has a specific purpose of affecting the behavior of other humans. The scent of various bodily emissions, eg urine, would seem to meet the above criteria, but they are not usually considered pheromones.
42.
▲
by
ccalloway
5y ago
The absorbent stuff in diapers is basically corn starch.