ZoltanKochan Profile Banner
Zoltan Kochan Profile
Zoltan Kochan

@ZoltanKochan

Followers
4K
Following
5K
Media
65
Statuses
2K

Developer, maker of @pnpmjs Works on dependency management at @bitdev_ #javascript #nodejs

Joined October 2010
Don't wanna be here? Send us removal request.
@ZoltanKochan
Zoltan Kochan
2 years
This has blown my mind today
Tweet media one
382
533
10K
@ZoltanKochan
Zoltan Kochan
2 years
Apparently, the JavaScript URL parser will omit the default port for a protocol (80 for HTTP and 443 for HTTPS) even if it was explicitly specified.
Tweet media one
57
157
2K
@ZoltanKochan
Zoltan Kochan
3 years
I wanted to get the logo of @vercel, so I right clicked on the logo in the navbar. I was redirected to the design page with all the assets!.
25
73
2K
@ZoltanKochan
Zoltan Kochan
2 years
@marktenenholtz Right, maybe I am not a good enough developer but I skip the docs if the function name looks self explanatory.
19
0
672
@ZoltanKochan
Zoltan Kochan
2 years
@jsumners79 That doesn't make sense to me. We need a .sort2().
33
6
683
@ZoltanKochan
Zoltan Kochan
2 years
It works correctly with a TypedArray!
Tweet media one
12
11
584
@ZoltanKochan
Zoltan Kochan
2 years
@alex_kozack This is gold.
4
1
398
@ZoltanKochan
Zoltan Kochan
2 years
After almost 8 years of its existence, the @pnpmjs way of structuring node_modules is now available in @npmjs . It feels like a little victory. Now the pnpm node_modules (and the hoisted node_modules) are available in @yarnpkg, @npmjs, and @pnpmjs .
@ruyadorno
🦋 @ruyadorno.com
2 years
A new version (v19.6.0) of @nodejs. is out!. - Adds support to leveraging loaders when resolving subsequent loaders.- Includes npm@9.4.0 adding a new option for installations similar to pnpm. ⬇️ Get it now:.$ nvm install 19.6.0. See full changelog:
14
61
378
@ZoltanKochan
Zoltan Kochan
2 years
Today at around 4am I have solved an out-of-memory error that happens sometimes with @pnpmjs during peer dependency resolution. I think I was trying to figure this out for years. The level of satisfaction I feel is immense.
15
11
300
@ZoltanKochan
Zoltan Kochan
2 years
It is happening
Tweet media one
11
13
301
@ZoltanKochan
Zoltan Kochan
2 years
Daily reminder that "npm ci" means "npm clean-install", not "npm install for continuous integration environments".
18
16
272
@ZoltanKochan
Zoltan Kochan
2 years
pnpm is insanely popular. I can't cope with the flood of PRs.
7
7
242
@ZoltanKochan
Zoltan Kochan
2 years
This is so meta! Discord is switching to @pnpmjs and posted a vacancy in a pnpm channel on Discord.
Tweet media one
3
10
240
@ZoltanKochan
Zoltan Kochan
2 years
@ezequiel6arrido That's kind of how I have found it. Except it wasn't me but one of the @pnpmjs contributors.
2
1
222
@ZoltanKochan
Zoltan Kochan
2 years
Today I have discovered that "npm ci" means "npm clean-install". I always thought it meant a npm command for continuous integration.
11
8
211
@ZoltanKochan
Zoltan Kochan
2 years
I see jokes about frequent @pnpmjs releases regularly. Well, if you stop creating 10 new issues a day, I'll slow down the changes and bug fixes 😅.
12
3
209
@ZoltanKochan
Zoltan Kochan
2 years
The last year of my life has been so sad that I can't really enjoy the popularity that @pnpmjs is getting. I hope we can sustain it. Also, for the last two weeks, I have been playing an EU4 campaign as Portugal, so I haven't been contributing much😅
Tweet media one
11
6
202
@ZoltanKochan
Zoltan Kochan
3 years
I guess I am not a JavaScript developer.
@SuhailKakar
Suhail Kakar (🫰,✨)
3 years
There are two types of javascript developers 🧑‍💻. 1- The one who uses Yarn ⚡️.2- The one who uses NPM 🔥. I am the 1st one, what about you?.
10
2
183
@ZoltanKochan
Zoltan Kochan
3 years
Surprisingly, @fedora is the easiest Linux distro. Easiest to setup and configure.
22
11
161
@ZoltanKochan
Zoltan Kochan
3 years
Achieved one of my personal milestones: @pnpmjs has more weekly downloads than lerna.
8
4
163
@ZoltanKochan
Zoltan Kochan
2 years
I have written a custom tarball fetcher for @pnpmjs in @rustlang. The speed improvement is 10-40%. Of course, it is not production ready yet but I think it is a better approach than writing a new package manager in another language from scratch.
4
2
157
@ZoltanKochan
Zoltan Kochan
2 years
problems of a russian open source developer: how to buy an iPhone to your wife. problems of a Ukrainian open source developer: how to survive.
2
5
142
@ZoltanKochan
Zoltan Kochan
2 years
Each new major version of @pnpmjs should've started with an additional "p" prefix. pnpm v1.ppnpm v2.pppnpm v3. such a lost opportunity.
9
3
144
@ZoltanKochan
Zoltan Kochan
2 years
@ereliuer_eteer I think they have fixed in some latest version, no?. By the way, on macOS they are sorted correctly
Tweet media one
10
0
133
@ZoltanKochan
Zoltan Kochan
3 years
Trying to adapt to the new reality of limited electricity availability. There's no electricity for up to 9 hours a day. 50% of the energy infrastructure is currently destroyed in 🇺🇦. So far, I was able to do my daily work by shifting working hours. But @pnpmjs maintenance suffers.
6
22
125
@ZoltanKochan
Zoltan Kochan
2 years
Rust is cool. And I have the goal to learn it. But the more I learn it the more I love typescript and javascript.
13
3
123
@ZoltanKochan
Zoltan Kochan
2 years
I am unfollowing everyone who is retweeting the core-js author.
5
1
112
@ZoltanKochan
Zoltan Kochan
3 years
Soon patch-package will only be needed for people that use npm CLI .
3
11
115
@ZoltanKochan
Zoltan Kochan
2 years
I think it's a pretty down-to-earth, not-overhyped summary of some of the @pnpmjs benefits. Thanks for the video!.
@theo
Theo - t3.gg
2 years
So. I finally stopped using npm. Also made a video about it
Tweet media one
5
10
108
@ZoltanKochan
Zoltan Kochan
2 years
There is volta,.which is a node.js version manager. volt was a node.js package manager written in rust. and soon there will be vlt (read as volt), which is an npm competitor, I guess (both the registry and package manager).
9
5
111
@ZoltanKochan
Zoltan Kochan
2 years
What I don't like about this trend of rewriting everything into rust/zig/go is that for regular members of the js/ts ecosystem it will be much harder to contribute changes. Also, instead of working on new features, everyone will now fight for performance or die.
26
11
109
@ZoltanKochan
Zoltan Kochan
2 years
It is disappointing that all the new "npm/pnpm/yarn killers" opt to use a hoisted node_modules layout by default. Both Yarn and pnpm try to create a stricter node_modules and fix the ecosystem. Now, the new package managers that seek rapid growth pursue the easier approach.
10
11
109
@ZoltanKochan
Zoltan Kochan
2 years
Today we closed the 2000th issue in the @pnpmjs repository.
1
3
102
@ZoltanKochan
Zoltan Kochan
3 years
The upgrade to pnpm v7 is not as smooth as I wanted it to be. But everyone is respectful so far. Thanks for that!.
8
4
95
@ZoltanKochan
Zoltan Kochan
2 years
. @srdrabx has finally fixed the creation of reflinks on macOS and Windows Dev Drive! When we release the fix, @pnpmjs will be a lot faster on these systems as it appears that cloning is faster than creating hard links.
4
10
93
@ZoltanKochan
Zoltan Kochan
2 years
I was awake this time a year ago, when the news about the first rockets came. I was awake for 48 hours. It was the worst day of my life.
6
3
86
@ZoltanKochan
Zoltan Kochan
1 year
It used to be simple to click "Deny" on cookie banners. Now every website has an "allow" and a "settings" button instead. So if you want to "Deny" you should do more clicks, which I am lazy to do. Evil bastards.
17
7
85
@ZoltanKochan
Zoltan Kochan
2 years
Why would someone use node.js 16.13? Why are people so opposed to updating their dependencies?.
60
1
80
@ZoltanKochan
Zoltan Kochan
2 years
Even when we think we've fixed a bug, dozens of people appear who relied on the 'bug.' Of course, these are good problems to have, and I am proud that we could achieve this level of adoption.
2
2
86
@ZoltanKochan
Zoltan Kochan
2 years
So apparently @pnpmjs didn't work out for a repository, so now the haters are happy.
@smakosh
Smakosh
2 years
This aged well
Tweet media one
12
1
87
@ZoltanKochan
Zoltan Kochan
3 years
Russian engineers that moved to Europe and the US, where are your tweets condemning Russian Federation?.
12
5
70
@ZoltanKochan
Zoltan Kochan
2 years
People still think there's a battle between npm, pnpm, yarn. no, I feel like we are brothers and sisters now. The battle is between package managers running on Node.js and those written in Zig, Rust or other languages.
@thekitze
kitze 🚢
2 years
it's absolutely killing me when library authors list "pnpm install" as the only command in the readme. lmao there are literally 14 ppl using pnpm so chill.
8
3
72
@ZoltanKochan
Zoltan Kochan
2 years
Is it OK to accept sponsorship from online casinos? @pnpmjs got a donation from an online casino. This is the first time. But I see some OSS projects get a lot of sponsorships from such websites and they don't reject them.
32
2
74
@ZoltanKochan
Zoltan Kochan
2 years
@jsumners79 At least now I can make a viral tweet about it😂.
2
0
70
@ZoltanKochan
Zoltan Kochan
3 years
Russians love me
Tweet media one
8
2
67
@ZoltanKochan
Zoltan Kochan
2 years
pnpm v8.7.0-2 is out with performance optimizations that involve the usage of workers. Please try it and let me know if it has regressions for you.
0
6
69
@ZoltanKochan
Zoltan Kochan
2 years
I will be working on some performance optimisations in @pnpmjs soon too. Node.js package managers are not dead yet.
@arcanis
Maël
2 years
The next release will come with some heavy performance improvements 🤗
Tweet media one
2
2
69
@ZoltanKochan
Zoltan Kochan
2 years
These were the blackouts I had this week. It is bearable with a battery though. 2 hours are enough to recharge. It will probably look like this till the end of winter.
Tweet media one
4
5
63
@ZoltanKochan
Zoltan Kochan
2 years
@andrestaltz Don't promote a ruzzist . he could've say nothing about the war. But no, he had to demonstrate his support of the genocide.
Tweet media one
6
0
51
@ZoltanKochan
Zoltan Kochan
2 years
How was $4.5 million only enough for 2 years?.
@JNYBGR
Jonny Burger
2 years
What happened to Rome Tools?
6
3
55
@ZoltanKochan
Zoltan Kochan
3 years
I remember when Yarn came out, my thought was that @pnpmjs is dead. Now bun is out, and I don't care that much. Looks like it doesn't even work on my 10 years old PC. But I'll look into it for sure.
8
0
59
@ZoltanKochan
Zoltan Kochan
2 years
. @pnpmjs relies on many dependencies, but since it's delivered in a bundled state, the download statistics for these dependencies don't reflect their use within pnpm. It's unfortunate, as some of these packages aren't widely recognized outside of this context.
2
2
56
@ZoltanKochan
Zoltan Kochan
2 years
Yarn's benchmarks page shows how @pnpmjs performance improved in some scenarios since v8.7.
Tweet media one
1
11
56
@ZoltanKochan
Zoltan Kochan
2 years
My only pain is ESM.
@deno_land
Deno
2 years
It's 2023 — time to say ❌ to CommonJS.
5
1
56
@ZoltanKochan
Zoltan Kochan
4 years
After 9 beautiful years at @justanswer I am now happy to join @bitdev_ to work in the area of dependency management full-time 🎉.
8
5
48
@ZoltanKochan
Zoltan Kochan
2 years
Yay! libuv has merged the fix for file cloning on macos. So in a few weeks Node.js should ship it as well. And that should make @pnpmjs faster!.
3
3
54
@ZoltanKochan
Zoltan Kochan
3 years
There is no consensus on whether autoinstallation of peer deps is a good idea. But npm has changed the expectations of many users. So I decided to implement it in @pnpmjs and make it an opt-in feature. It is easier than to reply to dozens of confused users a day.
6
3
46
@ZoltanKochan
Zoltan Kochan
3 years
We can rename the project to pyarn.
@markdalgleish
Mark Dalgleish
3 years
Me: pnpm.Google: Showing results for npm.
2
2
51
@ZoltanKochan
Zoltan Kochan
3 years
The russian ruble is a shitcoin.
2
6
43
@ZoltanKochan
Zoltan Kochan
2 years
I thought I have found a bug in Yarn's hoisting algorithm (which we also use in pnpm). The size of the node_modules in a workspace suddenly increased from 2G to 29G. After investigation and help from @larixer I realised that it wasn't a bug. core-js just couldn't be hoisted.
1
3
46
@ZoltanKochan
Zoltan Kochan
3 years
I get a "this is the only thing keeping me from switching to pnpm" message in every @pnpmjs issue.
7
0
46
@ZoltanKochan
Zoltan Kochan
3 years
@me_mrsum @pnpmjs It is called, you are blocked.
0
0
44
@ZoltanKochan
Zoltan Kochan
2 years
Another way to compare package managers popularity. If you check the last year only, the results look promising.
Tweet media one
@wojtekmaj91
Wojciech Maj 🦋 @wojtekmaj.pl
2 years
I've heard "pnpm has surpassed Yarn!" way too many times. I knew it's not accurate, but I didn't measure it correctly. Until now. #DEVCommunity.
7
10
47
@ZoltanKochan
Zoltan Kochan
3 years
@youyuxi Right, so use the "pnpm patch" command, which creates new files in the store for the modified files:.
2
4
48
@ZoltanKochan
Zoltan Kochan
3 years
When there is some issue with pnpm, I check how it works in npm and Yarn. In many cases in Yarn the issue is handled better. These are mainly edge cases yet Yarn is mostly superior. So when I see "npm is better than Yarn", I don't believe those claims.
6
0
46
@ZoltanKochan
Zoltan Kochan
3 years
@pnpmjs This might break your CI environment. I do not care. If you don't agree. I don't care. If you will comment something stupid. I will block you.
4
0
42
@ZoltanKochan
Zoltan Kochan
3 years
A war is about to start and people are complaining about NFTs. OK.
2
1
42
@ZoltanKochan
Zoltan Kochan
2 years
Why is esbuild still v0?.
6
1
44
@ZoltanKochan
Zoltan Kochan
2 years
Finally looks like @pnpmjs will use cloning on macOS!
Tweet media one
3
0
48
@ZoltanKochan
Zoltan Kochan
2 years
Is "ni" the best package manager chooser? I've seen a couple of alternatives. I am thinking about running it by default, when pressing enter in the terminal. Right now I run "pnpm install" in that case. But I think for most users a package manager selector would be better.
11
0
44
@ZoltanKochan
Zoltan Kochan
2 years
We had 36 minutes without air raid attacks in 2023.
1
7
41
@ZoltanKochan
Zoltan Kochan
4 years
@youyuxi I am happy with the results of @pnpmjs so far. We have never received such a big percentage in the past.
3
1
37
@ZoltanKochan
Zoltan Kochan
3 years
People try to be neutral. Because it is so smart to be neutral, right? It is time to pick a side. You may dislike your government but don't tell me that Russians and the west are equally bad. They are not. Russia is in NO WAY a victim.
1
0
36
@ZoltanKochan
Zoltan Kochan
3 years
@youyuxi Thank you for your support!.
0
0
34
@ZoltanKochan
Zoltan Kochan
2 years
Github should throttle email notifications. It is crazy to get a separate email about every single comment in a PR.
4
1
38
@ZoltanKochan
Zoltan Kochan
3 years
At @bitdev_ I am now working on improved peer dependencies handling. As a first step, I added a new API to @pnpmjs for returning peer dependency issues. I was also able to significantly improve how the peer dependency issues are printed during "pnpm install"!. Before/after:
Tweet media one
Tweet media two
1
7
38
@ZoltanKochan
Zoltan Kochan
2 years
The dependencies visualisation on the @SocketSecurity homepage is really well done. It resolves the dependencies of "express". Each time one level deeper into the dependency graph.
2
3
38
@ZoltanKochan
Zoltan Kochan
3 years
Is @vitest_dev for back-end Node.js stuff as well?.
5
0
33
@ZoltanKochan
Zoltan Kochan
2 years
Experimenting with Rust again after a 2 years pause
Tweet media one
2
1
36
@ZoltanKochan
Zoltan Kochan
2 years
@heygema @marktenenholtz 100%! But I have configured an eslint rule now. So it shouldn't happen to me again.
1
0
37
@ZoltanKochan
Zoltan Kochan
3 years
I have written my first article in the @bitdev_ blog!. It is about "bit install" and how it makes life easier by automating a lot of things that are currently done manually with npm/pnpm/Yarn!.
5
7
34
@ZoltanKochan
Zoltan Kochan
2 years
@smakosh Vercel uses @pnpmjs in several of their repositories. For instance in next.js. Looks like in this case they have tried pnpm on a new repo. There were some issue and they decided to switch back. It doesn't mean that anyone was disappointed in pnpm.
7
0
35
@ZoltanKochan
Zoltan Kochan
3 years
Software engineers are not necessarily smart people.
2
0
28
@ZoltanKochan
Zoltan Kochan
2 years
Today I had electricity for 5 hours only. And no Internet for most of the time. Do I want peace negotiations? No.
@ZoltanKochan
Zoltan Kochan
3 years
Trying to adapt to the new reality of limited electricity availability. There's no electricity for up to 9 hours a day. 50% of the energy infrastructure is currently destroyed in 🇺🇦. So far, I was able to do my daily work by shifting working hours. But @pnpmjs maintenance suffers.
2
0
31
@ZoltanKochan
Zoltan Kochan
2 years
@github Ukraine, Uzhhorod
Tweet media one
2
0
31
@ZoltanKochan
Zoltan Kochan
3 years
If you want to be a top contributor in a js project, just update the dependencies and commit the change in pnpm-lock.yaml/package-lock.json/yarn.lock.
2
1
29
@ZoltanKochan
Zoltan Kochan
2 years
This is pretty cool.
Tweet media one
@ZoltanKochan
Zoltan Kochan
2 years
. @srdrabx has finally fixed the creation of reflinks on macOS and Windows Dev Drive! When we release the fix, @pnpmjs will be a lot faster on these systems as it appears that cloning is faster than creating hard links.
0
3
30
@ZoltanKochan
Zoltan Kochan
2 years
It feels like whatever we change in pnpm, for someone it causes regressions. Unbelievable.
5
0
33
@ZoltanKochan
Zoltan Kochan
2 years
Last week, a PR caused a regression that only reproduces when a specific setting is turned on, and "overrides" are used. IMO, a rare case. Still, several issues were opened about it, and each got 10+ upvotes. (Should be fixed now in v8.9.1).
2
0
33
@ZoltanKochan
Zoltan Kochan
2 years
I believe this is the longest streak of @pnpmjs patch releases since its inception. Only bug fixes have been released over the past two months.
2
1
29
@ZoltanKochan
Zoltan Kochan
2 years
I will never be able to spell "unnecessary" correctly.
7
1
27
@ZoltanKochan
Zoltan Kochan
2 years
@pnpmjs @npmjs @yarnpkg I am not happy to update the feature comparison page though😞
Tweet media one
1
0
31
@ZoltanKochan
Zoltan Kochan
2 years
@jarredsumner Well, we either become faster or we die.
1
0
30
@ZoltanKochan
Zoltan Kochan
2 years
😂I was only talking about upgrading from 16.13 to 16.14. looks like some consider it as a personal attack.
3
0
29
@ZoltanKochan
Zoltan Kochan
3 years
In retrospect, 2020 and 2021 were not so bad.
2
3
27
@ZoltanKochan
Zoltan Kochan
4 years
@BenLesh Probably Yarn is more of a lingua franca as its lead maintainer is French.
1
0
23
@ZoltanKochan
Zoltan Kochan
3 years
I have recorded my first ever talk for an international conference @DevOpsJS!. Of course my talk is about @pnpmjs. If you want to see it, here you can find the details:.
1
5
27
@ZoltanKochan
Zoltan Kochan
3 years
Looks like at @DevOpsJS there will be a speaker from npm, yarn, and pnpm
Tweet media one
1
0
28
@ZoltanKochan
Zoltan Kochan
2 years
Just remove regex from js already. 99% of the vulnerabilities are related to regex😩.
4
0
26
@ZoltanKochan
Zoltan Kochan
2 years
It feels like it needs to be someone's full time job just to read through all the new issues in the @pnpmjs repository. Luckily we get a lot of contributions lately. Especially from await-ovo and .@gluxon.
3
0
26