tech/webdev magazine

November 29, 2023

Bun vs. NPM, Yarn, pnpm, and others

Wednesday, November 29, 2023 Teklinks

Table of contents: What is Bun? Bun is a fast JavaScript all-in-one toolkit. It can be used as a runtime (a drop-in replacement much faster than Node.js), as a test runner, and even as a package manager. Which is what interests us today. Unlike Node.

Full article

Moving back to React

Wednesday, November 29, 2023 Teklinks

daily.dev switched from Preact to React for its frontend framework, aiming to resolve development issues and enhance performance. The move, executed during a team hackathon, involved significant planning, testing, and codebase adjustments. This shift allowed for better compatibility with Next.

Full article

November 28, 2023

The Stressful Leap from Engineer to CTO

Tuesday, November 28, 2023 Teklinks

You know who the best managers are? They’re the great individual contributors who never, ever want to be a manager, but decide they want to be a manager, because no one else is going to be able to do as good a job as them. I fully agree with Steve Jobs on that.

Full article

November 27, 2023

Building a progressive web app in Remix with Remix PWA

Monday, November 27, 2023 Teklinks

Progressive web apps (PWAs) are applications that look and behave like mobile apps, but are built using web technologies. While they leverage native mobile features, you access them through the browser like regular web applications, meaning you don’t have to download them via mobile app marketplaces.

Full article

Architectural Decisions — The Making Of

Monday, November 27, 2023 Teklinks

Architectural Decisions (ADs) have been answering “why” questions about design options since the inception of software architecture in the 1990s. Ways to capture them should be part of each architect’s toolbox.

Full article

November 21, 2023

67 Weird Debugging Tricks Your Browser Doesn't Want You to Know

Tuesday, November 21, 2023 Teklinks

Let’s say you want to inspect a DOM element that only conditionally appears. Inspecting said element requires moving your mouse to it, but when you try to, it disappears: To inspect the element you can paste this into your console: setTimeout(function() { debugger; }, 5000);.

Full article

November 20, 2023

Microservices aren't the problem. Incompetent people are

Monday, November 20, 2023 Teklinks

Have you read the awesome essay “Death by a thousand microservices”? I agree with everything said in it. However, I’d like to emphasise that microservices aren’t a problem in itself. Also, I don’t think monoliths are necessarily a better fit most of the time even for smaller products.

Full article

Announcing Vite 5

Monday, November 20, 2023 Teklinks

Vite 4 was released almost a year ago, and it served as a solid base for the ecosystem. npm downloads per week jumped from 2.5 million to 7.5 million, as projects keep building on a shared infrastructure.

Full article

A faster web in 2024

Monday, November 20, 2023 Teklinks

The web is getting faster. In fact, according to HTTP Archive, more websites than ever before are passing the Core Web Vitals assessment, which looks at three metrics that represent different aspects of page performance: loading speed, interaction responsiveness, and layout stability.

Full article

November 16, 2023

Modern frontend testing with Vitest, Storybook, and Playwright

Thursday, November 16, 2023 Teklinks

Mention “testing” to a frontend engineer, and you may risk triggering PTSD. It has traditionally been difficult to do and offered limited value. After all, you can see the UI right on your screen; why would you need to write automated tests to confirm what you can already observe in the browser?

Full article

Why You Want React Query

Thursday, November 16, 2023 Teklinks

It's no secret that I ❤️ React Query for how it simplifies the way we're interacting with asynchronous state in our React applications. And I know a lot of fellow devs feel the same.

Full article

Stay Technical While Leading Your Team

Thursday, November 16, 2023 Teklinks

Engineers want their manager to deeply understand their work, resolve blockers, and provide technical guidance. Therefore, it’s important to stay technical as an engineering manager. But how do you do that while managing a team?

Full article

November 14, 2023

Bun – first impressions

Tuesday, November 14, 2023 Teklinks

Heard of Bun? It's a new JavaScript runtime that recently reached 1.0.0. I've been using it on a few side-projects. Even at work! Ok so what is a runtime? A runtime is the environment that your code runs in. For JavaScript that's your browser, an Electron app, or NodeJS.

Full article

The Four Quadrants of Employee Performance

Tuesday, November 14, 2023 Teklinks

Hiring, retaining and developing talent is a key leadership skill. Without great talent it’s impossible to have a great team. And without a great team, it’s impossible to build a great organization.

Full article

November 13, 2023

Reducing Raspberry Pi 5's power consumption by 140x

Monday, November 13, 2023 Teklinks

Sorry to clickbait with that title... but it's actually true. I can help you improve power use by 140x—for power off power consumption, at least. By default, the Raspberry Pi 5 (like the Pi 4 before it) leaves the SoC powered up (just in a shutdown state) when you shut down the Pi.

Full article

How to Be a Better Leader by Communicating More Assertively

Monday, November 13, 2023 Teklinks

One bite of a pasta piece, and I immediately know whether it is perfectly cooked. Al dente. The perfect texture for cooked pasta. The perfect combination. Tender, yet firm. Assertiveness is about making your thoughts, needs, and opinions clearly understood.

Full article

November 12, 2023

Stacked Diffs vs. Trunk Based Development

Sunday, November 12, 2023 Teklinks

Stacked diffs means developing features via a series of atomic commits, with each one having it’s own PR. The overall feature therefore consists of a sequential chain of changes, each one building on the last. When taken together, they form a ‘stacked diff’.

Full article

Why I'm Using Next.js

Sunday, November 12, 2023 Teklinks

Kent C. Dodds recently published a new article Why I Won't Use Next.js. In the post, Kent shares his opinions on why he's recommending using Remix instead of Next.js. I wanted to share my thoughts on the post and make the case that:

Full article

Sidekick’s Improved Streaming Experience

Sunday, November 12, 2023 Teklinks

In the realm of Large Language Model (LLM) chatbots, two of the most persistent user experience disruptions relate to streaming of responses: Markdown rendering jank: Syntax fragments being rendered as raw text until they form a complete Markdown element. This results in a jarring visual experience.

Full article

November 9, 2023

Astro + Qwik: Houston, we have Resumability!

Thursday, November 09, 2023 Teklinks

In mid-late 2022, I had the opportunity to try Astro, a server-first, content-focused, and extremely flexible meta-framework on my day job. It quickly became my go-to for creating landing pages, marketing websites, and even small web apps. If my clients needed something, it was almost always a click and integration guide away.

Full article

Headless Component: a pattern for composing React UIs

Thursday, November 09, 2023 Teklinks

As React UI controls become more sophisticated, complex logic can get intertwined with the visual representation. This makes it hard to reason about the behavior of the component, hard to test it, and necessary to build similar components that need a different look.

Full article

AI as a UX Assistant

Thursday, November 09, 2023 Teklinks

Summary: Generative-AI bots support UX professionals by acting as content editors, research assistants, ideation partners, and design assistants. To understand how UX professionals use generative AI in their day-to-day work, we conducted a large-scale survey with more than 800 respondents.

Full article

Cloudflare incident on October 30, 2023

Thursday, November 09, 2023 Teklinks

Multiple Cloudflare services were unavailable for 37 minutes on October 30, 2023. This was due to the misconfiguration of a deployment tool used by Workers KV. This was a frustrating incident, made more difficult by Cloudflare’s reliance on our own suite of products.

Full article

November 8, 2023

How Do You Triage Software Bugs?

Wednesday, November 08, 2023 Teklinks

The concept of triage goes back a long way. In the 1800s, Baron Dominique-Jean Larrey, the Surgeon-in-chief of Napoleon’s Imperial Guard laid the groundwork for what would eventually become modern triage introducing the concept of “treat[ing] the wounded according to the observed gravity of their injuries and the urgency for medical care, regardless of their rank or nationality”.

Full article

Passkeys: A No-Frills Explainer On The Future Of Password-Less Authentication

Wednesday, November 08, 2023 Teklinks

Passkeys are beginning to make their way into popular apps, from password managers to multi-factor authenticators, but what exactly are they? As this new technology promises to make passwords a thing of the past, Neal Fennimore explains the concepts behind passkeys, demonstrates how they work, and speculates what we might expect from them in the future.

Full article

Building a reliable notification system

Wednesday, November 08, 2023 Teklinks

Notifications are essential for delivering real-time updates on relevant and critical information to users, with the ultimate goal of increasing user engagement on a platform.

Full article

November 3, 2023

OpenTelemetry for Microservices Tracing and Observability

Friday, November 03, 2023 Teklinks

IT teams have been observing applications for their health and performance since the beginning. They observe the telemetry data (logs, metrics, traces) emitted from the application/microservice using various observability tools and make informed decisions regarding scaling, maintaining, or troubleshooting applications in the production environment.

Full article

Answering Common Questions About Interpreting Page Speed Reports

Friday, November 03, 2023 Teklinks

Have you noticed that different tools’ reports result in different performance scores? Shouldn’t they be the same if reports rely on the same underlying tooling to generate scores? Take a closer look at how various performance tools audit and report on performance metrics, such as core web vitals. Geoff Graham answers a set of common questions that pop up during performance audits.

Full article

Why Self-Organizing Teams Still Need a Delivery Lead

Friday, November 03, 2023 Teklinks

When I tell someone that I make custom software for a living, I can usually predict their next question. “So are you a designer, or do you write code?” And when I tell them I’m a Delivery Lead, they usually assume I mean a manager.

Full article

5 Reasons to use TypeScript for your Projects

Friday, November 03, 2023 Teklinks

As more developers adopt TypeScript, we’ve curated reasons why use TypeScript in your next project. Although it met some resistance early on, it has quickly become a widely-used programming language in the last decade.

Full article

November 2, 2023

Hydration, the Saboteur of Lazy Loading

Thursday, November 02, 2023 Teklinks

Lazy-loading and executing less code is standard advice to speed up a bloated application. The advice is sound, but I am here to tell you that hydration will try to sabotage you every step of the way.

Full article

The complete guide to WebSockets with React

Thursday, November 02, 2023 Teklinks

On this page you’ll learn more than you ever thought you needed to know about WebSockets with React, including how to build a smooth realtime cursor experience from scratch: Jump into the tutorial which uses React on the front and Node on the back or start with some general guidance when it comes

Full article

Optimistic Updates in Tanstack Query v5

Thursday, November 02, 2023 Teklinks

Tanstack Query released version 5 with a number of changes and some interesting features, offering an even more powerful toolkit for developers. One of the novelties is a simpler way to perform optimistic updates without having to write code that updates the cache manually.

Full article