TLDR Web Dev

TLDR WEB DEV 2024-02-12

5 sections16 entrieslinks blockcomplete parse

Parse notes

  • Subscription/account footer truncated before parsefooter_truncated

01ARTICLES & TUTORIALS

FROM MANY TO ONE: MOVING OUR JAVASCRIPT CODE INTO A MONOREPO

Aha! transitioned JavaScript code into a monorepo to streamline development. Initially, the company used private npm packages for code reuse, but the process required them to make changes to private npm packages, which quickly slowed them down. Its team evaluated several tools to do the repo migration efficiently, ultimately choosing Turborepo in conjunction with pnpm. This setup maintained git history, simplified its codebase, and enhanced the development workflow without adding unnecessary complexity. The transition has led to significant time savings and reduced frustration for its engineering team.

aha.io10 min read

FROM 20S DOWN TO 1S: HOW WE SHAVED OFF 19S FROM OUR GRAPHQL API QUERIES

A team was looking to optimize GraphQL query time and explored several options like pagination, reducing the number of nested queries, caching, filtering, and more. However, one approach was the most effective and reduced large GraphQL query time from 20 seconds to 1 second. They did this by optimizing SQL queries against the database and it’s very simple - instead of using SELECT *, specify the columns you want. This will reduce payload size and reduce database overfetching.

mingyang-li.medium.com3 min read

HOW I WRITE HTTP SERVICES IN GO AFTER 13 YEARS

This article covers in-depth service testing, optimizing startup and shutdown, avoiding global state, handling common request types, and controlling the environment through flags, and environment variables. When writing HTTP services in Go, the author only uses one HTTP handler per service and relies on HTTP routes to divert traffic to the right handlers within each service. Functions are used as handlers and dependencies are passed as arguments.

grafana.com24 min read

02OPINIONS & ADVICE

WHY BLOAT IS STILL SOFTWARE’S BIGGEST VULNERABILITY

The excessive complexity and size of modern software leads to vulnerabilities and security breaches. Okta, Microsoft, and Apple users have been hacked multiple times over the past few years due to the amount of code surface area available for hackers to exploit. A return to minimalistic yet functional software development practices can help reduce security issues in modern software.

spectrum.ieee.org10 min read

FINDING A NEW SOFTWARE DEVELOPER JOB

After being laid off, this author had trouble finding a new job. He detailed all the ways he made himself open to new opportunities, utilizing LinkedIn, job ads, and specialized platforms. Throughout the process, he maintained meticulous tracking of applications and learned to navigate salary negotiations and technical assessments. The author details his entire journey from start to finish, with transparency and tips along the way.

henrikwarne.com18 min read

IT'S TIME TO BREAK FREE FROM CORPORATE AGILE

Agile methodologies in corporate environments ("Corporate Agile") commonly have bloated processes and misplaced priorities, shown by excessive meetings and too many middle managers. A return to "Basic Agile," with an emphasis on principles over rigid processes, will allow teams to self-organize and adapt under uncertainty. Basic Agile done right has a focused, quick daily meeting to discuss potential blockers, short sprint planning sessions, and immediate issue resolution.

bits.danielrothmann.com10 min read

03LAUNCHES & TOOLS

HURL

Hurl is a command line tool designed to execute HTTP requests specified in a straightforward plain text format. It offers features such as request chaining, value capturing, and query evaluation on response headers and bodies, making it suitable for both data retrieval and HTTP session testing. Hurl supports working with various types of APIs, including HTML, REST, SOAP, GraphQL, XML, and JSON.

github.comGitHub repository

LEO

Leo is a functional, statically typed programming language designed for creating private applications. It abstracts low-level cryptographic concepts, facilitating the integration of private apps into existing systems by compiling to circuits, making zero-knowledge proofs feasible. Leo offers developers tools for circuit sanity checks, including unit tests, integration tests, and console functions.

github.comGitHub repository

04MISCELLANEOUS

FIGURE OUT WHO'S LEAVING THE COMPANY: DUMP, DIFF, REPEAT

A system called "epitaphs" at a company this author worked at had entries for departed employees. The company’s employees also created their own system to track changes in the employee directory, allowing for insights into departures and other events. The author provides technical details for implementing similar systems which can be created informally at other companies to help employees have a better sense of layoffs and departures.

rachelbythebay.com3 min read

RSS IS STILL PRETTY GREAT

RSS (Really Simple Syndication) feeds are useful for consuming high-quality content with minimal noise. They are a good way to access thoughtful long-form content without the distractions often found on social media platforms. Despite some criticisms, such as a lack of discoverability and non-tech-savvy user-friendliness, RSS remains a valuable tool for content consumption due to its control, reduced low-value content, and just-in-time access to information. They are a relic of the “old web” in today’s algorithm-dominated world, but as AI floods algorithms, RSS may make a comeback.

pcloadletter.dev7 min read

POWER OF SMALL OPTIMIZATIONS

Small optimizations can go a long way in improving performance. There are three categories of optimizations: architecture, algorithms and data structures, and source code. To find opportunities for small optimizations, one can use profiling applications and try utilizing things like hybrid algorithms.

maksimkita.com7 min read