Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Paweł Świątkowski boosted
Keila
Keila
@keila@fosstodon.org  ·  activity timestamp 2 hours ago

Updating Gettext from 0.x to 1.0 isn't entirely trivial - because Keila has custom translation helpers for handling Markdown. Fortunately there's a great explainer post by @whatyouhide - so if you've also been delaying the update, give it a read! https://andrealeopardi.com/posts/refactoring-gettext-to-speed-up-compilation/ #myelixirstatus #elixirlang #opensource #buildinpublic

Reducing Compile-Time Dependencies in Gettext for Elixir

This is how we significantly improved compilation time for Elixir projects that use Gettext, using a few metaprogramming tricks and ten years of Elixir experience since we wrote the first version of this library.
  • Copy link
  • Flag this post
  • Block
Paweł Świątkowski liked this activity
Keila
Keila
@keila@fosstodon.org  ·  activity timestamp 2 hours ago

Updating Gettext from 0.x to 1.0 isn't entirely trivial - because Keila has custom translation helpers for handling Markdown. Fortunately there's a great explainer post by @whatyouhide - so if you've also been delaying the update, give it a read! https://andrealeopardi.com/posts/refactoring-gettext-to-speed-up-compilation/ #myelixirstatus #elixirlang #opensource #buildinpublic

Reducing Compile-Time Dependencies in Gettext for Elixir

This is how we significantly improved compilation time for Elixir projects that use Gettext, using a few metaprogramming tricks and ten years of Elixir experience since we wrote the first version of this library.
  • Copy link
  • Flag this post
  • Block
Keila
Keila
@keila@fosstodon.org  ·  activity timestamp 2 hours ago

Updating Gettext from 0.x to 1.0 isn't entirely trivial - because Keila has custom translation helpers for handling Markdown. Fortunately there's a great explainer post by @whatyouhide - so if you've also been delaying the update, give it a read! https://andrealeopardi.com/posts/refactoring-gettext-to-speed-up-compilation/ #myelixirstatus #elixirlang #opensource #buildinpublic

Reducing Compile-Time Dependencies in Gettext for Elixir

This is how we significantly improved compilation time for Elixir projects that use Gettext, using a few metaprogramming tricks and ten years of Elixir experience since we wrote the first version of this library.
  • Copy link
  • Flag this post
  • Block
Keila
Keila
@keila@fosstodon.org  ·  activity timestamp last week

We're happy to announce v0.18 of Keila, the Open Source email newsletter tool. This release adds smarter segments, public archive links, editor improvements, and many fixes. You can give it a try at https://www.keila.io or set up a self-hosted instance: https://www.keila.io/docs/installation
#opensource #floss #update #selfhosting #myelixirstatus

Requirements - Keila

  • Copy link
  • Flag this post
  • Block
Keila
Keila
@keila@fosstodon.org  ·  activity timestamp 2 months ago

Currently working on the new template system and migrating the base template to MJML. I'm also taking the opportunity to refine the typography and apply the Major Third scale to the default font sizes. 🎶 📖

#buildinpublic #opensource #design #myelixirstatus #newsletter

Your browser does not support the video tag.
GIF
GIF
Open
GIF
  • Copy link
  • Flag this post
  • Block
Angelika Cathor
Angelika Cathor
@angelikatyborska@mas.to  ·  activity timestamp 2 months ago

The Elixir track on Exercism is now running on Elixir 1.19 🙂

#Elixir #MyElixirStatus #Exercism

  • Copy link
  • Flag this post
  • Block
Kerry Buckley
Kerry Buckley
@kerryb@mastodon.social  ·  activity timestamp 2 months ago

#MyElixirStatus #TIL that if you try to match a big enough string with certain regular expressions in Elixir (and I assume Erlang), it can silently return nil (ie no matches) even if the pattern ought to match.

  • Copy link
  • Flag this post
  • Block
AdrianC
AdrianC
@adrianc@hachyderm.io  ·  activity timestamp 2 months ago

First Code BEAM Lite Conf in Canada in Vancouver !!

https://codebeamvancouver.com/

#MyElixirStatus #Elixir #ElixirLang #Erlang

  • Copy link
  • Flag this post
  • Block
Keila
Keila
@keila@fosstodon.org  ·  activity timestamp 2 months ago

Here is a neat little trick when you need to test a verification flow in #PhoenixFramework: https://gist.github.com/wmnnd/cb80d4eae79d5d35b8229d6eec188ee5

It's a common pattern to pass a URL generator to a context function. But you can pass a function that captures the token with an Agent instead.

#elixirlang #myelixirstatus

test "verify something from a token", %{conn: conn} do
  {:ok, agent_pid} = Agent.start_link(fn -> nil end)
  capture_token = fn token ->
    Agent.update(agent_pid, fn _ -> token end)
  end

  MyApp.SomeContext.send_verification_email(&capture_token.(&1))
  token = Agent.get(token_agent, & &1)

  assert something(token)
end
test "verify something from a token", %{conn: conn} do {:ok, agent_pid} = Agent.start_link(fn -> nil end) capture_token = fn token -> Agent.update(agent_pid, fn _ -> token end) end MyApp.SomeContext.send_verification_email(&capture_token.(&1)) token = Agent.get(token_agent, & &1) assert something(token) end
test "verify something from a token", %{conn: conn} do {:ok, agent_pid} = Agent.start_link(fn -> nil end) capture_token = fn token -> Agent.update(agent_pid, fn _ -> token end) end MyApp.SomeContext.send_verification_email(&capture_token.(&1)) token = Agent.get(token_agent, & &1) assert something(token) end
  • Copy link
  • Flag this post
  • Block
Paweł Świątkowski and 1 other liked this activity
Nicd
Nicd
@nicd@masto.ahlcode.fi  ·  activity timestamp 2 months ago

After 12 years of hobbyist usage, today I wrote my first paid lines of Elixir.

#MyElixirStatus #Elixir

  • Copy link
  • Flag this post
  • Block
Nicd
Nicd
@nicd@masto.ahlcode.fi  ·  activity timestamp 2 months ago

After 12 years of hobbyist usage, today I wrote my first paid lines of Elixir.

#MyElixirStatus #Elixir

  • Copy link
  • Flag this post
  • Block
Keila
Keila
@keila@fosstodon.org  ·  activity timestamp 3 months ago

In #ElixirLang you can simply write :timer.hours(2) instead of 2 * 60 * 60 * 1000.

#til #myelixirstatus

  • Copy link
  • Flag this post
  • Block
André Hoarau
André Hoarau
@ah@floss.social  ·  activity timestamp 3 months ago

After a couple of days of sysadmin work, I've got rid of Kamal and #Docker. I can now deploy @brinjel with zero downtime thanks to #Ansible, #Caddy, #systemd and #rsync.

Simplifying your stack and making your infra more robust at the time, that's the way!

#myElixirStatus #elixirlang #buildInPublic #indiehackers

  • Copy link
  • Flag this post
  • Block
T0ha
T0ha
@t0ha@mastodon.social  ·  activity timestamp 4 months ago

Calling all tech innovators! 🚀 I'm a senior Erlang and Elixir dev ready to bring experience and passion to your project. Available for new opportunities.
https://www.linkedin.com/in/anton-shvein/
https://t0ha.ru
#Erlang #Elixir #OpenForJob #ElixirLang #MyElixirStatus

  • Copy link
  • Flag this post
  • Block
Pascal boosted
Angelika Cathor
Angelika Cathor
@angelikatyborska@mas.to  ·  activity timestamp 4 months ago

The Elixir track on Exercism has a new practice exercise, Camicia. Thanks to Francesco Sangalli who not only implemented it in Elixir, but also designed it 🥳

https://exercism.org/tracks/elixir/exercises/camicia

#Elixir#MyElixirStatus #Exercism

  • Copy link
  • Flag this post
  • Block
Angelika Cathor
Angelika Cathor
@angelikatyborska@mas.to  ·  activity timestamp 4 months ago

The Elixir track on Exercism has a new practice exercise, Camicia. Thanks to Francesco Sangalli who not only implemented it in Elixir, but also designed it 🥳

https://exercism.org/tracks/elixir/exercises/camicia

#Elixir#MyElixirStatus #Exercism

  • Copy link
  • Flag this post
  • Block
AdrianC
AdrianC
@adrianc@hachyderm.io  ·  activity timestamp 5 months ago

Totally missed what Cachex got the last few updates, so that was a nice read

https://whitfin.io/blog/cachex-v4-0-optimization-consolidation-and-routing/

#ElixirLang#MyElixirStatus

  • Copy link
  • Flag this post
  • Block
Serial Experiments Dorgan and 1 other boosted
AdrianC
AdrianC
@adrianc@hachyderm.io  ·  activity timestamp 5 months ago

The official Elixir LSP is out!!

https://github.com/elixir-lang/expert

#ElixirLang#MyElixirStatus

  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-beta.35 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct