TLDR Web Dev

TLDR WEB DEV 2024-05-30

6 sections17 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01GENERAL

Sponsored

7PACE: TIME TRACKING FOR MONDAY.COM

Time is a developer's most precious resource — whether you're a freelancer juggling multiple projects or a team lead looking to maximize productivity. Appfire's 7pace Timetracker for monday.com [4] makes time tracking and project planning/project management effortless for you and your team. In a single app, you get:

youtube.comSponsor

02ARTICLES & TUTORIALS

A VIRTUAL DOM IN 200 LINES OF JAVASCRIPT

A virtual DOM makes UI modification easier by tracking changes in a simplified representation of the DOM. A library tracks changes to the root DOM element by keeping a structure of virtual nodes, representing each HTML element. When the state changes, the library creates a new virtual DOM, compares it to the previous one (diffing), and applies the differences to the real DOM, making sure it matches the desired state.

lazamar.github.io18 min read

REMOVING AD TRACKERS AND COOKIES - THE TECHNICAL PERSPECTIVE

Sentry recently removed non-essential cookies and trackers from its public websites. It identified cookies using Chrome's developer console and specialized scanners while using Content-Security-Policy (CSP) reporting for a comprehensive overview. To maintain a cookieless environment, Sentry implemented CSP with strict rules and continuous monitoring using custom scripts and a cookie scanner.

blog.sentry.io18 min read

WINTERJS VS. BUN: COMPARING JAVASCRIPT RUNTIMES

WinterJS is a new high-speed JavaScript runtime built with Rust and the SpiderMonkey engine. While Bun has more comprehensive toolkit features, WinterJS focuses more on speed and WinterCG compliance, but lacks Windows and TypeScript support. While initial performance tests favor Bun, WinterJS shows potential when it is run natively.

blog.logrocket.com6 min read

03OPINIONS & ADVICE

HOW I CONVINCED MY MANAGER TO SUPPORT MY PROMOTION TO SENIOR

This author applied for a promotion to Senior Software Engineer at Google after being encouraged by her mentor. She presented a strong self-assessment to her manager, who initially planned to delay her promotion. She was promoted successfully thanks to her self-advocacy and support from her manager.

thecaringtechie.com4 min read

4 SOFTWARE DESIGN PRINCIPLES I LEARNED THE HARD WAY

This article discusses software engineering principles for building reliable software. Avoid premature abstraction with the PRY principle (“Please Repeat Yourself”). Minimize the use of mocks in testing, using a single source of truth for data if possible, and reduce mutable state.

read.engineerscodex.com5 min read

04LAUNCHES & TOOLS

Sponsored

LEARN PYTHON WITH COSMO — THE SMARTEST AI GUIDE IN THE UNIVERSE

Need to brush up on Python programming? Learn the fun way with CodeSignal [11]. This travel-themed learning path offers 25 engaging lessons, 122 hands-on practices, and one-on-one guidance from Cosmo [11] — an AI tutor that prompts you with challenges built just for

learn.codesignal.comSponsor

KOHEESIO

Koheesio is a Python framework for building efficient data pipelines. It allows developers to create complex pipelines from simple, reusable components. Koheesio supports strong typing, data validation, structured configurations, and more.

github.comGitHub repository

SUPERFILE

Superfile is a customizable terminal file manager. It has a multiple panel view to see multiple directories at the same time and has customizable themes.

superfile.netlify.appTool

SERVERLESS POSTGRES

An MVP of serverless Postgres using Oriole, Fly Machines, and Tigris for S3 Storage.

github.comGitHub repository

05MISCELLANEOUS

TRAINING IS NOT THE SAME AS CHATTING: CHATGPT AND OTHER LLMS DON'T REMEMBER EVERYTHING YOU SAY

A common misconception about LLMs like ChatGPT is that they learn and memorize everything said to them during conversations. This is inaccurate as these models function as stateless functions, processing each conversation independently without retaining memory of previous interactions. Features like ChatGPT's "memory" are actually prompting tricks that insert relevant information into the context of ongoing conversations.

simonwillison.net8 min read

INDEXING ALL OF WIKIPEDIA, ON A LAPTOP

Cohere released a dataset containing all of Wikipedia, making it practical to create a semantic, vector-based index of Wikipedia on a laptop. This developer was able to index the entire database on a laptop by making sure they had enough free disk space and RAM and disabling swap. They used an indexing library that supported indexing larger-than-memory datasets by compressing vectors.

foojay.io8 min read

I SOLD TINYPILOT, MY FIRST SUCCESSFUL BUSINESS

This former Google software engineer sold his company, TinyPilot, for $600k after four years of building it. He decided to sell because he wanted to focus on coding and starting a family. The company grew from $0 to $1M+ of annual revenue over 4 years.

mtlynch.io16 min read