Live data from Hacker News

Mint, a new HTTP library for Elixir

elixir-lang.org

31–40 of 58 posts

Re: Mint, a new HTTP library for Elixir

#31
post #26

Earlier quoted context omitted.

https://news.ycombinator.com/item?id=19248319

I think Gun has very similar philosophy, e.g. it is connection oriented and does not impose pooling and such.

Gun starts a process for each connection. The main idea for Mint was to not do this so that users can choose their own process structure.

Re: Mint, a new HTTP library for Elixir

#32
this library was renamed from xhttp to mint and new name is much more refreshing :)

I'm excited to try out this library (or something built on top of it)! In my day to day work I use hackney, it's an awesome lib, but sometimes I struggle with documentation.

Re: Mint, a new HTTP library for Elixir

#33
post #24

Earlier quoted context omitted.

"mint elixir", unsurprisingly, mostly turns up beverages and mint-flavored medicinal things.

What search engine did you use? On Google, the first two results for me on "mint elixir": Mint, a new HTTP library for Elixir - Elixir https://elixir-lang.org/blog/2019/02/25/mint-a-new-http-libr... 42 mins ago - Mint is a new low-level HTTP library that aims to provide a small and functional core that others can build on top. GitHub - ericmj/mint: Functional HTTP client for Elixir with support for ... https://github…

For me on Google, "mint elixir" has the GitHub repo as the first result, then a bunch of links for "How to install Elixir on Linux Mint". DDG gives a software company called "Elixir Mint" as the first result, followed by links to drink recipes, and the GitHub repo is down near the bottom.

Re: Mint, a new HTTP library for Elixir

#34

Is it me or are we running out of names for things?

Nonsense, there's still plenty of available names out there. In unrelated news, be sure to check out my new project Asbhrjfuugwxcgxedzkyhbwf!

Why would you name your project after my password!?

Re: Mint, a new HTTP library for Elixir

#35
post #24

Earlier quoted context omitted.

"mint elixir", unsurprisingly, mostly turns up beverages and mint-flavored medicinal things.

What search engine did you use? On Google, the first two results for me on "mint elixir": Mint, a new HTTP library for Elixir - Elixir https://elixir-lang.org/blog/2019/02/25/mint-a-new-http-libr... 42 mins ago - Mint is a new low-level HTTP library that aims to provide a small and functional core that others can build on top. GitHub - ericmj/mint: Functional HTTP client for Elixir with support for ... https://github…

For me opening up Microsoft Edge which I never use for anything not testing related and hence Google does not know me on that browser and does not guess I want programming stuff Mint Elixir came up #5.

Re: Mint, a new HTTP library for Elixir

#36

Earlier quoted context omitted.

Nonsense, there's still plenty of available names out there. In unrelated news, be sure to check out my new project Asbhrjfuugwxcgxedzkyhbwf!

Why would you name your project after my password!?

"I've got the same combination on my luggage!" https://www.youtube.com/watch?v=_JNGI1dI-e8

Re: Mint, a new HTTP library for Elixir

#38
post #17

While I have qualms about the name since this is like the 20th Mint I've heard of now, I'm incredibly excited as to what this has to offer. The control over the underlying process is key to creating beautifully asynchronous applications, and it gives me a lot of node-got vibes in terms of how easy it is to use. And thank god, HTTPS support built in... it never ceases to amaze me why some HTTP libs don't have TLS as a…

> it never ceases to amaze me why some HTTP libs don't have TLS as a given Separation of concerns. TLS termination is something that can be done separately, and at scale you want to separate it anyway.

For a server, sure, but for a client?

Re: Mint, a new HTTP library for Elixir

#39
post #2

It took me a while to figure out whether this is an HTTP client library or a server library. Turns out it is the former. Nice! I like that it's in-process. I wish more Elixir libraries would default to such a design. (EDIT: I had accidentally written "latter" instead of "former" above, causing a bunch of people to correct me, thanks for that)

In the Erlang world... it's always yet another client.

Re: Mint, a new HTTP library for Elixir

#40

While I have qualms about the name since this is like the 20th Mint I've heard of now, I'm incredibly excited as to what this has to offer. The control over the underlying process is key to creating beautifully asynchronous applications, and it gives me a lot of node-got vibes in terms of how easy it is to use. And thank god, HTTPS support built in... it never ceases to amaze me why some HTTP libs don't have TLS as a…

At least the naming is distinct within the Elixir ecosystem. It has always bothered me how close HTTPoison and HTTPotion are to one another.
Post reply on HN