TLDR Web Dev

TLDR WEB DEV 2024-02-28

5 sections18 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

HOW DISCORD MOVED ENGINEERING TO CLOUD DEVELOPMENT ENVIRONMENTS

Discord successfully transitioned to a Linux-based Cloud Development Environment (CDE) to address the challenges of a growing remote engineering team. Its initial Kubernetes-based CDE solution proved problematic, and switching to a VM-based offering provided a stable and performant experience. The migration involved careful planning, early feedback, and a phased rollout.

discord.com8 min read

JSR: WHAT WE KNOW SO FAR ABOUT DENO’S NEW JAVASCRIPT PACKAGE REGISTRY

Deno, a JavaScript/TypeScript runtime, has launched a new package registry called JSR to address perceived shortcomings in the dominant npm registry. JSR offers a TypeScript-first environment, integrated workspaces, and a focus on security and usability. Early reviews are mixed, with some praising its potential for streamlining TypeScript development and improving security, while others question the need for yet another registry and express concerns about ecosystem fragmentation.

socket.dev8 min read

HOW NETFLIX REALLY USES JAVA

Netflix's Java architecture has evolved significantly from its Groovy-based backend-for-frontend model. The company transitioned to a GraphQL Federation architecture, eliminating the need for reactive programming paradigms like RxJava. This shift simplified development, as GraphQL's explicit field selection reduces the complexity of creating device-specific APIs. Netflix heavily utilizes Java, currently on version 17 with active testing of version 21, and is looking forward to using virtual threads to scale easier.

infoq.com22 min read

02OPINIONS & ADVICE

HOW I ALMOST QUIT BECAUSE OF $75

This author shares three instances where they nearly quit their tech job due to challenges such as budget frustrations, boredom, and exhaustion. Each time, they chose to stay and found value in doing so by reframing the situation. They focused on goals instead of perceived injustices, looked for challenges both inside and outside of work, and built relationships with others in the company. They found that a longer tenure in a company increased their influence.

open.substack.com5 min read

VSCODE + WSL MAKES WINDOWS AWESOME FOR WEB DEVELOPMENT

The creator of Ruby on Rails is surprised and impressed by the recent advancements in Windows for web development. VSCode combined with WSL offers a seamless Linux development environment within Windows. Intel’s latest chips are able to build Docker images faster than Apple’s M3 Max chips. Windows is quickly becoming a viable alternative for web developers compared to macOS.

world.hey.com5 min read

MORE FILES PLEASE

Files are powerful because they serve as a universal medium of data exchange between applications. They liberate your data, allowing it to be accessed and manipulated by any app. This is in contrast to "app first" organization, where data is often trapped within specific applications in their private databases. While modern documents might function like folders filled with links, genuine files offer greater interoperability and protect against being locked into a single software provider.

blog.jim-nielsen.com3 min read

03LAUNCHES & TOOLS

MOUNTAINEER

Mountaineer is a framework for building web apps with Python and React. It provides typehints throughout the entire stack (frontend, backend, and database), has easy client/server communication and optimized server rendering, and performs static analysis of web pages for strong validation.

github.comGitHub repository

NP

np is a better npm publish. It has an interactive UI, ensures your working directory is clean, and keeps your package.json up to date.

github.comGitHub repository

04MISCELLANEOUS

GEMINI ADVANCED FAILED THESE SIMPLE CODING TESTS THAT CHATGPT ACED. HERE'S WHAT IT GOT WRONG

Google’s Gemini Advanced was tested against ChatGPT with three coding challenges - Gemini performed poorly comparatively. The first challenge had both AI tools create a WordPress plugin - Gemini failed to create a functional one. The second challenge had both tools rewrite a function, but Gemini produced code containing subtle errors. Lastly, both ChatGPT and Gemini were tasked with finding a bug within some code, but Gemini gave vague advice.

zdnet.com7 min read

ON THE IMPORTANCE TO MAKE GAMES DURING THE GAME ENGINE’S DEVELOPMENT

It is crucial to prioritize making actual games alongside the development process when building a game engine. This will expose you to the pain points and limitations of your engine from a game developer’s perspective. There should be a focus on identifying areas where your engine hinders the game creation process.

team-nutshell.dev5 min read

ALL YOU NEED IS WIDE EVENTS, NOT “METRICS, LOGS AND TRACES”

A common approach to observability focuses on the distinction between logs, metrics, and traces. A simpler approach is to focus on "Wide Events". Wide Events are essentially flexible data structures (similar to JSON objects) that can store any relevant information. Meta has a system called Scuba that demonstrates Wide Events. It has an intuitive interface that allows for easy exploration and filtering of data, empowering users to uncover unknown problems and quickly narrow down the scope of issues.

isburmistrov.substack.com8 min read