Adding a Table of Contents to Nimble Publisher
An important thing to consider when writing long blog posts or articles is providing a Table of Contents that shows an overview of what is covered. This is important for readers who might want to see if the content is relevant or if they want to jump to the specific section they are interested in. Providing a Table of Contents is also important for SEO and it can help your content perform better in search results.
In this tutorial we’re going to be looking at adding a Table of Contents to a Nimble Publisher blog.
https://www.culttt.com/2023/01/09/table-of-contents-nimble-publisher
Build dynamic forms with JSON Schemas
Learn how to build forms without writing a single line of HTML by using JSON Schemas. Just define your form as JSON file and BOOM! It’s live✨ If you have many forms that differ just slightly, this one is for you!
https://www.peterullrich.com/build-dynamic-forms-with-json-schemas
TON - TON SDK for Elixir
https://www.badykov.com/elixir/blockchain/ton/
It allows:
- Generate a seed from a mnemonic
- Generate public and private keys from a seed
- Generate a v4r2 wallet from a public key
- Parse an address
- Create a transaction which can be submitted using TON API
Owl v0.6.0 - a toolkit for writing command-line user interfaces in Elixir
A new version of the library has been released.
Links:
- https://github.com/fuelen/owl
- https://hexdocs.pm/owl
- https://hex.pm/packages/owl
- Topic on ElixirForum
Enhancements
-
Highly customizable tables! The biggest change in this release.
They work with
Owl.Data.t()which allows colorizing even different chars inside a cell, not just a whole cell. Input expects a list of maps, and this structure allows autodetection of columns. There is sorting and filtering of columns, ability to specify max width for entire table and for individual columns. See all options in docs. -
Allow labels for progress bar to be
Owl.Data.t()
🎉 Announcing Elixir Vulnerability Scanning & Management 🎉
Paraxial.io can now scan your Elixir project for vulnerabilities, and records a detailed audit trail for your regulatory and compliance needs.
TIL: Using phash2 for data partitioning
In programming, we often need fairly distribution of data. Using phash2 we can get the same hash for the same Erlang term regardless of machine architecture and ERTS version. This fast function should always be used for hashing any data and limiting the result to a range of integers.
Check: https://bartoszgorka.com/using-phash2-data-partitioning
Elixir/Phoenix Security: Denial of Service Due to Atom Exhaustion
In Elixir, unrestricted atom creation is a denial of service vector. Learn how to find and prevent this vulnerability in your Phoenix apps!
ThinkingElixir 132: Embed Friendly Alternative to LiveView?
Episode 132 of Thinking Elixir. LiveView isn’t always the right answer. Chris Nelson created LiveState to enable embedding custom HTML components in other websites and connect over Phoenix channels to keep UI state on the server! LiveState takes an interesting approach that tries to keep many of the benefits of LiveView but apply it to situations like custom components in static sites hosted by other people. Chris explains how it works and what problems it solves. Check it out!
Finitomata marries Ecto
Wrote some rant on Business Process Driven Development with Finite Automata (and Finitomata library in particular.)
Principles of Elixir Application Development
Hello fellow Elixir enthusiasts!
I wanted to share a blog post with you all that I think will be of great interest. The post is called “Principles of Elixir Application Development” and it covers some key principles and best practices for building robust, scalable Elixir applications.
You can find the post here: https://medium.com/@SergeyChechaev/principles-of-elixir-application-development-a4f5018094c5 I hope you enjoy it and find it useful! Let me know what you think in the comments.
The Ultimate Enum Cheatsheet
Finding the right Enum function can be hard for newcomers and even for more experienced Elixir devs. Maybe this new ExDoc cheatsheet can help with this?
ThinkingElixir 131: Start Securing Elixir and Phoenix
Episode 131 of Thinking Elixir. Securing our apps is our responsibility as developers. We are the custodians and the guardians of our user’s data. We met up again with Michael Lubas to discuss some lesser known community security resources and helpful tips to get us started with securing our Elixir and Phoenix applications!
Elixir/Phoenix Security: How attackers bypass IP based rate limiting
With the rise of cloud computing, attackers now have access to a large pool of IPs at low cost. Learn how attackers are bypassing IP based rate limiting, and how Paraxial.io blocks this technique.
ThinkingElixir 130: Bumblebee Buzz with José Valim
Episode 130 of Thinking Elixir. The Elixir community is buzzing with excitement around Bumblebee! Bumblebee makes it easy to use a variety of pre-trained neural network models in Elixir. José Valim, Paulo Valente, and Jonatan Kłosko join us to talk about this latest advancement. We learn how Bumblebee works, the abilities that are supported today, where things are going next and the longer term visions of what’s possible. We cover the new Livebook smart cells that create an easy playground for playing with Bumblebee, a single-file Phoenix example that does image classification, and much more!
Restrict Ecto Queries and prevent PII Leaks
This is part 2 of the “Build a Roles and Permissions system for Phoenix” series. Learn how to restrict all queries and prevent many PII leaks.
IntelliJ Elixir v14.0.0
Changelog
v14.0.0
Incompatible Changes
-
#2946 - @KronicDeth
- Drop support for IDEs < 2022.3.
Enhancements
Bug Fixes
-
#2911 - @KronicDeth
- Don’t update hex or fetch dependencies if SDK not selected when creating project.
[IOData, CharData, ANSIData] - The Best DataTypes For Printing Things To The Screen
A introduction to IOData, Chardata, & ANSIData and how useful these datatypes can be in elixir land.
https://github.com/TheCraftedGem/thecraftedgem.github.io/blob/master/IOData/IOData.md
Generate a SAS Token for Azure Event Hub in Elixir
A very small blog post showing how to generate a SAS Token in Elixir! (every example I found were outdated!)
https://jeanarjean.com/blog/2022-12-15-generate-sas-token-azure/
