Tushar Sharma home
  • 🌛
    ☀️
  • TLS/SSL Certificates - For The Rest Of Us

    How does your browser know a website is legit? This post simplifies TLS/SSL, certificate validation, and the trust chain behind secure connections

    Read more →
  • IP Sockets - Networking Fundamentals - Part 1

    Sockets are a fundamental building block of network programming, and they provide an essential abstraction layer that enables applications to interact with the underlying network protocols.

    Read more →
  • Typescript's New `satisfies` Operator

    With the upcoming 4.9 release, Typescript will add this amazing new feature to make the types in your codebase even more reliable.

    Read more →
  • Type Safe Retry Function In Typescript

    A fully type-safe utility function to retry the function execution on failure.

    Read more →
  • Golang Modules And Packages

    A quick introduction to using modules and packages in golang.

    Read more →
  • CSS Container Queries

    CSS' new container queries will be a game changer for responsive design. Here's a quick summary of what container queries are and how they are different from CSS media queries

    Read more →
  • Listening To Events By AWS Services

    We recently needed to run some custom logic whenever one of our SQS-Lambda integration was disabled. In fact, at times there are use cases when we need to take some action when something happens in our AWS account. Here's how we use EventBridge to do just that.

    Read more →
  • Understanding Kadane's Algorithm

    Explanation and implementation of Kadane's algorithm which is one of my favorite algorithms.

    Read more →
  • SSM Parameters For A Better CloudFormation Experience

    How we use SSM Parameter Store for managing our AWS resources created by CloudFormation.

    Read more →
  • Re-visiting React Hooks - useEffect

    A little late but writing my thoughts on why React Hooks are great and especially the useEffect Hook.

    Read more →
  • Write Better CloudFormation Templates

    Some good practices that should be followed while working with CloudFormation. These practices have helped us to write better CloudFormation templates and deploy more often with extra confidence.

    Read more →
  • AWS Elastic Container Service - An Overview

    Amazon Elastic Container Service (Amazon ECS) is a fully managed container orchestration service. A lot of enterprise software companies use ECS to run their most sensitive and mission critical applications because of its security, reliability, and scalability.

    Read more →
  • Composability - Writing CSS That Scales

    We are so much focused on improving infrastructure of servers and applications that we miss out on talking about maintaining CSS which is one of the most important aspect of an application. In this post, I walk you through two patterns to write better CSS.

    Read more →
  • It's 2020 and We're Still Doing Pagination The Wrong Way

    REST APIs are everywhere. API performance has never been more important than it is today yet the most common approach to building paginated APIs is somewhat misleading. In this post, I have shared my thoughts on building paginated REST APIs.

    Read more →
  • React Fiber Architecture - An Overview

    In this post I'll talk about the internal architecture of React also called the React Fiber.

    Read more →
  • Node Design Patterns - Reactor Pattern

    In this blog we'll take a look at a pattern which is used all over the node core.

    Read more →
  • Retry Design Pattern with Javascript Promises

    We can use promises and sprinkle some recursion on top of it to create auto retry function pattern.

    Read more →
  • Deep Dive - How Does SSH Really Work?

    SSH makes accessing remote servers super easy and secure. But how it does that is the real interesting part.

    Read more →
  • Text Encodings - What Every Software Engineer Should Know

    The bare minimum of Text Encodings and Schemes without going too much into details.

    Read more →
  • What are Generator Functions, Anyway?

    Generators are super cool and super helpful in some cases. But How?.

    Read more →
  • XOR - A Powerful Lodash Method

    Get toggle functionality out of the box with lodash's xor method.

    Read more →
  • MongoDB - Update And Query Operators for Arrays

    Querying and updating arrays in mongoDb can be tricky. mongoDB has a rich set of very useful array operators. Since arrays play an important role when designing the database schema, in this post I will explain how to and when to use array operators in mongoDB with examples.

    Read more →
  • Managing your Command Line Like a Boss 😎

    A handful of gotchas that I've learned over the years working with command shells 🐚 on a regular basis.

    Read more →
  • ES10 Flatmap for Mapping and Filtering

    That's one ES10 feature which I think I will use frequently moving on.

    Read more →
  • Amazon SQS Service - A Refresher

    A small guide covering the basics of AWS SQS service.

    Read more →
  • Gatsby Internals for Developers

    Exploring Gatsby's powerful features with little to no documentation on web.

    Read more →
  • Javascript Promises are Eager and Not Lazy

    A nice little gotcha related to how promises work in Javascript.

    Read more →
  • Hello World

    Setting up a blog with static pages was never this easy. Thanks to Gatsby for making it super easy and fun.

    Read more →