• Trends
  • Topics
  • Nodes
Search for keywords, #hashtags, $sites, add a dash to exclude, e.g. -$theonion.com

From elixirforum.com

Writing much better tests in Elixir by Xochitl Pérez | Code BEAM Lite Mexico 2023

1 2

Code Sync: Writing much better tests in Elixir by Xochitl Pérez | Code BEAM Lite Mexico 2023 Comments welcome! View the <span class="hashtag-icon-placeholder"></span>code-sync</span> tag for more Code Sync talks!

#elixir #programming

on Sep 5

From elixirforum.com

Bond - Design by Contract for Elixir

0 1

Announcing Bond, Design by Contract for Elixir Bond provides support for contract programming (also known as “Design by Contract”) for Elixir. The primary goal for Bond is to provide the most feature-complete and thoroughly documented Design by Contract library for Elixir, with a concise and...

on Fri, 8PM

From elixirforum.com

Project: The Handheld Hacking device, Clockwork Pi uConsole with Nerves

0 0

I tried rotating this sucker for my entire train ride up until the night train heading to Code BEAM. Frank found the incantation in the last few hours if the conference (I think it took him several minutes and ChatGPT did not give the necessary answer).

on Oct 18

From elixirforum.com

New AshGraphql Feature: Subscriptions

0 0

You can now add subscriptions using the DSL. subscriptions do pubsub YourAppWeb.Endpoint subscribe :something_changed do action_types [:create, :update, :destroy] end end Right now, you still need to add the dependency from github. A release will follow soon. I created a small demo...

on Oct 2

From elixirforum.com

NervesHub v2.0.0 officially released

0 0

It is my pleasure to announce the official release of the new generation of NervesHub with the v2.0.0 release. Containers are tagged. 📦 Migration notes are … not really needed. And v1.x is officially dubbed Legacy NervesHub. A lot of credit to Eric Oestrich, Josh Kalderimis and Jon Carstens...

on Sep 25

From elixirforum.com

ExUnit.CaptureLog assert capture_log/2 not capturing level "info"

0 0

At the risk of terrible necroposting and of stating the obvious: I ran into this same problem and saw that the OP’s last remarks went unanswered. I found a solution, so maybe other googlers are helped by this: Our test.exs had config :logger, level: :warn and only by setting it to :info I...

on Sep 24

From elixirforum.com

Blog Post: Silos in the Elixir Community

0 0

In this post I explore the silos that exist in the Elixir ecosystem, the pros and cons, and what we can improve.

on Sep 18

From elixirforum.com

Livebook in the cloud: GPUs and clustered workflows in seconds

0 0

ElixirConf: Livebook in the cloud: GPUs and clustered workflows in seconds Comments welcome! View the <span class="hashtag-icon-placeholder"></span>elixirconf</span> tag for more ElixirConf talks!

on Sep 13

From elixirforum.com

A Nerves history from a non-embedded devs team building an IoT AI product - A. Gonzalez | Code BEAM

0 2

Code Sync: A Nerves history from a non-embedded devs team building an IoT AI product - A. Gonzalez | Code BEAM Comments welcome! View the <span class="hashtag-icon-placeholder"></span>code-sync</span> tag for more Code Sync talks!

on Sep 2

From elixirforum.com

Is there an integer size limit?

0 0

The limit for big integers used to be limited by RAM. There has always existed a limit, but in practice one would run out of RAM before reaching the limit for bigints. That is no longer the case, especially when running on a 64-bit computer. The current limit is about 4 MBits or 4,194,240...

on Aug 24

From elixirforum.com

Needle - Universal foreign keys, shared data fields, virtual and configurable schemas for Ecto

0 0

When using a relational DB (such an Ecto schema with a Postgres table), usually a foreign key field has to be pre-defined with a reference pointing to a specific field in a specific table. A simple example would be a blogging app, which might have a post table with author field that references...

on Aug 24

From elixirforum.com

Is there an integer size limit?

0 0

I was playing with some very large numbers, for fun, and ran across some type of limit that I can’t find the source of in the docs. 10**1_262_593 <— blows up 10**1_262_592 <— is fine If I understand the docs correctly, the bigint limit should be limited by system ram, but even though there is...

on Aug 23

From elixirforum.com

Hot Code Upgrades with Elixir - Survey

0 0

Hello, I am developing a CI/CD tool aimed at simplifying the testing of hot code upgrades. Your responses to the following questions would be crucial in helping me make informed decisions to support Elixir. Do you use OTP’s releases ? Do you perform hot code upgrades/downgrades ? What tools...

on Aug 23

From elixirforum.com

Elixir Programming Language Forum

0 1

The Elixir Forum - for Elixir programming language enthusiasts!

on Aug 12

From elixirforum.com

Ash 3.1 released

0 0

Ash 3.1 Released! Major themes Generators! These are just the first entries into a powerful new suite of tools. Check out the generator docs for more! Ash and AshPostgres now have installers and generators powered by Igniter. We think that igniter is going to be a very big deal, expect to see a...

on Jul 10

From elixirforum.com

NIF vs Port Driver

0 0

Not really, a Port dying will simply send an event to a monitoring process on the Erlang side. Many people use this technique to restart intermittently failing external tools, with great success. Apparently the Erlang/Elixir world disagrees with you not caring if the BEAM VM will crash? 🤷‍♂️ ...

on Jul 7

From elixirforum.com

Backpex - a highly customizable admin panel for Phoenix LiveView applications

0 0

Hello everyone! I am excited to share our heart project Backpex with you. After building several Phoenix applications, we realized that we were repeating ourselves when it came to building administration panels. We were writing the same CRUD views, search and filter functionality over and over...

on Jun 26

From elixirforum.com

Igniter - A code generation and project patching framework

0 0

Igniter Igniter is a code generation and project patching framework. For library authors, this is a tool kit for writing smarter generators that can semantically modify existing files, and all sorts of useful tools for doing so. For end-users, this means mix igniter.install <package>, which...

on Jun 25

From elixirforum.com

Elixir v1.17.0 released

0 0

This release includes type inference of patterns to provide warnings for an initial set of constructs (binaries, maps, and atoms) within the same function. It also includes a new Duration data type to interact with Calendar types, support for Erlang/OTP 27, and many other improvements. Warnings...

on Jun 24

From elixirforum.com

Blog Post: Make your library test-friendly

0 0

Some rant about the necessity to deliver a testing framework within your libraries. I hope to engage more alchemists into providing better testing abilities for the libraries we produce.

on Jun 8

From elixirforum.com

Elixir v1.17.0-rc.0 released

0 0

This release includes type inference of patterns to provide warnings for an initial set of constructs (binaries, maps, and atoms). It also includes a new Duration data type to interact with Calendar types and support for Erlang/OTP 27. Warnings from gradual set-theoretic types This release...

on May 25

From elixirforum.com

Honeycomb - a concurrency library which focuses on result collection

0 0

Honeycomb 🐝🍯 Honeycomb is an Elixir library designed for executing asynchronous or background tasks that require persisting results in batches. Its core functionalities include asynchronous/background execution and concurrency control. Mastery Honeycomb Imagine a honeycomb where you are the...

on May 12

From elixirforum.com

Phoenix LiveView hot reload has an option to preserve socket state

0 0

Sorry if it’s a common knowledge, but it’s something I just learned and wanted to share. I’ve seen that mind-blowing demo of hot-reload in production recently presented by Chris. So I asked if we could have something like that in development as well:...

on May 10

From elixirforum.com

Keynote: Ship it! A Roadmap for putting Nx into Production | Christopher Grainger ElixirConf EU 2024

0 0

Code Sync: Keynote: Ship it! A Roadmap for putting Nx into Production | Christopher Grainger ElixirConf EU 2024 Comments welcome! View the <span class="hashtag-icon-placeholder"></span>code-sync</span> and <span class="hashtag-icon-placeholder"></span>elixirconf-eu</span> tags for more Code...

on May 7

From elixirforum.com

Elixir In Action Book Club!

0 0

Welcome to our Elixir In Action Book Club! :048: This book was recently released in its third edition so we thought it was about time we had a book club on it! It is being led by @code-shoily and @juhalehtonen and the author of the book, @sasajuric, will also be dropping in from time to time -...

on Apr 28

From elixirforum.com

Pods - Pods support for JVM and babashka

0 0

Ok so today I managed to trigger a installation pipeline and improved a little more the stdout handler. Running the command mix pod.babashka.sqlite3.install can install the desired artifact inside the pods directory and be runned as a pod (as long as you have babashka in $PATH). This is a...

on Apr 27

From elixirforum.com

Offline-enabled apps with Phoenix LiveView and LiveSvelte

0 0

Hi everyone! I’m new to the forums and new to Elixir in general. To learn Elixir, I recently just completed my first app. It’s a todo app built with Phoenix LiveView, but with a twist, it can also work offline 😏 By using the LiveSvelte package, I was able to use LiveView to render Svelte...

on Apr 8

From elixirforum.com

Ash Framework 3.0: Release Candidates

0 0

Ash Framework 3.0: Release Candidates! The day is finally here! This is the culmination of years of work from the Ash team and community 🚀 We are ready for the adventurous folks to try out the latest release candidates of Ash and associated packages! Every Ash package (that the Ash team...

on Apr 3

From elixirforum.com

Ash Framework 3.0: Release Candidates

0 0

Ash Framework 3.0: Release Candidates! The day is finally here! This is the culmination of years of work from the Ash team and community 🚀 We are ready for the adventurous folks to try out the latest release candidates of Ash and associated packages! Every Ash package (that the Ash team...

on Apr 3

From elixirforum.com

Phoenix LiveView: The Big Picture (Pluralsight)

0 0

Hey, friends 👋 I’ve recently published a new Elixir course called Phoenix LiveView: The Big Picture in partnership with Pluralsight. This course is an introduction to LiveView and is relatively short with only 3 modules. It is meant to explain at a high level why LiveView is amazing, what...

on Mar 6

From elixirforum.com

Blog Post: Integrate Slack into the Elixir's logging system

0 0

Use the new log handlers to plug Slack or any other provider into your logging system.

on Mar 1

From elixirforum.com

All Talk Videos | BEAM Devroom @ FOSDEM 2024

0 0

Hi everyone, here you can find all talks from the BEAM Devroom at FOSDEM 2024. The titles link to the talk page on the FOSDEM website where you can find additional details (author bio, description, slides, etc). Thanks again to everyone who submitted and participated, the Devroom was full...

on Mar 1

From elixirforum.com

Finitomata :: FSM boilerplate based on callbacks

0 0

Package published to finitomata | Hex (25ec5990045d025fba2bb1c59a92e08fc8a045fdd347fcdcb885f22c75a1f2d2) Introduces Infinitomata module as a drop-in replacement of Finitomata.{start_fsm/4,transition/4,state/3}. It transparently runs in a cluster, leveraging process groups :pg to keep track of...

on Jan 27

From elixirforum.com

`Tempus`, the library to handle time slots

0 0

Effective today, Tempus supports different calendars. It’s still very much WIP and there are tweaks and quirks required in config to make it work with a different calendar (because is_coming_before/2 is essentially a macro which is allowed in guards,) but I have tested it and I can claim it’s...

on Jan 23

From elixirforum.com

ElixirConf 2023 - Tim Gremore - Replacing React: How Liveview solved our performance problems

0 0

ElixirConf: ElixirConf 2023 - Tim Gremore - Replacing React: How Liveview solved our performance problems Comments welcome! View the <span class="hashtag-icon-placeholder"></span>elixirconf</span> tag for more ElixirConf talks!

on Jan 23

From elixirforum.com

`Tempus`, the library to handle time slots

0 0

Tempus has become more than just plain time slot management. The best example would be managing a schedule for the dentist (check if the slot is available, or joint, or when the next available slot of the given duration is available, etc.) It allows one to manage time slots effortlessly. The...

on Jan 23

From elixirforum.com

Partitioning Postgres tables by timestamp based UUIDs

0 0

Recently we partitioned a table with 28 million rows by its ULID to improve query speeds and reduce query timeouts. To do this I ended up pulling together various bits of information across the internet and thought it might be worth compressing it into a guide for future reference and discussion...

on Jan 18

From elixirforum.com

Fresh install: `mix test` produces `could not call Module.put_attribute/3 because the module Fragments.MixProject is already compiled`

0 0

I am using Elixir on a M2 Mac running the latest Sonoma. I last used Elixir on an M1 Mac running who knows what. Short version: I can’t make the Homebrew version work. The asdf version won’t build Erlang. Homebrew When I do mix new fragments, mix test produces this: == Compilation error in...

on Jan 2

From elixirforum.com

Elixir library to execute `ExUnit` tests as `common_test`

0 0

I wanted to release v0.1.0 of this library in 2023, that’s why it’s still very much WIP, although fully functional already. There was an intent to bring common_test to Elixir by @hauleth, but it seems dead. I needed to use :peer for some specific tests and I started by adopting it for Elixir...

on Dec 31

From elixirforum.com

Programming Phoenix LiveView Book Club!

0 0

After chapter 5 things are starting to gel. I’m now finding the ‘principle of least surprise’ applies: "Hmm, I don’t like that validation error message. What if I add another parameter message: "my user friendly message? And it worked. File upload functionality had some of the File API that...

on Dec 30

From elixirforum.com

What test tags do you use in your Elixir projects?

0 0

I’m writing some tests and I want to build a “common language” for writing test tags. I’m using this post to document my findings as I learn about the built-in test tags, while also seeing what custom tags the Elixir community uses in their tests. Built-In Tags ExUnit has quite a few built-in...

on Dec 26

From elixirforum.com

build_dot_zig - Use the Zig build system from Elixir to build your NIFs

0 0

build_dot_zig is a Mix compiler that allows you to use the Zig build system and compiler from Elixir. This lets you to easily build C, C++ and Zig NIFs without a system toolchain on Linux, MacOS and Windows. You can think of it as an alternative to elixir_make with some more goodies. The...

on Dec 16

From elixirforum.com

Starting & shutting down iex with a Port - gracefully

0 0

It should be possible to do Port.close/1 without seeing that crash. The crash is caused by a disagreement by group and IEx.Server.__parse__/2. group expects __parse__/2 to return {stop, eof, eof}, while it returns {stop, eof, []}. I think that in this case it is group that is wrong and it should...

on Dec 15

From elixirforum.com

Elixir v1.16.0-rc.1 released

0 0

1. Enhancements Elixir [Code] Add :emit_warnings for Code.string_to_quoted/2 [File] Add :offset option to File.stream!/2 [Kernel] Auto infer size of matched variable in bitstrings [Kernel] Preserve column information when translating typespecs [String] Add String.replace_invalid/2 Logger ...

on Dec 12

From elixirforum.com

How suitable is Elixir for a CLI application?

0 0

Here is my summary: Are you making a CLI tool for Elixir developers only? If yes: a. Do you want to extend Mix (like mix phx.new)? If so, use mix archive b. Otherwise, use mix escript Otherwise, don’t use Elixir (for all the reasons mentioned above and for the same reasons I wouldn’t use...

on Dec 1

From elixirforum.com

Programming Phoenix LiveView Book Club!

0 0

So I’m sharing the final solution as a way of paying it forward, I wouldn’t have gotten this far without several blog- and forum posts, stack overflow and the ExAwsAmazonSES documentation (Read carefully, Everything is in there. I’m not sure why the AmazonSES documentation refers to using...

on Nov 19

From elixirforum.com

Elixir v1.16.0-rc.0 released

0 0

Code snippets in diagnostics Elixir v1.15 introduced a new compiler diagnostic format and the ability to print multiple error diagnostics per compilation (in addition to multiple warnings). With Elixir v1.16, we also include code snippets in exceptions and diagnostics raised by the compiler....

on Oct 31, 2023

From elixirforum.com

Grammar/style check and markdown linter for code documentation in Neovim

0 0

Another cool plugin for Neovim, GitHub - jmbuhr/otter.nvim: Just ask an otter! 🦦 makes it possible to run linters for embedded code, like Markdown in code documentation: In order to make it happen, you need to install otter (example for lazy.vim): { "jmbuhr/otter.nvim", dependencies...

on Oct 29, 2023

From elixirforum.com

ElixirConf 2023 - Michael St Clair - Building a database GUI and proxy with Elixir

0 0

ElixirConf: ElixirConf 2023 - Michael St Clair - Building a database GUI and proxy with Elixir Comments welcome! View the <span class="hashtag-icon-placeholder"></span>elixirconf</span> tag for more ElixirConf talks!

on Oct 26, 2023