Marco Pegoraro
  • About Me
  • Communication
  • Tutorials
  • Tips & Tricks
  •  

    Books That Shaped My Life

    You become what you read, So read what you want to become. Communication, Body Language, Personal Development, Biographies & more.

    Dec 16, 2025

  • ai

    50 FIRST TASKS

    Code assistants forget stuff. Here's how to teach it not to. Boost Copilot, Cursor, and other assistants with a structured Memory Bank to make every task smarter, faster, and even more human.

    Jul 13, 2025

  • ai

    AI is Moving Fast. But Context Moves Slower.

    AI automates tasks, but the real challenge isn’t execution—it’s gathering context. And much of that context lives outside IT systems, buried in human interactions, undocumented knowledge, and team dynamics. Until AI can bridge that gap, understanding remains a human advantage.

    Feb 27, 2025

  • ai

    Context Fuels Language Models

    Just as machine learning algorithms rely on quality training data, large language models thrive on their given context.

    Jan 31, 2025

  • postgres

    PGMate, the client that rocks!

    PGMate is a Docker-based Postgres client that focuses on Developer Experience and packs features inspired by Postman, NPM, VSCode. And AI. lots of AI.

    Dec 12, 2024

  • ai

    Mastering Swedish with AI

    My Journey with ChatGPT as a Tailored Swedish Tutor I lived in Sweden for a decade and never truly mastered the language. I navigated daily life with...

    May 31, 2024

  • ai

    My first dive into AI

    A collection of posts that tell my learning experience in ML/AI with Python, JupiterLAB, and OpenAI

    Apr 14, 2024

  • ai

    Embeddings and all the Black Magic

    First steps with Embeddings and OpenAI: from API setup to a working Jupiter Notebook.

    Apr 14, 2024

  • ai

    My Docker-based AI/ML Training Environment

    Dive into Docker, JupyterLab, and machine learning with 'learning-python'. Features Python 3.9, NodeJS, and PostgreSQL with pgvector. Start with make start at localhost:8888.

    Apr 14, 2024

  • Docker

    Ditching Docker Desktop

    How we learned to run Docker natively and save 55k a year!

    Feb 28, 2024

  • ai

    AI Can't Fuck it Up!

    AI skills scale fast, but human error births innovations like penicillin and X-ray. Our imperfections drive ingenuity, making us irreplaceably creative.

    Nov 5, 2023

  • team

    Rehearsed Remotely, Delivered Dramatically

    See how we went from practicing online to rocking the stage in real life. We're a team spread out all over Europe, but we're coming together to show off the tech that will change how we work. Don't miss out!

    Oct 4, 2023

  • book

    Extreme Ownership

    Owning Leadership with SEAL Precision - Book review

    Jul 28, 2023

  • book

    The Books that Shaped my Thoughts

    The more you read, the more you grow. But the better you read, the faster you learn! Here is my list of books. Ideas that helped me grow.

    Jul 28, 2023

  • book

    Exactly What To Say

    The Magic Words for Influence and Impact - book review

    Jul 28, 2023

  • learning

    Teaching SQL with ChatGPT

    Explore how ChatGPT is transforming SQL learning. This AI doesn't replace database engineers, but serves as a powerful assistant that simplifies the creation of complex queries and data generation. Dive into the future of database education.

    Jun 13, 2023

  • war stories

    Scale it up, stupid!

    Knowledge plays a paramount role in performance management, scalability of a system, and ultimately in regulating the costs of a product. In this story, I share a failure that pushed me to increase my knowledge.

    Feb 2, 2023

  • architecture

    Put the logic back in the DB!

    How to choose between DB-centric or horizontally scalable applications? This article explores the components of this choice, provides examples, and a practical checklist to answer this question.

    Dec 29, 2022

  • chatgpt

    Pair programming with ChatGPT

    I had a natural and practical pair programming experience with ChatGPT. I'm excited and shocked at the same time. Is this going to replace me?

    Dec 25, 2022

  • architecture

    Micro-Domain Architecture

    A Micro-Domain Architecture is an organization of People and Tech that aim to keep under control the amount of information that must be exchanged between different parties, and parallelize workstreams.

    May 28, 2022

  • Communication

    War doesn't determine who is Right, only who is Left

    Winning an argument or a debate is a matter of communication skills rather than owning the truth. I'm gradually learning this truth as I genuinely excel in being right while being perceived as wrong.

    Feb 28, 2022

  • ForrestJS

    Thy Shall NOT Burn in the Context Provider HELL

    How to structure your React PWA to achieve loose coupling of features and avoid the Context Provider Hell

    Jan 31, 2022

  • my story

    Honor Thy Father and Thy Mother

    How does your family react to your AFib management lifestyle? Here is my story.

    Jan 11, 2022

  • my story

    A Far Death Experience

    Near-Death Experiences allegedly give us a peek into the Great Beyond, but you don't always need to die to steer your Life clear from the rocks.

    Jan 8, 2022

  • Metabolic Health

    Outrun the Lion

    You have to take care of your body if you want to outrun the lion! Proper training saves your life and improves its quality.

    Dec 2, 2021

  • Leadership

    The One Secret to Leadership

    The one secret is to step aside and ask your team the "what question" so to guide them to a solution that you believe in.

    Dec 1, 2021

  • my story

    A Country Race to Diagnose Atrial Fibrillation

    In this story, I’m going to tell you my experience with the healthcare system of the 3 countries: Sweden, Denmark, and Italy.

    Nov 29, 2021

  • my story

    The Apple Watch got it first!

    The first diagnosis of Atrial Fibrillation came from my Apple Watch. And my cardiologist took that into serious consideration.

    Nov 29, 2021

  • my story

    AFib, Early Symptoms

    The first signs, my worries, and how I got to pay full attention to my Atrial Fibrillation.

    Nov 18, 2021

  • my story

    The Danish Doctor

    This is how I got my AFib diagnosis in Denmark thanks to my company's private healthcare insurance. Part of the series: A Country's Race to Diagnose.

    Nov 18, 2021

  • my story

    The Swedish Struggle

    Sweden is the country I live in. I sought help here but I received nothing so far. Here is my testify to a nightmarish healthcare experience.

    Nov 17, 2021

  • my story

    The Italian Job

    This is how I got my AFib diagnosis in Italy. Part of the series: A Country's Race to Diagnose.

    Nov 17, 2021

  • my story

    It’s all about my Lucky Star

    Sometimes, it's just too easy to give in to sadness and anger. But it is also possible to look at the bright side, as Monty Python used to sing!

    Nov 13, 2021

  • my story

    More Than a Feeling

    This is how I feel when Atrial Fibrillation strikes, and what I'm learning from it.

    Nov 11, 2021

  • my story

    The Last One

    Do you want to live happily ever after? You have to steer clear of sugar and start going to the gym. Said the doctor.

    Nov 11, 2021

  • Quotes

    The risk I took was calculated...

    But man, am I bad at math.

    Nov 6, 2021

  • Communication

    You Can Learn From Anyone

    You never know about the stuff that you don't know, and you never know what another guy knows. So it is better to keep an open mind about it.

    Nov 5, 2021

  • Import 2022-12-03 12:45

    Cookies Policy

    Cookie Policy for MarcoPeg.com This is the Cookie Policy for Ghost Pi, accessible from https://marcopeg.com. What Are Cookies As is common practic...

    Nov 4, 2021

  • Import 2022-12-03 12:45

    Projects

    I like to start new project. No, I LOVE to start new projects. Starting new projects give me the opportunity to go deep into one single subject and le...

    Nov 3, 2021

  • Import 2022-12-03 12:45

    About Me

    I was born to fly planes, luckily I'm a darn good web engineer!

    Nov 3, 2021

  • Communication

    Speak Your Customer's Language

    This is part of a series of good lessons that my dad tried to give me when I was young. Of course, I didn't get it for the best part of my life. But it is better late than never, right?

    Apr 12, 2021

  • Quotes

    Everything not saved will be lost

    Nintendo "Quit Screen" message.

    Apr 6, 2021

  • postgres

    Event Sourcing in Postgres: The Client

    How to store different client's reading cursor in PostgreSQL, so to facilitate consuming an event stream by different consumers.

    Mar 26, 2021

  • Quotes

    Strong people don't put others down

    They lift them up - Darth Vader (philantropist)

    Jan 20, 2021

  • postgres

    Event Sourcing in Postgres: The Events

    How to build a basic data model for Event Sourcing in PostgreSQL, and let multiple clients consume one or more topics.

    Jan 11, 2021

  • postgres

    Event Sourcing in Postgres

    How to build an Event Sourcing system using one of the best data-store tools available to humankind: Postgres!

    Dec 13, 2020

  • Tips & Tricks

    JavaScript: the Good Parts in 2020

    This is a personal list of the stuff that I like about JavaScript and that I believe should be used today.

    Oct 27, 2020

  • Tutorials

    ForrestJS & Fastify Examples

    Learn by examples how easy is to build a Fastify based Web Service with ForrestJS and its feature composability.

    Aug 6, 2020

  • FetchQ

    FetchqCRON

    Executing repeatable jobs is at the core of most IT projects. From following up a few days after a user signs up, to repetitive cleaning or caching procedures. FetchqCRON provides time-based execution as a service, on Heroku or on-premise via Docker. FOR FREE.

    Mar 31, 2020

  • Tutorials

    Hasura in Gitpod

    How to run Hasura.io in a GitPod.io workspace

    Feb 9, 2020

  • FetchQ

    FetchQ - An Introduction

    Two years ago, I was working on a web-scraper with my startup Mysocial.io and we needed to distribute work across multiple servers while achieving uniqueness in the system. We were handling hundreds of millions of tasks and FetchQ is the result of that effort.

    Jan 20, 2020

  • Tutorials

    How to integrate Hasura with Auth0

    Step by step guide on how to use Auth0 with Hasura in a Single Page App bootstrapped with Create React App.

    Dec 26, 2019

  • postgres

    Setup a Free PostgreSQL Database

    Do you want to learn Postgres? Today you can spin up your database completely for FREE and start experimenting with one of the best database tools ever.

    Dec 1, 2019

  • Tips & Tricks

    Online IDEs for Learning how to Code

    This is the best possible time to become a developer. Follow me and learn how to use FREE ONLINE RESOURCES to build a full-stack app that persists data in Postgres, exposes REST APIs with Fastify, and a sleek frontend with React and Ionic Framework.

    Nov 27, 2019

  • tools

    Gitbook Plugins

    Last weekend I've been working on some plugins for GitBook. Here is the list!

    Sep 10, 2019

  • postgres

    Per-User Encryption with Postgres

    In this article you learn how to apply per-user encryption to the data you store in Postgres. It is quite easy and it will allow you to guarantee the highest level of security and privacy to your users.

    Jul 15, 2019

  • ForrestJS

    Hooks - A truly modular NodeJS App

    How to create a truly modular NodeJS App where your business values are organized in features and all the necessary infrastructure comes from NPM modules.

    May 24, 2019

  • Tips & Tricks

    How to run Postgres for testing in Docker

    Running E2E integration tests often require your Postgres to be up and running, here are few tricks and suggestions how to do just that.

    May 21, 2019

  • Communication

    How to Win Friends and Influence People

    This book opened my eyes and helped me building up new relationships after my first marriage ended. You will get a list of simple principles to deal with people.

    Apr 8, 2019

  • Communication

    Never interrupt your enemy when he is making a mistake

    ... said Napoleon, and it took 38 years for me to understand it

    Apr 7, 2019

  • free

    A 100% Free Website with Gatsby and Gitpod.io

    Yes, I am working and hosting this website 100% for free thanks to GatsbyJS and Gitpod.io - here is how you can do the same

    Apr 1, 2019

  • Tips & Tricks

    How to keep your server clean of clutter with Docker Vacuum

    Do you need a smart tool to clean up Docker images after a new deployment? Maybe DOCKER SYSTEM PRUNE is not always enough? Read on!

    Mar 26, 2019

  • project

    Coding The Stuffer

    How comes when I need a specific service, I never find one ready?

    Feb 22, 2019

  • Tips & Tricks

    AWS S3 File Names - Troubleshooting

    How to delete S3 files that contains spaces or non ASCII characters

    Feb 20, 2019

  • Tips & Tricks

    Docker Compose Healthcheck

    How to monitor containers' status and create a deterministic boot order for your services.

    Feb 18, 2019

  • Tips & Tricks

    Gatsby Begins

    And so I tried out Gatsby and promptly decided to turn my WordPress-based blog into a static generated website.

    Feb 9, 2019

  • organization

    Best Practices for a Good Team Experience

    A few tricks I've learned that make collaboration easier.

    May 18, 2018

  • aws

    Optional Parameter in AWS CloudFormation Stack YAML

    The following YAML CloudFormation stack creates an EBS volume returning its reference for further usage in a higher level template. I’ve chosen to us...

    Mar 25, 2018

  • postgres

    Make it Parallel

    How to run consume a queue with multiple independent workers in Postgres, and survive!

    Feb 1, 2018

  • Tips & Tricks

    How to optimize Postgres for SELECT COUNT(*) on massive tables

    How to (slightly) optimize SELECT COUNT(*) performance on PostgreSQL using partial indexes.

    Dec 2, 2017

  • Tips & Tricks

    WP Admin proxy for NGINX

    How to proxy wp-admin in a headless WordPress setup.

    Aug 18, 2017

  • Import 2022-12-03 12:45

    Apple - Security for travelers sucks

    Did you know that you can't print any recovery code for your AppleID account? The more you protect it, the more is likely you lose control over it. And do you travel a lot? Then you'd better read this!

    Apr 5, 2017

  • Tips & Tricks

    WordPress on Thin Air

    How to squeeze WordPress/MySql to the bare minimum memory consumption, and survive.

    Mar 29, 2017

  • Tips & Tricks

    Docker Stats with Containers Names

    There is a way to get container's names out of `docker stats`, and Docker Humble makes it ridicolously easy for you.

    Feb 8, 2017

  • experience

    What is it like to be a Junior Developer?

    It's the magic moment in which you realise you can use your knowledge to make some money.

    Nov 24, 2016

  • Tips & Tricks

    Dockerized MySQL Crashes a Lot!

    Have you ever experienced a dockerized MySQL to stuck in low memory VPS? I did and luckily I found a solution! (yes, I googled it)"

    Nov 13, 2016

  • experience

    The Holy Grail of Code Sharing

    Codesharing is a concept that is whispered in a low tone around the office, is being shouted loud by tools producers, and is simply misunderstood by the great part of us, IT folks.

    Feb 27, 2015

  • data

    Sleep tight and have a happy Life!

    Backups are strange animals. In a perfect world you don’t need backups. You put efforts in building a solid backup strategy, you buy external drives, cloud storage and amazing software which you wish you never have to use in life.

    Jan 15, 2015

  • experience

    You'd better Test to save some Rest

    Since the day I became a developer, I've always feared the "Big What The Fuck".

    Jan 14, 2015

  • Communication

    The Curse of the Proud Developer

    When bad things happen on a Friday night, you ought to face your fears, seek help with your team, and work together to get to the beer you deserve!

    Jan 12, 2015

Copyright Marco Peg 2026
About • RSS • Cookies
Powered by Astro Build