tech/webdev magazine

November 29, 2024

The Tragedy of Running an Old Node Project

Friday, November 29, 2024 Teklinks

It’s been a long while since I wrote anything on this site. The framework I used was Gatsby which in 2020 was one of the hot ways of getting a good looking blog up and running quickly. With over 41 dependencies, and god knows how many more sub-dependencies, this thing was a beast.

Full article

November 26, 2024

Real-World Forecasting with Deep Learning: How We Do It at Wix

Tuesday, November 26, 2024 Teklinks

In recent years, deep learning (DL) models have shown remarkable potential in the field of forecasting. Models such as DeepAR, neuralProphet , PatchTST, Temporal Fusion Transformer, NHiTS, and TiDE have achieved state-of-the-art performance on traditional academic benchmarks. However, despite their promise, these models often fall short when applied to the complexities of real-world forecasting.

Full article

Building React Forms with Ease Using React Hook Form, Zod and Shadcn

Tuesday, November 26, 2024 Teklinks

Forms are something every developer encounters, whether as a user or on the developer side. They’re essential on most websites, but their complexity can vary wildly—from simple 3-field contact forms to giga-monster-t-rex, multi-page forms with 150 fields, dynamic validation, and asynchronous checks. In this post, we’ll explore how React Hook Form, Zod, and Shadcn can be used to create an adaptable, developer-friendly solution that handles a wide range of form requirements with ease.

Full article

Uncontrolled or controlled: A matter of perspective

Tuesday, November 26, 2024 Teklinks

You may have come across the terms uncontrolled component and controlled component in your React journey. These terms are typically introduced by looking at the two ways native input elements can be used in React: as uncontrolled inputs, or as controlled inputs.

Full article

November 25, 2024

To Dare or not to Dare: the MVA Dilemma

Monday, November 25, 2024 Teklinks

Teams developing a new increment of a product, also known as a Minimum Viable Product (MVP) are typically in a tough spot: they have a short period of time in which they have to develop and deliver what they hope is a valuable product increment. They also need to develop a Minimum Viable Architecture (MVA) for that MVP to meet its quality goals, also known as Quality Attribute Requirements (QARs).

Full article

Meet Angular v19

Monday, November 25, 2024 Teklinks

In the past two years we doubled down on our investment in developer experience and performance — in every single release we’ve been consistently shipping improvements that multiply their impact when combined together.

Full article

November 21, 2024

Importing a frontend Javascript library without a build system

Thursday, November 21, 2024 Teklinks

I like writing Javascript without a build system and for the millionth time yesterday I ran into a problem where I needed to figure out how to import a Javascript library in my code without using a build system, and it took FOREVER to figure out how to import it because the library’s setup instructions

Full article

Talk to ChatGPT on a Phone Call

Thursday, November 21, 2024 Teklinks

The integration of voice communication and AI represents a big step forward in human-machine interaction that can potentially transform traditional methods of communication. For instance, in the context of a phone call, you no longer need another human to be present on the other end of the line.

Full article

November 20, 2024

Why Typed Linting Needs TypeScript Today

Wednesday, November 20, 2024 Teklinks

Linting with type information, also called “typed linting” or “type-aware linting”, is the act of writing lint rules that use type information to understand your code. Typed linting as provided by typescript-eslint is the most powerful JavaScript/TypeScript linting in common use today. Lint rules that use type information are significantly more capable than traditional, AST-only rules.

Full article

How to Set Up Next.js 15 for Production in 2024

Wednesday, November 20, 2024 Teklinks

I've worked on Next.js applications that scaled to over 100k monthly active users and landing pages with millions of monthly visitors. In this article, I'll share all the lessons I've learned through countless iterations.

Full article

The Journey of ClearBank From Start-Up To Scale-Up

Wednesday, November 20, 2024 Teklinks

Gray: Has anyone ever been to a powerboat race in their life before? I went to a powerboat race when I was a little kid, and I vividly remember this by being in awe of the speed and the agility of these boats. The way they could turn the corners. The way they could accelerate.

Full article

November 19, 2024

Will we care about frameworks in the future?

Tuesday, November 19, 2024 Teklinks

I've been building lots of apps by using LLMs and Agents. I'm currently up to about 17 tools, utilities and demos over the duration of a couple of weeks. I build them for me and because tools like Replit have enabled me during my small spots of free time to build fully working sites and apps that solve the immediate problem that I have. I've felt incredibly productive.

Full article

Self-contained Executable Programs with Deno Compile

Tuesday, November 19, 2024 Teklinks

Since Deno v1.6, the deno compile command has empowered developers to turn JavaScript and TypeScript programs into single, standalone binaries that run on all major platforms—no dependencies, no additional installs. This has big implications:

Full article

Exploring DORA: 9 Steps on the Path to Compliance

Tuesday, November 19, 2024 Teklinks

The Digital Operational Resilience Act (DORA) is a significant regulatory framework introduced by the European Union to enhance the operational resilience of digital systems within the financial sector. The regulations are slated to go into effect January 17, 2025.

Full article

November 18, 2024

React useCallback() - A complete guide

Monday, November 18, 2024 Teklinks

Performance optimization is crucial for creating a smoother user experience in modern web development. React, a popular JavaScript library for building user interfaces, provides several Hooks to help developers manage state and side effects efficiently.

Full article

Validating your react-intl applications

Monday, November 18, 2024 Teklinks

When working with react-intl we would like to ensure that our JSON translations are valid and up to date. What we want is to avoid our translation files containing outdated keys and translations and broken target translations.

Full article

Next.js to htmx — A Real World Example

Monday, November 18, 2024 Teklinks

Over 6 years ago, I created an open source URL shortener with Next.js and after years of working on it, I found Next.js to be much more of a burden than a help. Over the years, Next.js has changed, and so did my code so it can be compatible with those changes. My Next.

Full article

November 14, 2024

Build a Database App with Drizzle ORM and Deno

Thursday, November 14, 2024 Teklinks

Drizzle ORM is a TypeScript ORM that provides a type-safe way to interact with your database. In this tutorial, we’ll set up Drizzle ORM with Deno and PostgreSQL to create, read, update, and delete dinosaur data: You can find all the code for this tutorial in this GitHub repo.

Full article

Using Shadcn UI without a Tailwind Config File

Thursday, November 14, 2024 Teklinks

The upcoming release of Tailwind CSS v4, we can return to styling that, at its core, emphasizes CSS-native solutions. This approach enables maintainable and performant styling systems that work seamlessly with Shadcn UI components.

Full article

November 13, 2024

How Bun supports V8 APIs without using V8 (part 2)

Wednesday, November 13, 2024 Teklinks

We're hiring systems engineers in San Francisco to build the future of JavaScript! In the first part of this series, we compared the C++ APIs used to interact with JavaScriptCore and V8, which are the JavaScript engines used by Bun and Node.js respectively.

Full article

How We Built the BFCM 2023 Globe

Wednesday, November 13, 2024 Teklinks

Every year for Black Friday Cyber Monday (BFCM), we put together a real-time visualization of purchases made through Shopify-powered merchants worldwide. This year we're cooking up something big, and in anticipation we wanted to show you how we built the globe last year.

Full article

November 12, 2024

Centering things: a solved problem?

Tuesday, November 12, 2024 Teklinks

In Chrome and Edge, the following code can be used on block layouts to center child elements. align-content works without the need for flexbox or grid — and it works in all browsers! justify-items on a parent element and justify-self on a child also work without flexbox or grid, but only in Chromium for now.

Full article

Being a Responsible Developer in the Age of AI Hype

Tuesday, November 12, 2024 Teklinks

Key Takeaways AI is code, not magic: AR-LLMs only generate plausible text based on statistical patterns, not true reasoning or understanding. The current AI landscape is filled with exaggerated claims: it’s crucial to set realistic expectations to avoid contributing to AI hype.

Full article

November 11, 2024

A Map of Sync

Monday, November 11, 2024 Teklinks

In the words of a recent tweet from Rocicorp’s Aaron Boodman, “[the local-first/sync space] is a big, beautiful, hot mess.” Between the local-first movement, a bounty of new database startups, academic research like CRDTs, and internal app frameworks powering products like Linear, it’s hard to know what’s going on and how everything relates to each other.

Full article

Create a Full-Stack App With Go and React

Monday, November 11, 2024 Teklinks

As a language that emerged over 14 years ago, Go has many use cases. From web development, APIs, and CLIs to Wasm, cloud technologies, and even AI-powered tools, its applications are broad. The same goes for demo projects, which have countless variations and purposes!

Full article

November 8, 2024

How WebSockets cost us $1M on our AWS bill

Friday, November 08, 2024 Teklinks

IPC is something that is rarely top-of-mind when it comes to optimising cloud costs. But it turns out that if you IPC 1TB of video per second on AWS it can result in enormous bills when done inefficiently.

Full article

HTML Form Validation is heavily underused

Friday, November 08, 2024 Teklinks

HTML Forms have powerful validation mechanisms, but they are heavily underused. In fact, not many people even know much about them. Is this because of some flaw in their design? Let’s explore.

Full article

A Friendly Introduction to Container Queries

Friday, November 08, 2024 Teklinks

For a very long time, the most-requested CSS feature has been container queries. That’s been our holy grail, the biggest missing piece in the CSS toolkit. Well, container queries have finally arrived. They’ve been supported in all major browsers for almost two years.

Full article

November 6, 2024

Building My Resume in HTML using Eleventy

Wednesday, November 06, 2024 Teklinks

In this article, I'll walk through some of the decisions I made as well as some challenges I faced along the way. The immediate benefit of building my resume with web-native technologies is that I can host my resume online! Web-native documents permit flexible layouts, enabling my resume to look good across a wide variety of browser and font sizes.

Full article

Why Code Security Matters - Even in Hardened Environments

Wednesday, November 06, 2024 Teklinks

Infrastructure hardening makes applications more resilient to attacks. These measures raise the bar for attackers, making exploitation more difficult. However, they should not be seen as a silver bullet, as determined attackers can still leverage vulnerabilities in the source code.

Full article

November 4, 2024

The most effective ways to improve Core Web Vitals

Monday, November 04, 2024 Teklinks

Note: This document has been adapted from a 2023 blog post to reflect the latest best practices. It will be kept up to date as our guidance evolves, with major changes noted in the Change log section. Over the years, the web community has built up a wealth of web performance optimization knowledge.

Full article

Doing support makes you a better engineer

Monday, November 04, 2024 Teklinks

Welcome to Product for Engineers, a newsletter created by PostHog for engineers and founders who want to build successful startups. Product engineers do support at PostHog. They log into Zendesk, respond to users, debug their issues, and ship fixes.

Full article

November 3, 2024

Simplifying Islands Architecture – Preact

Sunday, November 03, 2024 Teklinks

This guide is a simple walkthrough to understand how island architechture works and being able to setup your own using tools you already have around you. For a lot of devs who've worked with server rendering for a while, we kinda expected frontend tech to take a turn towards server rendering at some point in time since data fetching and processing is almost always faster on the server where you are closer to the data.

Full article

How to successfully adopt serverless in large organizations

Sunday, November 03, 2024 Teklinks

Volvo Group Connected Solutions’ cloud journey began approximately a decade ago. We did a replatforming when we migrated to AWS and designed and implemented our services to be cloud agnostic by deploying them in VMs. Over time, our customers came with more requirements.

Full article

State of Cloud Security

Sunday, November 03, 2024 Teklinks

Long-lived credentials—i.e., those that are static and do not expire—are well-known as a major cause of cloud security breaches, and they continue to be a widespread issue in cloud environments.

Full article