[@eli]1 are there a built in package manager for nvim?
Spacemacs have been on my radar for almost two years at this point.
I have been using Visual Studio Code for close to two years, and then Sublime Text since 2011, and Textmate since 2008; and before that in in between I have used VIM for close to 15 years.
I decided to try to make the jump because I was becoming more and more unhappy with Code, and when I tried to get VIM to do the same kind of things that was possible with Code the result was never good enough. But then I discovered that Emacs might be the perfect fit, because most of what I wanted was posssible in a more elegant and stable way.
The reason I never gave emacs a change was because the keyboard shortcuts drove me nuts, and the learning curve was very high. But everything was way more apporachable with Spacemacs. I decided to initially give it a week. And I was sold after just a few hours.
The power of emacs have given me a real performance boost. And I have moved a lot of stuff I used standalone apps for over to emacs since then.
Yarn vs NPM
There are two widely used package managers for Node at the moment. One of them comes bundled with Node, and then you have Yarn.
The argument for using yarn over npm used to be a lot stronger before NPM version 5. Because, back then nom did not use a lock file. A lock file is a file that keeps track of the dependency graph between changes. This means that when you don’t change your package.json, yarn or npm will read their lock files (if they exist) when install your projects dependencies. It saves some time because instead of going through the package.json in your dependencies and their dependencies and so on, it will just read it from a single file.
What to use in 2018?
To use the existing package format from NPM was probably the smartest thing yarn did. Because everyone with a working package.json file could just run yarn install instead of npm install. I still keep lock files of both up to date and checked into git in most if not all of my projects. Parts of it is because of stuff I haven’t updated, other parts is to make sure people I work with can use what ever they are comfortable with.
I prefer yarn over npm because I think the way the command line interface have been designed makes a hell of a lot more sense. And because it is a lot faster. But yarn can be very aggressive on your bandwidth, and npm might work better if you don’t have the best internet connection.
Even with the changes that have come to npm the last year, yarn is faster. And I guess they have a lot more freedom to make something that is a joy to use when they don’t need to think about compatibility.
Imagine how many much stuff that would break, including tutorials if NPM did a re-write that changed the interfaces?
I start to think about the ethics of using some rhetorical devices every time I use some of them like sarcasm or over exaggeration to make a point and someone don’t understand it.
Part of my personality is to talk in a way where one should not read what I write or hear what I say sentence by sentence. This means that you will probably not understand what I’m talking about, if you do so.
For example yesterday, when I compared using Windows or Android to the torture of a really strict diet. Does this mean that I would rather go on a really strict diet than using Windows? No. It just means that Windows(and Android) is my least favourite operating system. And when I say “Visual Studio is the only acceptable reason to use Windows”, this means that I think it is acceptable to use Windows when there are some really good piece of software that you need that only run on Windows.
On one side is it not fair to the world that I talk and write in a way they don’t understand. But on the other side: is it fair to me that I hide or edit part of my personality away?
One of my goals in 2018 is to ship a iOS app
Love this line from a GitHub profile bio “Proud owner of 50 terrible public repos.” Share your crappy code. Someone might love it.
Found out that I added a former incarnation of my blog in DayOne. Wrote a small python script and imported it into the Hjertnes.blog WordPress install.