HNHacker News
TopNewBestAskShowJobs

bevr1337

379 karma · joined June 13, 2025

submissionscomments
bevr1337··on Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
It seems like the wrong tool for the job to me, but I was curious and thought about it a little:

After initial page load, a service worker could intercept all the HTMX app's AJAX requests, but it could only work with what's already cached. Using a lot of tooling like workbox the developer could pre-cache the entire app. (Would that mean no dynamic responses?)

Alternatively, implement the entire HTMX app in JS, build the app once for the NodeJS/Deno backend and once for the front-end. After page load, the frontend could take over.

Or something like that. It's a bit convoluted as PWA solutions often are.

bevr1337··on Kaiser nurses say AI, surveillance are making their jobs and patient care worse
My current provider shows me their computer monitor for the entire appointment. I didn’t ask for that treatment but I really appreciate it.
bevr1337··on Meta reuses old RAM in new servers with custom bridge chip
What board are you using that supports SODIMM? I’ve got 64GB I want to put in a workstation but I’m not finding the right solution.
bevr1337··on Waymo in Portland
Waymo cancels cars when they are unable to get to you in a reasonable time. The service will not resend a car automatically, so the user needs to babysit the app until they’re actually in the car. I’ve seen this twice in the last week. In Phoenix and SF we have preferred ride share or taxi when the car showing up is important, like getting to a medical appointment on time.
bevr1337··on Modern Front end Complexity: essential or accidental?
> Is there a good reason browsers could and or should not support ts out of the box?

Because it’s a Microsoft product and Microsoft still follows Embrace, Extend, Extinguish process. Once every browser supports TS, what prevents Microsoft from revving TS with a license change? Who’s going to take over the TS fork?

bevr1337··on Everything we like is a psyop?
Bill Hicks was a comedian. It's not advice.
bevr1337··on Do you even need a database?
> The real question isn't "do you need a database" but "do you need state" — and often the answer is no.

This is a solid takeaway and applies to a lot of domains. Great observation

bevr1337··on A new spam policy for “back button hijacking”
How could the user expect consistent behavior from the back button if web apps can no longer leverage it like web sites?
bevr1337··on I gave every train in New York an instrument
Un/mute button throws a fetch error in Safari, fails to toggle audio.
bevr1337··on Doom, Played over Curl
Top comment on the previous thread was someone complaining about the writing style of kids these days. Huh.
bevr1337··on What game engines know about data that databases forgot
> pass objects by reference.

It’s not an option. That’s how JS must behave.

> depending on exact syntax, will collect values in another array or object

Not in JS. Maybe you are referring to rest syntax? That is not specific to destructuring i.e. functions accept rest parameters.

> which allocates an object for each function call.

No, in JS non-primitives MUST be pass by reference.

bevr1337··on What game engines know about data that databases forgot
> Pass references around to objects, not recreate them each time at some function boundary.

Non-primitives are always pass-by-reference. There's no mechanism to pass a non-primitive by value except edge-cases like giving ownership of a buffer to another process.

> destructuring

What about it? What backs the assumption that destructuring is inherently worse than dot and/or bracket syntax? Is there a behavior you think is unique to destructuring? Or maybe a specific report from one engine years ago?

bevr1337··on Subscription bombing and how to mitigate it
Do you test this against password managers? Seems like this approach could generate false positives
bevr1337··on Bombadil: Property-based testing for web UIs
The AI generated illustration and satire of the poem hurt my soul. Tom doesn’t even have pupils! This output is low quality even for AI generated content.
bevr1337··on Banning lead in gas worked. The proof is in our hair
That's a great hypothetical, but it's not supported by the article. There are claims that NIMBYs are doing this or that, but follow the links to the supplementary articles and it's baseless. I only find evidence that students and homeless protested. Those aren't NIMBY homeowners.

To me, it seems UC wants to bulldoze a park famous for homeless camps and replace it with student housing. Pro-development is trying to cast the UC expansion in the same light as folks asking for affordable housing. But, UC is not providing useful housing for residents of Berkley.

bevr1337··on Banning lead in gas worked. The proof is in our hair
I didn't say there was NO NIMBYs, but that this article suggests NIMBYs were the primary protestors. That doesn't seem truthful. Additionally, the UC system does have a large impact on the environment.

I'm sure there are better examples to illustrate your point

> homes for people to live in

Student housing. Which likely means partially-furnished studios with shared bathrooms and a kitchenette at best. This isn't the useful housing folks are asking for.

bevr1337··on Banning lead in gas worked. The proof is in our hair
This article doesn't speak to me. What I read is, "Won't someone think of the poor UC system?" But the UC system is _massive_

> But Casa Joaquin’s neighboring, overwhelmingly white homeowners could have used CEQA to demand costly studies and multiple hearings before Berkeley officials.

Important to note that white people are well-represented at UC Berkley too. https://opa.berkeley.edu/campus-data/uc-berkeley-quick-facts

> More recently, a series of court rulings that culminated last year nearly forced Berkeley to withhold admission of thousands of high school seniors...

Graduating high-school seniors are also known as incoming freshman or legal adults.

> ... because the state’s judges agreed with NIMBY neighborhood groups that population growth is an inherent environmental impact under CEQA.

Ok, let's see how big the UC school system is...

> The University maintains approximately 6,000 buildings enclosing 137 million gross square feet on approximately 30,000 acres across its ten campuses, five medical centers, nine agricultural research and extension centers, and the Lawrence Berkeley National Laboratory.

https://accountability.universityofcalifornia.edu/2017/chapt...

I'm not seeing evidence that protestors were primarily NIMBYs and pesky white homeowners. I can find several articles citing _student_ protests.

> “It’s students who set up People’s Park in the first place, so it’s our place to defend it,” said Athena Davis, a first-year student at UC Berkeley who spoke at the rally. “It’s up to students to reject the idea that our housing needs to come at the price of destroying green space and homes for the marginalized.”

https://www.berkeleyside.org/2021/01/30/protesters-tear-down...

bevr1337··on Raspberry Pi Drag Race: Pi 1 to Pi 5 – Performance Comparison
They'll run CUPS too! My B modernized some old, commercial Brother laser printers I was running.
bevr1337··on Douglas Adams on the English–American cultural divide over "heroes"
> The British version can be much bleaker.

I think this one is a miss. TOS is inspired by _british_ naval history. Loss, fear, and failure are central to the show. In this era of TV, leading characters still had large flaws. Kirk is frozen by choice, Spock believes himself superior, Bones is a bigoted luddite. We as viewers get to see the pain this causes and their efforts to improve. It's wholly different than modern US television including all other ST media. Meanwhile, 70s Dr. Who is packed with automatic weapons fire and explosions and the formula has always been the Doctor knows best. (I am a huge fan of all the mentioned shows.)

For a good, modern example we can look at Ghosts (suddenly renamed "Ghosts UK" on my streaming services) and Ghosts US. The adaptation is agonizing. They stripped the important aspects of the story but kept a boy scout, toy soldier, and an interracial marriage. I found that telling.

bevr1337··on Nanolang: A tiny experimental language designed to be targeted by coding LLMs
Whatever work is paying for on a given day. We've rotated through a few offerings. It's a work truck not a personal vehicle, for me.

I manage a team of interns and I don't have the energy to babysit an agent too. For me, gpt and gemini yield the best talk-it-through approach. For example, dropping a research paper into the chat and describing details until the implementation is clarified.

We also use Claude and Cursor, and that was an exceptionally disruptive experience. Huge, sweeping, wrong changes all over. Gyah! If I bitch about todo! macros, this is where they came from.

For hobby projects, I sometimes use whatever free agent microsoft is shilling via VS Code (and me selling my data) that day. This is relatively productive, but reaches profoundly wrong conclusions.

Writing for CLR in visual studio is the smoothest smart-complete experience today.

I have not touched Grok and likely won't.

/ two pennies

Hope that answers your questions.

bevr1337··on Apple testing new App Store design that blurs the line between ads and results
"I can always tell when someone is lying to me."
bevr1337··on Nanolang: A tiny experimental language designed to be targeted by coding LLMs
> because the rust compiler and linters give such good feedback that it immediately fixes whatever goof it made.

I still experience agents slipping in a `todo!` and other hacks to get code to compile, lint, and pass tests.

The loop with tests and doc tests are really nice, agreed, but it'll still shit out bad code.

bevr1337··on Judge to Texas: You Can't Age-Gate the Internet Without Evidence
Internet service is age gated by the provider and the prerequisites like a physical address and bank account
bevr1337··on Stardew Valley developer made a $125k donation to the FOSS C# framework MonoGame
> Gifts do not confer obligation.

Remind me, which Ferengi Rule of Acquisition is this?

There's not much argument to be had. You've created a logical justification for a myopic, misanthropic world view.

> My friend bought me lunch. I used that energy at my job. Do I owe them part of my paycheck?

Many find reciprocation important in a relationship.

bevr1337··on Italy's longest-serving barista reflects on six decades behind the counter
> or move on to a different career otherwise.

Folks rarely have this choice. What industry wants a barista outside food service? This is why we get stuck wearing a green apron for a decade, or working call center jobs, or any other crappy job.

bevr1337··on Zig's new plan for asynchronous programs
In the JS example, a synchronous function cannot poll the result of a Promise. This is meaningfully different when implementing loops and streams. Ex, game loop, an animation frame, polling a stream.

A great example is React Suspense. To suspend a component, the render function throws a Promise. To trigger a parent Error Boundary, the render function throws an error. To resume a component, the render function returns a result. React never made the suspense API public because it's a footgun.

If a JS Promise were inspectable, a synchronous render function could poll its result, and suspended components would not need to use throw to try and extend the language.

bevr1337··on Can Dutch universities do without Microsoft?
> The overwhelming majority of computers in the entire world, used by our entire species, have windows as their OS

The majority of computers in the world run Linux. Windows only has majority share in the desktop space .

bevr1337··on Face transplants promised hope. Patients were put through the unthinkable
You're a) projecting, b) astroturfing, c) both, d) both (unconsciously)

This capitalization been AP style for years now.

https://apnews.com/article/archive-race-and-ethnicity-910566...

bevr1337··on South Korea: 'many' of its nationals detained in ICE raid on GA Hyundai facility
I spent a good minute thinking of the best reply. You're right, the truth was immaterial to them and they were posting in bad faith. Proving that this is the result of cooperation, to me, was the quickest way to unravel the rest of their post.
bevr1337··on South Korea: 'many' of its nationals detained in ICE raid on GA Hyundai facility
Georgia has some of the most active ICE presence. According to ICE, there is no bureaucratic resistance movement.

https://www.ice.gov/news/releases/ice-atlanta-announces-resu...

← PreviousPage 2 of 6Next →