Writing
Notes on data engineering and software — pipelines, tooling, and the occasional hard-won lesson.
SchemaChange deploying to Github
How to configure SchemaChange on GitHub to deploy script changes to your Snowflake instance.
Read more →Lambda development using Docker and Visual Studio Code
Discover how easy it is to create AWS Lambda functions use Visual Studio Code with Docker.
Read more →Stop hackers stealing Credit Card numbers from your Website
Having users manage their own payment details and having automated the billing is a huge time saver and it’s expected of websites. Though with anything to do with money, this needs to be done securely otherwise it will end in tears. Consider using the solutions adopted by the payment gateways Stripe and Braintree to secure your customer credit cards. This blog looks into how this works and what are its limitations
Read more →Intro into Rack
If you are aware of Rack, seeing it crops up in the stack trace, but you just haven’t gotten around to “understanding” it then this is the blog post for you.
I go through the Rack standard, before diving into how it intuitively works. With the bold promise that you will be a better programmer if you understand Rack as it is the backbone for a number of popular frameworks such as Rails and Sinatra.
Read more →Simplify your Code by using Ruby's blocks.
How ruby blocks can be used to simplify method that require custom configurations.
Read more →Memory Leaks Bloat Ruby
Read more →Quick look at AWS Lambda.
AWS Lambda provides a new tool in your tool box for creating modular solutions. It allows independent execution of code based upon AWS events or time schedule.
Read more →Adding Javascript Libraries to a Rails Project
Alternative ways of adding JavaScript libraries to a Ruby on Rail's project.
Read more →Don't Use Class variables.... Really
The reason why you should use Ruby's class instance variables instead of class variables
Read more →ElasticSearch in Rails
The reason why I selected ElasticSearch for a recent project and that the journey that got us there.
Spoiler alert it wasn’t my first choice nor second, but such a huge relief when it was tried, and it performed splendidly.
Read more →Accidentally applying the Strategy Pattern
I accidentially adopting the stratgey pattern for a recent project had me working on task extracting lists from a number of websites. My initial solution was to have a single class. It didn’t take long before it become verbose, with a number of branching if/else statements depending on the site being extracted. While my solution worked OK for one or two sites. I wasn’t going to be maintainable for 100’s of sites.
How do method variables work in Ruby
The inspiration of this blog post has been a recent question on Stack Overflow about whether Ruby passes the method variables by value or by reference.
Read more →