Stanislav Khromov

Full-stack web developer
https://khromov.se/ (RSS)
visit blog
SvelteKit Streaming: The Complete Guide
4 Nov 2024 | original ↗

Streaming in SvelteKit is a powerful feature that allows you to load data progressively. In a nutshell, streaming allows your SvelteKit app to send an initial content response to the browser quickly, while fetching and sending additional data as it becomes available. This can make your app feel more responsive, especially when dealing with slow...

How Chain of Thought Prompting Boosts LLM Performance
30 Sept 2024 | original ↗

If you’ve been following AI news lately, you might have heard about the “strawberry test”. It’s a simple question that stumps many AI models: How many R’s are in the word “strawberry”? This seemingly easy task highlights some interesting limitations in large language models (LLMs). Prefer a video version of this blog post? Watch below: Why is...

Dropbox keeps threatening to delete my files
17 Sept 2024 | original ↗

For the past two years, I’ve been on the receiving end of a passive aggressive win-back campaign from Dropbox. The feud originally started when I migrated away from Dropbox and hence canceled my subscription while leaving them saddled with over a terabyte of my data to carry forever, like a camel in the digital desert. After all, why wouldn’t I?...

Svelte 5 brings up to 50% bundle size decrease for existing Svelte 4 apps
10 Sept 2024 | original ↗

Watch a video version of this blog post below! Svelte 5 brings a lot of changes, from the new Runes-based syntax to deep reactivity and performance improvements across the board. But one aspect that’s flown under the radar is the massive reduction in bundle size. In my experiments, you can get about 50% decrease in code shipped to users, just by...

Dockerizing Your SvelteKit Applications: A Practical Guide
1 Sept 2024 | original ↗

If you’re looking to containerize your SvelteKit application, you’ve come to the right place. In this post, we’ll walk through creating a Dockerfile for a SvelteKit app using adapter-node. Let’s dive in! Configure SvelteKit to use adapter-node First, let’s install adapter-node which builds your site for Node.js: Then, open the svelte.config.js...

Is Web Development About to Change?
28 Aug 2024 | original ↗

If you’ve been keeping up with web development trends lately, you’ve probably heard buzzwords like React Server Components or Islands Architecture. But what do these really mean for the future of web development? Let’s take a step back and look at the bigger picture of where front-end development is heading in 2025 and beyond. Video version of...

Leveraging LLMs for Large-Scale Software Development
25 Jul 2024 | original ↗

While we’ve seen AI assistants like Claude create impressive small-scale projects like small scripts or simple games like Flappy Bird clones, their potential for real-world, large-scale software development has remained largely untapped. In this post, I want to share a programming workflow that allows you to harness the power of long context...

My failed attempt at cross-publishing blog posts to dev.to
24 Nov 2023 | original ↗

As a writer of technical blog posts, I naturally want them to be visible by the broadest audience possible. Google and other search engines certainly help with this and make it possible for this blog to be visited to thousands of people every month, and I am grateful that we have such great tools that allow people to find the content they are...

Building a smart kitchen display using a Raspberry Pi
30 Oct 2023 | original ↗

I’ve always dreamed of having a smart screen in my kitchen – a practical gadget that could offer useful information at a glance. When I started researching this, I envisioned a solution that was a browser in kiosk mode that would rotate between a preset list of webpages. This turned out a bit harder than expected! 🙈 The first product that seemed...

The Comprehensive Guide to Locals in SvelteKit
26 Oct 2023 | original ↗

In this blog post we’ll go over a lesser documented but powerful part of SvelteKit – event.locals. Locals are a way to register trusted, server-side, per-request state. The most common use case for locals is to associate some type of data with the current request. Example use cases for locals are: Since locals are per-request, they don’t leak...

The Power of Constraints: Why Less is More in Social Media
22 Oct 2023 | original ↗

Shortly after assuming his role as CEO for Twitter, Elon Musk announced that tweets for paying subscribers would no longer have the famous length limit. Later, another announcement stated that Blue subscribers could now edit their tweets after posting. To me, this signals a deep misunderstanding of what sets Twitter apart in the media landscape...

The missing guide to understanding adapter-static in SvelteKit
30 Jul 2023 | original ↗

In this guide we will go through the characteristics and quirks of adapter-static, which is unique amongst all SvelteKit adapters because it compiles down to a folder of HTML, CSS and JavaScript instead of a serverless function or Node.js server. Many wonder how this can work with the server side-oriented nature of SvelteKit – let’s dive into it...

↑ these items are from RSS. Visit the blog itself at https://khromov.se/ to find other articles and to appreciate the author's digital home.