Franky

50 Flips | 7 Magazines | 2 Likes | 3 Followers | @Franky34no | Keep up with Franky on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “Franky”

Good Code vs Bad Code in Golang

Recently, I was asked to detail what makes a good code or a bad code in <b>Golang</b>. I found this exercice very interesting. Actually, interesting enough …

Five things that make Go fast

<i>Anthony Starks has remixed my original Google Present based slides using his fantastic Deck presentation tool. You can check out his remix over on</i> …

Go Videos

The Lightning Network Rookie Guide

<b>This article is part 1 of the new “Catching the BlockChain train” series: “The Lightning Network Rookie Guide”.</b><p>Oh my, a new series! Tell me …

Bitcoin

Code your own blockchain mining algorithm in Go!

<i>If you have any questions or comments about the following tutorial, make sure to join our</i> <b>Telegram</b> <i>chat. Ask us anything!</i><p>With all the recent craze in …

Practical Go Benchmarks

This collection of practical performance benchmarks of Go packages and algorithms aims to help developers write fast and efficient programs.<p>The …

Streaming IO in Go

In Go, input and output operations are achieved using primitives that model data as streams of bytes that can be <i>read</i> from or <i>written</i> to. To do this, …

JavaScript

The complete guide to Go net/http timeouts

When writing an HTTP server or client in Go, timeouts are amongst the easiest and most subtle things to get wrong: there’s many to choose from, and a …

35 Amazing Real World Examples Of How Blockchain Is Changing Our World

It’s quickly becoming apparent that blockchain technology is about far more than just Bitcoin. Across finance, healthcare, media, government and other sectors, innovative uses are appearing every day.<p>Here is a list of 35 which I have come across. While some may fail to live up to their promises, …

Blockchain

Behind the Scenes: Building a Dynamic Instrumentation Agent for Ruby - Sqreen Blog | Modern Application Security

TL;DR<p>Building a Ruby Dynamic Instrumentation Agent is no easy task. We’ve been working hard at Sqreen to make our protection transparent and …

The 15 most popular Ruby links of 2016 🔻

We’ve delved into all the data from <i>Ruby Weekly</i> and found the most popular links of the year.<p><b>Here’s a round-up of articles, news and tutorials that</b> …

Git Tutorials and Training

Gray Soft / Ruby Tutorials / Code as a Data Type

Code as a Data Type<p>Introduction<p>This is the first of a series of articles where I will try to demystify some Ruby idioms for the people who come to …

Programming

How To Make A DSL, Hygienically

In this article, I’m going to show you how to implement a DSL like this:<p>That produces XML like this:<p>Using code like this:<p>I’ve given this Ruby XML …

spf13-vim – The Ultimate Distribution for Vim Editor

spf13-vim is a cross platform and highly customizable assortment of vim plugins and various resources for Vim, GVim and MacVim. It works in Linux, …

7 Design Patterns to Refactor MVC Components in Rails

In our previous post, The Basics of MVC in Rails, we discussed theoretical aspects of the MVC design pattern. We defined what MVC stands for, …

Go best practices, six years in

(<i>This article was originally a talk at QCon London 2016. Video and slides here.</i>)<p>In 2014, I gave a talk at the inaugural GopherCon titled Best …

Git as a NoSql database

Git’s man-pages state that it’s a <i>stupid content tracker</i>. It’s probably the most used version control system in the world. Which is very strange, …

→ Eager Loading (preloading) - 3 ways to do it in Rails 3 4 5

You are probably already familiar with the method #includes for eager loading data from database if you are using Rails and ActiveRecord. But do you …

Brief introduction to internationalization in Rails

<b>After creating your Ruby on Rails app you obviously want to reach as many users as possible. That’s the right time to think about internationalizing</b> …

Software Engineering

Stream CSV Files In Rails Because You Can

Using Rails and Ruby Enumerators to start sending data faster<p>I was reading the ActiveAdmin docs, as one does, when I read that ActiveAdmin, by …

Programming

Watching and Understanding the Ruby 2.1 Garbage Collector at Work

12 Mar 2014<p>The most common way to check up on Ruby’s Garbage Collector (GC) is probably calling GC.stat, which returns a hash of of information about …

Arrow left

Though we pride ourselves on our transparent and remote-friendly workplace, our project focus tends to inadvertently silo engineers from each other. …

Generating PDFs From HTML With Rails

There are many ways to generate PDFs in Ruby and Rails. Chances are that you are already familiar with HTML and CSS, so we are going to use PDFKit to …

Avoid Mutation – Functional Style In Ruby

This article is about incorporating functional programming concepts into Ruby code, in a pragmatic way – something I call “functional style.”<p>And when …

Error Handling in Rails — The Modular Way

A Modular approach to handle errors in Rails.<p>Murphy’s Law:<p>As Murphy’s Law states <i>anything that can go wrong will go wrong,</i> which is why it is …

A Review Of Immutability In Ruby

Shared mutable state is the source of a lot of bugs. When two or more objects use the same piece of mutable data, they all have the ability to break …

On getting productive with Git

I remember the first time I submitted a pull request in GitHub and some reviewer asked me to squash the commits. I had no idea what they were talking …