HNHacker News
TopNewBestAskShowJobs

lawik

3,352 karma · joined December 6, 2016

https://underjord.io, lars@underjord.io https://twitter.com/lawik @lawik@fosstodon.org

Podcasting on beamrad.io and regprog.com

submissionscomments
lawik··on Things I like about Gleam's Syntax
You mean the type checker eqWAlizer? That is out there. Not sure if they got further on typed Erlang.

Ar Code BEAM in Berlin just now there was a presentation on a type system effort much like the Elixir one.

lawik··on Unpacking Elixir: Observability
Ah yes. Will correct it to "munch" ;)
lawik··on Unpacking Elixir: Observability
Thanks. Glad it resonated :)
lawik··on Merlin's Wisdom Project
He used to be Merlin Mann.
lawik··on Merlin's Wisdom Project
He was. He ran the productivity blog 43folders and did a bunch of speaking.
lawik··on Unpacking Elixir: Resilience
As someone active in the community I wouldn't say there has been any particularly massive ramp up recently.

Someone refernced ElixirConf US and some of the news-flow is certainly from that.

Elixir has been building a steady steam pressure for a long time and I think steady is still the case.

As someone writing about Elixir I will say that it has good traction here as a general rule. I think Erlang appeals to the CS-interested, Elixir appeals to a lot of Ruby and startup folks. The ecosystem also innovates a decent bit. I think it punches above its weight on the HN front page.

It is a healthy ecosystem and seems to grow.

(edit: a spelling)

lawik··on Unpacking Elixir: Resilience
Yeah, there are a few common mistakes that can get really troublesome when library authors make them. Assuming how you want to structure execution (by using GenServers in the library usually). Another one is only one instance of config. Meaning if you have a plan to use the library for multiple distinct activities or with multiple accounts, you have trouble.

Both simple config and GenServers have their place in libraries. But if a library doesn't expose the fundamentals it gets gnarly quickly.

lawik··on A literary history of fake texts in Apple's marketing materials
> These eerily cheery, aggressively punctuated messages suggest a alternate dimension

I don't believe they did.

lawik··on Skip the API, ship your database
I have more interest in this: https://electric-sql.com/

They are adding a sync-mechanism for Sqlite so local writes can be synced to a remote location and on into Postgres and so on. CRDT-based eventual consistency.

So local write latency, eventually consistent sync and the tools for partial sync and user access are the primary areas of development.

Early days but an interesting approach to shipping the db.

lawik··on Unpacking Elixir: Real-Time and Latency
Yeah, I think I adressed this in the article and I hope it came across. If latency is the one singular goal the design should be quite different.
lawik··on Unpacking Elixir: Real-Time and Latency
I think I address what it aims for quite thoroughly in the text itself.
lawik··on Unpacking Elixir: Real-Time and Latency
Glad you are enjoying it. I have a pretty solid list of topics to hit still. Hope I maintain the momentum.

Thankfully writing them is kind of straightforward. Topics I've been interested in before and already know enough to write a bit about.

lawik··on Unpacking Elixir: Syntax
I believe they literally compile down to case statements.
lawik··on Unpacking Elixir: Syntax
thanks
lawik··on Unpacking Elixir: Syntax
Had not thought about it. But I and my nordic keyboards agree.
lawik··on OpenTF repository is now public
Airshape
lawik··on Unpacking Elixir: Concurrency
Made my day
lawik··on Unpacking Elixir: Concurrency
Yeah, the API is very similar.

I don't know the .Net runtime well enough to say anything about how it actually executes though.

lawik··on Unpacking Elixir: Concurrency
What do you find more difficult?

The achieving tasks in it or the getting paid to do so part?

lawik··on EXGBoost: Gradient Boosting in Elixir
There have been a few just recently. Bit of an ML boom in Elixir and ML is popular right now.

As an Elixir-centric blogger I can tell you that Elixir generally seems to do well on Hacker News. I think it has a lot of overlap with interests on here. Erlang is the underpinnings and Erlang is generally interesting from a comp sci standpoint. Elixir's roots in Ruby line it up nicely with SaaS, startups and that whole space.

lawik··on How to listen to database changes using Postgres triggers in elixir
That is interesting. So this would mean using what I already have when using Ecto instead of the other postgres client I think cainophile uses.sounds good to me.
lawik··on How to listen to database changes using Postgres triggers in elixir
Which as far as I gather uses Phoenix + Erlang distribution to get Phoenix.PubSub going. Which parent was not wanting to do. Funny full circle.
lawik··on How to listen to database changes using Postgres triggers in elixir
If you want to listen to database changes in Elixir you can also get really good stuff done by using Cainophile (https://github.com/cainophile/cainophile). Same mechanism. I don't know the details of Debezium so I can't say if you are leaving fantastic things on the table. But I've had good fun with Cainophile. For example I've used it in my videos on Electric SQL to react to changes in a Postgres database. It matches nicely with realtime-ish UI via LiveView. So meshes really good with the current Elixir stack.
lawik··on Scripting with Elixir
That's neat.
lawik··on Scripting with Elixir
Mostly gets really clunky for recursive functions.
lawik··on Scripting with Elixir
The pipes are really very nice.

They are actually even nicer under Livebook: https://livebook.dev/

It can let you drag-drop reorder, enable/disable, steps in a pipeline: https://github.com/livebook-dev/livebook/blob/main/lib/liveb...

It is really wild.

lawik··on Why Do ML on the Erlang VM?
Oh, author here. I absolutely do simply prefer it but I also think it has distinct upside compared to Python in this context. I see a number of companies orchestrating their Python ML with Elixir. For them the advantage is even more obvious. But overall Elixir has certain strengths. It also has drawbacks and trade-offs.

I would absokutely write the post "Why I prefer Elixir" and I think I have. But this was not intended to be that.

lawik··on Ask HN: My GPT project has become a local hit but I can't afford the bill
This seems like the best play since it is so locally relevant.
lawik··on How to sell Elixir again
Go people might cringe but why wouldn't you just be 100% Rust?

Actual response: Some similarities, different goals, different strengths, different abstraction levels. Go is cool I hear but I don't see a need from over here doing Elixir.

lawik··on Google Calendar and Assistant Reminders Will Migrate to Google Tasks Soon
Are they goong to break the most important Google app for me? This is .. exciting.

My calendar events are not tasks. The reminders for them are not tasks either. So this is worrying for me.

← PreviousPage 4 of 14Next →