Better HN
topnewbestaskshowjobs
Log inSign up

manusachi

355 karma · joined Nov 15, 2017 (9y ago) · 35 submissions

Submissions

1.

Tracing Discord's Elixir Systems (Without Melting Everything)(discord.com ↗)

3 points · by manusachi · 8mo ago · discuss

2.

A Stop-the-World Debugger for Erlang (and the Beam)(dl.acm.org ↗)

1 points · by manusachi · 1y ago · discuss

comment 1y ago · link · parent

Blind people often go upto 600 words per minute and more with text-to-speech, which is, I think, would be an equivalent to 5x and more.

comment 1y ago · link · parent

Yes "the continuity of residence" is required for naturalization.

> An applicant for naturalization ... must have resided continuously in the United States after his or her lawful permanent resident (LPR) admission for at least 5 years prior to filing the naturalization application and up to the time of naturalization.

5.

We Tested 7 Languages Under Extreme Load and Only One Didn't Crash(freedium.cfd ↗)

11 points · by manusachi · 1y ago · 2 comments

comment 1y ago · link · parent

One of the long-awaited features was recently merged!

7.

File Explorer is merged to Helix editor(github.com ↗)

238 points · by manusachi · 1y ago · 34 comments

comment 2y ago · link · parent

*Statically typed ;)

9.

Helix (editor) 24.07 is out(github.com ↗)

8 points · by manusachi · 2y ago · discuss

comment 2y ago · link · parent

To be fair, what made Elixir take off, other than syntax there is also the developer experience overall, including documentation, package manager, unit testing framework out of the box, web-framework initially inspired by Rails etc.

Though, slightly off topic, but worth mentioning, that both Erlang and Elixir communities support each other very well. For example, now not only elixir is built on top of Erlang, but also Erlang adopts some things from elixir, such as monadic expression `with` from elixir inspired `maybe` in Erlang, or starting OTP27 Erlang is using ExDoc introduced by Elixir to generate documentations.

comment 2y ago · link · parent

Do you know what other ecosystem comes closest to the existing in Python? I've heard good things about Julia.

13 years ago when I was trying to explore the field R seemed to be the most popular, but looks like not anymore. (I didn't get into the field, and do just a regular SWE, so I'm not aware of the trends).

There is also a lot of development in Elixir ecosystem around the subject [1].

[1](https://dashbit.co/blog/elixir-ml-s1-2024-mlir-arrow-instruc...)

comment 2y ago · link · parent

I guess it has something to do with those functions frequently used in guards. _Notice tuple_size/1, map_size/1, byte_size/1 and some other functions/macros are defined in Kernel and documented in the section Guards[0]_

We can't invoke remote functions (which Tuple.size/1 would have been) in guards.

Though, there are some other functions that I can't think of a reason why they are "orphaned" such as put_elem/3 to put element into a tuple, while, for example, for maps there is Map.put/3

[0] - https://hexdocs.pm/elixir/Kernel.html#guards

comment 2y ago · link · parent

Some companies from the section "Who is using Elixir" are probably not using elixir anymore unfortunately.

1. Bleacher Report gutting out OTP[0] 2. I've heard that Toyota Connected also ditched elixir after some changes in the leadership of the department (just rumors I heard in the hallway tracks at ElixirConf)

[0] - https://www.reddit.com/r/erlang/comments/18f3kl3/bleacher_re...

comment 2y ago · link · parent

Agree!

For that very reason in Elixir `import` is discouraged in favor of `alias`

15.

Applying Genetic Algorithms to the Traveling Salesman Problem in Elixir(abjork.land ↗)

2 points · by manusachi · 2y ago · discuss

comment 2y ago · link · parent

For those who is interested, as mentioned in the article, Gleam is already near v1 (v1.0.0-rc2)! And in a recent talk[1] Louis shared the idea, that there won't be major changes to the language anymore, and the main focus now is switching to the tooling!

https://www.youtube.com/watch?v=clsTrQUt-4M

comment 2y ago · link · parent

They also used to be "pretty jazzed about Elixir" and had it in their stack [1], at least while Steve Cohen was there (btw, Steve is also the author of lexical[2] - one of the newer Elixir LSPs out there)

[1] https://web.archive.org/web/20160203120655/https://engineeri... [2] https://github.com/lexical-lsp/lexical

18.

From Python to Elixir Machine Learning(thestackcanary.com ↗)

270 points · by manusachi · 3y ago · 88 comments

19.

Elixir is still safe(paraxial.io ↗)

237 points · by manusachi · 3y ago · 34 comments

comment 3y ago · link · parent

A real world example of relatively complex filter conditions + flattened transformations simplified with comprehension I usually bring up is: https://github.com/hexpm/bob/blob/177a4354a25cb4f2f2f0349ccd...

comment 3y ago · link · parent

AFAIR, it should be possible to convert dialyzer specs to that new type system annotations. It would probably be not as precise, but could be a good enough starting point to then gradually make them more precise

22.

Embedded and cloud Elixir for grid-management at Sparkmeter(elixir-lang.org ↗)

4 points · by manusachi · 3y ago · discuss

comment 3y ago · link · parent

Do they "redefine the industry" every cycle?

comment 3y ago · link · parent

I also like both of them. I use Fira Code (https://github.com/tonsky/FiraCode) for code editor and IBM Plex Mono for terminal.

comment 3y ago · link · parent

> but I went with Elixir instead and just wish I could use that everywhere.

Same here! I would say, I'm in the similar camp as your colleagues but about Elixir. I'm glad to choose the right tool for the job as long as it's Elixir :)

comment 3y ago · link · parent

That's one of the goals of Firefly[1]

> It can compile code more efficiently than the BEAM by stripping out dead code and compiling only what’s necessary for an application.

Though, they only mention faster compilation and smaller digital footprint, not faster startup.

[1] https://dockyard.com/blog/2022/09/01/dockyard-r-d-firefly-op...

comment 5y ago · link · parent

I noticed that for tech content I mostly watch videos from tech conferences.

comment 5y ago · link · parent

> One of the strengths of GenServers is that they allow us to spin one up per user very easily, so they don't become a bottleneck where the Agent does.

Agent is a special case of GenServer[1]. With the same luck we could spin up an agent per user.

[1] [Agent.start_link/2](https://github.com/elixir-lang/elixir/blob/9137fd1cb2368bb1b...)

comment 5y ago · link · parent

I think the parent commenter is not saying to write your one time use query in elixir using wrapper modules with Ecto, but tried to show that queries generated by Ecto are pretty clean and understandable in compare to other popular DataMappers/ORMs
12