tech/webdev magazine

December 29, 2024

Dependencies vs. devDependencies for JavaScript apps

Sunday, December 29, 2024 Teklinks

Whenever I’m adding a new dependency to a JavaScript app, or setting up the build process of a new app, I ask myself: what exactly are devDependencies? How do I decide whether to add a new dependency as a regular dependency or a dev dependency?

Full article

It's Okay to Code on Nights and Weekends

Sunday, December 29, 2024 Teklinks

I’ve been wrestling with this for a long time (my entire life): I love coding and building software. A lot. I started when I was 8 years old. My nervous system developed wrapped around a computer. I code on the weekends and at night because I derive a lot of joy from it.

Full article

Remote Work Can Be Better

Sunday, December 29, 2024 Teklinks

Remote work offers a great work-life balance and helps you get back your time, which makes it the preferred choice of working for most developers. It helps you save a massive amount of time and money by eliminating the daily commute.

Full article

December 27, 2024

Turing Machines

Friday, December 27, 2024 Teklinks

In 1928, David Hilbert, one of the most influential mathematicians of his time, asked whether it is possible to create an algorithm that could determine the correctness of a mathematical statement. This was called the "decision problem," or "Entscheidungsproblem" in Hilbert's native German. In 1936 both Alan Turing and Alonzo Church independently reached the conclusion, using different methods, that the answer is "no."

Full article

Building effective agents

Friday, December 27, 2024 Teklinks

Over the past year, we've worked with dozens of teams building large language model (LLM) agents across industries. Consistently, the most successful implementations weren't using complex frameworks or specialized libraries. Instead, they were building with simple, composable patterns.

Full article

December 23, 2024

Using Val Town to chart dependency bloat

Monday, December 23, 2024 Teklinks

Devstats is a Val that you can use to easily track send point-in-time statistics from your GitHub Actions (or other CI) runs and turn them into pretty charts. Here’s ours! So far, we’re using it to track dependency bloat. Much has been written about dependency bloat.

Full article

Announcing a free GitHub Copilot for VS Code

Monday, December 23, 2024 Teklinks

We're excited to announce an all new free plan for GitHub Copilot, available for everyone today in VS Code. All you need is a GitHub account. No trial. No subscription. No credit card required. You can click on the link above or just enable GitHub Copilot right from within VS Code like so...

Full article

Ivory Tower Architect

Monday, December 23, 2024 Teklinks

Note: I’m fully aware that this essay may rub some people the wrong way especially those who make a living by taking advantage of the fact that in many organizations, the ability to pretend to work is as payable as doing the actual work. Nevertheless, if it wasn't important, I wouldn't write it.

Full article

December 19, 2024

How to start a React Project in 2024

Thursday, December 19, 2024 Teklinks

Every year I want to give you a brief overview of how to start a new React project. I want to reflect on advantages and disadvantages, on the skill-level needed as a developer, and on what features each starter project has to offer for you as a React developer.

Full article

December 18, 2024

Exploring the Core Concepts of Node.js Readable Streams

Wednesday, December 18, 2024 Teklinks

In Node.js we have different types of streams, and one of them is the Readable stream. You may have heard of it, or perhaps even used it a few times. But do you know how to use it effectively? This question of efficiency comes when we're dealing with cases that go beyond basics.

Full article

An Interactive Guide to CSS Grid

Wednesday, December 18, 2024 Teklinks

CSS Grid is one of the most amazing parts of the CSS language. It gives us a ton of new tools we can use to create sophisticated and fluid layouts. It's also surprisingly complex. It took me quite a while to truly become comfortable with CSS Grid!

Full article

December 17, 2024

Four approaches to creating a specialized LLM

Tuesday, December 17, 2024 Teklinks

Wondering how to go about creating an LLM that understands your custom data? Start here. Trying to create a language model that understands your own custom data? Here are four techniques you can use to create a specialized LLM, ordered in terms of the amount of complexity/compute involved.

Full article

Tech predictions for 2025 and beyond

Tuesday, December 17, 2024 Teklinks

We have entered an era of unprecedented societal challenges and rapid technological advancements. Harnessing technology for good has become both an ethical imperative and a profitable endeavor.

Full article

Astro 5.0

Tuesday, December 17, 2024 Teklinks

Introducing Astro 5.0! With Astro Content Layer to load your content from any source, and Server Islands to combine cached, static content with dynamic, personalized content. Read on to learn more about these powerful new features and more!

Full article

December 15, 2024

Writing Modern JavaScript without a Bundler

Sunday, December 15, 2024 Teklinks

Not all libraries are bundled to support ESM in this way as a single file. If it does not, you can add compile the dependency to support it, as we'll touch on later. The script.js file above works in-browser, but doesn't look quite right to anyone that's done modern JS.

Full article

Architectural Intelligence – The Next AI

Sunday, December 15, 2024 Teklinks

Key Takeaways Architects need to separate AI hype from real software. Design systems based on tangible components such as LLMs, not a vague vision of AI. Determining how, where, and when to use AI elements comes down to traditional trade-off analysis.

Full article

December 13, 2024

The 70% problem: Hard truths about AI-assisted coding

Friday, December 13, 2024 Teklinks

After spending the last few years embedded in AI-assisted development, I've noticed a fascinating pattern. While engineers report being dramatically more productive with AI, the actual software we use daily doesn’t seem like it’s getting noticeably better. What's going on here?

Full article

Reflections on managing state

Friday, December 13, 2024 Teklinks

Over the last 7 months, I tried 5 state management libraries (Zustand, Jotai, Valtio, MobX, XState) and 1 data fetching library (Tanstack query) in monthly posts like this one. During that time, I also used Redux toolkit and React Router (it's a data-fetching library now) on professional projects.

Full article

Using Transformers.js for AI in the Browser

Friday, December 13, 2024 Teklinks

Two weeks ago I had the pleasure of attending, and speaking at, connect.tech. One of the cooler presentations I saw was from Danielle Maxwell where she discussed using AI in the browser and introduced me to Transformers.js. I'd heard of this before, but wasn't quite aware of how easy it was to use.

Full article

How To Improve INP: React⚛️

Friday, December 13, 2024 Teklinks

In part 2 of the ‘How To Improve INP’ series, we’ll go in-depth on which patterns we can use to improve Interaction-to-Next-Paint (INP) when using React. All patterns can be used with frameworks like Next.js and Remix, too.

Full article

December 10, 2024

React Data Fetching Patterns

Tuesday, December 10, 2024 Teklinks

When building React applications, fetching data is a common task. In this article, we'll explore different data fetching patterns for React components across client and server.

Full article

December 4, 2024

Designing (and Evolving) a New Web Performance Score

Wednesday, December 04, 2024 Teklinks

In my day-to-day work, there’s a lot of competitor analysis. Either to present to the client themselves, to see where they sit among their contemporaries, or me to use in my pitching process—competition is a great motivator!

Full article

What We Learned Migrating From Webpack to Vite

Wednesday, December 04, 2024 Teklinks

The Neon Console is a Single Page Application (SPA), or rather, a collection of SPAs. Static assets like JavaScript and CSS are served through CloudFront, while the HTML is dynamically rendered by our Go backend.

Full article

December 2, 2024

Vitest vs. Jest

Monday, December 02, 2024 Teklinks

Effective testing frameworks are essential in building reliable JavaScript applications, helping you minimize bugs and catch them early to keep your customers happy. Choosing the right testing framework saves hours of configuration hassles and improves developer experience.

Full article

Why TanStack Start is Ditching Adapters

Monday, December 02, 2024 Teklinks

Building a new front-end Javascript framework is a daunting task, as I’ve been learning with building TanStack Start, my new TanStack-powered full stack framework. There’s so many moving pieces:

Full article

React Scan

Monday, December 02, 2024 Teklinks

React Scan automatically detects and highlights components that cause performance issues in your React app. Drop it in anywhere – script tag, npm, you name it!

Full article