Nicolas Leiva
banner
nleiva.com
Nicolas Leiva
@nleiva.com
Proud dad • Senior Cloud Network Architect, CTO Office @Bloomberg. Opinions are my own.

Networking, Cloud & Automation.
How ironic… After spending the last 10 years boring everyone to death about IPv6 being the future and NAT being evil… my first OpenConfig YANG model contribution is for… checks notes …Network Address Translation 🤦‍♂️

Go ahead, throw your tomatoes.

github.com/openconfig/p...
Add NAT model by nleiva · Pull Request #1335 · openconfig/public
Change Scope This PR introduces a new YANG data model for Network Address Translation (NAT). This is a new model, so the change is backward compatible. We use NAT instances to stay in line with R...
github.com
September 2, 2025 at 10:30 PM
LLMs feel like a black box, so I built my own ChatGPT clone in Go. Learned about cost, context, and control along the way. Full write-up: bit.ly/ChatGPT-clone
How to Build a ChatGPT Clone in Go: Cost, Context, and Lessons
Learn how to build a ChatGPT clone in Go with Fiber, HTMX, and Templ. Covers costs, context handling, and lessons learned.
bit.ly
August 25, 2025 at 1:19 PM
Just nailed my first homemade cheesecake with half the calories, double the protein!
August 8, 2025 at 2:38 PM
Reposted by Nicolas Leiva
Sooooo I haven't started a new golang project from scratch in a few years and had to dig into it today.

Def going to integrate this work into Konductor devcontainer next, but I really enjoyed learning about some of the new tooling making code chores a lot easier.

Blog for giggles.
🔧 Golang installation and management in 2025 🚀
A comprehensive macOS and Linux approach to setting up and managing your Go development environment
blog.usrbinkat.io
May 13, 2025 at 7:45 AM
🫣Spotted in a great book by @jeffiel.com
July 9, 2025 at 2:43 PM
No one loves YANG, but we are stuck with it. nleiva.medium.com/yang-data-mo...
Practical YANG Data Modeling with Go
YANG Model definition, Go code generation, crafting message payloads, and data validation for Cisco, Juniper, Arista, and Nokia devices.
nleiva.medium.com
July 9, 2025 at 11:35 AM
Network Automation role open! A team I work closely with at Bloomberg is hiring a Senior Software Engineer (Network Production Engineering) in London: bloomberg.avature.net/careers/JobD...
Senior Software Engineer - Network Production Engineer
bloomberg.avature.net
July 3, 2025 at 12:28 PM
Continuously monitor and enforce desired state with gNMI: github.com/nleiva/gnmi-...
GitHub - nleiva/gnmi-query
Contribute to nleiva/gnmi-query development by creating an account on GitHub.
github.com
July 2, 2025 at 7:44 PM
Bloomberg Message (and its offspring, Instant Bloomberg) backstory: ted-merz.com/2023/05/09/b...
Bloomberg Message
Bloomberg’s most valuable application wasn’t proposed by senior management or product managers. It wasn’t part of a strategic plan. It wasn’t conceived as a killer app. It was pitched and built by …
ted-merz.com
June 12, 2025 at 1:48 AM
GitHub - nleiva/go-yang-basics
Contribute to nleiva/go-yang-basics development by creating an account on GitHub.
github.com
April 10, 2025 at 8:30 PM
Reposted by Nicolas Leiva
Today I'm proud to launch your new favourite Go book in early access!

This book will go to a depth not seen before in Go books, and the first three chapters are available right now:
www.bytesizego.com/books/anatom...
March 25, 2025 at 6:28 AM
It wasn’t in my bucket list to become AI
cc: @networkop.bsky.social
March 20, 2025 at 5:01 PM
Hey @netdevops.me what would the SR Linux interface config look like for the KNE multivendor example? github.com/openconfig/k...
kne/examples/multivendor at main · openconfig/kne
Contribute to openconfig/kne development by creating an account on GitHub.
github.com
January 28, 2025 at 11:04 PM
Falling in love with @streamlit.bsky.social to create Python web applications. My first one: nleiva.streamlit.app
nleiva.streamlit.app
December 27, 2024 at 6:10 PM
Reposted by Nicolas Leiva
One downside to handles are domains is if I put @justingarrison.com on a slide and someone doesn’t know about Bluesky handles they won’t know where to find me

CNAME records to redirect.bsky.app is a nice feature for people who don’t have anything hosted on their handle domain
November 22, 2024 at 4:44 PM
Reposted by Nicolas Leiva
What does it mean for something to be Turing complete?

I answer this question, and more, through a series of fully interactive Turing machine simulations! Play, pause, step forwards and backwards, and even write your own Turing machine programs in my latest blog post.

samwho.dev/turing-machi...
December 20, 2024 at 10:33 PM
Is automating network access control list (ACL) deployments your thing? 🔐

bloomberg.avature.net/careers/JobD...
Senior Software Engineer - Network Policy Automation
bloomberg.avature.net
December 6, 2024 at 4:38 AM
Busy year! Blogging took a backseat, but here's a quick one before going on vacation.

medium.com/@nleiva/lear...
10 Awesome Free Resources to Learn Go
Best resources to start learning Go (Golang)
medium.com
December 3, 2024 at 3:29 PM
Timeless keyboard shortcuts.

clementc.github.io/blog/2018/01...
November 26, 2024 at 12:09 AM
My Kubernetes networking bookmarks about to hit 300 ⭐️ github.com/nleiva/kuber...
GitHub - nleiva/kubernetes-networking-links: Kubernetes Networking recommended reading list
Kubernetes Networking recommended reading list. Contribute to nleiva/kubernetes-networking-links development by creating an account on GitHub.
github.com
November 22, 2024 at 2:41 PM
Reposted by Nicolas Leiva
working on this unix redirects diagram today
November 21, 2024 at 6:56 PM
MIT class on Distributed Systems looks neat: nil.csail.mit.edu/6.5840/2024/...
November 19, 2024 at 1:31 AM