Daily Edition · Page 4

THE DAILY INDEX

Technology, AI, software, security, crypto and business

ARTICLES & TUTORIALS

TLDR Web Dev

MODERN CLIENT-SIDE ROUTING: THE NAVIGATION API

SPAs (Single Page Applications) are defined by a core feature: they dynamically rewrite their content as users interact with them instead of the default method of loading entirely new pages from the server. SPAs are able to provide this feature via the History API, a clunky API developed long before SPAs were the norm. The Navigation API is a newly proposed API that completely overhauls this space that promises to be easier to adapt. This page describes the Navigation API at a high level with code examples on popular usages.

IN DEFENSE OF SIMPLE ARCHITECTURES

Simple architectures can be surprisingly effective, even for large-scale applications. For example, Wave is a $1.7B fintech company with a CRUD app built on a Python monolith and Postgres database. The benefits of this simple architecture include lower cost, easier maintenance, and faster development. There are some areas where complexity is unavoidable, such as telecom integrations. Simple architectures are a good choice for many businesses, especially those that are not ad-supported or businesses without high traffic levels.

PLANNER PROGRAMMING BLOWS MY MIND

Picat is a research language that combines logic programming, imperative programming, and constraint solving. “Planning" in Picat is when the program finds variable mutations to reach a desired end state. Instead of defining algorithms, Picat defines starting states, actions, and final states, allowing the program to find solutions through mutations. Planning helps minimize cost and is best used for applications in AI, robotics, and video games.

CODING INTERVIEWS ARE EFFECTIVE

Coding interviews are effective for companies despite their limitations because they help minimize the risk of hiring bad candidates. While there are downsides to coding interviews, like pressure and filtering out good candidates who don't perform well, they can be useful for assessing a candidate's problem-solving skills and their potential as a future teammate. Automated assessments aren’t as reliable as they lack human interaction and can’t always catch cheating.

TLDR IndexPage 4