HNHacker News
TopNewBestAskShowJobs

staminade

553 karma · joined March 17, 2023

submissionscomments
staminade··on Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised
And all those 5 remaining dependencies have lots of dependencies of their own. What's your point?
staminade··on Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised
Don't they?

I just went to crates.io and picked a random newly updated crate, which happened to be pixelfix, which fixes transparent pixels in pngs.

It has six dependencies and hundreds of transient dependencies, may of which appear to be small and highly specific a la left-pad.

https://crates.io/crates/pixelfix/0.1.1/dependencies

Maybe this package isn't representative, but it feels pretty identical to the JS ecosystem.

staminade··on React is winning by default and slowing innovation
Linus named Linux after himself, it can't be good!
staminade··on EPA Seeks to Eliminate Critical PFAS Drinking Water Protections
Any new regulation the EPA introduces results in litigation. Some of the previously introduced PFAS regulations weren't done in accordance with how the Safe Drinking Water Act says they should be (regulations were introduced without the necessary public consultation), so they're applying to partially vacate the previous ruling. Notably, they're _not_ applying to vacate the regulation of PFAS chemicals where they say the process was followed correctly.

So, the legal reasoning might be to cut their losses litigating to defend rulings they think they'll lose due to the administrative error. I also suspect that being seen to roll back some regulations likely gives Lee Zeldin (the EPA admin) some political room to maneuver. He's historically be associated with anti-PFAS efforts (in Congress he represented a district with contamination problems and he voted for anti-PFAS legislation), but he's also part of an administration with a strong anti-regulation agenda, so he needs to walk a fine line.

staminade··on YouTube is a mysterious monopoly
While it's a different niche, the worry for YouTube is that younger viewers generally consume a lot of short form video. They might eventually shift to watching more long form content as they get older, but if they're accustomed to one provider it's going to be easier for that provider to expand into long form content than for YouTube to persuade them to switch or use a second provider. So YouTube feels it has to move into short form in order to ensure long term maintenance and growth of its user base.
staminade··on Does Astrology Work?
My personal astrological projection is that none of the astrologers who criticised the original study, designed the new survey, or participated in the experiment will accept the validity of its results.
staminade··on The loneliness of the low-ranking tennis player
I really recommend reading any of David Foster Wallace's essays about tennis. The book "String Theory" collects all his writing on the subject. He was a lifelong fan of the sport, but also a nationally ranked junior player and he's able to provide exceptional insight in the insane dedication (as well as talent) needed to reach even the lowest rungs of the competitive tennis world, and what a grind the tour can be for lower ranked professionals.
staminade··on Flow Charts with CSS Anchor Positioning
Why not represent them as PlantUML or Mermaid and render to HTML/CSS? That way you get far superior layout capabilities, particularly for text, than SVG or canvas provide you.
staminade··on The Moral Economy of the Shire
I think there has been an understandable pushback against the trope that Tolkien's world building was too loose and idealised, but we shouldn't take things too far in the other direction and imagine him as fastidiously realist.

Yes, Tolkien was a medieval historian, but he wasn't only that, and LoTR is not a work of historical fiction. Tolkien was also a storyteller, and in his famous denunciation of allegory he makes it clear that he prioritises the story above all other concerns. He was also a lover of myth and legend, which are inherently unrealistic forms. And, perhaps most importantly, he was a Christian, and his entire legendarium is an elaborate reworking of Christian theology.

Indeed, there is something Edenic about the Shire. The Hobbits are portrayed as innocents, literally child-like in stature, and protected from evil by the efforts of the Rangers and Gandalf. And this guarding of their innocence is presented as a fundamentally good thing.

To believe that the Shire was in fact a society built on economic exploitation, and that Tolkien meticulously figured all this out (but failed to mention it), undermines the morality of the tale. And the fact is, nothing truly like the Shire ever existed, so attempting to contrive a real-world explanation for its qualities is impossible. Yes, it was obviously influenced by Tolkien's understanding of and attitudes towards the English class system and rural life, but I would insist that it is basically a speculative creation, intended to portray what an idyllic version of what that society could look like, with exactly how it actually works left deliberately vague and dependent on some contrivances such as the Ranger guard.

staminade··on SpaceX has grown to 87% of the tonnage to orbit
Someone here collected statements from SpaceX employees and others like John Carmack and Jim Keller testifying to Musk's deep technical knowledge, involvement and position as chief engineer: https://old.reddit.com/r/SpaceXLounge/comments/k1e0ta/eviden...

You do realise that people can be capricious, immature, meddling, petulant, etc. while still being skilled engineers? This history of science and engineering is rife with people who were brilliant in some ways and childish and dishonest in others.

staminade··on Popover API
Giving this capability to arbitrary web apps is definitely a bad idea, but conceivably it could be made available to installed PWAs in the same way things like the Window Controls API are: https://developer.mozilla.org/en-US/docs/Web/API/Window_Cont...
staminade··on Popover API
The article I linked goes into the details, but basically a relative approach constrains your markup: The positioned thing must be a child of the relatively positioned anchor or a wrapper element, and you often cannot sensibly position it without using JS to check the location of the anchor. E.g. a popover menu for a button must check if the button is close to an edge of the viewport and position the menu element appropriately. Anchor positioning will do this automatically.

Also, if support for multiple anchors is included, then it opens up some very interesting capabilities to do things like draw arbitrary diagram connectors between elements: https://kizu.dev/anchor-positioning-experiments/

staminade··on Popover API
I think the Popover API will be really transformative when CSS Anchor Positioning[1] arrives as well. Anchor positioning will let you position elements relative to others on the page. Combined with the Popover API it will let you implement things like custom tooltips and context menus in a declarative way and without any need for libraries like PopperJS [2]

[1] https://developer.chrome.com/blog/tether-elements-to-each-ot... [2] https://popper.js.org/docs/v2/

staminade··on AlphaFold 3 predicts the structure and interactions of life's molecules
Isomorphic Labs? That's an Alphabet owned startup run by Denis Hassabis that they created to commercialise the Alphafold work, so it's not really a 3rd party at all.
staminade··on VideoGigaGAN: Towards detail-rich video super-resolution
Funny to think of all those scenes in TV and movies when someone would magically "enhance" a low-resolution image to be crystal clear. At the time, nerds scoffed, but now we know they were simply using an AI to super-scale it. In retrospect, how many fictional villains were condemned on the basis of hallucinated evidence? :-D
staminade··on Senate Commerce Committee chair Maria Cantwell upended privacy bills for years
I went into this expecting to think she was corrupt or insincere, but instead it seems like she's just...not very good at her job?
staminade··on Scientists put Jared Diamond's continental axis hypothesis to the test
To be fair to Diamond, his arguments in GG&S are bit broader in scope than just the the continental axis hypothesis. The disparity in domesticable animals between Eurasia and other continents always seemed more persuasive than the axial argument. Although it is true that he leans too far into determinism and discounts cultural and economical factors.
staminade··on Man Allegedly Raped in Jail After AI Wrongly IDs Him as Suspect Despite Alibi
No. Why do you think that? There's nothing in the article to suggest it.
staminade··on Is htmx Just Another JavaScript Framework?
Any POCs your devs wrote would have been targeted at a specific version of their framework dependencies via their NPM package.json / package-lock.json. So why would any later changes made by framework authors, even backwards incompatible ones, made you unable to run or build them?
staminade··on Why I Left Rust
“Let’s keep this nonsense out of tech”

You’re literally the one bringing it in, with phrases like “woke mindvirus”. Such phrases aren’t intended to foster serious or rational discussion, they’re trollish epithets intended to anger and divide.

staminade··on The age of average
Travel back 2000 years and I'd bet you'd find Romans complaining that every new villa looked the same and every new toga was in the same style. Every era has a dominant aesthetic in art, design, clothing and decor, but there's still likely a greater variety in the modern era than there has been at any point in history.
staminade··on Apple’s Best Hope for New Headset: a Smartwatch-Like Trajectory
Because as depicted in scf-fi, VR would be amazing. The ability to plug-in, or walk onto a holodeck, and frictionlessly experience literally any experience, in perfect, complete sensory detail. Believing people wouldn't want that means disregarding human nature entirely.

The problem with VR/AR is that they anything but frictionless or perfect. They are expensive, uncomfortable and limited. They are a million miles away from what's depicted in sci-fi and likely will be for decades, perhaps hundreds of years. If anything, the sci-fi dream works against them by illustrating just what a stark difference there is between fiction and (artificial) reality.

staminade··on Testing GPT 4's code-writing capabilities with some real world problems
While I think there's truth to what you say, I'd also point our that workers in many pre-automated industries with an "artisan" approach also considered themselves irreplaceable because they figured, correctly, that nobody could build a machine with the capability of reproducing their workflow, with all its inherent uncertainty, flexibility and diverse physical and mental skills.

What they failed to predict was that some people wouldn't try to automate them like-for-like. Instead they would reconfigure their entire approach to fit with the specific advantages and limitations of the machinery. And this new approach might even be qualitatively worse in various ways, but not so much as to overwhelm the economic advantages that provided by the things machines were good at.

AI likely isn't going to slot into a developer-shaped hole in a software team. But it's possible we'll see new organisation approaches, companies, and development paradigms that say: How far can you get if you put prompt-generated code at the heart of the workflow and make everything else subservient to it. I'm not sure, right now, that that approach is feasible, but I'm not sure it won't be in a year or two.

← PreviousPage 2 of 2