home.social

#elixirstatus — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #elixirstatus, aggregated by home.social.

  1. if credo is going to complain that my aliases aren't in alphanumeric order, then i think mix format should fix that for me. i am not built to sort things 😭 #elixirstatus #elixirlang

  2. if credo is going to complain that my aliases aren't in alphanumeric order, then i think mix format should fix that for me. i am not built to sort things 😭 #elixirstatus #elixirlang

  3. if credo is going to complain that my aliases aren't in alphanumeric order, then i think mix format should fix that for me. i am not built to sort things 😭 #elixirstatus #elixirlang

  4. if credo is going to complain that my aliases aren't in alphanumeric order, then i think mix format should fix that for me. i am not built to sort things 😭 #elixirstatus #elixirlang

  5. if credo is going to complain that my aliases aren't in alphanumeric order, then i think mix format should fix that for me. i am not built to sort things 😭 #elixirstatus #elixirlang

  6. the existential dread of having dinner at home.

    def handle_call({:what_for_dinner, num_guests}, _from, %__MODULE__{spoons: spoons} = mymental) do
      result =
        case {spoons, num_guests} do
          {spoons, 0} when spoons > @low_spoons -> {:cookin, :mac_cheese}
          {_, 0} -> {:get_fucked}
          {spoons, _} when spoons > @low_spoons -> {:cookin, :korean_soup}
          {_, _} -> {:uber_eats, :pizza}
        end
       {:reply, result, mymental}
    end
    #elixirstatus

  7. the existential dread of having dinner at home.

    def handle_call({:what_for_dinner, num_guests}, _from, %__MODULE__{spoons: spoons} = mymental) do
      result =
        case {spoons, num_guests} do
          {spoons, 0} when spoons > @low_spoons -> {:cookin, :mac_cheese}
          {_, 0} -> {:get_fucked}
          {spoons, _} when spoons > @low_spoons -> {:cookin, :korean_soup}
          {_, _} -> {:uber_eats, :pizza}
        end
       {:reply, result, mymental}
    end
    #elixirstatus

  8. the existential dread of having dinner at home.

    def handle_call({:what_for_dinner, num_guests}, _from, %__MODULE__{spoons: spoons} = mymental) do
      result =
        case {spoons, num_guests} do
          {spoons, 0} when spoons > @low_spoons -> {:cookin, :mac_cheese}
          {_, 0} -> {:get_fucked}
          {spoons, _} when spoons > @low_spoons -> {:cookin, :korean_soup}
          {_, _} -> {:uber_eats, :pizza}
        end
       {:reply, result, mymental}
    end
    #elixirstatus

  9. the existential dread of having dinner at home.

    def handle_call({:what_for_dinner, num_guests}, _from, %__MODULE__{spoons: spoons} = mymental) do
      result =
        case {spoons, num_guests} do
          {spoons, 0} when spoons > @low_spoons -> {:cookin, :mac_cheese}
          {_, 0} -> {:get_fucked}
          {spoons, _} when spoons > @low_spoons -> {:cookin, :korean_soup}
          {_, _} -> {:uber_eats, :pizza}
        end
       {:reply, result, mymental}
    end
    #elixirstatus

  10. the existential dread of having dinner at home.

    def handle_call({:what_for_dinner, num_guests}, _from, %__MODULE__{spoons: spoons} = mymental) do
      result =
        case {spoons, num_guests} do
          {spoons, 0} when spoons > @low_spoons -> {:cookin, :mac_cheese}
          {_, 0} -> {:get_fucked}
          {spoons, _} when spoons > @low_spoons -> {:cookin, :korean_soup}
          {_, _} -> {:uber_eats, :pizza}
        end
       {:reply, result, mymental}
    end
    #elixirstatus

  11. Online Nerves meetup TONIGHT (Wednesday), sounds like fun. For those that don't know, Nerves is for embedded programming using Elixir. We're promised some exotic devices, I can't wait to see! Join up to check it out!
    Registration link here:
    https://luma.com/7rlhafg2
    #elixir #elixirstatus #nerves

    RE: https://bsky.brid.gy/convert/ap/at://did:plc:hqbn6jnhmpktipe4ldp4o2cc/app.bsky.feed.post/3mgp2tndjes24

  12. Online Nerves meetup TONIGHT (Wednesday), sounds like fun. For those that don't know, Nerves is for embedded programming using Elixir. We're promised some exotic devices, I can't wait to see! Join up to check it out!
    Registration link here:
    https://luma.com/7rlhafg2
    #elixir #elixirstatus #nerves

    RE: https://bsky.brid.gy/convert/ap/at://did:plc:hqbn6jnhmpktipe4ldp4o2cc/app.bsky.feed.post/3mgp2tndjes24

  13. Online Nerves meetup TONIGHT (Wednesday), sounds like fun. For those that don't know, Nerves is for embedded programming using Elixir. We're promised some exotic devices, I can't wait to see! Join up to check it out!
    Registration link here:
    https://luma.com/7rlhafg2
    #elixir #elixirstatus #nerves

    RE: https://bsky.brid.gy/convert/ap/at://did:plc:hqbn6jnhmpktipe4ldp4o2cc/app.bsky.feed.post/3mgp2tndjes24

  14. Online Nerves meetup TONIGHT (Wednesday), sounds like fun. For those that don't know, Nerves is for embedded programming using Elixir. We're promised some exotic devices, I can't wait to see! Join up to check it out!
    Registration link here:
    https://luma.com/7rlhafg2
    #elixir #elixirstatus #nerves

    RE: https://bsky.brid.gy/convert/ap/at://did:plc:hqbn6jnhmpktipe4ldp4o2cc/app.bsky.feed.post/3mgp2tndjes24

  15. Online Nerves meetup TONIGHT (Wednesday), sounds like fun. For those that don't know, Nerves is for embedded programming using Elixir. We're promised some exotic devices, I can't wait to see! Join up to check it out!
    Registration link here:
    https://luma.com/7rlhafg2
    #elixir #elixirstatus #nerves

    RE: https://bsky.brid.gy/convert/ap/at://did:plc:hqbn6jnhmpktipe4ldp4o2cc/app.bsky.feed.post/3mgp2tndjes24

  16. So I was nerdsniped by @PragTob to implement `defconst` for Elixir. It is a simple macro that looks like a function, but is evaluated at compile time to provide runtime constant.

    github.com/hauleth/defconst

    I have added `defonce` that will lazily evaluate code during first call as an icing on that cake.

    Available on Hex as `defconstant` because of naming clash

    hex.pm/packages/defconstant

    #elixirstatus

  17. So I was nerdsniped by @PragTob to implement `defconst` for Elixir. It is a simple macro that looks like a function, but is evaluated at compile time to provide runtime constant.

    github.com/hauleth/defconst

    I have added `defonce` that will lazily evaluate code during first call as an icing on that cake.

    Available on Hex as `defconstant` because of naming clash

    hex.pm/packages/defconstant

  18. So I was nerdsniped by @PragTob to implement `defconst` for Elixir. It is a simple macro that looks like a function, but is evaluated at compile time to provide runtime constant.

    github.com/hauleth/defconst

    I have added `defonce` that will lazily evaluate code during first call as an icing on that cake.

    Available on Hex as `defconstant` because of naming clash

    hex.pm/packages/defconstant

    #elixirstatus

  19. So I was nerdsniped by @PragTob to implement `defconst` for Elixir. It is a simple macro that looks like a function, but is evaluated at compile time to provide runtime constant.

    github.com/hauleth/defconst

    I have added `defonce` that will lazily evaluate code during first call as an icing on that cake.

    Available on Hex as `defconstant` because of naming clash

    hex.pm/packages/defconstant

    #elixirstatus

  20. So I was nerdsniped by @PragTob to implement `defconst` for Elixir. It is a simple macro that looks like a function, but is evaluated at compile time to provide runtime constant.

    github.com/hauleth/defconst

    I have added `defonce` that will lazily evaluate code during first call as an icing on that cake.

    Available on Hex as `defconstant` because of naming clash

    hex.pm/packages/defconstant

    #elixirstatus

  21. When writing ExUnit files always add `@subject` module attribute containing name of the module that you are testing. It allows you to automatically see what exactly is tested without keeping the context at the back of your head.

    #elixirstatus #tip @erlang_discussions

  22. When writing ExUnit files always add `@subject` module attribute containing name of the module that you are testing. It allows you to automatically see what exactly is tested without keeping the context at the back of your head.

    @erlang_discussions

  23. When writing ExUnit files always add `@subject` module attribute containing name of the module that you are testing. It allows you to automatically see what exactly is tested without keeping the context at the back of your head.

    #elixirstatus #tip @erlang_discussions

  24. When writing ExUnit files always add `@subject` module attribute containing name of the module that you are testing. It allows you to automatically see what exactly is tested without keeping the context at the back of your head.

    #elixirstatus #tip @erlang_discussions

  25. When writing ExUnit files always add `@subject` module attribute containing name of the module that you are testing. It allows you to automatically see what exactly is tested without keeping the context at the back of your head.

    #elixirstatus #tip @erlang_discussions