tech/webdev magazine

October 15, 2024

Liskov’s Gun: The parallel evolution of React and Web Components

Tuesday, October 15, 2024 Teklinks

Because this essay is over 11 000 words long(!) I’ve made a convenience EPUB file for offline reading. (EPUB only! No PDF this time.) You can download it over on the fulfilment service I use, Lemon Squeezy, with the option to pay what you want if you feel the urge to support my writing.

Full article

October 14, 2024

Types of React Components

Monday, October 14, 2024 Teklinks

Since React's release in 2013, various component types have emerged. Some are still essential to modern React applications, while others are mostly found in older projects (deprecated). This guide provides beginners with an overview of modern components and patterns, explaining which are still relevant and why some are no longer used.

Full article

Enhancing The New York Times Web Performance with React 18

Monday, October 14, 2024 Teklinks

As software engineers at The New York Times, we place a high value on page performance, SEO, and keeping up to date with the latest technology. With those priorities in mind, the release of React 18 stood out to us as a significant and tangible leap forward in the ever-expanding world of web development.

Full article

Self-Hosting NextJS on Fly.io Guide

Monday, October 14, 2024 Teklinks

Recently, Lee Robinson of Vercel gave a tutorial on how to self-host NextJS in a VPS. He used DigitalOcean. I also tried it in Hetzner using Ubuntu instance and it worked. The example used Docker to deploy NextJS. It has all the dependencies like Nginx and a Postgres database, also run in Docker.

Full article

October 13, 2024

A Local-First Case Study

Sunday, October 13, 2024 Teklinks

I just got back from a travel sabbatical. While the trip turned out great, the planning process was decidedly… less so. Figuring out six months of travel is a daunting task, and I quickly became dissatisfied with existing tools. True to myself, I yak shaved the problem.

Full article

October 12, 2024

OpenAI Introduces Swarm, a Framework for Building Multi-Agent Systems

Saturday, October 12, 2024 Teklinks

As the AI world is shifting towards building agentic systems, OpenAI’s team has decided to give the world an open source gift. The team has released Swarm, an open source framework for building, orchestrating and deploying multi-agent systems. Click here to check out the GitHub repository.

Full article

A New Era of Writing Code

Saturday, October 12, 2024 Teklinks

Large language models (LLM) will change how software engineers write code forever. Last weekend, I built a side project using Cursor, an LLM-based IDE, without writing a single line of code myself (I am not sponsored).

Full article

October 10, 2024

Announcing Deno 2

Thursday, October 10, 2024 Teklinks

The web is humanity’s largest software platform — building for it means potentially reaching over 5 billion people. But as web development has accelerated in recent years, it has also become increasingly and unmanageably complex. Before writing a single line of code, developers must deal with tedious configuration and wading through unnecessary boilerplate, when they would rather focus on shipping product and delivering value to users.

Full article

How we run migrations across 2,800 microservices

Thursday, October 10, 2024 Teklinks

This blog post was accurate when we published it – head to monzo.com or your Monzo app for the most up to date information. We’ve got a lot of value from our microservices architecture (2,800 and counting!), but this architecture is not without its challenges.

Full article

October 7, 2024

Serverless servers: Efficient serverless Node.js with in-function concurrency

Monday, October 07, 2024 Teklinks

We’re sharing a first look at a new version of Vercel Functions with support for in-function concurrency that brings the best of servers to serverless functions. We’ve been testing this new version with customers and are seeing a 20%-50% reduction in compute usage and respective cost reduction without latency impact.

Full article

A guide to destructuring in JavaScript

Monday, October 07, 2024 Teklinks

If you’ve spent plenty of time wading through modern JavaScript, odds are you’ve seen enough ellipses (...) to put even the most brooding 90s role-playing game protagonist to shame. I wouldn’t fault you for finding them a little confusing.

Full article

How to Minimize Latency and Cost in Distributed Systems

Monday, October 07, 2024 Teklinks

Key Takeaways Distributed Systems spanning over multiple availability zones can incur significant data transfer costs and performance bottlenecks. Organizations can reduce costs and latencies by applying zone aware routing techniques without sacrificing reliability and high availability.

Full article

October 4, 2024

The real 10x developer makes their whole team better

Friday, October 04, 2024 Teklinks

Single individuals make less of a difference to the success or failure of a technology project than you might think (and that’s a good thing). We’re all familiar with the concept of the 10x engineer or developer: “the nerdy, antisocial genius who makes groundbreaking products almost by accident,” per one description.

Full article

Rate Limiting Algorithms Explained with Code

Friday, October 04, 2024 Teklinks

Imagine you’re running an online service that has suddenly gone viral. Users from around the world are flooding your servers with requests. In this article we will dive into 5 of the most common rate limiting algorithms, their pros and cons and learn how to implement them in code.

Full article

Module Augmentation is a Hidden Gem in TypeScript

Friday, October 04, 2024 Teklinks

In my latest software development project, I encountered a challenge that led me to a hidden gem in TypeScript: module augmentation and interface merging. I was tasked with creating a feature flag package that provided each micro frontend repository with easy, type-safe access to feature flags.

Full article

October 1, 2024

How to fetch data in React

Tuesday, October 01, 2024 Teklinks

Newcomers to React often start with applications that don't need data fetching at all. Usually they are confronted with Counter, Todo or TicTacToe applications. That's good, because data fetching adds another layer of complexity to your application while taking the first steps in React.

Full article