HN user

bin_bash

2,966 karma

FAANG engineer

Posts2
Comments832
View on HN
Mise: Monorepo Tasks 10 months ago

glad to hear! I got more flak than praise when I launched tasks 2 years ago since people didn't want mise to get too complex but I'm glad I stuck with my guns and pushed it anyways. I thought bringing tasks and tools together made a lot of sense and I'm glad you're seeing the value of it

it reads like the HN clickbait editor removed the "How" from it but in this case it's actually that the actual article is missing it.

The very first line contains a much better title:

how activating the brain’s serotonin center affects behavior and motivation

What's the issue people have with Anduril? Is it just that they make defense equipment?

My (possibly wrong) interpretation is that people feel we shouldn't make weapons. That we should just stop fighting entirely. This is clearly an extremist position, I don't think many people in the west think that we should (for example), completely blockade Ukraine from even buying weapons.

Even if you believe we should stop manufacturing weapons, don't you think this isn't likely to be a popular opinion? That it's unreasonable to expect people to share it?

The NTSB after Alaska Airlines Flight 1282 since the pilots forgot to pull the circuit breaker:

The cockpit voice recorder (CVR) was overwritten after the accident. The CVR on the aircraft records a two-hour loop, and the circuit breaker in the cockpit was not pulled to stop the recording after the aircraft landed.[20] NTSB chair Jennifer Homendy subsequently called for extending capacity to 25 hours, rather than the currently mandated two hours, on all new and existing aircraft. If implemented, the new rule will align with International Civil Aviation Organization (ICAO) and European Union Aviation Safety Agency's (EASA) current regulations.[42]

Mixers exchange coins without using the blockchain so you can't trace them.

As a simple example of how this is possible: imagine you and I both have 0.1 BTC. We could simply swap wallets which would exchange tokens but that wouldn't be represented on the blockchain at all.

OK so if you're new to fish you should understand universal variables since it's a concept that bash/zsh does not have and it's actually pretty great.

When people first try out fish they want to add their global env vars and PATH configuration to ~/.config/fish/config.fish. You can absolutely do this similar to how you do it in ~/.bashrc. However, it's not idiomatic and once you get used to universal variables, you'll see that it's a lot of yak shaving you really just don't need editing config.fish.

Instead, if you want to permanently set an env var across the current session and all new sessions, run: `set -Ux MY_ENV_VAR 1` (set a universal variable, and export it to subprocesses)

That will put it into a machine-readable file ~/.config/fish/fish_variables. You can open it if you want but this way you don't need to source your rc files, open a new shell, or even open your editor.

For PATH, just run: `fish_add_path ~/my-new-bin`. It uses universal variables by default.

For some reason I avoided universal variables as much as possible for years using fish and now I think that was really silly.

They're really completely different. Fish is mostly about having features that help you enter a command (history, error checking, completions, etc). Once you execute something, it really behaves the same as bash/zsh.

Nushell is really more about command output (my understanding, I haven't used it heavily). With Nushell you can do things like parse TOML files right in your shell:

    open Cargo.toml | get package.version
Nushell understands the structure of data but fish is like bash/zsh in that it just deals with streams of text. Nushell can even interact directly with sqlite databases which is very cool.

I think if you're just looking for a simple shell that behaves a lot like bash/zsh, use fish. I think Nushell is more targeted to people that want to use its powerful data pipeline features—or are generally interested in a bigger departure from bash/zsh.

Personally I prefer fish, but I should start using Nushell more since it could definitely help with some tasks. I probably would just run Nushell when I need it though, I don't see myself running chsh to switch over.