HNHacker News
TopNewBestAskShowJobs

lpil

1,089 karma · joined March 17, 2016

submissionscomments
lpil··on Gleam Is Now on Tangled
This regularly happens with Microsoft's GitHub. You can also opt to not use Bluesky for authentication.
lpil··on Gleam Is Now on Tangled
Yes, frustration with GitHub outages certainly made me start to look elsewhere.
lpil··on Gleam Is Now on Tangled
I wish! Alas, the Gleam project continues to be under-funded and we have not got a single penny from any venture capital company.

If anyone would like to give me a large amount of money in exchange for my publishing a mirror on your git forge, please get in touch ;)

lpil··on Gleam Is Now on Tangled
While the way that Tangled is funded is not my preference, I see great potential in atproto for improving the internet. This and and a lot of interest in the Gleam community for the protocol made me decide it was a good place to host a mirror of the Gleam repository.
lpil··on Armadillo – A DNS Server in Gleam for Homelab Use
Sorry, I don’t know what you mean.
lpil··on Armadillo – A DNS Server in Gleam for Homelab Use
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··on Armadillo – A DNS Server in Gleam for Homelab Use
Because that means something else.
lpil··on Armadillo – A DNS Server in Gleam for Homelab Use
> Black and White lives matter, but that's not what Glean is signalling.

It is! citation: I wrote it.

lpil··on Elixir v1.20: Now a gradually typed language
We should really remove the cheatsheets, they have not been maintained in many years.
lpil··on Elixir v1.20: Now a gradually typed language
What were the inaccuracies? I'm not aware of any, but we can fix any that are found right away.
lpil··on Elixir v1.20: Now a gradually typed language
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··on Elixir v1.20: Now a gradually typed language
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··on The Gleam Programming Language
It only happens on hacker news. Elsewhere it is not mentioned or it is praised.

Gleam does have a formal code of conduct.

lpil··on The Gleam Programming Language
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··on The Gleam Programming Language
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··on The Gleam Programming Language
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··on The Gleam Programming Language
All open source projects have a political agenda. That's the purpose of the licence, to force certain behaviour.
lpil··on The Gleam Programming Language
In a world with package management there’s no practical difference between the core modules being in one package or multiple packages.
lpil··on The Gleam Programming Language
All open source projects are political by their very nature.
lpil··on The Gleam Programming Language
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··on The Gleam Programming Language
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··on Databases in 2025: A Year in Review
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··on I tried Gleam for Advent of Code
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··on I tried Gleam for Advent of Code
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··on I tried Gleam for Advent of Code
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.

lpil··on I tried Gleam for Advent of Code
Thank you!
lpil··on I tried Gleam for Advent of Code
Free software was started as a political movement by Stallman et al. Why would we stop now?
lpil··on I tried Gleam for Advent of Code
There’s several options, depending on what you want. The most commonly used option is the language server.
lpil··on I tried Gleam for Advent of Code
Yes, one would use higher order functions, as is common in Erlang, Elixir, OCaml, Elm, etc.
lpil··on I tried Gleam for Advent of Code
I would be very interested in hearing about your experience writing Gleam and the problems you have!

We regularly collect feedback and haven’t got problems reported here, so your feedback saying otherwise would be a useful data point.

Page 1 of 9Next →