Showing posts from typescript tag

Weekly Coding Challenge #1: Solving Subsets II with Backtracking

Weekly Coding Challenge #1: Solving Subsets II with Backtracking

I've decided to do a new blog series where I’ll be sharing coding challenges I’ve solved each week. For our first entry, I’ll walk through the classic Subsets II problem, which involves returning all...

TypeScript Stage 3 Decorators: A Journey Through Setup and Usage

TypeScript Stage 3 Decorators: A Journey Through Setup and Usage

So, What Are TypeScript Decorators? In the simplest of terms, a decorator in TypeScript is like a wrapping paper. You take a function or a class and wrap it with another function that adds some extr...

Streamlining Your Next.js Project with Private GitHub/Gitlab Repositories as NPM Packages

Streamlining Your Next.js Project with Private GitHub/Gitlab Repositories as NPM Packages

### Using Private GitHub/Gitlab Repos in Your Next.js Projects Imagine this scenario: you're working on a super cool Next.js project, and you have some shared code that you'd like to use across mult...

Escaping Deployment Hell: How Feature Flags Can Transform Your Workflow

Escaping Deployment Hell: How Feature Flags Can Transform Your Workflow

Feature flags, also known as feature toggles, are a powerful technique that allows us to alter the behavior of our software systems without changing code. Originating from the need for safer deploym...

Private GPT: Building a Web Scraper with HTML Parsing in TypeScript (Part 1)

Private GPT: Building a Web Scraper with HTML Parsing in TypeScript (Part 1)

In this blog, we will explore the process of building a web scraper using HTML parsing capabilities in TypeScript. This is the first part of a two-part series, where we will use this HTML scraper to ...

Bypassing GPT-4's Context Length Limitation with Sliding Window Technique

Bypassing GPT-4's Context Length Limitation with Sliding Window Technique

GPT-4, despite its incredible linguistic prowess, suffers from a noteworthy constraint: its context length limitation, which essentially refers to the maximum number of input tokens. The sliding wind...

The Final Act: Streaming Video and Receiving it in a WebRTC Video Conference (Part 3/3)

The Final Act: Streaming Video and Receiving it in a WebRTC Video Conference (Part 3/3)

Welcome back, fellow video conferencing enthusiasts! In the previous parts of our blog series, we've covered accessing the webcam's video stream and setting up a signalling server. Now it's time for ...

Setting Up a Signalling Server: Client Video Streaming (Part 2 of 3)

Setting Up a Signalling Server: Client Video Streaming (Part 2 of 3)

Welcome back to our thrilling three-part series on setting up a peer-to-peer connection for client video streaming. In [Part 1](https://www.balysnotes.com/setting-up-a-peer-to-peer-connection-video-s...

Setting Up a Peer-to-Peer Connection: Client Video Streaming (Part 1 of 3)

Setting Up a Peer-to-Peer Connection: Client Video Streaming (Part 1 of 3)

Welcome to the first part of our three-part series on setting up a peer-to-peer (P2P) connection to send a video stream between two clients (a server serving as an intermediary only for initial conne...

gRPC: A Modern Approach to Microservices Communication

gRPC: A Modern Approach to Microservices Communication

In today's world, microservices architecture has become a popular approach for building scalable and reliable applications. With microservices, an application is broken down into smaller, independent...

Tic-Tac-Toe: Exploring a TypeScript Code Example

Tic-Tac-Toe: Exploring a TypeScript Code Example

Hello, fellow code connoisseurs! I've recently decided to refresh my memory on data structures and algorithms. This current project is inspired by freecodecamp's tic-tac-toe example. Buckle up, and l...