Live data from Hacker News

Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML

github.com

61–70 of 71 posts

Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML

#62
post #56

Earlier quoted context omitted.

this really does need a pitch comparison vs nvm. when I first saw yarn I switched almost instantly from npm because the pitch and improvement were clear

Is there still any reason to use yarn today?

we didn't move back since we use lerna with yarn workspaces. few more reasons are offline package cache and pnp

edit: also just read the v2 roadmap that is on the top of HN now - lots of great new features coming up which only reinforces our decision to stick with yarn

Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML

#63

Great work, but you'd have to pry asdf out of my cold, dead hands. https://github.com/asdf-vm/asdf

I have to read the README twice to see what is it about. What is extensible version manager? Managing what exactly. So I guess it's the reason asdf is not popular

I'm sorry, I could have sworn the README used to have a snappy description.

Think of it like a Swiss Army knife of version managers that can handle all the languages you use, per-project. And it's all just bash scripts, and installs everything into a visible place on your drive.

Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML

#64

Great work, but you'd have to pry asdf out of my cold, dead hands. https://github.com/asdf-vm/asdf

I used nvm for years, but my development workflow became more and more terminal-oriented to the point I was spawning new ones several times an hour. Nvm took almost a second to launch, easily consuming 99% of the startup time for each shell. I tried writing some custom code to lazy load nvm only when I needed it which worked alright, but I ended up switching to Asdf because it loads almost instantaneously and haven’t…

I think I started using it for much the same reason; I was having trouble with the official node installer. But once I uninstalled rvm as well, I was sold. Now I can have a project with a specific elixir/erlang/node version written into my `.tool-versions` file, and I don't have to worry about anything.

Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML

#65

Earlier quoted context omitted.

When I write lambda code for my job, our code currently only supports the node 6 for it's runtime (our system automatically deploys it). I use nvm to help test my code all the time while still having the ability to switch to a more current node for other projects

Are you running your projects directly on your machine? Your’re not using a VM or containers? Don’t you have the “but it works on my machine” problem?

We only run it for quick tests. This is custom code that our main application uses for custom logic that is different for each customer. We can't build it into the main product because not everyone wants/needs it. We always test on the lambdas directly, but we just dev on our machine as that's sometimes quicker.

Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML

#66
post #14
post #9

Wait, I assumed this will be a js-app, but it actually is a executable binary? Is that the courtesy of https://github.com/jordwalke/pesy ? For some time I wanted to try ReasonML for server-side development, but for some reason I assumed, that most of the ecosystem would be node.js based.

Reason is merely a new syntax on OCaml. You can use BuckleScript (BS) to compile to JS, or not use BS to compile to native. There exists a fast http server in native OCaml: https://github.com/inhabitedtype/httpaf

So Reason is to OCaml a little like Elixir is to Erlang - newer syntax, better tooling, same great foundation.

Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML

#68
post #22

Great work, but you'd have to pry asdf out of my cold, dead hands. https://github.com/asdf-vm/asdf

It worked rather badly with Haskell last time I checked (Darwin, Fish shell).

I'm sorry to hear that but I'm happy to help if there is anything I can do as a maintainer. The Haskell plugin isn't maintained by the core team, and it may have some issues of it's own that need to be fixed. If there was something specific that caused you trouble let me know and I'll see what I can do to get it addressed.

Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML

#69

Great work, but you'd have to pry asdf out of my cold, dead hands. https://github.com/asdf-vm/asdf

I have to read the README twice to see what is it about. What is extensible version manager? Managing what exactly. So I guess it's the reason asdf is not popular

asdf maintainer here. We are in the process of re-organizing the README and all of the documentation. In it's present state the README isn't particularly clear about what asdf is and why it is useful. One of the maintainers already has a PR out to fix this - https://github.com/asdf-vm/asdf/pull/441

If you have any suggestions on what the readme should say feel free to open an issue or a small PR.

Re: Show HN: Fnm – Fast and simple Node.js version manager built in ReasonML

#70
post #49

Looks like a great project, but really needs documentation. The only option other than reading the code I have now is screen-capturing the last frame of the gif an looking at what commands were used. Really?

Hi! I guess you're `whyboris` from GH. Thanks again for the feedback :D Just noting that I have added a small piece of documentation. The CLI itself also has `--help` flag, and it works also for every subcommand (`nvm install --help` for instance)
Post reply on HN