Search the archive

Full-text search across article titles and summaries. Refine with sector, year, content type, and reading-time filters.

Results

9,381 matches

HOW GITHUB REBUILT THEIR PUSH PROCESSING SYSTEM

GitHub revamped its code push handling system by transitioning from a single monolithic job to a decoupled architecture using Apache Kafka. This change involved breaking down the original large job into smaller, independent tasks based on dependencies and ownership. They improved reliability by enabling targeted retries and reduced latency by allowing parallel processing.

2024.06.17
blog.quastor.org9 min readTLDR Web Dev

GOOD CODE IS RARELY READ

Good code should prioritize ease of use over readability. It should be intuitive and self-explanatory and shouldn't require much reading to understand its purpose and functionality.

2024.06.17
alexmolas.com3 min readTLDR Web Dev

GEN AI WILL INCREASE DEMAND FOR SOFTWARE ENGINEERS

This author believes that generative AI will increase demand for software engineers. He compares it to autopilot systems on airplanes which made piloting more accessible and grew the aviation industry, leading to increased demand and higher salaries for pilots. While the specific skillset required for software engineers might change due to generative AI, general skills like communication, problem-solving, and creativity will remain and be even more important.

2024.06.17
roarepally.com3 min readTLDR Web Dev

WHY STRUCTURE AND INTERPRETATION OF COMPUTER PROGRAMS MATTERS

The textbook, Structure and Interpretation of Computer Programs (SICP), revolutionized introductory computer science education by focusing on big-picture ideas like abstraction and functions as data, rather than just programming language details. It chose Scheme as the teaching language, which allowed students to grasp concepts without getting bogged down in syntax. SICP set a high bar for student expectations, challenging them with complex tasks like building interpreters. The SICP course has been very popular at UC Berkeley and has served well in educating computer science students that do well in industry and graduate school.

2024.06.17
people.eecs.berkeley.edu6 min readTLDR Web Dev

HTMD

HTMD is an HTML to Markdown converter for Rust. It is fast and has minimal dependencies and a range of options.

2024.06.17
github.comGitHub repositoryTLDR Web Dev

JSONTREE.JS

JsonTree.js is a lightweight JavaScript library that generates customizable tree views to better visualize JSON data.

2024.06.17
github.comGitHub repositoryTLDR Web Dev

DGM.JS

DGM.js is an infinite canvas with smart shapes. It supports smart shapes, headless components (React), multi-page support, hand-drawn styles, real-time collaboration, and various import options.

2024.06.17
github.comGitHub repositoryTLDR Web Dev

PERPLEXITY AI IS LYING ABOUT THEIR USER AGENT

Perplexity AI claims to use a user agent called PerplexityBot, but it actually uses a generic Chrome user agent. It is likely doing this to scrape content from websites that disallow scraping in their robots.txt files.

2024.06.17
rknight.me5 min readTLDR Web Dev

POSTGRES IS ALL YOU NEED, EVEN FOR VECTORS

PostgreSQL with the pgvector extension offers an efficient way to store and query embeddings. It offers simplified querying, data consistency, and better performance compared to using separate databases for relational and vector data.

2024.06.17
anyblockers.com5 min readTLDR Web Dev

THE ARCHITECTURE BEHIND A ONE-PERSON TECH STARTUP

This post breaks down the setup for a one-person SaaS tech startup, from load balancing to cron job monitoring to payments and subscriptions. The author uses a Kubernetes cluster on AWS, Cloudflare for load balancing and caching, ingress-nginx for routing traffic within the cluster, Flux for automatic deployments, and RDS for database management.

2024.06.17
anthonynsimon.com27 min readTLDR Web Dev

SQLITE STUDIO

A single binary, single command SQLite database explorer.

2024.06.17
github.comGitHub repositoryTLDR Web Dev

SIMPLE SABOTAGE FOR SOFTWARE

A CTO could sabotage a company through technology, product, leadership, hiring, and project management decisions, resulting in decreased productivity and ultimately harming the company.

2024.06.17
erikbern.com6 min readTLDR Web Dev

THE ARCHITECTURE OF STRIPE'S DOCUMENT DATABASE

Stripe's internal database as a service, DocDB, is built on MongoDB and designed for scalability and reliability. DocDB uses a proxy server to handle read/write requests, a central Chunk Metadata Service to track data chunk locations, and a Data Movement Platform for easy data migration between shards.

2024.06.14
blog.quastor.org6 min readTLDR Web Dev

ASYNC RUBY ON RAILS

Async programming can make Ruby on Rails apps faster by delaying non-essential tasks and parallelizing I/O-bound operations. This can be achieved using methods like `deliver_later` for emails, `load_async` for database queries, and `dependent: :destroy_async` for dependent associations. However, while async can speed up apps, it can also add complexity, so it's better to address basic performance issues first and use async judiciously.

2024.06.14
thoughtbot.com8 min readTLDR Web Dev

NOTEBOOKS ARE MCDONALDS OF CODE

Python Notebooks promote bad coding habits like neglecting testing and linting due to their ease of use and impermanence. They also worsen personal productivity by causing distractions and creating inconsistencies between the notebook environment and production. While they seem fast to iterate on, they slow down team collaboration by making it difficult to track changes, maintain awareness of ongoing work, and share useful code snippets.

2024.06.14
yobibyte.github.io6 min readTLDR Web Dev

WHAT DO GENZ SOFTWARE ENGINEERS REALLY THINK?

The Pragmatic Engineer's survey of GenZ software engineers revealed that despite generational labels, young software engineers share common traits with older ones, particularly in valuing supportive and accommodating work environments. GenZ respondents are described as energetic, ambitious, and adept communicators who are ready to make a significant impact in the tech industry.

2024.06.14
open.substack.com40 min readTLDR Web Dev

MY THOUGHTS ON PYTHON IN EXCEL

Microsoft's Python in Excel is designed as an alternative to Excel's formula language, not VBA, and integrates Jupyter Notebook cells into the grid. It is not ideal for beginners due to its non-interactive data analysis and challenging diagnostics pane. However, it's still pretty useful for computationally intensive tasks, AI applications, advanced visualizations, and time-series analysis.

2024.06.14
xlwings.org17 min readTLDR Web Dev

Sponsored

SAP + APACHE KAFKA FOR REAL-TIME CUSTOMER EXPERIENCES

In this online talk by Confluent and SAP, you'll learn how to keep every system that relies on SAP data in sync with the latest and greatest real-time data. The session includes a demo of using SAP Datasphere and Confluent's Kora Engine [11] to build real-time

2024.06.14
confluent.ioSponsorTLDR Web Dev

WRITE BUG REPORTS DEVELOPERS LOVE

A simple checklist of the essential items to include in your bug reports. This includes a title, steps to reproduce, visual proof, expected vs actual results, log statements if applicable, and environment details.

2024.06.14
perfectbugreport.ioToolTLDR Web Dev

QUARTZ

Quartz is a set of tools that helps you publish your digital garden and notes as a website for free.

2024.06.14
github.comGitHub repositoryTLDR Web Dev

REACT & CODEMOD ANNOUNCEMENT

Codemod provides tools to migrate code quickly. It is partnering with the React team to build and maintain the `react-codemod` repo, which offers open-source codemods to make React-related migrations fast.

2024.06.14
codemod.com3 min readTLDR Web Dev

PROVABLE SOFTWARE SYSTEMS HAVE LOTS OF PROMISE

Provable software systems guarantee the correct functioning of software by using mathematical logic and proofs. This approach can help to catch bugs and vulnerabilities early on, making systems more reliable and secure. Simple systems that are more provable include an IoT light bulb and a Lego garage with a cryptographic library.

2024.06.14
forbes.com3 min readTLDR Web Dev

GROUP CHATS RULE THE WORLD

Private group chats have become the hub for interesting tech discussions due to the cultural shifts and the rise of online communities. The success of these group chats depends on a strong leader, active members who inject new ideas, and the existence of smaller side chats for private conversations. Groups should be diverse and sizes should be limited, while inactive members should be pruned to maintain the quality of discussions.

2024.06.14
sriramk.com6 min readTLDR Web Dev

UNLOCKING THE POWER OF UNSTRUCTURED DATA WITH RAG

Unstructured data like README files, code comments, and issue descriptions are hard to analyze but hold valuable insights. Retrieval-augmented generation (RAG) uses additional data sources like vector databases or search engines to improve the quality and relevance of outputs from large language models. RAG can help surface organizational best practices and uncover user pain points from unstructured data by providing contextually relevant responses to developers' questions to improve their productivity.

2024.06.14
github.blog10 min readTLDR Web Dev

WHY SWIFT'S TYPE CHECKER IS SLOW

Swift's type checker can be slow due to the way it infers types, especially in complex expressions with multiple possible combinations, leading to exponentially increasing compilation times.

2024.06.14
danielchasehooper.com5 min readTLDR Web Dev

Sponsored

BOOST PRODUCTIVITY

Developers want to automate as much busywork as possible, but Jira doesn't always make it easy.

2024.06.13
appfire.comSponsorTLDR Web Dev

HOW META TRAINS LARGE LANGUAGE MODELS AT SCALE

Meta is facing challenges in training large language models due to the amount of computational power required. This has led to the company rethinking its infrastructure in terms of hardware reliability, failure recovery, efficient training state preservation, and optimal GPU connectivity. Meta is innovating across the infrastructure stack by developing new training software and scheduling algorithms, modifying hardware like the Grand Teton platform, optimizing data center deployments, and exploring new fabrics for network infra.

2024.06.13
engineering.fb.com7 min readTLDR Web Dev

HOW TO HACK YOUR GOOGLE LIGHTHOUSE SCORES IN 2024

Perfect Lighthouse scores do not guarantee flawless website performance as the tool can be manipulated to yield artificially high results. For example, you can show the smallest amount of LCP-qualifying content on load to boost the FCP and LCP scores until the Lighthouse test has likely finished. Figuring out what the user experience is actually like needs a holistic overview of real-world performance, user field data, and more.

2024.06.13
smashingmagazine.com19 min readTLDR Web Dev

WEAK MEMOIZATION IN JAVASCRIPT

Memoization in JavaScript involves storing the results of expensive function calls to improve efficiency. You can use global variables or granular factory functions for basic frontend caching. Advanced techniques include using `WeakMap` and cascading structures inspired by React's `cache` function, which allows for storing multiple results and has automatic garbage collection. WeakMaps can also be used to establish relations between objects, as seen in React's experimental API.

2024.06.13
dev.to14 min readTLDR Web Dev

DON'T REFACTOR LIKE UNCLE BOB. PLEASE

One of the refactoring examples in the book "Clean Code" is overly complex and less understandable than the original piece of code. There are issues like unnecessary class creation, unclear naming, and excessive function separation. Developers should prioritize code readability over just strictly adhering to arbitrary rules.

2024.06.13
theaxolot.wordpress.com7 min readTLDR Web Dev

FROM CHAOS TO CLARITY: MY JOURNEY WITH OBSIDIAN

Obsidian, an open-source note taking app, can be used for productivity with its scratchpad, task lists, daily notes, and weekly reviews. Canvas can be used for creating graphs to visualize goals and dependencies. Practice spaced repetition for knowledge retention.

2024.06.13
kyry.cz9 min readTLDR Web Dev

HOW TO USE ENGINEERING METRICS 📊

Engineering metrics should be used narrowly at first, with just one metric being the focus for a team's productivity. Over time, more metrics can be tracked and added, as long as they are aligned with the team's broader goals.

2024.06.13
open.substack.com18 min readTLDR Web Dev

LAMBDA API

Lambda API is a streamlined web framework designed for AWS Lambda using AWS API Gateway Lambda Proxy Integration or ALB Lambda Target Support. It draws inspiration from frameworks like Express.js and Fastify, but has been optimized for performance within Lambda's stateless, single-execution model.

2024.06.13
github.comGitHub repositoryTLDR Web Dev

RESTATE

Restate allows you to build workflows, event-driven applications, and distributed services in a fault-tolerant manner with durable async/await. It can be used to build Lambda workflows as code, transactional RPC handlers, event processing with Kafka, and more.

2024.06.13
github.comGitHub repositoryTLDR Web Dev

GRAPHQL-QUERY-COMPLEXITY

Graphql-query-complexity is a tool that analyzes GraphQL query complexity to safeguard servers against resource exhaustion and DoS attacks. It allows setting maximum complexity thresholds and provides customizable estimators for calculating field complexities based on schema and query structure.

2024.06.13
github.comGitHub repositoryTLDR Web Dev

HOW ALEXA DROPPED THE BALL ON BEING THE TOP CONVERSATIONAL SYSTEM ON THE PLANET

Alexa had the potential to be the leader in conversational AI due to its resources and talent, but it faced technical and organizational challenges. The internal infrastructure was difficult for developers to work with, and the fragmented organizational structure stopped effective collaboration. Additionally, there was a misalignment between product goals and scientific research timelines.

2024.06.13
mihaileric.com7 min readTLDR Web Dev

PGVECTOR IS NOW FASTER THAN PINECONE AT 75% LESS COST

pgvectorscale is a new open-source PostgreSQL extension that improves the performance and scalability of vector operations. It achieves this through StreamingDiskANN, a disk-based vector search index that is more cost-efficient than in-memory indexes, and Statistical Binary Quantization, a novel compression method that improves accuracy. Benchmarks show that PostgreSQL with pgvector and pgvectorscale outperforms other commercial vector databases.

2024.06.13
timescale.com13 min readTLDR Web Dev

HOW TO GET THE MOST OUT OF POSTGRES MEMORY SETTINGS

Postgres uses shared buffers, the largest segment of RAM, to cache frequently accessed data pages. shared_buffers should typically be set to 25% of available RAM to optimize memory usage, but can be adjusted based on buffer cache utilization. Work memory, controlled by work_mem, is allocated per query node and should be set carefully to avoid excessive memory usage or disk spillage. This article goes into detail tips to reduce memory consumption.

2024.06.13
tembo.io18 min readTLDR Web Dev

LEXBOR

Lexbor is an open source HTML Renderer library.

2024.06.13
github.comGitHub repositoryTLDR Web Dev

OVERWATCH

Overwatch is a platform that automates OSINT and threat intel into actionable insights.

2024.06.13
overwatchdata.aiToolTLDR Web Dev