HNHacker News
TopNewBestAskShowJobs

jbboehr

242 karma · joined July 23, 2015

Hell is other people’s code.
submissionscomments
jbboehr··on Most arguments are about ego, not ideas
A slightly more charitable interpretation might be: sharing useful information creates the possibility of reciprocity.
jbboehr··on No Babies? Blame Capitalism
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".

jbboehr··on Chimpanzees in Uganda locked in eight-year 'civil war', say researchers
This is a pretty terrible misrepresentation of original sin. I see you managed to copy it straight out of the Wikipedia page and completely ignore the sentence before it:

> In Christian theology, original sin is the condition of sinfulness that all humans share, which they inherit from the the Fall of Adam and Eve. > https://en.wikipedia.org/wiki/Original_sin

jbboehr··on Rising carbon dioxide levels now detected in human blood
> Green Revolution techniques also heavily rely on agricultural machinery and chemical fertilizers, pesticides, herbicides, and defoliants; which, as of 2014, are derived from crude oil, making agriculture increasingly reliant on crude oil extraction.

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

jbboehr··on The United States and Israel have launched a major attack on Iran
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.

jbboehr··on If you tax them, will they leave?
https://en.wikipedia.org/wiki/Laffer_curve
jbboehr··on Charlie Kirk killed at event in Utah
I bought a knife a while back and, unfortunately, found out that it is really sharp. It could probably cut through flesh like butter.
jbboehr··on Charlie Kirk killed at event in Utah
Or run over by a van.
jbboehr··on Charlie Kirk killed at event in Utah
IDK, man, the '70s sounded pretty wild: https://status451.com/2017/01/20/days-of-rage/
jbboehr··on White nationalist books planted in little free libraries across Ottawa
Supposedly: https://books.google.com/books/about/?id=s1pLvAEACAAJ
jbboehr··on Dark Enlightenment: Creepy Internet Movement You'd Better Take Seriously (2013)
A better primer: https://slatestarcodex.com/2013/03/03/reactionary-philosophy...
jbboehr··on Lynn Conway has died
Reminds me of this classic: https://x.com/pickover/status/1536108795901972480
jbboehr··on Clever code is probably the worst code you could write (2023)
I assume you're thinking of: https://en.wikipedia.org/wiki/Duff%27s_device
jbboehr··on A leadership crisis in the Nix community
I am extremely out of the loop, but I believe until somewhat recently it still used nix-daemon and the corresponding drv format, but it may have since been rewritten.
jbboehr··on Bostrom's Deep Utopia
> imagine we create some sort of virtual device that one plugs in and it just basically gives you endless pleasure.

There is a term for this concept: wireheading[0][1].

[0]: https://en.wikipedia.org/wiki/Wirehead_(science_fiction) [1]: https://www.lesswrong.com/tag/wireheading

jbboehr··on Auto insurance prices have gone nuts
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?

jbboehr··on Auto insurance prices have gone nuts
> the objectively atrocious driving record of Americans

Well, ackshually, the US doesn't look that bad, according to this chart [0].

The US is #107 of 191 for deaths per capita and #5 of 25 for deaths per mile driven.

However, there are only 25 countries on that chart with data for deaths per mile driven.

[0]: https://en.wikipedia.org/wiki/List_of_countries_by_traffic-r...

jbboehr··on Auto insurance prices have gone nuts
Sounds like it's probably the Consumer Assistance Program Vehicle Retirement [0] .

[0]: https://www.bar.ca.gov/consumer/consumer-assistance-program/...

jbboehr··on Show HN: I made a discrete logic network card
> "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.

jbboehr··on What even is a JSON number?
> 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...
jbboehr··on Suspicious discontinuities (2020)
Don't worry, we will send them a bill.
jbboehr··on Suspicious discontinuities (2020)
> 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."

jbboehr··on Radicle: Open-Source, Peer-to-Peer, GitHub Alternative
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...

jbboehr··on Htmx become 0 clause BSD-licensed
(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...

jbboehr··on Silicon Valley learned to love America, drones, and glory
> 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...

jbboehr··on It was almost impossible to make the blue LED [video]
See also: https://en.wikipedia.org/wiki/Jevons_paradox
jbboehr··on The Tears of a Clown: Probing the comedian's psyche (2008)
> 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

jbboehr··on A lesson in dockerizing shell scripts
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...

jbboehr··on Memory leak proof every C program
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...

jbboehr··on NASA loses contact with Ingenuity Mars helicopter
Well, about that:

> in the ranks of captured and confessed terrorists, engineers and engineering students are significantly overrepresented

https://www.nytimes.com/2010/09/12/magazine/12FOB-IdeaLab-t....

Page 1 of 6Next →