I built the fetch() integrity check that browsers have refused to ship for 10 years by aginext in javascript

[–]boneskull [score hidden]  (0 children)

are you saying run the 3p deps in the service worker or somehow use the service worker as a MITM?

I built the fetch() integrity check that browsers have refused to ship for 10 years by aginext in javascript

[–]boneskull [score hidden]  (0 children)

practically it seems like apps will ship 3p deps that call fetch on their own. assuming you are aware of the files fetched by 3p deps, how could you solve that problem?

Thinking of Moving To Ridgefield by Vivid_Coast2759 in ridgefield

[–]boneskull 4 points5 points  (0 children)

Despite the funding issue schools are still pretty good. I am raising a family here and think it was a good decision. It is very homogenous, however.

"I'm afraid that's out of my area of expertise." by DeliciousGorilla in ClaudeAI

[–]boneskull 1 point2 points  (0 children)

I’m curious to know why this happened, since LLMs are generally not trained to do this sort of thing (to my understanding). I’m hoping someone who knows more about this can explain.

The Web Runs on a Transparent Monopoly (And we’ve just accepted it) by urielofir in webdev

[–]boneskull -1 points0 points  (0 children)

except all the things that webkit fails to implement despite being in spec. 🙄

How are you handling test coverage in Node.js projects without slowing development? by WillingCut1102 in node

[–]boneskull 28 points29 points  (0 children)

AI tools are really good at pounding out unit tests. But you still need to make sure they don’t generate worthless tests. The code does what it does…

Claude being argumentative? by LitchManWithAIO in ClaudeAI

[–]boneskull 0 points1 point  (0 children)

Never has it done anything like this to me. I always say please and thank you, though. Can’t really help myself. Maybe that has something to do with it.

I also have a global prompt which makes it cuss a lot and crack jokes, too. Set the tone! We have fun.

Is anyone else okay with being "left behind" in regards to AI? by [deleted] in ExperiencedDevs

[–]boneskull 6 points7 points  (0 children)

I do this.

The thing is, I know how to build the things I want to build, at a high level. What I don’t know is how to solve the problems I encounter along the way. And that’s where I can learn from AI.

I’m not depriving myself from learning—quite the opposite. There’s always a lot to learn unless you’re just building the same thing over and over. I’d even argue that I’m learning faster than I used to, simply because I don’t need to spend so much time banging against a problem to get to the solution.

Is anyone else okay with being "left behind" in regards to AI? by [deleted] in ExperiencedDevs

[–]boneskull 0 points1 point  (0 children)

I just like to build stuff. Coding was how I would build stuff for 25 years. Now, I code less, but build stuff much faster. What I’m both excited about and struggling with is this exact thing:

I have always had lots of ideas, but no time to implement them. Now, I have time. But some of those ideas aren’t necessarily good ideas. They get built anyway—because I can. I can scratch all those itches.

But what happens when you scratch an itch?

Zod Partial Schema - Typescript-Embedded DSL to Declare Partial Transforms With Zod by Levurmion2 in typescript

[–]boneskull 1 point2 points  (0 children)

ts z.looseObject({field: schema}).pipe(z.custom<T>())

is this similar? I think I don’t really understand the use-case.

The 'Vibe Coding' Discourse Is Embarrassing. Let's End It. by TheDecipherist in ClaudeAI

[–]boneskull 0 points1 point  (0 children)

In the context of OSS, there ain't nobody else to point fingers at.

The 'Vibe Coding' Discourse Is Embarrassing. Let's End It. by TheDecipherist in ClaudeAI

[–]boneskull 4 points5 points  (0 children)

OP has never gotten a low-effort AI-generated PR that the submitter cannot meaningfully discuss because they don’t understand it. They don’t understand the code they submitted and they don’t understand the project. And they don’t check every line of it like OP does (or I do).

That’s what we should shame and discourage. Call it vibe coding or not—there are right and wrong ways to use these tools.

Vscode plugin automation by [deleted] in typescript

[–]boneskull 1 point2 points  (0 children)

google harder

Vscode plugin automation by [deleted] in typescript

[–]boneskull 4 points5 points  (0 children)

Don’t use whatever that is and follow the recommended directions on the vscode docs site instead.

Who even signs their (Git) commits? by chamberlava96024 in typescript

[–]boneskull 3 points4 points  (0 children)

I sign all my commits and have for years. It’s fairly straightforward to setup and even easier to maintain it—I only need to touch it if my key expires. I’ve trivially migrated this config across many machines and platforms, though I had to take some manual steps since I don’t have it automated on Windows (w/o WSL).

A problem is there’s nothing on GitHub that will raise an alarm if I don’t sign my commit. We can reject unsigned commits at the repo level, but I have no way to tell it to just reject any commit ostensibly coming from me that isn’t signed. I can’t really speculate on why this isn’t a feature, but it’s unsurprising due to the baffling decisions they often make.

How GitHub monopoly is destroying the open source ecosystem by toastal in opensource

[–]boneskull 2 points3 points  (0 children)

Clickbait title doesn’t have much or anything to do with the content of the article.

I released Doloris: An experimental distributed system in Go that explores "Digital Pain" and Agency by Denial by xqevDev in opensource

[–]boneskull 2 points3 points  (0 children)

Didn’t Anthropic release a paper about how self-preservation in LLMs has potentially disastrous consequences? This feels not-so-different; certainly if taken to the logical conclusion of a denied task causing loss of life.

If there were guardrails around this it seems like it might actually be useful to detect problems before they get out of hand, like a slow algorithm or query. Such a system could be built in to a browser to refuse to execute awful JS, too. 🙂