HNHacker News
TopNewBestAskShowJobs

thworp

377 karma · joined October 19, 2022

submissionscomments
thworp··on Why I use Firefox
I used to do this, but ever since I was forced to boot into windows at work I went back to treestyle tabs everywhere (context-switching became too much). I also never bothered to set up scripts/keybinds for easier managment of deeply nested containers in i3 so moving windows from one tree to another became a keyboard-attack scenario. I have to admit that this one of the things that is nicer to do with a pointing device.
thworp··on Why I use Firefox
My solution is to use (ungoogled if you insist) Chromium for PWAs.
thworp··on Why I use Firefox
Tree style tabs is more stable and performant but also has a few nice addons (TST Colored Tabs being one of my favs). Sideberry can be infinitely customized but I found it to be extremely slow with 100+ tabs across multiple windows.
thworp··on Rainwater everywhere on the planet is unsafe to drink due to chemicals (2022)
> I completely disagree. The idea that in the past people were "lucky to see their children grow up" is dramatic, and a tautology anyway since we are all "lucky" to see our children grow up in any epoch. It paints a needlessly bleak picture of some awful past that technological progress is implied to have eliminated with justifiable costs.

You got me there, I do think the costs for (almost) eliminating famine and diseases with double-digit mortality rates are justifiable. That said you didn't really answer my question, but I'll roll with it.

Consider the extinction of megafauna [0], the deforestation of China [1] or Mesopotamian farming practices [2]. It would be hard to blame these on Western civilization (real or imagined). I'd say we have been operating in the same unsustainable way for a long time. I wish it were otherwise because it would make everything easier.

[0] https://royalsocietypublishing.org/doi/10.1098/rspb.2013.325... [1] https://www.sciencedirect.com/science/article/pii/S003101822... [2] https://www.science.org/doi/10.1126/science.128.3334.1251

thworp··on Ant Geopolitics
People hold about 100 Megatons of dry carbon unless I made some fundamental error (9 billion * 65 kg * 0.185 [18.5% carbon by mass]). It's actually a bit amazing when one calculates figures like this.
thworp··on Rainwater everywhere on the planet is unsafe to drink due to chemicals (2022)
I think the parent comment made a reasonable point and did so in a calm manner. It in no way overplayed the misery of the past (I'd argue it vastly underplayed it).

Now, to your contention that "we've screwed up as a civilisation". What do you mean exactly? What civilization and when did the screwing up start?

thworp··on What do we get wrong about the Byzantine Empire?
Thin layer? No, the core reason for Rome's success was the efficiency and adaptability of this administration. It could always generate much more taxes, soldiers, loyalty and diplomatic influence than other states that had the similar amounts of land and people. Then, when something had to change, the elites or even the people just deposed the emperor and got someone in power that did what was necessary.
thworp··on Firsty.app – free 300kbit/s eSIM for US/EU
Do you have some references for the local breakout thing (preferrably technical docs/spec)? Seems like it would not be in Telcos interest to saturate their interconnects needlessly.
thworp··on Microsoft is driving users away
If your linux system update included a new kernel you _will_ need to reboot to actually use the new kernel. I am not aware of any desktop distros that come with kernel live patching enabled.
thworp··on What is going on in Argentina?
My comment was specifically a response to the "because it is capitalism on steroids" line of reasoning which implied that global warming and environment destruction are consequences of capitalism.
thworp··on What is going on in Argentina?
That's the spirit. There really is no other way than development. If we try to go back to 19th-century resource consumption and CO2 emissions we also need 19th-century population numbers. If the "degrowth" (a euphemism for poverty and societal collapse) movement got absolute power that will be precisely the result, intentional or not.
thworp··on What is going on in Argentina?
This is such a tired argument. The socialist block was, at least by the 1980s, much more wasteful and destructive to the environment than the capitalist world. I encourage you to search for videos like "1980s krakow winter" or "Elbe river GDR" to see a few examples. Then for comparison research when capitalist countries passed their various environmental protection laws.

More than that, it's easy to make abstract statements like "we need to slow down", but how do you imagine that could be done? Who decides which sectors need to be frozen and how do we make sure we don't accidentally starve millions of Africans while doing it (look up food self-sufficiency numbers)?

thworp··on How much is one terabyte of data?
This tripped me up as well. While modern NAND SSDs do slow down to about a third of the advertised speeds on non-sequential reads/writes, that is still 2-3 GB/s. The "normal" (SATA) SSDs are just limited by SATA's link speed, they could easily get to similar rates.
thworp··on Show HN: A CLI tool that enables you to remove files easily and safely
Looking good as far as I can see. I have two suggestions:

- explain how the tool works and how it compares to similar tools in the readme

- add completions for commands and flags. This is a must for many reasons.

edit: I will second jraph's comment about the different commands being a nightmare, I just didn't wanna say it for an alpha release. Ideally wrm would work similar to rm where `wrm foo` moves foo to trash and operations on the trash are the ones behind an extra command.

thworp··on What if public housing were for everyone?
Well yes, obviously there will be a price floor on housing in a wealthy country. My point is that in recent decades the entire developed world has absolutely strangled their housing markets. Anywhere people want to move to, the wages:home prices ratio has gotten to unprecedented levels.

In Europe the reasons are slightly different. A big one is marking entire buildings, their facades or even their ornamentation as historical landmarks on a large scale (sometimes entire neighbourhoods). Buildings codes are quite a bit stricter than in the US (in all aspects, especially energy efficiency and fire code) and permitting is just as slow and vulnerable to lawsuits-after-the-fact.

The reasons I suggested midrises is because that is the style of building that was built in Europe during the late 19th / early 20th century population boom and it still holds up today (people want to live there).

thworp··on What if public housing were for everyone?
I appreciate every single new housing unit being built and think public housing is generally a good idea. But recently there seems to be a trend of people wanting to fast-track zoning and permitting for public housing only, while keeping private builders stuck in the quicksand of permitting.

This is not the way mainly because the state does not have the resources to satisfy all housing demand (but also because two-tier rental markets are really unfair to newcomers). What we need is radical reforms in permitting and regulation at all levels of government (but especially at the local level). Imo the main obstacle to these reforms is that it is too easy to shout them down with talking points like "neighbourhood character", "lawn space", "shoeboxes" or "greedy developers".

If North American cities zoned a quarter of their area as 5-story midrises with large parks and mixed use and made permitting quick and easy we could really bankrupt the rent-seekers.

thworp··on What if public housing were for everyone?
> The problem is that the investors who fund political campaigns and media oligarchs hate HATE HATE public housing, because it reduces the value of their property investments. Extra supply reduces the price of existing supply.

While this is obviously correct, you completely ignored that all owners of housing have the same incentives. "All homeowners" is a much more consequential demographic, especially in local elections.

More than that, these people aren't just against public housing, they are against any housing being built. It's so tiresome when people selectively ignore basic facts in order to pin the blame on their favourite scapegoats.

thworp··on Tree-Sitter
It's slightly worse but a lot faster and better at dealing with spelling/syntax errors. Also, the LSP can render inline error messages and line markers on top of TS highlighting so not much information is lost by just using TS highlighting everywhere.
thworp··on Command line interface guidelines (2021)
Most utilities I use daily have --long-flags for all of these. Using completion (prferrably https://github.com/unixorn/fzf-zsh-plugin) you can complete them pretty quickly and without knowing the precise name.
thworp··on Zellij: A terminal workspace with batteries included
You can use the tmux API or a plugin like tmuxp[1] to load a pre-configured session (including running arbitrary shell commands and setting layout).

Using this you could automatically spawn your ssh connections as nested tmux sessions. Obviously this brings some complications, namely that you need to set different prefix keys (or double press prefix) and any non-prefix hotkeys always get sent to your local session. Personally I just configure remote tmux to have only prefixed keybinds and never make any complicated layouts on remote sessions so that having to press <inner-prefix> + <key> doesn't get annoying.

[1]: https://github.com/tmux-python/tmuxp

thworp··on Zellij: A terminal workspace with batteries included
Using tmux + tmuxp[1] you can load a pre-configured session and execute arbitrary shell commands for the session, window and pane. I use this to set up shells and editors in the correct dirs (and/or hosts), load lang environments, set env vars and source some zsh aliases and functions that I only want per project. The end result is that I can set up my dev environment (shells with different environments, neovim windows, test runner, various linters I don't wannt integrate into nvim) with a single "tmuxp load <project>".

edit: That is just my personal killer feature, obviously having a terminal setup that is consistent cross platform and great for stream processing is a given.

[1]: https://github.com/tmux-python/tmuxp

thworp··on Pandoc
For me personally it's the reverse. After 15 years of writing almost exclusively with vim (or vim-like) input scheme using anything else would really break my flow. Can you even do something like ct, (delete everything between current cursor and next comma, then start insert mode) in word? Even if you could, it would be some 5-key monstrosity which makes you move from home row.

Now granted, if you're just hammering out words without any editing this doesn't matter, but I think almost every piece of good writing has had 3+ revisions.

Of course this is a personal preference, but my friends who do a lot of writing (and never used vim at all) still seem to prefer a distraction-free editor with a lot less features and a much less noisy UI for the actual writing.

thworp··on What's that touchscreen in my room?
> 50-53C is common to avoid risks of scalding but some are set as low as 45

Wait what, isn't the minimum temperature where Legionella will die around 60°C? Are you talking of a country where they (noticeably) chlorinate the water? I thought that was very uncommon, except for Southern Spain and Italy. If you set your boiler to 45°C in a country with (nearly) unchlorinated water you'll have a nice Legionella culture after your 3 week vacation.

thworp··on Modeless Vim
I don't think there is a pre-packaged flavour of this. You'd have to use a plugin manager for neovim to install fzf.nvim, telescope and nvimtree. If you want to use nvim more extensively I'd recommend a config bundle like NvChad, AstroNvim or NvPunk, those are mostly cross-platform (might require a few utils like ripgrep, stuff for LSP). They already come with all of this pre-configured and you can disable any plugins you dont like easily. They're also suprisingly snappy thanks to conditional plugin loading.
thworp··on Many AI safety orgs have tried to criminalize currently-existing open-source AI
> Can we agree that people should not be able to unilaterally take existential risks with the future of humanity without the consent of humanity, based solely on their unilateral assessment of those risks?

No we can not, at least not without some examples showing that the risk is actually existential. Even if we did "agree" (which would necessarily be an international treaty) the situation would be volatile, much like nuclear non-proliferation and disarmament. Even if all signatories did not secretly keep a small AGI team going (very likely), they would restart as soon as there is any doubt about a rival sticking to the treaty.

More than that, international pariahs would not sign, or sign and ignore the provisions. Luckily Iran, North Korea and their friends probably don't have the ressources and people to get anywhere, but it's far from a sure thing.

thworp··on Psst: Paper-Based Secret Sharing Technique
The state part is a pipe dream except in a few specific countries. In some countries nobody would actually trust the system, some simply lack the ressources or educated gov workers to run it. In most rich countries the bureaucrat-industrial-complex (including the national software consultants) would fight tooth and nail against a system that deprives them of sweet sweet taxpayer money. OTOH I'd say Switzerland, Estonia and Costa Rica could actually get it done.
thworp··on Ancient City Found in the Amazon
If you just read the quote in the article it does look a bit silly. The reason why people warned him and why the field of history was so "eurocentric" is because it is extremely difficult to find evidence in the Amazon. Nobody doubts the existence of Tenochtitlan or Cuzco because we have both written sources and archeological evidence. In this context, complaining about eurocentrism does come across as motivated reasoning.
thworp··on Golden Rules of Interface Design (2013)
I think it's all just decreasing neural plasticity and having more routine you need to break.
thworp··on The optimal amount of fraud is non-zero (2022)
> it's just that the databases are disjoint and thus even more error prone because they're run individually by states.

That is a huge advantadge if the federal governments ever gets taken over by totalitarians. Surely at least some states will refuse to authenticate their ID cards when requested by the feds, some may even issue fake IDs to resistance members. If the feds have a centralized database with updated information on residences etc, they can quietly disappear people.

thworp··on The optimal amount of fraud is non-zero (2022)
> GPS based speed limiters are cheap, effective [...]

While this is technically true (the devices themselves are cheap and effective), the data required for them to work well doesn't exist. If the data exists at all, it is usually horribly out of date. So in practice there will be many cases where these devices limit you to the 30mph from last year's big construction project. Then you get rear-ended because nobody expects you to slow down 50mph for no reason at all.

← PreviousPage 4 of 9Next →