Development

21 articles
Dev.to · about 9 hours ago

Teaching My Backend to Lock the Door — FastAPI Auth, Phase 3

The article discusses implementing authentication and authorization in a FastAPI application. The author learned about one-way hashing, signed tokens, and IDOR (Insecure Direct Object Reference) security bugs. The solution involves password hashing, JWT tokens, and scoping access to user data. The author adds libraries like passlib and PyJWT to handle password hashing and token generation.

Google Cloud Blog · 1 day ago

Open Knowledge format v0.2 tackles agentic trust

The Open Knowledge Format (OKF) has been updated to version 0.2, addressing concerns about agentic trust. Agents writing to the corpus need to provide accountability, answering questions about provenance, trust, freshness, lifecycle, and attestation. OKF v0.2 adds vocabulary to answer these questions, while remaining minimally opinionated. The new fields are optional, but their absence now carries meaning. This update enables consumers to make informed decisions about the trustworthiness of concepts generated by agents.

Dev.to · 1 day ago

Building an Operating System In Rust Part 2

In Part 2 of building an operating system in Rust, we dive into the entry point and explore low-level concepts such as registers, the stack, and instruction execution. This foundational control is crucial for understanding how computers work at the lowest level. To follow along, clone the source code from Github and familiarize yourself with these core concepts.

Dev.to · 1 day ago

Building an Operating System In Rust Part 1

The author is building an operating system called kluster in Rust, targeting Raspberry Pi 4 & 5, and will document the process. The series will cover the basics of Rust at a low level. To follow along, install the Rust toolchain and create a new Rust binary crate using Cargo. The author will explain the reasoning behind using the Rust nightly toolchain in the next part.

The Verge · 2 days ago

Google hit with $1 billion fine for breaking EU antitrust rules

The EU fined Alphabet €890 million for violating antitrust rules, specifically giving Google's products preferential treatment in search results and blocking developers from alternative payment options. This matters as it affects Google's business practices and may impact its future operations. Engineers should be aware of these changes and adjust their strategies accordingly. The exact impact on Google's products and services is not yet clear.

Dev.to · 2 days ago

Better than Next.js? Is Rust Finally Ready for Full-Stack Web Development? Introducing Topcoat

Rust's new Topcoat framework provides a batteries-included solution for building full-stack, reactive web applications. It's a server-rendered framework that eliminates boilerplate code and integrates routing, components, HTML rendering, and reactive updates. Topcoat is ideal for data-heavy applications, admin panels, and internal tools. It's a more opinionated experience similar to Rails or Next.js, and can be used alongside existing libraries like Axum.

Dev.to · 2 days ago

Construir un SDK de música adaptativa para juegos con la Web Audio API

Un desarrollador creó un SDK de música adaptativa para juegos web utilizando la Web Audio API. Esto permite a los desarrolladores indie crear música que se adapte al estado del juego sin necesidad de middleware complejo. El SDK está escrito en TypeScript y utiliza Tone.js para abstraer la Web Audio API. Se puede integrar en menos de 10 líneas de código. Esto es beneficioso para los desarrolladores que buscan agregar música adaptativa a sus juegos sin complicaciones.

The Verge · 2 days ago

Framework’s premium laptop is shipping with less RAM

Framework's premium laptop is shipping with less RAM due to a sudden increase in memory costs from its supplier. This affects preorder customers and may delay availability of certain configurations. Framework has enough memory to fulfill existing orders but not in the desired mix. Customers are being notified of the change. Preorder customers should check their order status for updates.

The New Stack · 3 days ago

OpenAI built support agents for its own customer service line, now it hopes big enterprises will trust them too

OpenAI has built support agents for its own customer service line, using AI models that are no longer a bottleneck. This could be a step towards big enterprises trusting AI-powered customer service. The move shows OpenAI's confidence in its technology. Enterprises may consider AI-powered customer service as a result. This could improve customer experience and reduce costs.

Dev.to · 3 days ago

Postman vs Insomnia: Which API Testing Tool Wins in 2026

Postman and Insomnia are compared as API testing tools, with Postman offering a broader platform and Insomnia being a leaner client with more storage flexibility. Postman's storage model requires an account and cloud sync, while Insomnia allows per-project storage choice. Teams should consider their storage needs and automation pipeline when choosing between the two tools.

Dev.to · 3 days ago

Gemini 3.6 Flash vs 3.5 Flash-Lite: API Migration Guide

Google released Gemini 3.6 Flash and 3.5 Flash-Lite as generally available API models. Use Gemini 3.6 Flash for coding and multimodal reasoning, and Gemini 3.5 Flash-Lite for extraction and high-volume subagent work. Remove incompatible fields and route by workload before changing a production default. Test both models with the same task fixtures and consider a fallback model.

Dev.to · 3 days ago

Electricity Planning Engine: An Hourly Arbitrage API for Batteries and Solar, Plus the Timezone Bug That Almost Broke It

The Electricity Planning Engine is a Laravel API that optimizes household energy consumption based on hourly market prices. In Germany, negative wholesale power prices are common due to excess solar and wind energy. The engine decides whether to draw from the grid, charge/discharge a battery, or export solar surplus. It's available on GitHub and can be used as a starting point for similar projects. The engine also considers reserve capacity for peak hours.

DevOps.com · 4 days ago

Zero Trust Starts at the Code: Building Secure Systems with PKI and DevOps Automation

Expired certificates can bring down production systems, often without triggering alerts. This is because they may remain unnoticed in config files or old keys until they cause issues. To mitigate this, teams should implement PKI and DevOps automation to monitor and manage certificates. This can help prevent downtime and ensure system security. Implementing these measures is crucial for building secure systems.

DevOps.com · 4 days ago

AI Moved the Bottleneck From Writing Code to Understanding and Trusting It

AI coding boosts velocity, but without stronger review, governance, and codebase visibility, teams risk higher costs, security gaps, and production failures. This bottleneck shift highlights the need for more robust processes and tools to ensure AI-generated code is trustworthy and maintainable. To mitigate risks, teams should focus on implementing robust review and governance processes, as well as improving codebase visibility and understanding.

Hacker News · 5 days ago

Incremental – A library for incremental computations

Incremental is a library for incremental computations, allowing for efficient updates to complex data structures. This matters for applications requiring real-time updates and high performance. Engineers can use Incremental to optimize their code and improve performance. To get started, visit the GitHub repository.

TechCrunch · 5 days ago

Colossal Biosciences reportedly in talks to raise new capital at $20B–$30B valuation

Colossal Biosciences is reportedly in talks to raise new capital at a valuation of $20B-$30B, potentially doubling or tripling its previous valuation. This development is significant in the biotech and startup spaces. Engineers may want to keep an eye on this company's progress as it could have implications for the field of biotechnology. No immediate action is required, but staying informed about this development could be beneficial.

Hacker News · 5 days ago

The Power of Awareness: Overcoming Surveillance Capitalism

A presentation discusses the concept of surveillance capitalism and its impact on society. It highlights the importance of awareness in overcoming this issue. The article provides insights and strategies for individuals to reclaim their data and privacy. It's relevant to developers who create products that collect user data. Awareness is key to creating more user-centric products.

Dev.to · 5 days ago

PDF Tamper Detection API for Java: Spring Boot Integration Guide

This article guides engineers on integrating a PDF tamper detection API into a Spring Boot application. The API detects structural tampering in PDFs, which is invisible to identity verification. The integration involves two API calls, error handling, and a custom decision-making process. Engineers should adapt the code to their specific traffic profile and threat model.

The New Stack · 7 days ago

I trust Claude for everything. This test made me rethink that.

xAI released Grok 4.5, a new version of their language model, which challenges the performance of Opus, a popular alternative. This raises questions about the reliability of current language models. Engineers should reassess their trust in these models and consider testing their own applications. Grok 4.5's performance may impact the choice of language model for future projects. Further testing is needed to confirm the results.

FeedLens — Signal over noise Last 7 days