tech/webdev magazine

July 26, 2024

How to make complex Chrome extensions: a zero gravity guide

Friday, July 26, 2024 Teklinks

Building a complex browser extension isn’t exactly easy—especially for first-timers or folks who feel unsure of what they’re doing! Not to worry. We’ll show you the essentials for building a full-featured Chrome extension using a real example from the Evil Martians casebook! We’ll also share some other useful tips and cool recommendations, so read on!

Full article

Architecting enterprise integrations

Friday, July 26, 2024 Teklinks

Architectures that are best suited for integration problems also differ based on the nature of integrations. In this article, we will explore some architecture patterns that can be used for different integration projects.

Full article

July 25, 2024

How Airbnb Smoothly Upgrades React

Thursday, July 25, 2024 Teklinks

Airbnb’s frontend recently reached a major milestone: all of our web surfaces have been upgraded from React 16 to React 18, the current major version of React¹. This was a big project for a product with many surfaces, including Guest and Host pages as well as many internal tools.

Full article

Why is spawning a new process in Node so slow?

Thursday, July 25, 2024 Teklinks

At Val Town we run your code in Deno processes. We recently noticed, that under load, a single Val Town’s Node server cannot exceed 40 spawns/s. It spends 30% of its time with the main thread blocked on calls to spawn. Why is it so slow? Can we make it any faster?

Full article

Radar Trends to Watch: July 2024

Thursday, July 25, 2024 Teklinks

Can anything that is programmable have an embedded LLM? Apparently so. llama.ttf is a plain old font that looks like OpenSans—you can download it and install it. We don’t know whether this is a massive vulnerability or a way to embed AI in almost any text-based application. Probably both.

Full article

July 24, 2024

The Astro Content Layer

Wednesday, July 24, 2024 Teklinks

This is Part 2 of our series on “The Future of Astro”, covering three major advancements we have planned for the Astro web framework in 2024. This post introduces a more powerful Content Layer to Astro: a new way to work with your local and remote content sources. In Astro 2.

Full article

July 22, 2024

Breaking up is hard to do: Chunking in RAG applications

Monday, July 22, 2024 Teklinks

As you go deeper down the rabbit hole building LLM-based applications, you may find that you need to root your LLM responses in your source data. Fine-tuning an LLM with your custom data may get you a generative AI model that understands your particular domain, but it may still be subject to inaccuracies and hallucinations.

Full article

July 21, 2024

How to Handle Dependencies in Microfrontends

Sunday, July 21, 2024 Teklinks

Microfrontends are gaining traction as a proven approach to building scalable, maintainable front-end heavy applications. Yet, it also introduces a new set of challenges. Out of these, dependency handling becomes trivial as it affects the overall architecture of Microfrontends.

Full article

How to Design a Hotel Booking System?

Sunday, July 21, 2024 Teklinks

This is one of the front-end system design questions I will be working on. Stay tuned for more interview system design questions I did from Great Frontend, or Exponent.

Full article

July 18, 2024

Uncovering Hidden Gems in JavaScript

Thursday, July 18, 2024 Teklinks

JavaScript is one of the most versatile and widely used programming languages in the world. It powers everything from simple websites to complex web applications. While many developers are familiar with its core features, JavaScript also has a plethora of lesser-known, yet incredibly useful, features that can make your code more efficient, elegant, and fun to write.

Full article

How to deploy your React app using Container Registry

Thursday, July 18, 2024 Teklinks

The advent of cloud-native computing has greatly transformed the landscape of building and distributing software. You have various tools to facilitate everything from integrating and packaging application code to deploying and scaling it.

Full article

Implementation of Microfrontend with Vite Compiler

Thursday, July 18, 2024 Teklinks

In my previous article’s, i have explained about What is Microfrontend in details and explained about the implementation of Microfrontend in step-by-step process for the App’s created with “CREATE-REACT-APP” cli.

Full article

July 17, 2024

How To Hack Your Google Lighthouse Scores In 2024

Wednesday, July 17, 2024 Teklinks

Do perfect Lighthouse scores mean the performance of your website is perfect? As it turns out, Lighthouse is influenced by a number of things that can be manipulated and bent to make sites seem more performant than they really are, as Salma Alam-Naylor demonstrates in several experiments.

Full article

How Zustand Was Born

Wednesday, July 17, 2024 Teklinks

In this post, I would like to share the story behind Zustand’s development. To be precise, I wasn’t the original author of Zustand, and when Zustand v0 was born, I was developing other global state libraries, especially React-Tracked.

Full article

JWT vs PASETO: New Era of Token-Based Authentication

Wednesday, July 17, 2024 Teklinks

This article delves into a comprehensive comparison of Paseto and JWT, dissecting their core functionalities, security features, and potential drawbacks. APIs and modern web applications have brought token-based authentication to the forefront of secure authorization methods.

Full article

July 15, 2024

40 Must Read Engineering Blogs to Learn System Design and Software Architecture in 2024

Monday, July 15, 2024 Teklinks

Hello guys, mastering System design and software architecture is hard as they are very vast and there are a lot of concepts in play. I have been doing programming for close to 25 years now and I have worked on all kind of applications like starting from tiny 10KB mobile applications to monolithic applications where it take 30 minutes to just checkout the code.

Full article

How we improved push processing on GitHub

Monday, July 15, 2024 Teklinks

What happens when you push to GitHub? The answer, “My repository gets my changes” or maybe, “The refs on my remote get updated” is pretty much right—and that is a really important thing that happens, but there’s a whole lot more that goes on after that. To name a few examples:

Full article

10 things software developers should learn about learning

Monday, July 15, 2024 Teklinks

This is the latest issue of my newsletter. Each week I share research and perspectives on developer productivity. By the way, we’re hosting a discussion with Manuel Pais, co-author of Team Topologies, later this month on structuring your platform engineering team. Sign up to join us here.

Full article

July 13, 2024

8 Strategies for Reducing Latency

Saturday, July 13, 2024 Teklinks

Latency is the new downtime in distributed systems. High latency can render an application effectively unusable, frustrating end-users and negatively impacting business outcomes just as much as a complete outage.

Full article

Sneaky React Memory Leaks: How the React compiler won't save you

Saturday, July 13, 2024 Teklinks

Some weeks ago, I wrote an article about how closures can lead to memory leaks in React when used in combination with memoization hooks like useCallback or useEffect. The article gained some attention in a couple of awesome newsletters such as TLDR WebDev, https://bytes.

Full article

July 11, 2024

Pre-commit hooks

Thursday, July 11, 2024 Teklinks

Pre-commit hooks are a useful way to prevent secrets in code from being pushed from a git repository. Preventing them from being leaked in the first place is always the best approach.

Full article

July 9, 2024

Introducing React-Admin V5

Tuesday, July 09, 2024 Teklinks

React-admin v5 is here! This version started as a technical update to clean up the codebase and integrate the latest React features and libraries. However, we ended up adding many new features and improvements that we think you'll love.

Full article

July 7, 2024

Speeding up the JavaScript ecosystem - Isolated Declarations

Sunday, July 07, 2024 Teklinks

Unbeknownst to many, the new isolatedDeclaration feature shipped in TypeScript 5.5 is much more important than you might realize. It just revolutionized how we package and distribute JavaScript code. You don't need to create *.d.ts files manually anymore.

Full article

The Death of the Junior Developer

Sunday, July 07, 2024 Teklinks

Warning: This blog post is somewhat speculative; the sky might not be falling. But my spidey-sense is definitely tingling. The way we are all doing our jobs in software is changing, potentially in big ways. So let's think of this as a thought exercise. With that disclaimer, we're off!

Full article

July 5, 2024

Enhancing The New York Times Web Performance with React 18

Friday, July 05, 2024 Teklinks

As software engineers at The New York Times, we place a high value on page performance, SEO, and keeping up to date with the latest technology. With those priorities in mind, the release of React 18 stood out to us as a significant and tangible leap forward in the ever-expanding world of web development.

Full article

The End of Programming

Friday, July 05, 2024 Teklinks

The end of classical Computer Science is coming, and most of us are dinosaurs waiting for the meteor to hit. I came of age in the 1980s, programming personal computers like the Commodore VIC-20 and Apple ][e at home.

Full article

July 4, 2024

Local, first, forever

Thursday, July 04, 2024 Teklinks

For the long version, go to Ink & Switch, who coined the term. Or listen for Peter van Hardenberg explaining it on LocalFirst.fm. Here’s my short version: It’s software; That prefers keeping your data local; But it still goes to the internet occasionally to sync with other users, fetch data, back up, etc.

Full article

The many faces of undefined in JavaScript

Thursday, July 04, 2024 Teklinks

But in the end, you have to use this language and you can’t avoid undefined values. Here are some things I’ve found that can limit the exposure to the defects created by the many faces of undefined.

Full article

How to use container queries now

Thursday, July 04, 2024 Teklinks

Now that container queries are supported in all browser engines, why aren't more developers using them? Chris's post lists a number of potential reasons (for example, lack of awareness, old habits die hard), but there's one particular reason that stands out.

Full article

July 3, 2024

How JavaScript Is Finally Improving the Module Experience

Wednesday, July 03, 2024 Teklinks

JavaScript used to be seen as a language where developers could write code quickly, but it was not necessarily suitable for teams of developers writing code at scale for large applications. One reason was that, until relatively recently, it didn’t have strong module support natively.

Full article

Unlighthouse

Wednesday, July 03, 2024 Teklinks

Unlighthouse is currently in a private early access. Please consider becoming a sponsor if you'd like access to the project. Take advantage of your CPU with multi-threaded workers powered by puppeteer-cluster and use opportunistic throttling and categories for lightning quick scans.

Full article

July 1, 2024

June 30, 2024

Roadmap to Become an AI Engineer Roadmap

Sunday, June 30, 2024 Teklinks

AI is the new paradigm to build all technology. After establishing how AI Engineer is turning out to be the next big tech role, it’s time to learn how to become one. This post explains: the roadmap one can follow to go from being a Software Engineer to AI Engineer, required skills to become an AI Engineer, sample tools that you should learn to use while developing those skills, the best way to develop those skills.

Full article

Announcing pkg.pr.new

Sunday, June 30, 2024 Teklinks

We’re excited to introduce pkg.pr.new, a GitHub app to get instant preview releases of your packages. It allows your contributors and users to test continuous releases of each commit in your project’s main branches and on every Pull Request! We built pkg.pr.

Full article

The route to better culture? Better managers

Sunday, June 30, 2024 Teklinks

Does your work invoke emotions in you? More than a quarter of the UK workforce say they experience sadness for a lot of the day at work. (The UK is the second highest in the world on this count). It’s devastating to actually pause to take in stat.

Full article

June 29, 2024

New JavaScript Set methods

Saturday, June 29, 2024 Teklinks

New JavaScript Set methods are arriving! Since Firefox 127, these methods are available in most major browser engines, which means you won't need a polyfill to make them work everywhere.

Full article

Migrating to Next.js App Router with zero downtime

Saturday, June 29, 2024 Teklinks

We use Next.js for all of our frontend apps at WorkOS. Recently, there has been a lot of discussion in the community about all of the new technologies that the Next.js App Router offers, such as nested layouts and React Server Components.

Full article

A Rant about Front-end Development

Saturday, June 29, 2024 Teklinks

I am a front-end developer who is FED up about front-end development. If you write front-end, this isn’t about you personally. It’s about how your choices make me angry. Also this is about how my choices have made me angry. Also this is mostly just about choices, the technologies are incidental.

Full article

June 27, 2024

The Many Facets of Coupling

Thursday, June 27, 2024 Teklinks

Coupling is integration's magic word. Loose coupling affords the participants desirable properties like independent variability or operational resilience. However, as pointed out in a recent blog post, coupling isn't binary nor is it a single dimension. So it's time to apply our favorite architect maneuvres—seeing more dimensions and seeing shades of gray—to coupling.

Full article