TLDR Dev 2024-06-24
How frontend has evolved π¨, dropping hats using AI π§’, the real 10x devs π
π§βπ»
Articles & Tutorials
Live types in a TypeScript monorepo (12 minute read)
You can use custom conditions to live-update TypeScript types in monorepos. This involves user-defined conditional exports in package.json and customConditions in tsconfig.json.
SVG: The Good, the Bad and the Ugly (7 minute read)
SVG is a widely supported and powerful format for vector graphics, but it's also bloated, complex, and not well-suited for either machine processing or direct human use. It's part of the web standard, making it annoying for implementation due to its large specification and dependencies on other standards like XLink, CSS, and JavaScript. The ideal solution would be a simpler machine-focused exchange format, potentially JSON-based, with a minimal feature set and strict test suite for universal compatibility and easier implementation.
Exposition of Frontend Build Systems (14 minute read)
Frontend build systems evolved as JavaScript codebases grew larger and developer needs became more complex. They consist of three steps: transpilation to address unsupported language features, bundling to reduce network requests, and minification to decrease file sizes. These steps are facilitated by tools like Babel, SWC, and Webpack, among others, and enhanced by developer tools like meta-frameworks, sourcemaps, hot module replacement, and monorepo tools.
The Trough of Despair (5 minute read)
Improving software design to support new features is a process that inevitably involves a temporary decline in performance before reaching a better state. The software designer's role is to envision the desired state and strategically manage the transition process, considering factors like the size of improvement steps, the time to achieve initial value, and the rate of improvement after the initial dip. This process is called "succession" and involves making choices about the design transformation, sequencing steps to minimize disruptions, and balancing risk with efficiency.
Getting 100% code coverage doesn't eliminate bugs (4 minute read)
Achieving 100% code coverage doesn't guarantee the absence of bugs. This developer provides an example of a single line of code with 100% coverage that still contains a critical error. Code coverage is not a reliable indicator of software quality and formal verification/proof checkers are better used for mission-critical software.
The real 10x developer makes their whole team better (5 minute read)
The concept of the "10x developer" is a myth, as individual contributions have less impact on project success than the quality of collaboration. Successful organizations foster a culture of community learning, enabling knowledge sharing and collaboration across teams. Developers can contribute to this culture by actively engaging in learning and sharing mistakes.
Revolutionize GenAI Applications With Vultr Cloud GPU, Powered By NVIDIA (Sponsor)
With Vultr and receive instant access to cutting-edge NVIDIA GPUs for AI, VR, HPC, and More. With 32 data center locations, Vultr ensures seamless access to cloud infrastructure worldwide β so you can enhance apps while avoiding the complexity and cost of the hyperscalers.
Visit Vultr and receive $250 in credits.AWS Lambda Web Adapter (GitHub Repo)
This is a tool for running web applications on AWS Lambda. It supports web frameworks like Next.js, Express.js, Flask, and more.
Code Interpreter SDK (GitHub Repo)
The Code Interpreter SDK is a Python & JS/TS SDK for adding code interpreting to your AI app. It supports multiple LLMs and streaming.
@kitbag/router (GitHub Repo)
@kitbag/router is a type-safe router for Vue.js web apps. It has features like route definition, parameter updates, and navigation management.
Formal Methods: Just Good Engineering Practice? (8 minute read)
Formal methods are techniques used to model complex systems as mathematical entities. While initially perceived as costly, they can actually save time and money by reducing rework and helping with early interface changes in large-scale, distributed, or low-level systems. Unlike agile development, which is better suited for projects with evolving requirements, formal design is best when requirements are well-understood.
Why your brain is 3 milion more times efficient than GPT-4 - dead simple introduction to Embeddings, HNSW, ANNS, Vector Databases and their comparison based on experience from production project (33 minute read)
This author initially tried chromaDB for their vector database needs, but found limitations in scalability and build time. After evaluating options like Pinecone and pgvector, they ultimately chose Qdrant for its performance, ease of use, feature set, and supportive community. The author advises against Milvus and pgvector due to performance and compatibility issues.
From the 80's to 2024 - how CI tests were invented and optimized (11 minute read)
Software testing was a manual process in the 1980s, with engineers reviewing code printouts for errors. Automated unit tests became more prevalent in the 1990s, but they were often written and run by specialized testers, leading to slow feedback cycles. The 2000s saw the rise of automated continuous integration (CI) servers like Hudson (Jenkins) that enabled testing of every code change.
The most important software engineering news in one daily email
Join 480,000 readers for
one daily email