Better HN
topnewbestaskshowjobs
Log inSign up

notnullorvoid

971 karma · joined Jun 30, 2023 (3y ago) · 477 submissions

Submissions

comment 6mo ago · link · parent

A lot of these changes seem geared toward adopting Node/NPM default DX. To the point where Deno DX (or what it was previously) now comes second.

The worst of the changes is "lib.node included by default", if I'm writing Deno or web code I absolutely don't want node types included by default. Those types were a pain to deal with even in Node projects, resulting in multiple tsconfigs to avoid those types polluting platform agnostic or web code.

If Deno continues this trajectory then there is less and less reason to use it over Node.

comment 6mo ago · link · parent

This is a really odd change. Deno already supported installing npm packages, this only removes the "npm:" prefix requirement for cli commands. Considering the nightmare that is npm, I was quite happy for jsr to become the defacto registry for the Deno ecosystem. If anything I would've expected the "jsr:" prefix to be the default.

comment 6mo ago · link · parent

It sounds a lot like DNT (https://github.com/denoland/dnt) which has existed for a long time, but having it in Deno cli does bring significant visibility.

comment 6mo ago · link · parent

They may share some goals, but also have differing and opposing goals.

But it's possible that all 3 Deno, Node, and Bun could share some code in the future considering they now all require Rust as part of their build process.

comment 6mo ago · link · parent

No I don't mean like that. Explicit permissions control what the extension can do, similar to websites needing explicit permission to access a users camera. An example is a theme extension with permission to change the theme, but having neither permission to run scripts/executables, nor dynamically access the filesystem.

There's no connection to authoritative approval, other than making ecosystems without or without that kind of strict approval safer.

comment 6mo ago · link · parent

Running binaries I already have installed in a containerized environment is fine, automatically installing them on host machine and/or container is not.

I should be able to limit what binaries extensions have access to though.

comment 6mo ago · link · parent

Thanks, after seeing this and others talk about it silently installing node and other tools that's enough for me to dismiss it as a viable option.

comment 6mo ago · link · parent

How so?

Part of what seemed good about Zed was that extensions have explicit permission controls.

comment 6mo ago · link · parent

> Migrate off vscode already.

Zed is the closest thing I've found to meet my needs, and I do plan to try it. However it's dev container support looks to be lacking in some important ways so we'll see.

comment 6mo ago · link · parent

In my testing Bun wasn't much faster most of the time, usually on par for all non-IO related stuff, and there were some cases with scheduling where Bun was noticable slower.

comment 6mo ago · link · parent

Yeah, the only thing that gives me hope is the optics of this happening to GitHub. Though it seems possible VS Code team could double down on the opinion that this isn't a permission/sandboxing problem, and is instead a scanning/threat detection problem.

comment 6mo ago · link · parent

I said limit post install, not remove them. Having an allow list in package.json of packages which can run post install would work fine. Pnpm already does this.

Having said that I'm not against full on removal of post install either. It would get more pushback, but would still be possible for people to manually run the post install for the few packages that require it, or to add them as a script in package.json.

comment 6mo ago · link · parent

I really hope this pushes Microsoft to add a explicit permission system to VS Code extensions, and improve security of dev containers.

comment 6mo ago · link · parent

Wow that was way more Apple simping than I expected.

It'll be funny when WWDC happens and Apple has even less of substance to say.

comment 6mo ago · link · parent

Limiting post install as an attack vector is still a good thing.

Node is working on a similar permission model to Deno that allows explicitly granting certain system resource permissions https://nodejs.org/api/permissions.html. Using it should help reduce impact from malicious code, though if you allow wide permissions it's unlikely to help.

comment 6mo ago · link · parent

All of the videos have rather glaring consistency issues when direction shifts back to areas previously shown.

comment 6mo ago · link · parent

Judging by the examples it wouldn't be useful for that, the environments show little physical consistency.

comment 6mo ago · link · parent

Same reason people work at any of these big companies, money and prestige. You can be a terrible engineer, but if you have a few years experience at Meta it's going to make people think you must be a great one.

comment 6mo ago · link · parent

I've been gaming on Linux (Fedora) exclusively for ~10 years, and in that time able to play any new release that interests me so long as it doesn't have egregious client side anti-cheat.

comment 6mo ago · link · parent

Either. If you want Nvidia features like DLSS then go with NVidia.

comment 6mo ago · link · parent

Nvidia on laptops is fine. There was a time that it was really difficult and the easiest route to success was to disable the Intel iGPU, and force Nvidia GPU to handle everything in BIOS. That hasn't been the case for a while, and you can even get nice desktop environment integration to let you choose which GPU to run a program with.

comment 6mo ago · link · parent

You can still use the old drivers they work fine. This also isn't unique to Linux, Nvidia's latest Windows drivers also don't support 10 series cards anymore.

comment 7mo ago · link · parent

Again it's not about typing speed. High level plans simply don't work very well, especially for big tasks where the optimal solution actually would take 2k lines. Unless you are building something that is extremely generic, AI coming up with the optimal solution rarely ever happens.

> He is either a liar or like many other people lacks skill in using AI

Not a liar, and I'm sorry to say, but AI really doesn't take much skill to use. People who say such statements give me the impression that their ceiling for skills is quite low.

Their are areas I do and will continue to use AI and it works well enough. Giving me prototypes for projects I don't have a lot of knowledge about is one thing. But I use those prototypes to learn.

> configure infrastructure

I make templates I can copy and tweak to do this faster than it takes to tell an agent what to do.

> database administration

Don't do that... Sure get it to write you some SQL to update a table, but don't give it DB admin access for fucks sake.

> deploy code

Tell me, how is your agent able to deploy code more effectively than hitting merge on a PR? Or do you simply mean setting up CI/CD for you? That's usually a set and forget thing that doesn't take much time, so I'd rather do it myself.

comment 7mo ago · link · parent

> Bad engineers continue being bad, good engineers continue being good.

Unfortunately I have seen some really good software engineering peers regress into bad engineers through a increasing reliance on AI.

Conversely some very bad engineers (undeserving of the title) have been producing better outputs than I ever expected possible of them.

comment 7mo ago · link · parent

Some of us do actually have intimate knowledge in certain areas where guidance of an AI takes longer than doing it yourself. It's not about typing speed, it's that when you know something really really well the solution/code is already known to you or the very act of thinking about the problem makes the solution known to you in full. When that happens it's less text to write that solution than it is to write a sufficient description of the solution to AI (not even counting the back and forth required of reviewing the AI output and correcting it).

comment 7mo ago · link · parent

I don't really want to advocate for Musk, but is it not possible that his goal was to merge with Tesla as an alternative to OpenAI becoming a seperate for-profit. If the option of staying a non-profit was going off the table I'd also probably want to advocate for merging with an existing for-profit I own that had aligned interests.

comment 7mo ago · link · parent

It's certainly the case that the collaborative ceremony can be mismanaged, and that is frustrating when you need time to implement. I don't expect that complaint to go away, those who are using AI heavily will replace it with not having enough time for prompting.

But I have also worked with some who refused to participate in collaboration, they felt their time and ideas superior to others, and there's no excuse for that.

comment 7mo ago · link · parent

The whole Prompt API is poorly designed. Devs will end up trying to fine tune very specific prompts out of necessity, only to have them break with the next model update.

The logic around not providing access to model version to prevent fingerprinting is laughable when the suggestion to counteract fingerprinting from prompting is the model should only update when user agent string updates. Just put the damn API behind a explicit user permission.

1
678
16