HackerTrans
トップ新着トレンドコメント過去質問紹介求人

lpil

1,058 カルマ登録 10 年前

コメント

lpil
·一昨日·議論
No no, you misunderstand. It doesn't mean the same thing as you imply with your previous comment.

Writing is contextual, if one only looks at the literal then one misses the other half of the meaning. Unfortunately your proposed change has added context that undermine your honourable and well-intentioned message.
lpil
·一昨日·議論
Because that means something else.
lpil
·12 日前·議論
> Black and White lives matter, but that's not what Glean is signalling.

It is! citation: I wrote it.
lpil
·先月·議論
We should really remove the cheatsheets, they have not been maintained in many years.
lpil
·先月·議論
What were the inaccuracies? I'm not aware of any, but we can fix any that are found right away.
lpil
·先月·議論
Hi, I'm the lead maintainer of Gleam.

> I don't know the current state of Gleam OTP, but last I checked it wasn't great.

Gleam uses regular OTP, it doesn't have a distinct OTP framework separate from other BEAM languages.
lpil
·先月·議論
Hello! I'm the maintainer of Gleam. We are not rewriting OTP, regular OTP is used in Gleam. Most commonly the typed Gleam APIs for OTP are used, but you can use the untyped Erlang APIs if you wish.

This is the same as in Elixir, where macro-enabled APIs are offered, and they just wrap the regular Erlang APIs.
lpil
·6 か月前·議論
It only happens on hacker news. Elsewhere it is not mentioned or it is praised.

Gleam does have a formal code of conduct.
lpil
·6 か月前·議論
Gleam is the same as SQLite, we have some community values on the website but the licence doesn’t exclude anyone from using the software.
lpil
·6 か月前·議論
How you behave in community spaces is 100% related to the project.

I agree, that would be very silly. I don't think you can compare not tolerating racists to mandating a particular car colour.
lpil
·6 か月前·議論
Sorry, I've been unclear.

The runtime behaviour and cost of calling an Erlang function is the same in Elixir and Gleam, however the syntax is more verbose in Gleam as it asks for type information, while in Elixir this is optional.
lpil
·6 か月前·議論
All open source projects have a political agenda. That's the purpose of the licence, to force certain behaviour.
lpil
·6 か月前·議論
In a world with package management there’s no practical difference between the core modules being in one package or multiple packages.
lpil
·6 か月前·議論
All open source projects are political by their very nature.
lpil
·6 か月前·議論
This is the same as Elixir, you need to specify what Erlang function to use in that language if you want to use Erlang code. The only difference is that Gleam has a more verbose syntax for it.
lpil
·6 か月前·議論
You can use all the BEAM debuggers and tracing tools, and Gleam has a print debugging keyword.

Unfortunately there is not yet a plugin for the BEAM debuggers for them to use Gleam syntax.
lpil
·6 か月前·議論
SQLite is likely the most widely used production database due to its widespread usage in desktop and mobile software, and SQLite databases being a Library of Congress "sustainable format".
lpil
·7 か月前·議論
I presume they checked out Gleam years ago, or their investigation was more shallow.

That aside, it is normal in Elixir to use Erlang OTP directly. Neither Elixir nor Gleam provides an entirely alternative API for OTP. It is a strength that BEAM languages call each other, not a weakness.
lpil
·7 か月前·議論
We've not had any proposals for a design like that. We are open to proposals though! I wrote a blog post detailing the process here: https://lpil.uk/blog/how-to-add-metaprogramming-to-gleam/
lpil
·7 か月前·議論
OCaml's modules are not implicitly instantiated, so they provide the same DX and APIs as you would get in Gleam.

Elixir does have protocols, but they are extremely limited compared to type classes, traits, etc, and they're uncommonly used compared to writing concrete code.