News for hackers. Stuff that matters.

arjan_sch

I'm Dutch, sounds pretty good to me
What about "worseprovement"
Re:Deno Sandbox on Wednesday February 04, 2026 @05:37AM (#46884105)
This sandboxing solution list is getting long... created https://github.com/arjan/awesome-agent-sandboxes, PRs welcome :)
Re:Elixir 1.9.0 Release on Thursday October 16, 2025 @03:56AM (#45602624)
Title is wrong, the actual release version is 1.19.0
Re:Ugly Avatar on Monday March 25, 2024 @12:59PM (#39818653)
Nice project. Would be good to add a bit more diversity to the skin tones though :)
Re:How EEx Turns Your Template into HTML on Thursday April 14, 2022 @06:21AM (#31025045)
Related to this, this is old but still a great blogpost:

https://www.evanmiller.org/elixir-ram-and-the-template-of-do...

Re:Error 404 (Not Found) on Tuesday November 16, 2021 @01:08PM (#29244099)
The 404's changed into 502's.. I guess that's progress. Fingers crossed it's back up soon
Re:Metaprogramming in Elixir on Saturday May 22, 2021 @06:39AM (#27245259)
A few years back I wrote an Elixir AST explorer, as part of a presentation at ElixirConf EU: https://ast.ninja/
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.

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?

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.
Erlang compiles and runs fine on ARM architectures in general. It is used extensively on IoT platforms like https://www.nerves-project.org/
Re:Which companies are using Erlang, and why? on Monday September 30, 2019 @04:06AM (#21112763)
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)
Esp. when reading the part about 15 working hours per day.
Re:Top Breakthroughs for 2019 Curated by Bill Gates on Friday March 01, 2019 @02:36PM (#19284474)
Interesting that blockchain is not mentioned at all. Is it past its hype cycle?
Re:Ink – inkle's narrative scripting language on Thursday April 26, 2018 @03:09AM (#16929505)
Botsquad's Bubblescript language does something similar, although more imperative: http://www.botsquad.com/2018/04/14/beyond-the-dsl/
Re:Ask HN: Best monitoring system? on Friday July 22, 2016 @03:45PM (#12146251)
AppSignal is also a cool product, although mostly focused on Rails applications. And, a big plus, they are working on an Elixir integration :-) https://appsignal.com/elixir
Re:Show HN: Search and download fonts from GitHub on Friday October 30, 2015 @03:08PM (#10479850)
fixed :)
Re:Zotonic: Erlang Web Framework and Performance on Tuesday June 25, 2013 @11:25AM (#5940105)
thanks :-)
Re:Zotonic: Erlang Web Framework and Performance on Tuesday June 25, 2013 @09:13AM (#5939147)
Zotonic is not really like Zope: we like developers to be in control of their source code, so stuff like editing templates or code on the web / storing code in the db is not supported and never will be.

Normally, every site that runs in zotonic sits in its own git repository. You can even hook up a webhook to automatically update your site on the fly (hot code reloading, http://modules.zotonic.com/page/367/mod-github)

For a very simple example site you could look a this image pasting service that I whipped up: http://stick.im/ . its code is also on github, https://github.com/arjan/stick.im