Why Output Tokens Cost More Than Input Tokens — A Hardware Drill-Down
Every AI provider charges you separately for input and output tokens, and output is the expensive half — four to eight times the input rate (Anthropic prices …
Every AI provider charges you separately for input and output tokens, and output is the expensive half — four to eight times the input rate (Anthropic prices …
This blog post explains the RAG (retrieval-augmented generation) pipeline behind semcode, an MCP server that does semantic code search across your GitHub …
When working with Large Language Models via API, understanding the temperature and top-p parameters is essential for transforming basic text generation into …
In previous posts, we have discussed the RAG systems and how they work. We have also discussed the problem of lost context in embedded documents.
RAG re-ranking is the process of re-ordering retrieved documents using a more accurate relevance model so the LLM sees the best possible context. Let’s break it …
Definition: Embeddings are vectors that represent semantic meaning in a multi-dimensional space.
RAG (Retrieval-Augmented Generation) is a technique that addresses the limitation of LLMs not having domain-specific or up-to-date knowledge by augmenting the …
Passkeys are a modern replacement for passwords that offer a safer and easier login experience. You authenticate using the same biometrics or PIN you use to …
In this blog post I will give you an example of how to implement OAuth 2.0 backend including BFF (Backend For Frontend) for browser-based applications using …
Have you ever heard about Six Degrees of Separation theory? This theory states that you’re at most six degrees away from anyone on the planet Earth, all these …
Let’s explore how Authorization Code Flow works for Confidential client using BFF (Backend For Frontend).
Let’s explore how Authorization Code Flow with PKCE (Proof Key For Code Exchange) extension works in OAuth 2.0.
Resource Owner – The user who owns the data and grants access.
In this blog post, we will explore how to use Zod, a powerful TypeScript-first schema validation library, to create globally defined TypeScript types for …
In this blog post, I’ll introduce git –fixup, a valuable feature that aids in maintaining a clean commit history for your project. Whether you’re junior …
So what is gRPC? It’s an open-source remote procedure call framework created by Google. Let’s break it down a bit more to see what is RPC.
We all know what is JSON, YAML, XML right? Protocol Buffers are similar, but smaller, faster, and one can say they are even simpler. Let’s try to understand …
node_modules can be huge, I’m pretty sure you experienced that. If you have a lot of JavaScript projects on your machine that are just sitting there and you are …
If you are Javascript developer you probably had a chance to do deep cloning. If you were doing it before April 2022 you most likely had to do workarounds or …
Have you ever done something like this in your ReactJS code?
You know that feeling when you come back from vacation, and you want to know what has been done in the days while you were not there, but you’re too lazy to go …
You want to jump like a kangaroo? Let’s learn horizontal jumping :).
If you’re developer I’m pretty sure that by working with git every day it happened that you committed some changes and then you realized that you made a typo in …
You want to jump like a kangaroo? So, let’s start with vertical jumping :).
If you are here you most likely have a problem with exiting Vim?. So let’s fix that.
Have you ever stumbled on command that does the thing that you want, but you don’t have a slightest clue how it works and what those arguments mean in that …
Have you even heard about Lobotomized owl selector in CSS? If not this is how it looks like.
Copy this code and run it in your console.
If you’re Web developer you’ve probably been in the position where you have to update outdated dependencies from your package.json. You could run