Elixir Blog Posts

blog-posts
wiki
stickies

#325

A post was split to a new topic: Choosing Elixir’s Phoenix to power a real-time Web UI


#326

Hey all,

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!


#327

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.


#328

Building a distributed chatroom with Raxx.Kit

http://crowdhailer.me/2018-05-01/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.


#329

#330

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.


#331

I actually do use luerl and the sandbox implimentation in the develop branch in the blog post, unless you ment something else?


#332

Yes, that’s what I meant.


#335

#336

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!


#337

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.


#338

I have blogged because I have been asked the questions of “is Elixir good for my project” many times recently:


#339

#340

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.


#341

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”


#342

Whoops, good catch!


#343

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.


#344

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!


#345

Playing Together with Elixir Binaries – Strings :slight_smile:

Article Image

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


#346

This is a gentle introduction to getting your Phoenix app up and running on a $5/month server at Digital Ocean. It starts from zero, assuming minimal experience with servers. It assumes you are running macOS.

By @jakemorrison