LoigeLoige

Luciano Mammino

Cloud developer, entrepreneur, fighter, butterfly maker!

Middy 1.0.0 is here

Middy, the Node.js middleware framework for AWS Lambda, has finally graduated to 1.0.0! A long awaited milestone for the project. In this post we will discuss what middy is and what are the main features of this first stable release. What is middy If you are hearing about middy for the first time, middy is a middleware framework for AWS Lambda written in Node.js. Middy has the goal to simplify the way you write Lambda code, essentially by providing a convenient middleware abstraction (similar to the ones…

Luciano Mammino's Profile pictureLuciano Mammino#serverless, #node-js, #javascript26 April, 20207 min

Read the post →

2019 - A year in review

A little bit later than I expected over the new year, but here we are again, with my usual introspective post to figure out how the hell did the last year went and how to make the best out of the new year. This is going to be boring (again I do this kind of posts selfishly only for myself), so brace yourself if you really want to keep going on this! Tech Leadership Training Possibly the biggest achievement of last year was my contribution as a teacher to the Tech Leadership Training - Taking you from…

Lean NPM packages

Every developer on the planet knows how modular Node.js and the JavaScript ecosystem have become. This is probably due to the great job that package management systems and registries like bower (discontinued) and npm carried over in the last few years. I personally believe that this is also a consequence of the “many small modules” philosophy that has been popularised within the JavaScript ecosystem. This is great, but all that glitters is not gold… Look, for instance, at this picture for a second: Yeah…

Fastify and Preact for quick web app prototyping

In this article I will show my setup to build and share web apps prototypes using Fastify and Preact, two technologies that I love. I will also use htm, a library that can be easily integrated with Preact to define DOM elements in a very expressive and react-like way (like JSX), without having to use transpilers like Babel. Finally we will see how to dockerize a sample app built with this setup. This will make the app easy to share with co-workers and friends. I came up with this stack, few weeks ago when I…

JavaScript iterator patterns

In this article we will explore different ways to create iterators and iterable values in Javascript, specifically functions, iterators, iterables and generators. JavaScript is a very flexible language and most often you can achieve the same goals in many different ways, iterators are no exception! Wikipedia defines iterators as follows: In computer programming, an iterator is an object that enables a programmer to traverse a container, particularly lists. Various types of iterators are often provided via a…

2018 - A year in review

It is that time of the year when I have to look back at the previous year and see what were my achievements, my failures and set my expectations for my 2019. Full disclosure: I write this type of posts mostly for myself, so I expect this to be boring to death and most likely useless for everyone else. You have been warned, read at your own risk! Static blog migration Interesting achievement of the last year is that I finally migrated this blog from Ghost to a static setup using totally free and Open Source…

A random emoji in your terminal prompt. How and Why!

In this article, we will see how to customize our terminal prompt and add a random emoji in it. This is my terminal prompt: If I could have a penny every time somebody asked me how did I put a random emoji in there, well… I wouldn’t probably be a millionaire, but I would definitely be able to afford few more coffees every day and be less sleepy 😴! In this article I’ll explain how I emojified my terminal and, since it is very simple stuff, I’ll also try to explore some extra details on how to customize…

Emerging JavaScript pattern: multiple return values

In this article, I want to explore an interesting pattern that I am seeing more and more in JavaScript code which allows you to return multiple values from a function. You probably know already that JavaScript does not support multiple return values natively, so this article will actually explore some ways to “simulate” this behavior. One of the most famous usages of this pattern I have seen recently is within React Hooks, but before delving into that, let’s see what I mean with “multiple return values” by…

AWS Solution Architect Associate exam, my notes and tips

In this article, I will share some of my notes and tips that might be useful if you are studying to get the AWS Solution Architect Associate Certification. I recently took this certification and I have to admit it was a little bit more challenging than I originally expected. I have been using a variety of AWS services professionally in the last 3 years, so I was optimistically expecting this practical experience to be enough. In reality, I had to spend some time to study and fill some gaps about important…

AWS Command line: S3 content from stdin or to stdout

This article presents a quick tip that will help you deal with the content of files in S3 through the AWS command line in a much faster and simpler way. Did you ever want to simply print the content of a file in S3 from your command line and maybe pipe the output to another command? Or maybe, did you ever needed to pipe the standard output of a sequence of commands directly into a file in S3? I had this need multiple times and, before my amazing colleague Paul made me discover the tip I am about to describe…

Loige.co

Copyright © Luciano Mammino 2014-2020.

Built with Gatsby, Coffee and a lot of ❤︎.

Loige logo designed by Andrea Mangano.

Hosted on GitHub, accelerated by Cloudflare.

Theme inspired by React documentation.

Icons by Font Awesome.

Explore
BlogSpeakingAboutComment Policy