HackerTrans
TopNewTrendsCommentsPastAskShowJobs

lpil

1,058 karmajoined قبل 10 سنوات

comments

lpil
·أول أمس·discuss
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
·أول أمس·discuss
Because that means something else.
lpil
·قبل 12 يومًا·discuss
> Black and White lives matter, but that's not what Glean is signalling.

It is! citation: I wrote it.
lpil
·الشهر الماضي·discuss
We should really remove the cheatsheets, they have not been maintained in many years.
lpil
·الشهر الماضي·discuss
What were the inaccuracies? I'm not aware of any, but we can fix any that are found right away.
lpil
·الشهر الماضي·discuss
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
·الشهر الماضي·discuss
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 أشهر·discuss
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 أشهر·discuss
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 أشهر·discuss
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 أشهر·discuss
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 أشهر·discuss
All open source projects have a political agenda. That's the purpose of the licence, to force certain behaviour.
lpil
·قبل 6 أشهر·discuss
In a world with package management there’s no practical difference between the core modules being in one package or multiple packages.
lpil
·قبل 6 أشهر·discuss
All open source projects are political by their very nature.
lpil
·قبل 6 أشهر·discuss
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 أشهر·discuss
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 أشهر·discuss
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 أشهر·discuss
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 أشهر·discuss
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 أشهر·discuss
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.