7 Tips for Building Kiosk Device with Nerves and Buildroot
For about a year I’m working on some interesting machine. The first challenge was to build a kiosk device. During working on that I’ve made a lot of research and ended up with Nerves.16 June 2018 ・ Reading time: 4 minutesUmbrella On Rails
So you want to have a Rails application with few other applications inside? Can I have a Rails application inside a Rails application? If you ever asked yourself such a question, you’ll find an answer. Let’s start!30 April 2018 ・ Reading time: 3 minutesBrewing the Firmware for Raspberry PI with Elixir and Nerves
As the PIX PROJECT started to be a real thing. I decided to make it more dynamic. The first version written in Ruby is very static. There is no easy way to animate dots within the clock for example. Also, you have to install the whole Linux, install packages and start the application. It’s not how the firmware works right? I decided to rewrite it into Elixir and wrap it with Nerves to create firmware. Let the story begin…27 December 2017 ・ Reading time: 5 minutesThe Beginner’s Guide to Linux Kernel Module, Raspberry Pi and LED Matrix
When I found an old broken bluetooth speaker with RGB LED matrix, I decided to make use of it. It will be the great challenge to connect LEDs to Raspberry and display some fancy information.10 September 2017 ・ Reading time: 6 minutesDefinitive guide to Rust, SDL 2 and Emscripten!
So, you want to write a game? And run it in the browser? Do you like Rust? Great! I’ll show you how to write a sample program in Rust using SDL2 and how to compile it with Emscripten.1 April 2017 ・ Reading time: 9 minutesLearning Tensorflow with Crystal
Crystal bindings for Tensorflow In this article I’d like to describe: How to build a tensorflow library How to generate bindings for Crystal How to use tensorflow library in Crystal Share the results of my work: tensorflow.cr Useful Links Crystal language: https://crystal-lang.org/ Crystal bindings generator: https://github.com/crystal-lang/crystal_lib Tensorflow: https://www.tensorflow.org/ Tensorfow repository: https://github.com/tensorflow/tensorflow tensorflow.cr repository: https://github.com/fazibear/tensorflow.cr rensorflow.cr examples repository: https://github.com/fazibear/tensorflow.cr_examples Install and build tensorflow To install and compile tensorflow we will need to install all these things:4 March 2017 ・ Reading time: 5 minutesDefql: SQL Queries as Elixir Functions
Elixir world is functional. There are no objects or instances at all. In this case, I asked myself a question.23 January 2017 ・ Reading time: 3 minutesStory About Inesita, Ruby Frontend Framework
Inesita aims to be a simple, light, Ruby front-end framework. It’s a component based framework focused on building web applications. Inesita uses an Opal runtime, so you will write Ruby code instead of JavaScript. Inesita is responsible only for view layer, development process and release build mechanism. Other things like how you store and change application state depends on you. View layer is built on top of virtual-dom, so there is no pain to render entire tree of components lot of times. But let’s start from the beginning.22 December 2016 ・ Reading time: 3 minutesReal-Time Audio Processing with Ruby
When I first read about MRuby, I just want to play with it. The first thing that came to my mind was a VST plugin. I could build a little wrapper, and pass all function to ruby interpreter. I’ll describe how I’ve done this.19 December 2016 ・ Reading time: 10 minutesElixir, Ruby, don’t fight. Benchmark!
Now we know how to talk to Ruby from Elixir. We’ve been described 3 methods so far. Now it’s time for comparisons and benchmarks. If you want to benchmark it yourself you can use the application in this repository. Let’s start!14 December 2016 ・ Reading time: 2 minutes