tech/webdev magazine

April 24, 2024

Webhooks suck, but here are alternatives

Wednesday, April 24, 2024 Teklinks

Webhooks are a foundational part of the web’s infrastructure. Coined in a blog post in 2007, webhooks were suggested as a simple way to consume asynchronous feeds with a protocol all web developers are familiar with — HTTP.

Full article

The State of Generative AI, 2024

Wednesday, April 24, 2024 Teklinks

This article is a selection from The Algorithmic Bridge, an educational project to bridge the gap between AI and people. If you watch the news, it’s easy to miss the forest for the trees. The evidence is all scattered so let’s gather it in one place:

Full article

April 22, 2024

An intro to TSConfig for JavaScript Developers

Monday, April 22, 2024 Teklinks

JavaScript is constantly evolving, from its roots as a simple scripting language into a robust, modern tool for building complex applications. To manage larger, complicated code bases, JavaScript developers are constantly looking for ways to improve their workflows, their code quality and productivity.

Full article

The Serverless Illusion

Monday, April 22, 2024 Teklinks

Obviously, serverless technologies aren’t an illusion. They are quite real. AWS kicked off serverless in 2014 with the launch of Lambda, which remains the category-defining service to date.

Full article

A Distributed Systems Reading List

Monday, April 22, 2024 Teklinks

This document contains various resources and quick definition of a lot of background information behind distributed systems. It is not complete, even though it is kinda sorta detailed.

Full article

April 21, 2024

Building an interactive 3D event badge with React Three Fiber

Sunday, April 21, 2024 Teklinks

In this post, we’ll look at how we made the dropping lanyard for the Vercel Ship 2024 site, diving into the inspiration, tech stack, and code behind the finished product. We’ve shared digital tickets for event attendance in the past, but this time, we wanted to take it one step further by creating a tangible experience. When Studio Basement made a video in Blender that depicted a virtual badge dropping down, we liked the idea of it so much that we started to wonder whether we could make it interactive and run it in the browser.

Full article

How to write a code formatter

Sunday, April 21, 2024 Teklinks

Ask ten developers how they think a certain piece of code should be formatted, and you'll likely get ten different opinions. Worse, these opinions are almost never based on facts. Instead, when you ask why they prefer style X over Y the answer is almost always the equivalent of "I just do".

Full article

InfoQ Culture & Methods Trends Report - April 2024

Sunday, April 21, 2024 Teklinks

Key Takeaways Whilst remote working presents challenges to innovation and collaboration, there are effective techniques to address them Staff-Plus engineers bring value through far more than their technical skills Developer Experience can be measured and there are metrics that can be used to find s

Full article

April 19, 2024

How do mixture-of-experts layers affect transformer models?

Friday, April 19, 2024 Teklinks

[Ed. note: This article comes from a Tweet first posted here. We’ve partnered with Cameron Wolfe to give his insights a wider audience, as we think they provide insight into various topics around GenAI.] Mixture of experts (MoE) has arisen as a new technique to improve LLM performance.

Full article

DevTools Tips & Tricks

Friday, April 19, 2024 Teklinks

Front-end developers spend a significant amount of time working inside the browser’s DevTools. Likely just as much as they spend time writing code in the code editor. However, most developers barely scratch the surface of what DevTools can accomplish.

Full article

April 16, 2024

“What is your current salary?” is a red flag that you don’t want to work here

Tuesday, April 16, 2024 Teklinks

You are on the initial phone screen call with someone from human resources. Since thirty minutes you are trying to explain succinctly what your life has been about in the last decade to a complete stranger. Maybe you have been teased with tricky questions on how git works internally, and you have done your best to answer correctly. You are starting to feel exhausted, but fortunately the call seems to come to an end.

Full article

Building a Remix app locally with Docker

Tuesday, April 16, 2024 Teklinks

Fly.io makes it easy to deploy containerized apps in seconds. The more comfortable you are with Docker, the smoother and more reliable your deployments can be. Let’s learn how to leverage Docker when developing your app locally!

Full article

April 14, 2024

Understanding Interaction to Next Paint (INP)

Sunday, April 14, 2024 Teklinks

As of March 12th 2023, Interaction to Next Paint (INP) replaces First Input Delay (FID) as a Core Web Vital metric. FID and INP are measuring the same situation in the browser: how clunky does it feel when a user interacts with an element on the page? The good news for the web—and its users—is that INP provides a much better representation of real-world performance by taking every part of the interaction and rendered response into account.

Full article

Render Optimizations

Sunday, April 14, 2024 Teklinks

React Query applies a couple of optimizations automatically to ensure that your components only re-render when they actually need to. This is done by the following means:

Full article

April 11, 2024

React Server Components in a Nutshell

Thursday, April 11, 2024 Teklinks

Woah, there’s been a lot of noise about React Server Components (RSCs) lately and, for the most part, after reading all the really smart explanations by the internet’s smartest people, I didn’t really understand anything.

Full article

The View Transitions API

Thursday, April 11, 2024 Teklinks

Like anyone, I love a good “native-feeling” experience on the web. I’ve really enjoyed creating that vibe with the new View Transitions API. Luckily it’s is pretty clean to work with, both with the Astro framework, and out of the box!

Full article

Exploring Authentication in Next.js

Thursday, April 11, 2024 Teklinks

I delved deep into exploring Authentication in Next.js 14 using Next's App Router, React Server Components (RSC), and Server Actions. This comprehensive tutorial covers using Lucia Auth for sign up, sign in, sign out, and protected routes.

Full article

April 9, 2024

Exploring Server Actions with Next.js

Tuesday, April 09, 2024 Teklinks

I delved deep into exploring Server Actions in Next.js 14 using Next's App Router and React Server Components (RSC). This comprehensive tutorial shows how to use Server Actions to create, read, update, and delete (CRUD) entities.

Full article

Angular and Wiz Are Better Together

Tuesday, April 09, 2024 Teklinks

You may know Angular as the web framework from Google, but Google actually has another web framework: Wiz. Both Angular and Wiz are used by thousands of engineers and thousands of apps inside of Google.

Full article

7 Ways to Microfrontends in 2024

Tuesday, April 09, 2024 Teklinks

The microfrontend architecture has revolutionized how we think about building and scaling web applications. By breaking down frontends into manageable, independently deployable micro apps, organizations can enhance scalability, improve team autonomy, and accelerate development cycles.

Full article

April 8, 2024

Introducing Jpegli: A New JPEG Coding Library

Monday, April 08, 2024 Teklinks

The internet has changed the way we live, work, and communicate. However, it can turn into a source of frustration when pages load slowly. At the heart of this issue lies the encoding of images.

Full article

Guide on Structured Logs [Best Practices included]

Monday, April 08, 2024 Teklinks

Structured logging is the method of having a consistent log format for your application logs so that they can be easily searched and analyzed. Having structured logs allows for more efficient searching, filtering, and aggregation of log data.

Full article

April 4, 2024

Introducing Simpler Project Creation in Deno Deploy

Thursday, April 04, 2024 Teklinks

Deno Deploy, our multi-tenant V8 isolate cloud, is one of the simplest and fastest ways to deploy and run JavaScript and TypeScript on the web. It also natively supports npm: specifiers, as well as offers built-in cloud primitives — KV, queues, and cron — that become globally distributed for optimal performance.

Full article

April 2, 2024

GitHub Copilot General Availability in the CLI

Tuesday, April 02, 2024 Teklinks

We are excited to announce Copilot in the CLI is now generally available (GA) for all our Copilot Individual, Business, and Enterprise customers. Copilot in the CLI allows users to access the power of GitHub Copilot to get command suggestions and explanations without leaving the terminal. Starting today, developers can also use GitHub Copilot to execute suggested commands based on feedback shared during the public beta.

Full article

BFF: A design pattern helping teams gain ownership

Tuesday, April 02, 2024 Teklinks

This series explores the Backend For Frontend design pattern in 4 different dimensions captured in 4 posts. Part 1: A Design Pattern Helping Teams Gain Ownership, Part 2: What technical benefits?, Part 3: How to scale and avoid pitfalls?, Part 4: Alternatives & decision tree

Full article

April 1, 2024

Power of Partial Prerendering with Bun

Monday, April 01, 2024 Teklinks

In modern web development, optimizing the performance of web applications is paramount. One approach gaining traction is partial prerendering, a technique that combines static and dynamic content rendering to enhance both the bundle size and runtime speed.

Full article

🩹 Nx Crystal Plugin Picking the Essentials

Monday, April 01, 2024 Teklinks

As specified in my article, ⛔ Target Exclusions in Nx Project Crystal, there are use cases that necessitate extending the Nx Project Crystal. However, it is not possible to hook only a specific part of the plugin. You either take it all or you don’t use it at all.

Full article

March 29, 2024

Flaky Tests In React: Detection, Prevention and Tools

Friday, March 29, 2024 Teklinks

In the context of React, testing is a non-negotiable process to maintain code quality and a smooth user experience. However, there’s one frustrating bad news that is commonly faced when running tests in React. And that is flaky tests.

Full article

All Estimations Are Wrong, But None Are Useful

Friday, March 29, 2024 Teklinks

If you’re working in a team using the Scrum framework, you use story points to estimate effort on your stories, tasks, etc. Then, some management considers this and plans, measures your productivity, and even keeps you accountable when something is done.

Full article

Patterns of Legacy Displacement

Friday, March 29, 2024 Teklinks

Effective modernization of legacy software systems When faced with the need to replace existing software systems, organizations often fall into a cycle of half-completed technology replacements.

Full article

March 28, 2024

How to Build Your Own ChatGPT Clone Using Clerk & AWS Bedrock

Thursday, March 28, 2024 Teklinks

Over the last few months, AI-powered chat applications like ChatGPT have exploded in popularity and have become some of the largest and most popular applications in use today. And, for a lot of people, they may have an air of mystery and wonder about how they work.

Full article

How To Use The Web Bluetooth API

Thursday, March 28, 2024 Teklinks

A few weeks ago, I stumbled on a browser API I never knew existed; the web Bluetooth API. It seems to have been in development for about 7+ years, and I’m glad most browsers now support it.

Full article

Using react-to-print to generate a printable document

Thursday, March 28, 2024 Teklinks

You can call JavaScript’s default print function on the window object to print it. While this is convenient for printing the entire document in a window, it lacks customizability. You can’t easily print one specific section, and often, the styles applied to the document get lost in the process.

Full article

March 27, 2024

Why I Like React (even in 2024)

Wednesday, March 27, 2024 Teklinks

I recently read a post about React being antiquated. I have liked React for a long time (here is a local meetup talk I gave in 2015?! https://ejosh.co/de/2015/08/my-talk-on-react/ ).

Full article

Monorepos — Why Speed Matters

Wednesday, March 27, 2024 Teklinks

In the ever-evolving landscape of software development, efficiency and speed are vital. As projects grow in complexity, developers and teams need tools that can keep up without sacrificing quality or performance.

Full article

March 26, 2024

Optimizing Javascript for fun and for profit

Tuesday, March 26, 2024 Teklinks

I often feel like javascript code in general runs much slower than it could, simply because it’s not optimized properly. Here is a summary of common optimization techniques I’ve found useful.

Full article

Announcing VitePress 1.0

Tuesday, March 26, 2024 Teklinks

Today we are happy to announce the (long overdue) 1.0 release of VitePress! VitePress is a Static Site Generator (SSG) designed for building fast, content-centric websites.

Full article

March 24, 2024

March 22, 2024

Type system of the React compiler

Friday, March 22, 2024 Teklinks

If you're wondering what the React compiler is, I recommend reading our recent update post for some background. This post is for anyone curious about the compiler theory behind it. Don't feel pressured to understand everything in this post in order to use the compiler.

Full article

Mental Health in Open Source

Friday, March 22, 2024 Teklinks

TL;DR: I am doing great and not going anywhere. Having some presure but still holding up and trying to improve. Thank you and don’t worry! This is the 4th year since I have started doing Open Source.

Full article

March 21, 2024

Dynamic Imports in React for Enhanced Performance

Thursday, March 21, 2024 Teklinks

In my React development journey, I’ve learned that optimizing performance is crucial. A game-changer for me has been dynamic imports, a JavaScript feature that lets you split your code into smaller chunks, loading them only when needed.

Full article

The quiet, pervasive devaluation of frontend

Thursday, March 21, 2024 Teklinks

There’s a trend I’ve noticed—or at least, I think I’ve noticed. It’s the kind of thing that’s hard to be sure of; the kind that might genuinely be true, or might simply appear to be true if you look at it a certain way. Maybe it’s both.

Full article