HN user

jbboehr

242 karma

Hell is other people’s code.

Posts10
Comments160
View on HN

For starters, they named themselves after a murderous left-wing terrorist organization:

https://en.wikipedia.org/wiki/Jacobins

the most influential political club during the French Revolution of 1789. The period of its political ascendancy includes the Reign of Terror, during which well over 10,000 people were put on trial and executed in France, many for "political crimes".

I don't think you are using standard definitions.

A world war is an international conflict that involves most or all of the world's major powers. https://en.wikipedia.org/wiki/World_war

Total war is a type of warfare that mobilizes the totality of national resources to sustain war production, blurring the line between military and civilian activities and legitimate attacks on civilian targets as part of a war without restriction as to the combatants, territory or objectives involved. https://en.wikipedia.org/wiki/Total_war

It does so happen that the two world wars were also total wars.

I'm sorry, but I don't consider in the bottom half of deaths per capita "objectively atrocious," merely "fairly bad."

Have you considered improving the precision of your vocabulary?

"what I have is so valuable that other people want to take it!"

While I do agree this may apply somewhat to the original topic, your dig at suburbanites seems like a mischaracterization. Perhaps the upper/upper-middle classes feel this way. I would expect most other folks are primarily worried about being murdered during the event.

FWIW JS does not have a similar capability so I can't add a note there

This example on MDN seems to indicate that you can, am I misunderstanding it?

  const bigJSON = '{"gross_gdp": 12345678901234567890}';
  const bigObj = JSON.parse(bigJSON, (key, value, context) => {
    if (key === "gross_gdp") {
      // Ignore the value because it has already lost precision
      return BigInt(context.source);
    }
    return value;
  });
[0]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

I advocate a 100% inheritance tax

What sort of nonsense half-measure is this? I propose a 100% tax on parent-child resource transfers starting from the moment of birth!

Although, you might just cut out the middleman, seize the children, and raise them in a state-run "Nurturing Center."

IIUC, you should be able to use it with git-remote-rad[0] via builtins.fetchGit. Flakes would probably need upstream support, though.

Seems to work for git-remote-hg, anyway:

nix-repl> (builtins.fetchGit { url = "hg::https://www.public-software-group.org/mercurial/lfapi/"; rev = "34366bf575c8c77c8d3b76d32940c1658cb948a4"; }).outPath

"/nix/store/8dwyms22iwy4fq0b1593i34m88jk574j-source"

[0] https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z3gqcJUoA...

(IANAL)

Here's an example where an MIT-licensed project switched to APGL recently without needing to contact contributors[0].

Interestingly, the MIT license explicitly names and allows sublicensing, but the 2-BSD and 0-BSD do not call it out explicitly.

tldrlegal[1] seems to think 0-BSD allows sublicensing, but doesn't mention it on the page for 2-BSD[2]. I'm not sure what to make of that.

[0] https://github.com/immich-app/immich/discussions/7023#discus... [1]: https://www.tldrlegal.com/license/bsd-0-clause-license [2]: https://www.tldrlegal.com/license/bsd-2-clause-license-freeb...

I wonder what it is relative to the Cold War.

According to this chart[0], US military spending as a percentage of GDP is pretty close to an all-time low. Sadly doesn't seem to include data covering WWII or Korea, though.

I imagine the notable peaks might be related to:

* '62 Cuban missile crisis (cold war)

* '67 Vietnam (cold war)

* '82, '86 "New Cold War"[1]

* '05, '11 Post-9/11 wars

But mostly downward after '91.

Sadly this chart (Military expenditure (% of general government expenditure)) seems to be empty, but I'm sure there's data on it somewhere.

[0] https://data.worldbank.org/indicator/MS.MIL.XPND.GD.ZS?locat... [1]: https://en.wikipedia.org/wiki/Cold_War#US_and_USSR_military_... [2]: https://data.worldbank.org/indicator/MS.MIL.XPND.ZS?location...

I'm thinking of the countless shows which glorify violence, cheating, drug smuggling, and so forth. It's not clear that glorifying these things in the media leads to them being acted out in real life, but even if it doesn't: that still seems like a massive sense of cognitive dissonance, wherein the cultural products of a society are only tenuously related to its real-world values.

Remember the good ol' days?

All criminal action had to be punished, and neither the crime nor the criminal could elicit sympathy from the audience, or the audience must at least be aware that such behavior is wrong, usually through "compensating moral value".

https://en.wikipedia.org/wiki/Hays_Code

I got it down to about 33M, gzipped with musl (completely untested, of course)[0].

Most of it seems to be from git:

$ nix path-info --closure-size --human-readable nixpkgs#legacyPackages.x86_64-linux.gitMinimal

/nix/store/f7b2yl226nbikiv6sbdhmaxg2452c8h5-git-minimal-2.42.0 112.9M

$ nix path-info --closure-size --human-readable nixpkgs#legacyPackages.x86_64-linux.pkgsMusl.gitMinimal

/nix/store/25807yw3143a94dpr3a3rffya7vg5r24-git-minimal-2.42.0 73.5M

Apparently "gitMinimal" is not all that minimal:

$ ls /nix/store/25807yw3143a94dpr3a3rffya7vg5r24-git-minimal-2.42.0/libexec/git-core/ | wc -l

172

[0] https://gist.github.com/jbboehr/3a5d0dd52a0c1139ce88b76ab82a...

It depends on the SAPI. The php-fpm approach is a pool of processes that are reused for multiple requests. Virtually all of the state visible to plain PHP code is reset between requests, however some interpreter/runtime state is kept, e.g. in-memory bytecode cache, initialized extensions, some persistent network connections, etc.

In terms of memory management, PHP has both reference counting and garbage collection. Internally, an arena per request is used[0], so leaking memory over long periods of time is fairly rare and usually limited to native extensions.

[0] https://www.phpinternalsbook.com/php7/memory_management/zend...