Hacker Newsnew | past | comments | ask | show | jobs | submit | saintfire's commentslogin

Or is it semi-weekly?

This insight won me over on the butthole.

Use degrees kelvin so everyone can understand.


Just need to pay monthly for Claude and run software that's propped up by a VC funded bubble. Due for enshittification if not shuttering.

Hardly the same.


only on HN do people call what is basically AGI, a vc funded bubble


HN is actually more likely to call it “basically AGI” than most communities. HN is very much not particularly AI-skeptical compared to other communities.


Spotify allows you to download songs for offline (requiring a phone home once a month) and play local files.

I'm far from a Spotify advocate but no need to be inflammatory and misinformed.


Worth adding this option is available for premium accounts only.


Of course. It's available for customers, not products.

Because products need to see ads, check in and report usage and ad consumption.


Spotdl.......


If they'd ever allow such a thing to exist.


Algodrill is copied verbatim, as far as I can tell.


It fits in nicely imo. It's plausible (services re-appear on hn often enough), and hilarious because it implies the protracted importance of Leetcode.

Though I agree that the LLM perhaps didn't "intend" that.


I found the repetition (10 years later) to be quite humorous.


Time is a flat circle


FYI, this quote was meant to be the ramblings of a drunk who says something that sounds deep but is actually meaningless.


It’s actually referencing Nietzsche referencing Empedocles, but your point works as well I guess


haha thats both not true, and still works as drunk nonsense.

But good job googling this and getting fooled by an LLM


I guess you got fooled by an LLM my friend: https://en.wikipedia.org/wiki/Eternal_return


Eh, get the enshittification done sooner than later so people aren't fooled into thinking it's actually worth anyone's time.


You can use `#!/usr/bin/env bash` on NixOS


I didn't know that actually. I'll start using that from this point forward.


/usr/bin/env and /bin/sh are part of the POSIX standard, this is why NixOS has those available.


> /usr/bin/env and /bin/sh are part of the POSIX standard, this is why NixOS has those available.

Contrary to popular belief, those aren't in the POSIX standard.

The following are not in the POSIX standard, they are just widely implemented:

  - "#!" line.
  - /bin/sh as the location of a POSIX compliant shell, or any shell.
  - /usr/bin/env as the location of an env program.
  - The -S option to env.


I think you are using "not required by the POSIX standard" when you say "not in" which is not an accurate shorthand.

#! is certainly in the POSIX standard as the exact topic of "is /bin/sh always a POSIX" shell is a discussion point (it is not guaranteed since there were systems that existed at the time that had a non-POSIX shell there)


Are they in POSIX? I do not think they are. All of them is a convention from what I remember.

Shebang is a kernel feature, for example, and POSIX does define the sh shell language and utilities, but does not specify how executables are invoked by the kernel.

Similarly, POSIX only requires that sh exists somewhere in the PATH, and the /bin/sh convention comes from the traditional Unix and FHS (Filesystem Hierarchy Standard), but POSIX does not mandate filesystem layout.

... and so on.

Correct me if I am wrong, perhaps with citations?


You're definitely correct. "#!" is reserved (see Rationale C.2.1), but not required, though it's described as "ubiquitous" (see Rationale C.1.7). "/bin/sh" isn't required either, but arguably ubiquitous in that there's always some shell located there. The proper way to find the POSIX-conformant shell is with `command -v sh` (which is equivalent to using `getconf PATH` and then searching for sh), and POSIX counsels to discover the path and substitute it inline when installing scripts (see Application Usage in sh utility specification.)

IME /bin/sh is invariably sufficiently POSIX conformant to bootstrap into a POSIX shell (or your preferred shell), even on Solaris and AIX. And if you're willing to stick to simple scripts or rigorously test across systems, sufficient for most tasks. Outside Linux-based systems it's usually ksh88, ksh93, pdksh, or some derivative. OTOH, for those who are only familiar with bash that may not be particularly helpful.

I've had more trouble, including bugs, with other utilities, like sed, tr, paste, etc. For shell portability it's usually niche stuff like "$@" expansion with empty lists, for example how it interacts with nounset or IFS, independent of POSIX mode.


It is good practice to be using it everywhere.


Assuming bash is in $PATH. Which it often is.


Except that natural language is imperfect, as are lawmakers, as are lawmaking processes.

Following exclusively the letter of the law, even where unambiguous, is not a win. That's effectively how people are trying to skirt the intent of a law (see: every corporation).

The letter and the spirit are both important. Judges make bad judgments, they also make good judgements. Such is life.


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

Search: