Better HN
topnewbestaskshowjobs
Log inSign up

ag_dubs

252 karma · joined Nov 17, 2011 (15y ago) · 32 submissions

a mess like this is easily five to ten years ahead of its time. former rust core team. working on something new: axo.dev.

[ my public key: https://keybase.io/agdubs; my proof: https://keybase.io/agdubs/sigs/YyimOgl8foVM_aTbhtE2_o3QszJ6oxrwHtmIgP7pdpk ]

Submissions

1.

System dependencies are hard (so we made them easier)(blog.axo.dev ↗)

3 points · by ag_dubs · 3y ago · discuss

2.

Not every developer wants to be a web developer: hello oranda(blog.axo.dev ↗)

4 points · by ag_dubs · 3y ago · discuss

3.

Thanks for breaking cargo-dist (I rewrote it)(blog.axo.dev ↗)

6 points · by ag_dubs · 3y ago · discuss

comment 3y ago · link · parent

definitely inspired by goreleaser! it's a great project

comment 3y ago · link · parent

we actually agree and are working on this! github releases are just an easy initial target, and makes our tool a drop-in replacement for the kinds of things people are already doing. longer-term we'd like to see something more robust, and cargo-dist is the first cog in that machine.

i have personally packaged and published many rust devtools on npm (cloudflare's wrangler, apollo's rover, wasm-pack) but that was largely because they were targeted at a javascript developer audience.

as a former npm registry engineer i'm curious what you find to be the particular value of publishing to npm? installing node is actually very unpleasant and then getting global installs to work is also... very unpleasant. i think it works well for people already in that ecosystem but i think we can build something better for a more agnostic audience that can give a similar out-of-box exp without requiring a centralized registry. would love to learn more about your perspective!

6.

Release engineering is exhausting so here's cargo-dist(blog.axo.dev ↗)

262 points · by ag_dubs · 3y ago · 63 comments

7.

Making calls to WebAssembly fast and implementing anyref(blog.benj.me ↗)

68 points · by ag_dubs · 8y ago · 6 comments

comment 8y ago · link · parent

there's a human readable version, you can read more about it here: https://developer.mozilla.org/en-US/docs/WebAssembly/Underst...

comment 8y ago · link · parent

fwiw as a former npm registry engineer i can tell u that "hundreds of download every month" likely is a result of the background bot activity npm gets. but your advice is sound! definitely vet your deps before you use them! and YES! read the source.

10.

Announcing Free Orgs at npm(blog.npmjs.org ↗)

5 points · by ag_dubs · 9y ago · 1 comment

11.

Npm releases free orgs(go.npm.me ↗)

2 points · by ag_dubs · 9y ago · discuss

12.

Some notes on RFCs(blog.npmjs.org ↗)

1 points · by ag_dubs · 9y ago · discuss

13.

Npm5, specifications, and our RFC process(blog.npmjs.org ↗)

2 points · by ag_dubs · 9y ago · discuss

14.

Zero One Infinity READMEs(blog.npmjs.org ↗)

1 points · by ag_dubs · 10y ago · discuss

comment 10y ago · link · parent

a few points!

fwiw, only 2 of those humans work on the CLI, (3 if you count their manager, who spends a lot of time managing). other people work in sales, marketing, engineering on the website, engineering the registry, community + docs, etc.

wombat is not a tool for managing our other commercial services! it's a way to manage our webhooks product, one of many products we have, though very certainly the smallest.

yarn depends on the npm registry, which depends on npm, Inc making money to keep it running.

comment 10y ago · link · parent

that registry is a mirror of npm's registry. the mirror contains all package data but does not include any of the permissions or user management, so this tool still depends on npm infra for both that, and as a replication source.

comment 10y ago · link · parent

ied didn't work on windows because of the linking strategy. many people who need to use npm use windows.

comment 10y ago · link · parent

actualyl at this point, unless there is a legal request or a serious security issue, we don't allow any unpublishes. we encourage transferring the package to the npm user and deprecating it. yay immutable registry!

comment 10y ago · link · parent

hi! they are running a mirror of the npm registry which contains all the package data but none of the permissions/user mgmt. this means that they are still dependent on npm infrastructure.

npm, Inc strongly encourages people to build and use mirrors. for example, cloudflare (where the mirror lives, and where seb used to work) has been running https://npmjs.cf/ for a long time.

20.

Npm package tarball outage post-mortem(blog.npmjs.org ↗)

2 points · by ag_dubs · 10y ago · discuss

21.

Programmatically access all the public npmjs registry data: a tutorial(github.com ↗)

1 points · by ag_dubs · 10y ago · discuss

comment 10y ago · link · parent

> a serious thundering herd

hehe yup, def want to avoid that

> Are the costs of npm public? Is it mostly bandwidth costs for transferring the tarballs?

the costs aren't but that's an interesting idea. i'll bring it up with the team.

and as for the origin of the cost, transferring the tarballs is a big part but there are other parts of the infra that are also 'spensive. there are a lot of packages, and a lot of users, and a lot of downloads. we're working on reducing the cost of the registry at the same time as trying to increase revenue- hitting the problem from both sides :)

comment 10y ago · link · parent

greenkeeper uses the follower ^__^

comment 10y ago · link · parent

we're still playing around with how many hooks to give each account- and we're definitely open to increasing it. this is why we're releasing in beta.

as for it being paid, our registry is super expensive to run, so we're looking for ways to make money to support it. this is one way to encourage people to pay for their accounts. this also keeps our prices super low (we start at 7$ a month).

comment 10y ago · link · parent

we do have something called the registry follower (https://github.com/npm/concurrent-couch-follower) that can help you achieve a similar outcome, but hooks provides more specificity around certain events and is also significantly more user friendly

comment 10y ago · link · parent

this would primarily be for people who use their own internal packages in developing their own applications, i.e. a single author owns both packages.

that being said, it turns out that the semver handshake the community does works Most of The Time, so if it is a trusted dependency it wouldn't be that dangerous. assuming you also had tests-dependent deploy, the tests would catch the break.

comment 10y ago · link · parent

you might also consider the fact that OSX machines are expensive. and the education for learning linux is generally expensive or not accessible. so supporting windows also supports ... poor people, people from different countries that have different economies, etc.

should we not pick up capitalism's slack? capitalism sure isn't going to pick up its own slack, err... systemic method of restricting underprivileged/poor people's access to power.

comment 10y ago · link · parent

forcing a single copy of a dep is exactly the opposite of the dependency strategy both the node module loader and npm take. the fact that the node module loader can load more than one version of a module into memory is its strength and npm plays to this, and in doing so avoids "dependency hell". you might checkout this page in the docs that talks more about this: https://docs.npmjs.com/how-npm-works/npm2

comment 10y ago · link · parent

as the person who wrote these docs-- if you have questions or things you'd like to see addressed, i'd really love if you filed issues on the repo. https://github.com/npm/docs/issues
12