HNHacker News
TopNewBestAskShowJobs

avgcorrection

4,323 karma · joined September 27, 2021

submissionscomments
avgcorrection··on Command line interface guidelines (2021)
How is it similar? I get deprecation warnings if I update the library. I can pin the version of the library. A library is something I work with, unlike a terminal program which might be written and forgotten.

Then those terminal programs get upgraded on the next system update because hey, you’re supposed to the get latest version right?

Terminal programs can do the same (`-v1`) in principle. Few do.

avgcorrection··on The mythos of leadership
> Such books are celebrations of individualism. Their primary effect is to promote an individualist perspective on the world.

Can we please stop reading history and stories as things that people in the past slavishly believed to the letter like unthinking machines? Of course stories about leaders glorify them. That’s just the victors writing history. Of course leaders and their sycophants mostly bragged and embellished.

Did people have a reason to believe those things in their heart, though? What does “divine right” matter to a serf?[1]

Of course we all know that we just don’t automatically believe everything about some person just because his bank account is large enough, or he is a high authority in the military, or the so-called democratic process chose him to be a representative of something. But somehow we tend to speak of the Middle Ages like, oh that’s when everyone believed in Divine Right (or whatever) and no one was the slightest bit sarcastic about it. (But then what were all those armies and fortresses about? If everyone toed the line...)

It’s like cynicism was only invented in 1970 or something.

And the answer to the question has got nothing to do with leaders per se. It’s just that political liberalism reigns supreme, which is incredibly individualistic. (The dominant political philosophy is very relevant to the conception of leadership.)

[1] https://www.youtube.com/watch?v=R7qT-C-0ajI&pp=ygUUbW9udHkgc...

avgcorrection··on Command line interface guidelines (2021)
Bash

    bind 'set enable-bracketed-paste on'
avgcorrection··on Command line interface guidelines (2021)
The worst part about terminal programs is that they can’t be deprecated. Or I don’t know of a way to do it. Because once you release something someone might immediately put it into a script somewhere instead of running it interactively. Now what do you do? Display a “hint” about the deprecation? Well no one’s gonna read that because it’s a script which is run non-interactively.

So you just have to design the UI perfectly on the first try. That’s possible for small tools but what about larger ones? Past a certain point it becomes a truism that do-it-once perfectly without iteration is impossible.

avgcorrection··on Command line interface guidelines (2021)
The article covers this. Special machine-readable output modes like `--json`.
avgcorrection··on Improving Interoperability Between Rust and C++
Is “erased” how Haskell typeclasses work?
avgcorrection··on Out-of-bounds read and write in the glibc's qsort()
Okay thanks.
avgcorrection··on Improving Interoperability Between Rust and C++
Well, what about the SC landlords?
avgcorrection··on Out-of-bounds read and write in the glibc's qsort()
There’s also Rust’s half-measure of overflow in release mode, panic in debug mode.
avgcorrection··on Russian cosmonaut sets record for most time in space – more than 878 days
I guess that’s one way to bring up the Russian invasion topic. “Time has passed, huh”
avgcorrection··on Plastic bag bans work
And no one was surprised.

Still a wide success for the Environmental Theater: focus all attention on plastic bags (why so specific? plastic is used in way, way too many things already), which is used by consumers. It doesn’t matter if the use of plastic is reduced.

Just spin the wheels and point fingers. It’s much simpler than solving environmental problems.

avgcorrection··on To all the newspapers I loved
Also what the article says about the WSJ:

> > Anwar Shaikh, the most left-wing economist in the world, introduced me to “The Wall Street Journal”. I met him in his office as he was writing the monumental “Capitalism: Competition, Conflict, Crises”. He told that he reads the WSJ because it tells the truth about what is happening in the economy. It struck me then by the seeming oddity of the most left-wing economist in the world praising the most right-wing daily in the world. But Anwar was right. An economics daily has, in the part that deals with the real life, to be as objective as possible because if it spreads fairy tales people who believe them will lose money. Then no capitalist will buy it. For they do not like to lose money. In the trade-off between the fairy tales and cash, they chose the latter. Other dailies that appeal to the “pensée unique” do not need to worry about that kind of elemental truth. They can make things up.

avgcorrection··on To all the newspapers I loved
> And there’s a funny story about Chomsky... He went to the dentist and the dentist said, well your teeth are alright but you gotta stop grinding them. He said, I don’t grind my teeth. The doctor said, you do, your enamel is worn off. So Mrs. Chomsky was there and he asked her: does he grind his teeth in his sleep? No, no he doesn’t do that. Well they both got terribly interested—when did it happen? Well they finally found out that in the morning while having coffee, and [Mrs. Chomsky] might be out of the room, he would start to read the New York Times and his teeth would GggRRrGRrr hahaha

— Gore Vidal

https://www.c-span.org/video/?c4507208/user-clip-york-times-...

avgcorrection··on It begins: Ethiopia set to become first country to ban internal combustion cars
This sounds like a tropical country banning oil&gas heating in winter.
avgcorrection··on A lesson in dockerizing shell scripts
> Yeah, I know, I know. REWRITE IT IN GO/RUST/MAGICLANG. The script is now more than 500+ lines of bash.

These screeds get more and more random.

The standard advice was always to just not let a program in Bash get beyond X lines. Then move to a real programming language. Like Python (est. 1991).

avgcorrection··on Limitarianism: The Case Against Extreme Wealth
Traumatic? What are you talking about?

And it’s easy to argue (EDIT: more like assert without evidence) that cherry-picked aspects of the status quo for the last forty years is the linchpin of everything.

avgcorrection··on The Burial of William the Conqueror: A Comedy of Errors
That’s a cool aside but Attila rampaged many centuries before the Mongols.
avgcorrection··on Limitarianism: The Case Against Extreme Wealth
People of my opinion/disposition already know that CEOs make too much. You don’t have to indirectly tell me.
avgcorrection··on Limitarianism: The Case Against Extreme Wealth
I mean the value leeches are also present.
avgcorrection··on Limitarianism: The Case Against Extreme Wealth
Those things were created by working people, most of whom are not wealthy.
avgcorrection··on Limitarianism: The Case Against Extreme Wealth
> Nearly everyone alive today is a "millionaire" compared to people living a few generations ago in terms of standard of living.

Ah so both literal millionaires and common people should be happy with a median wealth life. I agree.

avgcorrection··on Limitarianism: The Case Against Extreme Wealth
Is political ambition measured in pages published?
avgcorrection··on The Burial of William the Conqueror: A Comedy of Errors
> This is an interesting contrast with leaders like Genghis Khan, who seemed to think (or at least portray to others) that his actions were not only acceptable but noble and religiously desirable.

Didn’t the Muslims or Christians (or both) think that the Mongols were the Wrath of God? I’d definitely lean into that.

avgcorrection··on Oil firms forced to consider climate effects of new drilling, rules Norway court
That the responsibility is in the end of the whole pipeline (the consumer) is 90% of the environmental propaganda—plastic bags, plastic straws, consumer lifestyle.
avgcorrection··on Rust, a Game Review (2019)
It’s a real game and not satire like the linked article.
avgcorrection··on Rust, a Game Review (2019)
That /r/rust took that subreddit before the Real Rust Video Game has confused many.
avgcorrection··on Gitlab's ActivityPub architecture blueprint
Very interesting, thanks for sharing. It’s nice to see a side of this which isn’t just about a clash of tech cultures (it seems).
avgcorrection··on Gitlab's ActivityPub architecture blueprint
Others keep in mind that Josh is so experienced with the email workflow that he made a tool to manage multiple versions of a “patch series”: git-series

(git(1) doesn’t help you with maintaining patch series)

avgcorrection··on Gitlab's ActivityPub architecture blueprint
You can still get a “diff of diffs” with git range-diff. (If I interpret you correctly.) Like it says that in this iteration a paragraph was added to one commit, another commit was dropped, and another commit was expanded.

But you gotta do most of the work of lining up what the previous thing was yourself. (Inconvenient if you rebased and can’t seem to find the previous version.)

avgcorrection··on Gitlab's ActivityPub architecture blueprint
I’ve used email a bit and there are some pros and cons.

For email: It’s just there already, like you mention. Once you are setup you can do things like comment on a “line of code” very straightforwardly. It’s already distributed and all that. There are bespoke (project-specific probably) bridges from forges (maybe mostly GitHub) to mailing lists.

For this new thing: You don’t have to worry about all the legacy of email. You don’t have to worry about 90% of the world using email “wrong” according to techies. You can probably track changes more easily than keeping track of where you sent patches. You don’t have to make bespoke forge-to-email bridges.

← PreviousPage 5 of 34Next →