News for hackers. Stuff that matters.

manusachi

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.
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.

Re:File Explorer is merged to Helix editor on Friday January 24, 2025 @07:28PM (#42818279)
One of the long-awaited features was recently merged!
Re:Why is F# code so robust and reliable? on Tuesday September 24, 2024 @02:03AM (#41633511)
*Statically typed ;)
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.

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...)

Re:A Week with Elixir (Joe Armstrong) on Thursday May 30, 2024 @10:07PM (#40530774)
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

Re:A Comprehensive Guide to Ruby vs. Elixir on Thursday May 30, 2024 @08:19PM (#40530242)
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...

Re:Hurl, the Exceptional Language on Sunday May 26, 2024 @04:11PM (#40484985)
Agree!

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

Re:Building a hybrid native application with Gleam and Tauri on Monday February 19, 2024 @05:41PM (#39435710)
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

Re:Pinterest's simple tech stack to scale to 11M monthly users on Saturday December 23, 2023 @06:33AM (#38743453)
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

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...
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
Do they "redefine the industry" every cycle?
Re:Department of Public Affairs – BT-002 on Tuesday January 31, 2023 @01:57AM (#34592106)
I also like both of them. I use Fira Code (https://github.com/tonsky/FiraCode) for code editor and IBM Plex Mono for terminal.
Re:Use the Wrong Tool for the Job on Sunday January 22, 2023 @02:21AM (#34475180)
> 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 :)

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...

I noticed that for tech content I mostly watch videos from tech conferences.
Re:Elixir: Practical Concurrency Cookbook on Saturday July 24, 2021 @04:13AM (#27939209)
> 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...)

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
Re:Elixir 1.12 on Friday May 21, 2021 @06:39PM (#27240844)
Havent's measured by myself but I'd expect performance noticeable improvement for GraphQL apps that use Absinthe, since significant time is spent on parsing, validating and serializing data around resolvers.

See this thread in elixirforum https://elixirforum.com/t/absinthe-graphql-performance-issue...

Older »