RSSAmplifier

Blog

Scalable Developer

Recent content on Scalable Developer

scalabledeveloper.comRSS feed ↗30 posts

Latest posts

How to fix "Failed to find Server Action" in Next.js

If you are seeing errors like: Error: Failed to find Server Action "..." This request might be from an older or newer deployment. There are usually two different problems mixed together: a real deployment skew problem; malformed requests hitting your app with garbage next-action headers. The official Next.js error page focuses on the first case. The GitHub discussion #87851 shows that many teams…

How to generate llms.txt and llms-full.txt with Astro

I didn’t find a simple example of how to generate llms.txt and llms-full.txt with Astro, so I decided to quickly write this short guide on how to do it.

Pseudorandom Number Generators

I knew that pseudorandom number generators existed since my computer science studies, but practically I never had a use case to try them out on production till recently.

How to use emojis as website favicons

If you don’t have time to create favicons for your website, you can use emojis! It is perfect for side projects or even for serious projects when you’re just starting.

Deploying Next.js with Kamal 2 and GitHub Actions to Hetzner

A complete guide on how to deploy Next.js (TypeScript) with a permanent SQLite database (Prisma) using Docker, Kamal 2 and GitHub Actions to Hetzner behind Cloudflare.

The One Billion Row Challenge with Go

For the past years, my time has been solely dedicated to my product— ScreenshotOne . Almost everything I did for customers only, but today I decided to have fun and write some code without any purpose.

Pushing Cloudflare Worker logs to Grafana Loki

Cloudflare can’t stop surprising me. I was searching for a simple solution on how to collect logs from my Cloudflare workers and push them to my Grafana Loki cluster, and I trapped on a new solution developed by Cloudflare precisely for my problem— Tail Workers .

Context in Go

Go is a very pragmatic language. If there is a thing in the Go standard library, there is an actual practical reason for it. The same stays valid for Context .

Linux kernel coding style

Of course, you have heard of the “never use GOTO statement” mantra, and of course, you are terrified not to follow the mantra. But why there is a lot of such statements in the linux kernel? Or why should you write as a few comments as possible?

Latency versus Response Time

While discussing a web application’s performance or request profiling results, it is vital to distinguish between the latency and the response time.

Go and Trie!

A trie is an effective data structure that could be an excellent addition to your problem-solving toolbox. Let’s see which areas the trie usage is more applicable than a standard set or map implementation. And what other benefits you can get from using it.

Functional Five in a Row using Scala

I am starting to learn and improve my functional programming skills. And I do not see the better way rather than practicing while coding small projects and reflecting on them. I implemented a small CLI version of “Five in a Row” game.

Engineer Learning Plan (JVM-based, server)

This learning plan is only focused around JVM-based server-side development and related areas.

Message Digest in Java

How to hash a data with MD5, SHA-1 or SHA-256 algorithm in Java?

A couple of ideas to check that list is empty in Java

I have a break for 5 minutes and want to find as more as possible ways to check that list is empty in Java. Just for fun, there is no sense in this article.

Pretty URLs or HTML5 mode for any front-end SPA: Angular, React & more

Turn on HTML5 mode and get pretty URLs for any front-end single page application. Using Apache or nginx? Then this is for you.

Building Java applications using Maven and Docker (multi-stage builds)

How to produce minimal Docker image which runs Java application built using Maven?

Optional in Java

Optional type was introduced to denote absence of value in API.

Tuple in Java

Tuple is a pair of two or more elements. This kind of abstraction is rarely used in Java and there is real reason for it.

Immutable (Cons) List in Java

One of the most elegant and frequently usable data structures in many functional programming languages is immutable linked list based on “cons” pairs.

Animate elements when a model changes in AngularJS (without ng-animate)

Create beautiful animations with AngularJS and CSS whenever a model updates. Works with increment or decrement if the model is a number.

Collapsible block directive in Angular using ng-transclude - Part 2

AngularJS directive that uses ng-transclude to create collapsible blocks out of any element.

Collapsible (help) block directive in Angular - Part 1

A AngularJS directive that will help you display help blocks inline. Include ngAnimate for some extra sugar!

Angular sticky-navigation directive (fix a control to the bottom of the page when scrolling past it)

Scrolling past an AngularJS element with this directive will fix it at the bottom of the page. Scrolling back, the element returns to the initial position.

Build a filter that capitalizes each word in a string with AngularJS

AngularJS filter that converts uppercase strings with multiple words to lowercase strings, with capitalized words. Works as vanilla JavaScript too!

Angular HTML5 mode or pretty URLs on Apache (using htaccess)

Enable HTML5 mode on your AngularJS application to have pretty URLs and get the most out of Google Analytics. (Apache server).

Detecting console errors while testing AngularJS with Protractor

In a previous post I made a remark that when end to end testing routes on AngularJS with Protractor we might find our tests passing even when Angular throws an exception.

Testing Auth0 login on AngularJS with Protractor, Part 2: Refactoring

If you haven’t seen part 1 of Testing Auth0 login on AngularJS with Protractor, this post would make a lot more sense if you do!

Testing Auth0 login on AngularJS with Protractor, Part 1

A simple example of how testing Auth0 login on AngularJS with Protractor can be done.

AngularJS Unit and End to End testing resources

Looking for a way to learn AngularJS Unit and End to End tests? How about a compilation of testing resources? This is the place.