Making a dent in the tech universe
Making a dent in the tech universe
Sustainability in IT business. What you can do to decarbonise
Most of us are onboard with the fact that humans have been overconsuming the earth's resources at an unsustainable rate. Action from a global, government, and local government level is still unsatisfactory. Everyone needs to start doing their bit, and hopefully each little bit adds up and makes a big difference.
Pragmatic Refactoring
Last year, I read the amazing *99 Bottles of OOP* by Sandi Metz, Katrina Owen & TJ Stankus. The book explores OOP concepts and how to refactor code while being one cmd + z
away from green tests. It teaches “practical techniques for getting things done that lead, naturally and inevitably, to beautiful code”, by changing one line at a time.
Testing ActiveRecord Concerns
ActiveRecord classes manage persistence and have a tight relationship with their database tables. This relationship, sometimes, makes testing tricky and even trickier when testing Rails concerns. This article describes how to test a concern in isolation from its ActiveRecord class and its associated database table.
An alternative to service objects
Service objects are overused. They have become the default solution for any new features in a Rails codebase. They’re also hard to talk about as they mean different things for different people. Here is how I define them:
Rails best practice security exceptions
However, these security features can adversely affect real users and you may notice ActionController::InvalidAuthenticityToken
exceptions appearing in your production runtime which can be challenging to reproduce.
Chatbot & Natural Language Processing
The talk covers the basics of implementing a chatbot through Facebook Messenger using a Natural Language Processing (NLP) API called RecastAI.
Static Website Generators: Ultimate Caching?
Static files handle large traffic easily. Photo cred: Sergey Pesterev (Unsplash)
React On Rails with Devise: Two Ways
Hi, I’m Kate! I’ve been working as a web development intern at Abletech for the last two months. Recently I’ve been investigating using React together with Ruby on Rails. My task was to discover common ‘gotchas’ and figure out what it would take to use React in our next project.
Elixir for JavaScript and Ruby developers
This talk will be an introduction to Elixir in the form of a walk-through of a real-world application (Addressfinder).
Adding Docker to a Rails application
This content is based on a presentation that I gave at WellRailed, a Wellington, New Zealand based Ruby on Rails meetup in December 2016.
Get rid of your Vim plugin manager
With the advent of Vim 8.0, there is now a native way to add plugins (now called packages), so you can get rid of your Vundle/Pathogen/<insert flavour here>
package manager at long last.
Elixir Learnings #1: First Learnings
TL;DR: Use — no-halt with mix run
to keep an app with non-blocking processes running!
Pragmatic Refactoring
Last year, I read the amazing *99 Bottles of OOP* by Sandi Metz, Katrina Owen & TJ Stankus. The book explores OOP concepts and how to refactor code while being one cmd + z
away from green tests. It teaches “practical techniques for getting things done that lead, naturally and inevitably, to beautiful code”, by changing one line at a time.
Testing ActiveRecord Concerns
ActiveRecord classes manage persistence and have a tight relationship with their database tables. This relationship, sometimes, makes testing tricky and even trickier when testing Rails concerns. This article describes how to test a concern in isolation from its ActiveRecord class and its associated database table.
An alternative to service objects
Service objects are overused. They have become the default solution for any new features in a Rails codebase. They’re also hard to talk about as they mean different things for different people. Here is how I define them:
Rails best practice security exceptions
However, these security features can adversely affect real users and you may notice ActionController::InvalidAuthenticityToken
exceptions appearing in your production runtime which can be challenging to reproduce.
Chatbot & Natural Language Processing
The talk covers the basics of implementing a chatbot through Facebook Messenger using a Natural Language Processing (NLP) API called RecastAI.
Static Website Generators: Ultimate Caching?
Static files handle large traffic easily. Photo cred: Sergey Pesterev (Unsplash)
React On Rails with Devise: Two Ways
Hi, I’m Kate! I’ve been working as a web development intern at Abletech for the last two months. Recently I’ve been investigating using React together with Ruby on Rails. My task was to discover common ‘gotchas’ and figure out what it would take to use React in our next project.
Elixir for JavaScript and Ruby developers
This talk will be an introduction to Elixir in the form of a walk-through of a real-world application (Addressfinder).
Adding Docker to a Rails application
This content is based on a presentation that I gave at WellRailed, a Wellington, New Zealand based Ruby on Rails meetup in December 2016.
Get rid of your Vim plugin manager
With the advent of Vim 8.0, there is now a native way to add plugins (now called packages), so you can get rid of your Vundle/Pathogen/<insert flavour here>
package manager at long last.
Elixir Learnings #1: First Learnings
TL;DR: Use — no-halt with mix run
to keep an app with non-blocking processes running!