Let's write a simple module to control OBS using websockets.
OBS already have a websocket server which can accept many command to control its features. We're going to use that websocket server to make some actions like:
Change scene Apply source filters Many other things Basic configuration First we need to install a websocket client, fresh is a easy to use client that works on top on mint.
Let's add the following code to our mix.
command line tool to extract taxonomies from Wikidata. Latest version: 0.6.7, last published: 5 years ago. Start using wikidata-taxonomy in your project by running `npm i wikidata-taxonomy`. There are no other projects in the npm registry using wikidata-taxonomy.
This is the story of how I solved a problem (ugly, cumbersome boilerplate code) that I ran into while writing a program in a functional language (Elixir). Functional programming languages often pride themselves on expressiveness and elegance; but occasionally they are not amenable to the most obvious solutions to the problems we wish to solve. In this case, the simplest solution to my problem would have been to have a global mutable variable.
What I mean when I say that machine learning in Elixir is production-ready
My ElixirConf EU 2024 keynote "Ship it! A roadmap for putting Nx into production" is up on youtube. I'm hoping it will help folks gain the confidence to go o...
Programming Ada: Packages And Command Line Applications
In the previous installment in this series we looked at how to set up an Ada development environment, and how to compile and run a simple Ada application. Building upon this foundation, we will now…
Before we discuss what VACUUM does and its implications, we need to understand how data is actually stored on disk. What happens when a tuple is inserted, updated, or deleted? Understanding this will help us understand what VACUUM does, why it’s needed, and its implications.
In this part of the series we dive into one of the frameworks and toolsets that really got me going with both Elixir as a hobby and the community as a space full of helpful people. This will be all about The Nerves Project, oh, and touch on some related stuff.
Ecto Tips: UUID Boilerplate, Docs, and Composing Changesets · Bernheisel
There are some helpful techniques you can employ to help you and your coworkers when writing long changeset functions. It's hard to remember what's required, optional, and defaulted. DB-generated UUID
Creating and using UUID database columns and fields with Ecto
Recently in a Phoenix project I needed to use a UUID column to represent an external identifier. I had previously used UUID’s with the binary_id field type b...
Implementing Natural Conversational Agents with Elixir
In my last post, I discussed some work I had done building Nero, the assistant of the future that I’ve always wanted. I ended up creating an end-to-end example which used Nx, OpenAI APIs, and…
Mastering CQRS and Event Sourcing in Elixir with Commanded | Curiosum
How to segregate commands and queries, and leverage the Commanded library for event-driven architecture, ensuring auditability, time travel, and scalability.
Different Ways to Register GenServer Name in Elixir
The focus of this article is to demonstrate various ways of registering a GenServer in Elixir so that the server can be discovered and communicated with by sending messages. Elixir runs on Erlang BEAM virtual machine and BEAM nodes can run on a singl...