This is so cool!!! Amazing work! Do you have a thread here where we could discuss this? I have a few thoughts
Thank you so much for saying so! And yes, I posted a feedback thread here.
Elixir/Phoenix Security: Introduction to Cross Site Request Forgery (CSRF)
This post covers how a CSRF attack works, and the defaults Phoenix gives you to discourage writing vulnerable code.
I wrote a small walkthrough of the new Neural Network smart cell in Livebook 0.8. Itâs simply amazing that you can run these models locally in Elixir now!
I wrote a blogpost/tutorial around how to build a nest form with LiveView for editing a one-to-many parent schema including all its children. Thereâs a lot of good reasons why people are strugging with those forms in LiveView, so I hope this is helpful in showing how things can work, but also providing insight into the underlying reasons for how the involved parts work.
This is part 2 of the âBuild a Roles and Permissions system for Phoenixâ series. It covers how to restrict all Ecto queries and prevent many PII leaks.
Elixir/Phoenix Security: Denial of Service Due to Atom Exhaustion
Wrote a blog post about why creating atoms at runtime is a bad idea, and how to prevent this in your own Phoenix apps.
A while ago, I asked a question about splitting strings on unicode word boundaries. Since then, I actually went on to solve the problem and it turned to be more interesting than I originally thought (spoiler: it ended up involving Rust and a NIF).
This is the end result, in case you are interested: Chunking strings in Elixir: how difficult can it be?
@aochagavia, really enjoyed your post and your findings. As you may recall from our conversations at the time you were looking at unicode_string, the fact that it barfs on invalid UTF8 is definitely an irritant and due to the fact that the unicode break algorithms (line, word, grapheme) are all regex-based. This probably also is the reason the performance is not linear to the length of the string.
Now I feel challenged (in a good way) to do better. And over coffee this morning think I worked out it wonât be too hard to hand-compile the regexes into Elixir pattern matches with sub-binary optimisation. This should make matching more resilient, more performant and more linear.
Iâll report back after I run some experiments!
Great to hear! And thanks again for the library
This one is about how to build forms dynamically 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!
Wrote a blog post about leveraging Google Secret Manager to increase security in Elixir applications, and how to deploy them in a kubernetes context.
Did you know that you can build a remote control car from scratch using elixir? From the car itself to the app on your phone to control it, check out how our Americas office used Elixirâs fullstack capability to build a remote control car.
I built a guide for getting grounded on test driven development while learning Elixir. The first section is done and Iâd love to hear any feedback on it
P.S. This is an adaption of âLearning Go With Testsâ by Chris James. Itâs the most fun learning Iâve had in a while. Check it out here: Learn Go with Tests | Learn Go with tests
I still have a bit to go
Hello Everyone,
i am using Panicâs Nova.app for Elixir and Phoenix development, and started to document this journey on Dev.to. Since this is my first blog post in many many years, i tried to keep it short and to the point, pointing out which Extensions you want to install.
Thanks for reading!
Published an article on Hex dependency security. Two common sources of confusion are the Mix docs vs the Hex docs for finding relevant commands, and how Sobelow technically scans for vulnerable dependencies, but why you shouldnât use it for that purpose. Also has an index of relevant mix commands.
I published this post yesterday about how to use head and tail. Itâs fairly basic stuff, but I tried to cover it as in-depth as possible.
I love âLearn Go with Tests by Chris Jamesâ, it has become for me a valuable resource for both learning Golang and learning how to take better tests, I will follow your project and I hope it helps me in my Elixir learning journey, thank you and success!