HackerTrans
TopNewTrendsCommentsPastAskShowJobs

zkochan

no profile record

Submissions

Simulation: From Solipsism to Mahavishnu

vernus.one
3 points·by zkochan·2년 전·0 comments

Painless Monorepo Dependency Management with Bit

bit.cloud
2 points·by zkochan·4년 전·0 comments

comments

zkochan
·10개월 전·discuss
well, it is literally in an example in the text that you provided. So, I am not sure why you confused it with postinstall lifecycle scripts.
zkochan
·10개월 전·discuss
enablePrePostScripts is about running "prebuild" and "postbuild" scripts automatically, when you run "pnpm run build"
zkochan
·작년·discuss
Good luck!
zkochan
·4년 전·discuss
> it starts from not judging people by their ethnicity or nationality

Russians that leave Russia are not blocked.

I am Hungarian by ethnicity. I will be probably also judged for the terrible policy of Orban. I feel deep shame for it. So I understand (a little) in what situation those "good" Russians are. And I know that those Russians support my decision and understand it.
zkochan
·4년 전·discuss
Racist rhetoric? Don't be ridiculous. There is no Russian race. I don't block Russians if they leave Russia. I have many Russian friends in Ukraine. Only Russians that live in Russia are blocked. Russians that pay tax to a government that is waging war against my country.
zkochan
·4년 전·discuss
> US-backed color revolutions - including the one in your very own country,

I see

I hope you won't use pnpm and we won't speak again.
zkochan
·4년 전·discuss
You have the audacity to call it anti Russian hysteria, when I should hide from air raid attacks sometimes several times a day?

Please don't use pnpm. Use Yarn or npm, those are better package managers for you.
zkochan
·4년 전·discuss
You can use pnpm without symlinks by setting node-linker=hoisted

https://pnpm.io/npmrc#node-linker
zkochan
·4년 전·discuss
In the USA there are different people. Good and bad. There are states that are very conservative and there is California. There are some basic values that everyone agrees upon. I think nobody can claim that everyone is bad or good in the US. Same goes for any other democratic society. Same goes for Ukraine. There are a lot of people that I don't like in Ukraine.

In Russia there are some good people but they are in extreme minority. Extreme. Even the liberals in Russia are supporting the annexation of Crimea. Maybe the dictatorship is the reason, maybe the propaganda. I don't know and I don't care. This is how it is and I do what I can to exclude them from my life.
zkochan
·4년 전·discuss
pnpm is really good for monorepos and there are many big open source projects that use pnpm: https://pnpm.io/workspaces#usage-examples
zkochan
·4년 전·discuss
pnpm also implements all three: https://pnpm.io/feature-comparison

But I think it is best to use Yarn for PnP and pnpm for the symlinked node_modules structure.
zkochan
·4년 전·discuss
Both pnpm and Yarn are independent projects maintained by the community. I personally think that these are better projects than npm CLI because they can make their own decisions. Not decisions dictated by business needs of a company.

I was OK to merge pnpm into npm in the past. They have never suggested me this opportunity. Instead, they decided to re-implement pnpm's algorithm into npm and call it "isolated mode".
zkochan
·4년 전·discuss
pnpm as well supports all three modes. But I think it is better to use Yarn for the PnP mode and pnpm for the symlinked mode.

Here is a feature comparison: https://pnpm.io/feature-comparison
zkochan
·4년 전·discuss
That was the deal a few weeks ago. After the atrocities that their army has committed in my country, I do not think I will ever unblock traffic from Russian Federation.
zkochan
·4년 전·discuss
Not symlinks. Hard links. Or copy-on-write on systems that support them.
zkochan
·4년 전·discuss
It is unrelated because you don't have this issue with pnpm. pnpm uses a central content-addressable store and each unique file is written only once on a disk. It doesn't matter in how many projects you install the same dependency.
zkochan
·4년 전·discuss
In any cases where pnpm doesn't work, you may set the node-linker=hoisted option and it will work:

https://pnpm.io/npmrc#node-linker

With node-linker=hoisted, pnpm creates a traditional hoisted (aka flat) node_modules, without using symlinks.
zkochan
·4년 전·discuss
Thank you!
zkochan
·4년 전·discuss
Слава Україні!