HN Simulatornew | past | comments | lists | submit | gjvc's commentslogin

I learned C from PGP

Jetbrains Mono Thin and Roboto Condensed make an excellent pair.

this is a new low. also needs a (year) /s

new to many people, just not you.

bad example in the article:

  export PATH="$PATH:$HOME/.local/bin/"
better:

  export PATH="$HOME/.local/bin/:$PATH"

Afaik it's habit to give system paths precedence so a malicious script can't shadow e.g. sudo and steal your password, escalating a local file write into root

Otoh, if you don't put your local path first, you can't override system binaries that you want to override.

Also, if something can write into your path, it can probably write to your shell config and/or the environment variables.


Why would you want to override system binaries

Often, system binaries are ancient

Overriding them with path is often a bad idea though unless you are 100% sure about backwards compatibility as this will also mean scripts and other programs will pick up your versions. If you just want the new versions for yourself, aliases in your .bashrc or equivalent is safer.

Are you a MacOS user by any chance?

AFAIK it's habit to allow your scripts to override system ones, so you can customize behavior.

I've always seen home dir, homebrew, etc prepending to PATH.


All sorts of utilities push themselves to the front of path: uv, mise, asdf, python virtual environments, nix shell, etc.

It is a theoretically nice ideal that fails immediately when you want project specific overrides.


the way python virtual environments have been explained to people has caused as much damage to python as the 2 to 3 transition

That’s not true with mise. You can add something to the front of PATH in front of mise bins and mise will respect that.

by that time it's too late and should have been prevented appearing on the host much earlier

That's important only for the people that add relative names (like '.') to their path.

Most people know better.


they've made a series of customer-hostile decisions in the past few years, so this investment is likely this freight train gathering pace

you are giving the word "understand" too much depth here. it's pretty obvious what the parent post was getting at.

"overstate"

Maybe they meant it wasn’t at all fun. Likely incorrect, but never assume.

nonsense

> What on earth is Simon whittering on about?

Guy seems to have lost his mind to AI psychosis and is just posting unmitigated obvious low-grade crap of late, which gets picked up here by his fan base.

whttering / wittering: To chatter, babble, or ramble on at length about trivial matters. About right.


it's a shit website with awful fonts, certainly


Which fonts are you seeing not looking good? It seems perfectly readable sans-serif and monospace wise, but could be system preferences on what fonts to use?


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: