Better HN
topnewbestaskshowjobs
Log inSign up

eesmith

8,976 karma · joined Jul 3, 2017 (9y ago) · 8,479 submissions

Submissions

comment 3d ago · link · parent

Hey RickJWagner,

How did you happen to come across a paper published last year, with so far only three citations to it in Google Scholar?

By author who founded the "Centre for Heterodox Social Science", with the goal:

"The Centre will publish and disseminate research to challenge unscientific orthodoxies in the social sciences and humanities. For instance, around explanations of race and gender achievement gaps (are these really due to discrimination?), perceptions of history (i.e. ignorance of non-western genocide, slavery, colonialism), causes of social problems (why is culture neglected?) or the lack of attention to left extremism as compared to right extremism. Our unconventional explanations may be wrong, but only the clash of viewpoints and ideas, adhering to scientific norms of measurement and falsifiablity, can help sift strong from weak theories."

comment 3d ago · link · parent

Wrong kind of missile.

SDI concerned ballistic nuclear missiles -- ICBMs. We have no good defenses against them. The modern incarnation of SDI is Golden Dome.

The systems you are thinking of are for short- and medium-range missiles.

comment 4d ago · link · parent

My experience is that usually it's only 2), for example in large code bases written in MUMPS.

With Fortran it's 1) and 2).

As I understand it, Fortran outperforms other languages for problems like matrix math, especially if you care about issues like portability and memory use.

Not only is Fortran designed for those problems, but the there's been a lot of thought, time, effort, and money used to make the generated code go fast.

comment 5d ago · link · parent

Ahh, I see. I've only dealt with zero sum games with two parties.

I was under the impression that most auction houses are not zero-sum games. The auction house makes a profit, but the buyer and seller also win.

comment 5d ago · link · parent

That wasn't the analogy. It's gambling in the sense "the house always wins".

It's not a simple "both sides" issue - the scenario has multiple sides. You find a good keyword, someone finds you, you both benefit. Great!

Then a third party finds and uses your strategy, and bids higher in the ad auction. This reduces profits. As more parties join in, the profits decrease.

The thesis is that those profits don't simply go to zero, but can actually result in a net loss. In the meanwhile, those higher bids end up as profits for the auction house.

comment 5d ago · link · parent

Every time I've heard about a present-day Fortran code base it's because 1) Fortran is really good at those sorts of problems, and 2) lock-in because it's too hard to rewrite to another language, with little career benefit when you could be adding new features.

comment 5d ago · link · parent

From the article: "Ehrlich's arithmetic counted mouths while assuming food production would not keep pace, and ignored how free markets and innovation react to scarcity."

People really to love to beat up on Erlich, forgetting that Borlaug also said the Green Revolution was only a temporary reprieve. "If fully implemented, the revolution can provide sufficient food for sustenance during the next three decades. But the frightening power of human reproduction must also be curbed; otherwise, the success of the green revolution will be ephemeral."

The free market and innovation response to scarcity has been to find and exploit a substitute. The energy for the Green Revolution is from fossil fuels.

The free market and innovation did not solve the scarcity of passenger pigeon meat. We have factory farmed chicken as a substitute.

I guess the free market and innovation have decided there's a scarcity of CO2 in the atmosphere? They seem to be doing an excellent job of adding more.

There's a reason I don't follow Reason.

comment 5d ago · link · parent

Having grown up in the US South, I can tell you how -- most houses since the 1960s were designed around A/C, and are incredibly ill-suited if the A/C doesn't work.

I know this because I grew up in a house in Florida built in the 1950s, with no A/C. Southern vernacular architecture includes high ceilings (so the heat rises above the people), lots of windows (to let the air go through and heat escape), and with the house raised off the ground (so cooling air flows underneath). While my house didn't have it, another typical design element is a wraparound porch, to provide extra shade and let the windows stay open even when it rains.

If you build for A/C in the South then you want a building with good insulation and little airflow, to save on power. If the A/C doesn't run then these places get very warm, humid, and stuffy. Nearly every house is built this way.

Further, if you are used to the chill that A/C provides then your body doesn't adjust to the heat.

The US Southwest has its own vernacular architecture. The days are hot and the night cool, so use thick adobe walls which take 12 hours for the heat of day to seep through. Close the windows in the morning to keep the cool in, open them at night to cool off, while the heat from the walls keeps the inside more moderate.

comment 5d ago · link · parent

It's worse than that. Over 99% of the alerts did not require a police response, the police knew they received a bunch of false alerts, and in fact this alert had already been cancelled by designated representatives of the school and police department.

The police still (according to the complaint) came in with guns drawn, and carried out an illegal detention and search of bystander students who did not appear in the Alert.

comment 5d ago · link · parent

The correct response to "I don't think the military ever had them." is "soldiers absolutely have constitutional rights."

Even curtailed rights are still rights. The UCMJ is subordinate to the constitution.

Civilian public employees also have stricter restrictions than a private citizen who is not a government employee. See Pickering v. Board of Education, leading to the Pickering Balancing Test for Government Employee Speech - https://www.law.cornell.edu/constitution-conan/amendment-1/p...

I believe the UCMJ as in your example uses a similar balancing analysis, though of course in a different framework.

comment 5d ago · link · parent

Soldiers absolutely have constitutional rights.

comment 5d ago · link · parent

Your criticism seems directed towards the HN submitter, as the actual title is:

"Lawyers’ Committee Files Lawsuit on Behalf of Black Students Detained and Searched Due to AI Alert Falsely Identifying a Bag of Chips as a Firearm"

while the alternatives you mentioned, like “Ginger high school students sue after AI mistakes…” are variants of the HN title "Black high school students sue after AI mistakes Doritos bag for gun".

Since you think the headline is supposed to contain the most important details, can you explain why "high school" is one of the most important details, even more important than Black, as your objection has only been to that last detail.

Then repeat with why we need to know it was specifically "Doritos" chips.

You wrote "totally fails to provide any more details that connect to it" but it links to https://www.lawyerscommittee.org/ai-civil-rights-act/ with more details which connect to it, where you can see their viewpoint (quoting the one-pager):

```As AI has increasingly been unleashed on the public, millions of Americans are impacted by the outputs of complex algorithms that few of us understand. Algorithms are used to make decisions about all aspects of our lives, determining who gets bail, who can rent a house, and where we can go to school.

Those decisions haven’t been made equitably or fairly. Over and over again, promises of innovation have resulted in products that lead to discrimination, disproportionately harming Black communities and other communities of color. Because these algorithmic technologies are built using data that reflects generations of redlining and segregation, they often replicate and reinforce generations of discrimination. Because the teams that develop and deploy these products often don’t resemble the people that are affected by them, blind spots and biased assumptions are baked in. Because inadequate testing doesn’t reflect the diversity of the real world, our lives and experiences are reduced to the narrow parameters of lab conditions which work against us.

The irony is deep. The tools of the future are locking us into the mistakes of the past.```

comment 5d ago · link · parent

> “Goth high school students sue after AI mistakes…” - with a sociocultural group.

That's pretty much our universe.

After the Columbine massacre in 1999 there were a lot of rumors and headlines about how goth culture was a major contributing factor to blame, with Marilyn Manson as a scapegoat.

A Goth kid wearing a trenchcoat was eyed suspiciously as being the next killer in hiding.

There was a widespread satanic panic at the time, including training some police to recognize "satanic ritual abuse". Had there been AI the time you know that some of the training data would have included these so-called "indicators", leading to false notifications resulting in a AI mistakes.

comment 5d ago · link · parent

Do you often make up excuses as a form of post-hoc justification?

They didn't bring the Doritos and it wasn't during class, nor in a school building, nor during normal school hours.

From the linked-to complaint at https://www.lawyerscommittee.org/wp-content/uploads/2026/11/...

```37. On Monday, October 20, 2025, Plaintiffs attended football practice after school. Practice ended at approximately 6:30 PM. After practice, their coach passed out individual bags of Doritos to the team, as he occasionally did after practices. Taki took several.

38. Plaintiffs then went outside the school to wait for Keith’s mom to pick them up, just as they did many days after practice.

39. Plaintiffs convened near the picnic tables near the back entrance of the school. As they waited for their ride, they were talking and eating the Doritos their coach had given to them.```

comment 6d ago · link · parent

Oh, I agree with you. But the people who don't use sidewalks won't hear the snark.

comment 1w ago · link · parent

There's a lot of experience that vouchers don't work.

The price for the private schools go up by the price of the voucher.

The private schools optimize for low-cost special needs students, and leave the high-cost special needs students up to the public schools, which have a much higher legal obligation to accept students than private schools.

The private schools with the best marketing for the most profitable students make the most money. This advertising money is not used on students.

Said no school system ever - let's make a bunch of small schools and forget about the economies of scale from consolidation.

comment 1w ago · link · parent

Yes, sadly.

"I shouldn’t have to pay school district tax if I have no children" - https://www.reddit.com/r/TrueUnpopularOpinion/comments/14pj2...

with top response "This selfish opinion is surprisingly popular."

"With no kids in school, I shouldn’t have to pay full taxes " - https://altamontenterprise.com/10022019/no-kids-school-i-sho...

"Why do property taxes fund schools when only a subset of residents actually use said schools?" - https://politics.stackexchange.com/questions/73439/why-do-pr...

There's lots more. See https://noai.duckduckgo.com/?q=don%27t+have+kids+shouldn%27t... .

comment 1w ago · link · parent

The term for this sort of rock is a glacial erratic. There are more pictures and links to other named erratics (like the Colossus of Ostermunzel) at https://en.wikipedia.org/wiki/Glacial_erratic .

Today I also learned about "erratic megablocks". From that link, "One erratic megablock located in Saskatchewan is 30 by 38 kilometres (19 mi × 24 mi) (and up to 100 metres or 330 feet thick)."

comment 1w ago · link · parent

A frequent example is the local public library, funded by taxes.

People aren't charged more for checking out more books. Which is a good thing for me since as a kid I would check out 20+ books at a time, and my family didn't have money.

That snark will backfire. It exactly why rich people say they shouldn't have to pay taxes for things they never use, like sidewalks and public libraries.

comment 1w ago · link · parent

Could you specifically address this comment of mine?

> Why are the terms "authorized" and "Trusted" used, instead of something like "affiliated"? If someone is not a trusted publisher or an authorized publisher it's is too easily misinterpreted as "untrusted publisher" or "unauthorized publisher", which seems scary. If someone is not an affiliated publisher, "unaffiliated publisher" sounds less scary. (I'm not saying "affiliated" is the right word, only an example of a roughly appropriate word where the negation of it is not so scary.)

This is information presented to someone who does not know the term of art, and will therefore not read it that way.

I have headaches still from dealing with people who insisted that my "well-formed" XML needed to be "valid", even though they didn't use schemas, nor know what a schema was, but simply because they didn't want the XML to be "invalid".

comment 1w ago · link · parent

Van Rossum worked at Google from 2005 to 2012. You think he completely avoided the structural bias to have Python solve problems Google had? Including collections.abc?

Very strange then that PEP 3119, with van Rossum as co-author, says "During the development of this PEP and of its companion, PEP 3141, we ..." and PEP 3141 is by a Google employee.

Why, it's almost as if my point was not at all about an employer interfering or making demand, but about aligned interests. As a rule, tobacco companies do not fund anti-smoker research, but also do not interfere or make demands, so those researcher can say they were not responding to pressure from their funders.

I remember the long discussion of the pros and cons of switching from Bitbucket to GitHub. The plan started in 2014, says PEP 512.

It's very clever of these Microsoft people to push for a move to GitHub some 4 years before Microsoft acquired GitHub in 2018. And to come up with a pretty good set of reasons to migrate, all documented, including a counter-proposal to use GitLab.

Almost as if it were a consensus-based decision to move, rather than a clever black-ops by Microsoft.

> I grab the original sources

Okay, then why do you care about this change or the use of PGP? Are you acting as an advocate for others, so that PyPI does not get worse for them?

In which case, why do you want them to continue to use a service where the only official way to get support is to have a Microsoft account? If you don't like PyPI, get more and more people to host their packages off PyPI.

The big gaping problem is Dependency Confusion Attacks, as in the rejected PEP 708.

Distribute your packages on a new server, using the Simple Repository API. Tell people to "pip install -i" to install your package. Take a look at the access log to see pip try to install other packages, because pip was designed for mirrors, not multiple hosting sites, each with their own potential namespace. There's no namespacing either.

From what I've read, that's pretty baked into pip, and will be hard to fix. It won't change until there are dozens of popular packages which have decided to avoid PyPI. In the meanwhile it will encourage even more people to use uv, which at least has a mechanism people can opt into.

comment 1w ago · link · parent

I'll suggest an alternative. There is a strong selection bias for who can become a core python dev. It takes a lot of time, and there is little direct monetary compensation along the way. Most people aren't independently wealthy, so the best way is find a job which pays them to work on Python development.

Those tend to be companies with a lot of money. Those companies tend to have different needs and preferences than a sole proprietor ISV like my company. They tend to hire people who are aligned with their goals. They tend to fund specific PSF projects which are aligned with those goals. Those with strong objections to those goals, or the source of the funding, don't work for those companies, quit, or get fired.

As it is, the entire PyPI infrastructure depends on the corporate largess from the likes of Fastly, Amazon, Microsoft and Google - the latter three of which are described in "From economy of occupation to economy of genocide", Report of the Special Rapporteur on the situation of human rights in the Palestinian territories occupied since 1967, as corporations profiting from the displacement and genocide of Palestinians in Gaza, in breach of international law.

That seems rather more concerning than simply being corporate owned, and PGP signatures would not solve it.

The only real solution I see is to stop using PyPI entirely. Anything else would be the easy bullshit response. Are you willing to go that far? Probably not, since we're both on a YCombinator-hosted discussion forum.

comment 1w ago · link · parent

Okay, but if the information is on the project page then it's pretty likely that users will look at this stuff without reading the docs. My feeling was the doc was written for people "Publishing Projects to PyPI" and not for people "Using PyPI", quoting the relevant sections of the documentation.

Of course, in real life 99.9% of people aren't looking at the page at all, and either following a documentation step which says "install by doing XYZ" or transitively from some other project they install.

I'll compare "attestations aren't something you even really enable" with this from the email attestation proposal: "Another possibility here would be to have it be opt-in: maintainers can mark their already-verified emails as being eligible for attestations on PyPI, e.g. via a checkbox in the user settings." ;)

I also can't help but wonder who reads https://docs.pypi.org/publishing/publishing-to-pypi/ where it says "For instructions on how to package your Python project, please refer to the Python Packaging User Guide.", follows those steps including the one about using twine and TestPyPI, does all that, and then gets to "Publishing package distribution releases using GitHub Actions CI/CD workflows" and gives up, since twine works.

Or goes back to the pypi documentation and sees "To use an API token: Set your username to __token__" when I can't find anything like that at https://packaging.python.org/en/latest/guides/publishing-pac... , Those seem like describing two very different systems, speaking as someone with no experience with them at all, who learned to use twine because of the Python Packaging User Guide.

comment 1w ago · link · parent

Have you considered that perhaps you are working from the wrong priors?

I believe your prior is that you expect people who read the PyPI page to understand what attestation means. I believe your prior is they will see a notice about "not from a trusted publisher" and not treat it like demerit or warning. I believe your prior is that seeing this message will get people to do more due diligence than they currently do, and that the due diligence will be relevant and appropriate.

Based on my experience with my users, I don't have the same confidence.

I don't understand what "authenticated auditing" means, so why should they?

What project state do people think is important to audit? My code repo is private, hosted on Sourcehut. My build system is private, done locally. The only thing I release is the pre-built binary package. There's very little state to examine, and I can't figure out why anyone cares.

I also have customers who buy a source code license. They have never asked for an audit of the project's state over time.

I read the "Security model and considerations" document. I found it opaque, no doubt because the entire topic is foreign to me, but it doesn't do a good job of explaining. Take the second paragraph:

"The most basic type of attestation (the type enabled by default in pypa/gh-action-pypi-publish) asserts that the project was published by an authorized publisher such as a particular CI provider in a particular code repository.".

I know pypa/gh-action-pypi-publish is some sort of GitHub thing. I don't use GH or third-party CI so that clarification does not help.

It doesn't describe what "authorized publisher" means, other than a generic example of "particular CI provider in a particular code repository". That phrase exists only once in the document. Is it different from a "Trusted Publisher"?

Why are the terms "authorized" and "Trusted" used, instead of something like "affiliated"? If someone is not a trusted publisher or an authorized publisher it's is too easily misinterpreted as "untrusted publisher" or "unauthorized publisher", which seems scary. If someone is not an affiliated publisher, "unaffiliated publisher" sounds less scary. (I'm not saying "affiliated" is the right word, only an example of a roughly appropriate word where the negation of it is not so scary.)

Then later, "It protects against modification of a project after it was built".

I think that's supposed to be "modification of a release after it was built"?

My use of "project" matches the one at https://docs.pypi.org/using-pypi/pypi-basics/ "A project is a collection of releases and files, and information about them. ... A "release" on PyPI is a specific version of a project." I want to modify the project with updated metadata as things change, and to make new releases.

Oh, and I can't find a description of what "build" means in that document. It's used as if everyone expects to know what it means, but a few years ago I learned that modern Python packaging uses "build" different than I do.

When I compile my Python/C extension I "build" it. When I make a wheel I "package" it.

I believe that modern packaging calls the whole thing "build"? Or just the latter step?

Incidentally, "python -m build --sdist" on my project does not work as a replacement for "python setup.py sdist" because my setup.py includes a code generation step to get from a clean repo to the Python/C extension files included in the distribution. I haven't figured out the modern way to handle that. I think it's because of the differences in philosophy of what "build" means, and what actions are allowed during different stages of the distribution process, which is why I think "build" needs a specific definition, just like "project" and "release" have specific definitions.

comment 1w ago · link · parent

So I, as someone who does my builds locally, can never have attested builds?

Will PyPI be presenting warnings or statements of caution which might cause users to be concerned about using my distributions? Or imply that my build practices are somehow inferior to depending on a third-party build system?

comment 1w ago · link · parent

Am I correct in my understanding that the only trusted publishers are for-profit US companies? And these all use proprietary implementations which cannot easily be replicated elsewhere?

Like, if I want to host on Codeberg, or Sourcehut, what is the process needed for those platforms to become a trusted publisher?

As it happens, I build my releases on my own hardware using a pypa/manylinux release. Can I provide attestation, or am I required to use a third-party service to get that "x Without provenance" removed from my entry?

comment 1w ago · link · parent

I believe the comment is in response to "well why didn't I think of that, it's so obvious" -- biologists have been thinking and trying to do this "obvious" approach for decades.

There's a long history of Silicon Valley people thinking they can just bring in their experience and with a bit of Moore's law brute-force their way into miracles.

AutoDesk tried this with molecular design. https://www.fourmilab.ch/autofile/e5/chapter2_82.html

Lots of Silicon Valley people in the late 1990s thought they could be on the ground floor with nanotechnology design.

The chemist Derek Lowe 10 years ago used the phrase "Andy Grove fallacy" to describe the optimistic vision that data + massive computer power = cure for diseases. "[T]he idea that understanding human disease and its treatments should be pretty much like designing a new chip or writing a new app", quoting the 2015 essay titled "Silicon Valley Sunglasses" at https://www.science.org/content/blog-post/andy-grove-rich-fa... .

Why Grove specifically? He links back to his 2007 essay at https://www.science.org/content/blog-post/andy-grove-rich-fa... : "So I see that Andy Grove, ex-Intel, is telling everyone that the drug industry could use some of that Moore's Law magic. I've noticed that people who spend a lot of time in the computer business often have an. . .interesting perspective on what constitutes progress in other fields, and we might as well appoint Grove the spokesman for their worldview"

comment 1w ago · link · parent

The statement was "massive, uncontrolled immigration of low-skilled workers".

The US does not have uncontrolled immigration, and hasn't had uncontrolled immigration for a very long time.

Yes, there are people in the US who are not legally allowed to be present, for example by visa overstay or illegal border crossings.

That does not mean there's uncontrolled immigration any more than the high number of pedestrian deaths by car collisions means the US has uncontrolled car traffic.

Which is more massive, the number of people like Milo Yiannopoulos who overstay their visa, or the number of people who illegally cross the border? These two populations are different, since it's hard to illegally cross the border in a commercial airliner.

The numbers I see tell me they are comparable, but I'm willing to bet you notice one far more than the other. For one, the people with money who can fly to the US tend to have enough money that they aren't looking for low-wage jobs at Home Depot.

Lastly, how many of the job seekers are actually are immigrants, and how many of them are actually legal immigrants? You can't determine someone's immigration status just by looking at them.

comment 1w ago · link · parent

And then when you point out to them that the US, for example, hasn't had massive, uncontrolled immigration of low-skilled workers in well over a century[1], and remind them of the history of rich people using racism as a way to align the interest of poor whites with rich whites, rather than with poor immigrants, they call you an anti-American DEI-loving Marxist.

“If you can convince the lowest white man he's better than the best colored man, he won't notice you're picking his pocket. Hell, give him somebody to look down on, and he'll empty his pockets for you.” - LBJ

You seem to have overlooked the anti-tourist, anti-"expat"[2], and anti-digital nomads protests in the last few years?

As one example, '‘Gringo go home.’ Mexico City protests target Americans, gentrification' - https://www.latimes.com/world-nation/story/2025-07-07/mexica...

[1] For example, the Chinese Exclusion Act of 1882 was immigration control, even as massive numbers of Europeans immigrated to the US.

[2] "Expat" is what rich immigrants call themselves when they don't want to be confused with poor immigrants.

comment 1w ago · link · parent

I think the 'abc' module was written by a buch of overly-cleve Google developers. I have yet to use it, other than the rare times I care about typing.

I remember when MRO was discussed on comp.lang.python. It improved on the previous implementation. Because of that discussion I've worked to avoid diamond inheritance, with a preference for mixins.

I think you mean **kwargs and *args (with a single star)? (I'm assuming it was an HN formatting issue.) One of the annoying things about them is APIs which pass **kwargs around, uses a few of them, and pass the rest to the lower level API. It's really hard to document what the top-level function accepts when you don't know the whole call path.

Looking through my code I see I rarely use *kwargs. One of the exceptions is when I do a pass-through to a function I can't control, but where I want to add, for example, timing instrumentation. Another is for a base-type with a default "raise NotImplementedError" where the subclasses have subclass-specific parameters.

Anything which can add to sys.path can tweak the rest of the Python run-time.

  >>> def my_len(*args, **kwargs):
  ...   print("Hello!")
  ...   return old_len(*args, **kwargs)
  ...
  >>> old_len = len
  >>> import builtins
  >>> builtins.len = my_len
  >>> import uuid
  Hello!
  Hello!
  Hello!
  Hello!
Now tie that in with some 'import traceback' and stack exploration.

If you can change PYTHONPATH then you can change LD_LIBRARY_PATH. I've had to shim some programs that way.

If you want to find who is being naughty: sys.path = tuple(sys.path)

I primarily use duck-typing, with OO mostly for implementation reuse. I think of it more like C++ templates than Smalltalk-like OO. I hate dealing with type annotations. Some places I just use Any. I don't understand the fascination with them. One of the few places in Python where you need OO is with exception handling.

One of the guidelines for Python development in the 1990s was "it's for consenting adults". The "__hack" for semi-private members was not meant for actual information hiding. It sounds like that's not the environment you're in, which helps explain why it's not a good fit.

You left out gc pausing. I remember working for hours trying to understand spikes in my data, not being able to reproduce with just that test case, until finally disabling gc.

And you left out failed __del__ calls during shutdown because the Python interpreter is in a partially destroyed state and certain things you expect are simply gone. I've had to ensure every temporary filename in my test suite has a unique name so I could help track those down. (See, if gc runs earlier then the __del_ doesn't fail, so it needs just the right patterns of calls to trigger an error.)

Does all that make me a tribalist? Oh woe is me, how am I to maintain group cohesion with that sort of attitude? /s

But really, I don't understand why you posed your question or comments. Is it just to complain about your experience with Python, or does it have something more directly related to the essay's commentary on language wars and techno-tribalism?*

12345
283