A post was split to a new topic: Choosing Elixir’s Phoenix to power a real-time Web UI
I wrote a bit this week about my struggles in finding a fast, safe way to do a hex dump from within an Elixir application. The articles goes through a few possibilities, presents their drawbacks, and then lands on a final DIY solution.
Check it out, and let me know what you think!
Here’s a tangentially related follow-up to my last post. I’ve been working on this for a while, and publishing a lot of content leading up to it. Check out my newest article on “Connecting an Elixir Node to the Bitcoin Network”.
It’s a big article that covers a lot of ground, but I’m extremely excited about it. Let me know what you think. Hopefully someone finds it interesting or helpful. I’m sure I’ll continue down this vein in future articles.
Building a distributed chatroom with Raxx.Kit
Step by step walk through to building a multi-node chatroom based on the Raxx micro-framework.
Bonus: No websockets needed, HTTP/2 supported by using Ace server.
Another alternative is to use Luerl which a complete standard Lua 5.2 implemented in Erlang. Can be truly sandboxed if necessary. https://github.com/rvirding/luerl Yes, it’s by me. I could not add a comment to the blog post.
I actually do use luerl and the sandbox implimentation in the develop branch in the blog post, unless you ment something else?
Yes, that’s what I meant.
Hi everyone! I have been casually learning Elixir for a while and I also started blogging about it recently. I’d love to use it in production some day. My first article is an introduction to Plug. Enjoy!
I’ve been playing with property-based testing in my personal projects lately. I found a perfect opportunity to put it to use when writing a decoder for the Bitcoin BIP-39 encoder I previously built and wrote about.
Property testing actually found a bug in my original implementation that I definitely wouldn’t have caught through manual testing! This was an eye opening experience for me for sure.
Check out the full article for more of an explanation, and a runthrough of the decoder’s implementation: Reversing BIP-39 and the Power of Property Testing.
Hopefully someone else finds all of these Bitcoin-related articles interesting. I know I do.
I have blogged because I have been asked the questions of “is Elixir good for my project” many times recently:
More Bitcoin/Elixir fun. This week I decided to beef up our in-progress Bitcoin node by swapping out the GenServer behavior with @fishcakez’s Connection behavior. This lets me be much more nuanced about how I handle connection problems with peers, and also turns my synchronous connection process into an async process. Check out the full article if that sounds interesting.
Nice article! Definitely makes me want to actually try out the
Connection library. Also you have a small typo.
the loss of a single node it’s a big deal
I think that should be “isn’t a big deal”
Whoops, good catch!
Over the last few weeks, we have been building a web application in one of our clients and ended up duplicating some template code. These new pages had something in common between them, but not with the rest of the application. We needed an inner layout to reuse the template code between these pages, however, Phoenix doesn’t come with this feature. In this post, you’ll learn how you can build nested layouts in Phoenix and when you should use them.
And another one! This time we swap our a single-node supervisor for a
DynamicSupervisor and start recursively connecting to other peers throughout the Bitcoin network.
Full post here: Spreading Through the Bitcoin Network
One of these days I’ll have a mostly adequate full-node implementation!
Playing Together with Elixir Binaries – Strings
This article comprises of things that you’ll encounter while working with Strings and Raw bytes explaining with real situational examples. I tried to design the images, to focus on what we are talking. Hope you like them.
Happy Coding !
A small gist