tech/webdev magazine

May 31, 2024

You should keep a developer’s journal

Friday, May 31, 2024 Teklinks

Writing is a fantastic tool for processing and communicating abstract ideas. And developers are steeped in abstract ideas! From system design to the finest implementation details, we keep a tremendous amount of information in our heads.

Full article

50 Coding Laws That Would Make You A Decent Programmer.

Friday, May 31, 2024 Teklinks

There are hundreds or probably thousands of Python best practices out there and depending on who you ask, you would get some slight variation on a given practice. The internet has given everyone the right to voice an opinion. Including even me.

Full article

May 29, 2024

JavaScript unit testing frameworks in 2024: A comparison

Wednesday, May 29, 2024 Teklinks

Choosing a JavaScript unit testing framework is an essential early step for any new front-end development project. Unit tests are great for peace of mind and reducing software errors. You should always make the time to test. But which framework should you choose for your project? We examined 11 of the most popular JavaScript unit testing frameworks according to stateofjs.com, to help you decide which is best for you.

Full article

May 28, 2024

Automatic Query Invalidation after Mutations

Tuesday, May 28, 2024 Teklinks

Queries and Mutations are two sides of the same coin. A When a Mutation finishes, it very likely affects Queries. For example, updating an issue will likely affect the list of issues. So it might be a bit surprising that React Query does not link Mutations to Queries at all.

Full article

React 19 lets you write impossible components

Tuesday, May 28, 2024 Teklinks

React 19 is here. And with it? Complex and flexible new features. Incredible optimizations. And a whole new way of thinking about your app. But when building a marketing site, are React 19’s features over-engineered? Or is it all worth the effort?

Full article

A virtual DOM in 200 lines of JavaScript

Tuesday, May 28, 2024 Teklinks

In this post I’ll walk through the full implementation of a Virtual DOM in a bit over 200 lines of JavaScript. The result is a full-featured and sufficiently performant virtual DOM library (demos). It’s available on NPM as the smvc package.

Full article

May 26, 2024

Mastering Caching in Distributed Applications

Sunday, May 26, 2024 Teklinks

CloudWay Digital Inc. If I had a dollar for every time that I came across a bug with an implementation of caching in a software system… I would probably have enough to pay for an annual corporate subscription of Redis Enterprise.

Full article

May 23, 2024

Why don’t we talk about minifying CSS anymore?

Thursday, May 23, 2024 Teklinks

Minifying your CSS helps improve your website performance. But as developers, we don’t really talk about minifying CSS anymore. Why? The TL;DR is that the delivery and optimization of CSS have both been improved with modern tech stacks, making it practically a non-issue.

Full article

Using React Shepherd to build a site tour

Thursday, May 23, 2024 Teklinks

The fastest way to onboard first-time users on your website is by guiding them through some of the features your site has to offer. This phenomenon, also known as a site tour, ultimately shows users how to properly navigate through the site without facing any issues.

Full article

May 22, 2024

Access 3D Maps in Maps JavaScript API starting today – Google Maps Platform

Wednesday, May 22, 2024 Teklinks

Maps JavaScript is the cornerstone of dynamic mapping experiences, powering websites and applications with our rich basemap and information about more than 250 million places and businesses around the world. It’s fueled innovation—shaping the way we book vacations, order food, or simply locate a new coffee shop.

Full article

At some point, JavaScript got good

Wednesday, May 22, 2024 Teklinks

I’ve been both fortunate and unfortunate to have worked with JavaScript full-time since about 2012. It was “unfortunate” because prior to around 2015—when major improvements started coming to the ECMAScript spec—the language was a real pain to wrangle on a daily basis.

Full article

May 20, 2024

How Netflix Ensures Highly-Reliable Online Stateful Systems

Monday, May 20, 2024 Teklinks

Key Takeaways Reliability means spending money to reduce the probability of failure, the blast radius, and recovery time to zero. Building reliable services at scale has to be done across the clients, servers, and at the APIs. Reliable servers are redundant, workload-optimized, and heavily cached.

Full article

Code sharing

Monday, May 20, 2024 Teklinks

Sharing code between multiple services can turn into a topic of contention in a project team. The larger the service footprint, greater the intensity of debate on how to share functionality between the various services.

Full article

May 17, 2024

Software Architecture is Hard

Friday, May 17, 2024 Teklinks

I live in one of the suburbs of Tel-Aviv. One day, I woke up to insane drilling sounds. It started! the construction work to build the purple line of the light rail. “How bad is it going to be?” I thought to myself… A few weeks in, sporadically waking up at 5am depending on when the construction work starts, my wife told me that it’s time for us to move out.

Full article

Why React Query?

Friday, May 17, 2024 Teklinks

Have you ever thought about why a specific piece of technology gets popular? Usually there's never a single reason, but I do have a theory that I think is one of the primary drivers. I call it The 5 O'Clock Rule. With The 5 O'Clock Rule, the level of abstraction for solving a problem will bubble up until it allows the average developer to stop thinking about the problem.

Full article

May 16, 2024

Using the Popover API for HTML Tooltips

Thursday, May 16, 2024 Teklinks

Can it be done? This plucky front-end developer intends to find out. We looked at the Popover API and how it’s made it’s way across all browsers already just last week. One of the things I should have done is looked at the accessibility considerations more closely.

Full article

What if we rotate pairs every day?

Thursday, May 16, 2024 Teklinks

Benefits of pair programming are widely accepted but advice around pair rotation remains controversial. When and how frequently should teammates rotate pairs? And… What if we rotate pairs every day? We worked with three teams through an exercise of daily pair rotation.

Full article

May 15, 2024

How to document your JavaScript package

Wednesday, May 15, 2024 Teklinks

Creating and publishing open source packages is a great way to contribute to the ecosystem and community. You made something cool and want people to use it. But simply publishing your module to a registry and crossing your fingers won’t get users.

Full article

May 13, 2024

A React Developer's Guide to Learning SolidJS

Monday, May 13, 2024 Teklinks

When we initially set out to build Stashpad Docs, one of the first decisions we had to make was whether to use React or to pivot to a different front-end framework. React was the default choice because the engineers at Stashpad are experienced React developers and already had used it to build Stashpad Lists.

Full article

Remix for Next.js Developers

Monday, May 13, 2024 Teklinks

Do you like this guide? If yes you may want to reserve a spot for the Remix for Next Devs Video Course where we will create a full Remix application from scratch using Remix, Tailwind, Supabase, Docker and Fly. Instead of using folders and slashes to define routes, you can use dots (.

Full article

Lazy Loaded Video Component in React 🦥🎥

Monday, May 13, 2024 Teklinks

Do you use videos 🎥 on your website or web application? If so, you may have encountered issues with slow page load times or a suboptimal user experience. Videos can be a powerful tool for engaging your users, but they can also create performance challenges if not optimized properly.

Full article

May 8, 2024

Multi-Cloud is the Worst Practice

Wednesday, May 08, 2024 Teklinks

Multi-cloud (that is, running the same workload across multiple cloud providers in a completely agnostic way) is absolutely something you need to be focusing on—at least, according to two constituencies: Declining vendors that realize that if you don’t go multi-cloud, they’ll have nothing left

Full article

May 7, 2024

AI Programming for Absolute Beginners

Tuesday, May 07, 2024 Teklinks

If you want to build chat bots, games, or applications using AI models like ChatGPT, you’ve come to the right place. In this article, we’re going to dive into the basics of SudoLang, a powerful natural language pseudocode programming language designed to instruct advanced language models like OpenAI’s GPT-4, Anthropic’s Claude, and others.

Full article

Async APIs - don't confuse your events, commands and state

Tuesday, May 07, 2024 Teklinks

In my previous blog post I looked at various technologies for sending data asynchronously between services including RabbitMQ, Kafka, AWS EventBridge. This time round I’ll look at the messages themselves which over the last few years I’ve found to be a more complex and nuanced topic than expected.

Full article

When to Use Bun Instead of Node.js

Tuesday, May 07, 2024 Teklinks

Bun and Node.js are two JavaScript runtime technologies to run JavaScript on the server. Node.js is the undisputed king of server-side development with JavaScript, but Bun has gained popularity thanks to its unbelievable performance capabilities.

Full article

May 6, 2024

May 3, 2024

The age of “Good Enough”

Friday, May 03, 2024 Teklinks

What’s next when everything works fine? Technologists like to speculate, and fret, about the end of Moore’s law: the long-standing rule-of-thumb that computer chips will double in performance every 18 months.

Full article

Low effort image optimization tips

Friday, May 03, 2024 Teklinks

“A picture is worth a thousand words”. So if a picture takes more than 4 seconds to load, does it mean that your website’s content fails to communicate a thousand words? In this blog post, we’ll learn how to identify unoptimized images, how to fix them, and how to validate the fix — so your website can speak volumes with highly-optimized images.

Full article

May 2, 2024

React's evolution from Hooks to Concurrent React

Thursday, May 02, 2024 Teklinks

In this post, we'll look at the history of React and how it has evolved over the years since the introduction of hooks. I'm writing this because I felt like React 17 didn't really introduce anything new, but React 18 felt like such a big leap forward.

Full article

Different Styles of Engineering Leadership

Thursday, May 02, 2024 Teklinks

The beauty of software engineering comes from the many different ways of solving challenges ahead of us. Our work can be like receiving an unlimited set of LEGO bricks without instructions, just an end goal to achieve. We can be builders, architects, designers, or inventors.

Full article