Recent submissions

Comment · 2 months ago
I'm Dutch, sounds pretty good to me
Comment · 2 months ago
What about "worseprovement"
Comment · 9 months ago
Comment · 1 year ago
Title is wrong, the actual release version is 1.19.0
Comment · 2 years ago
Nice project. Would be good to add a bit more diversity to the skin tones though :)
Comment · 4 years ago
Comment · 5 years ago
The 404's changed into 502's.. I guess that's progress. Fingers crossed it's back up soon
Comment · 5 years ago
Comment · 5 years ago
Well with Liveview you go "full server state" for everything that you would normally just use plain JS for. For instance, toggling a checkbox or collapsing a div.

Having latency on such lowlevel interactions might make the UI feel sluggish as a whole.

Comment · 6 years ago
Looks great!

Did not look at it in detail, but I'm wondering about portability, eg how this works with system libraries, like OpenSSL. Is the resulting binary portable to systems with different C libraries than the ones the OTP system was linked against originally?

Comment · 6 years ago
True. IIRC Erlang only supports GCC as the build system. I helped fixing a race in the BEAM a while back that only occurred on the latest GCC.
Comment · 6 years ago
Comment · 7 years ago
One of the big differences between Erlang and Elixir is indeed that Elixir allows you to write macros in the language itself, using quote / unquote constructs just like lisps.

This makes it easy to generate code on compile time, which is then executed in runtime without any performance penalty.

A large part of Elixir itself is actually implemented as macros. For instance, the "unless" construct:

  defmacro unless(condition, do: do_clause, else: else_clause) do
    quote do
      if(unquote(condition), do: unquote(else_clause), else: unquote(do_clause))
    end
  end

(code simplified for clarity)
Comment · 7 years ago
Esp. when reading the part about 15 working hours per day.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton