02 / Documentation, tutorials & research

The writing.

42 pieces / Newest first

Complex systems, explained with care. Guides, deep dives, and practical lessons from building software and helping developers use it.

42 pieces

Published across the web
Official Documentation

Grantline: Programmable Financial Authority for AI Agents

Explains how signed Action Plans pass through Mandate evaluation, Preflight checks, and controller approval before Vault execution. Includes integration guides and references for delegated authority, revocation, signatures, events, and failure codes.

  • Solidity
  • AI Agents
  • Financial Authority
Read Article
GitHub Gist

How to Build and Deploy a Solana Program Using Pinocchio

Build a Solana counter program with Pinocchio, from account layout and manual instruction routing to validation and state updates. Covers Devnet deployment, zero-copy serialization with bytemuck, and generating a Shank IDL for client tooling.

  • Solana
  • Rust
  • Blockchain Development
Read Article
Hashnode

SIMD-0204: Building the Foundation for Slashing on Solana

Explains how SIMD-0204 verifies and records validator violations on Solana without yet imposing financial penalties. Covers duplicate-block evidence, on-chain ProofReports, validator transparency, and the technical and governance work needed for future slashing.

  • Solana
  • Validators
  • Protocol Research
Read Article
Hashnode

Solana at Web2 Speed: Real-Time Performance Without Fragmentation

Explores MagicBlock's Ephemeral Rollups: temporary execution environments that accelerate delegated Solana accounts while keeping programs and assets on the base chain. Compares their composability goals with other scaling approaches and examines gaming, finance, payments, and automation use cases.

  • Solana
  • Performance
  • Web3 Infrastructure
Read Article
Hashnode

Starknet Improvement Proposals (SNIPs)

Explains what Starknet Improvement Proposals contain, how they are classified, and how they move from draft through review to final status. Covers editor responsibilities, proposal guidelines, and ways to contribute feedback and participate in protocol development.

  • Starknet
  • Governance
  • Protocol Research
Read Article
DEV Community

Decentralizing Starknet: Architecture, Plans, and MEV Impact

Examines Starknet's decentralization plans through sequencer roles, Tendermint consensus, ProofChain, STRK staking, and network rewards. Discusses the coordination challenges of distributing control and how changing transaction ordering could reshape MEV opportunities and mitigation.

  • Starknet
  • MEV
  • Blockchain Architecture
Read Article
DEV Community

Queries to Insights: Visualizing Starknet Data with Dune

Shows how to find Starknet queries on Dune and assemble them into dashboards for network activity, token flows, and protocol metrics. Covers visualization choices, dashboard organization, sharing, and refresh behavior so readers can interpret the data's freshness.

  • Starknet
  • Dune Analytics
  • Onchain Data
Read Article
DEV Community

Starknet Protocols: Key Features and MEV Opportunities

Surveys Nostra, Ekubo, zkLend, Nimbora, Vesu, and mySwap, connecting their trading and lending features to MEV opportunities. Explains arbitrage and liquidation strategies in the context of Starknet's first-come, first-served transaction ordering at publication.

  • Starknet
  • DeFi
  • MEV
Read Article
DEV Community

Introduction to MEV on Starknet

Introduces Ethereum's MEV participants and tooling, then examines how Starknet's sequencing model changes the available strategies. Covers arbitrage, liquidations, cross-layer sandwich attacks, and ecosystem tools for studying and mitigating MEV.

  • Starknet
  • MEV
  • Blockchain
Read Article
LogRocket

The state of Rust GUI libraries

Surveys eleven Rust GUI libraries, including Tauri, Slint, iced, egui, Xilem, and Yew. Compares their approaches to building interfaces, platform support, and ecosystem trade-offs to help developers choose tools for desktop and web applications.

  • Rust
  • GUI Development
  • Frontend Tooling
Read Article
LogRocket

Best methods for unzipping files in Node.js

Compares Node.js compression and archive libraries through examples using decompress, adm-zip, zlib, unzipper, and JSZip. Shows how to extract archives, create and modify ZIP contents, and unpack a ZIP buffer into a directory.

  • Node.js
  • File Handling
  • JavaScript
Read Article
LogRocket

Create and manage windows in your Rust app with Winit

Introduces Winit's window creation, event loop, and input handling through a Rust application. Shows how to configure and manage windows, respond to user events, and use Winit as a foundation for cross-platform games and graphical interfaces.

  • Rust
  • Winit
  • GUI Development
Read Article
LogRocket

Build an application with Node.js and PouchDB

Build a book-management API with Express and PouchDB, using LevelDB for server-side storage. Walks through database setup and routes for creating, listing, updating, and deleting book documents, including the document revisions needed for updates.

  • Node.js
  • PouchDB
  • CRUD APIs
Read Article
LogRocket

How to build a blockchain with Go

Build a small blockchain in Go to understand blocks, SHA-256 hashes, proof-of-work mining, and the genesis block. Adds transaction records and chain validation to demonstrate how linked hashes make changes to earlier blocks detectable.

  • Golang
  • Blockchain
  • Backend Development
Read Article
LogRocket

Best GUI frameworks for Go

Compares go-gtk, Qt bindings, Fyne, Walk, and Gio for building graphical applications in Go. Reviews platform coverage, widgets, rendering approaches, and dependencies, with a comparison table to help match a toolkit to a project's requirements.

  • Golang
  • GUI Development
  • Frameworks
Read Article
LogRocket

Go migration guide: Node.js, Python, and Rust

Walks through planning a migration from Python, Rust, or Node.js to Go, including language differences, dependency choices, and testing. Examines manual rewrites and available translation tools, emphasizing verification of existing behavior throughout the migration.

  • Golang
  • Migration
  • Backend Development
Read Article
LogRocket

Leverage Go workspaces for multi-module local development

Shows how go.work and the init, use, edit, and sync commands support local development across multiple Go modules. Demonstrates using one local module from another and discusses collaboration, dependency synchronization, and release workflows.

  • Golang
  • Workspaces
  • Developer Tooling
Read Article
LogRocket

Swift vs. Rust: Comparison guide

Compares Swift and Rust through their safety models, performance goals, expressiveness, tooling, and learning curves. Discusses the strengths and limitations of each ecosystem and how they fit interface development, systems programming, and application backends.

  • Rust
  • Swift
  • Programming Languages
Read Article
LogRocket

Comparing Rust and Nim

Compares Rust's ownership model with Nim's memory-management options, syntax, and metaprogramming features. Reviews interoperability with C and C++, example programs, ecosystem limitations, and use cases spanning systems, web development, games, and developer tools.

  • Rust
  • Nim
  • Programming Languages
Read Article
LogRocket

Integrating MongoDB into Go applications

Connect a Go application to MongoDB using the official driver, then insert, query, update, replace, and delete documents. Covers connection checks, collection access, BSON values, and mapping database records to Go structs for easier application code.

  • Golang
  • MongoDB
  • Database
Read Article
LogRocket

Exploring Carbon, the new superset of C++

Introduces Carbon as an experimental C++ successor, examining interoperability, generics, and proposed memory-safety improvements. Walks through installation and examples of variables, loops, functions, conditionals, and classes while discussing the language's development goals.

  • Carbon
  • C++
  • Programming Languages
Read Article
LogRocket

Using CSS subgrids with container queries

Explains how subgrid shares a parent grid's tracks and how container queries adapt components to their available space. Combines both features in an article layout, with examples of container types, naming, and responsive styling.

  • CSS
  • Responsive Design
  • Frontend Development
Read Article
LogRocket

Comparing tools for optimizing performance in React

Shows how the React Profiler API and DevTools reveal rendering costs, then uses React.memo to address unnecessary renders. Explains onRender metrics, flame and ranked graphs, and the trade-offs between measuring performance and applying memoization.

  • React
  • Performance
  • Frontend Development
Read Article
LogRocket

How to create a Solana wallet with Go

Build a Solana wallet in Go using solana-go-sdk. Covers RPC connections, creating and importing accounts, checking balances, requesting development funds, and assembling, signing, and submitting SOL transfers.

  • Golang
  • Solana
  • Blockchain
Read Article
LogRocket

Documenting Go web APIs with Swag

Build a todo API with Gin, then generate Swagger documentation from Go annotations using Swag. Covers describing routes, parameters, and responses, generating the documentation files, and serving an interactive Swagger UI alongside the API.

  • Golang
  • API Documentation
  • Swagger
Read Article
DEV Community

Build and deploy a web app with Python, Flask, and Doppler

Configure Doppler projects and secrets, inject them into a Flask process with the CLI, and read them as environment variables in Python. Extends the setup to Heroku so the deployed application receives its configuration through Doppler's integration.

  • Python
  • Flask
  • Secrets Management
Read Article
LogRocket

A comprehensive guide to data structures in Go

Explains Go arrays, slices, maps, and structs through working examples of initialization, access, updates, and nesting. Covers slice length and capacity, map key checks and deletion, and struct methods with pointer receivers for updating state.

  • Golang
  • Data Structures
  • Programming Fundamentals
Read Article
LogRocket

Build a profanity filter API with GraphQL

Starts with a word-list profanity detector, demonstrates its limitations, and improves filtering with Python's better-profanity library. Exposes detection and censored text through a Flask GraphQL API, with schemas and queries tested in GraphiQL.

  • Python
  • GraphQL
  • API Development
Read Article
DEV Community

Managing User Authentication and Sessions with Fauna and Flask

Integrates Fauna's identity and session features into a Flask application. Covers user creation, password authentication, validating session tokens, retrieving the current user's profile, logging out, and changing passwords, alongside the distinction between authentication and authorization.

  • Python
  • Authentication
  • Fauna
Read Article
DEV Community

How to Host Flask Applications on Namecheap cPanel

Deploy a Flask application through Namecheap's cPanel Python App interface. Covers selecting the runtime and domain, uploading project files, configuring passenger_wsgi.py, installing requirements, and restarting the application to apply changes.

  • Python
  • Flask
  • Deployment
Read Article
DEV Community

A Friendly Introduction to Cybersecurity

Introduces common cyberattacks, their impact, and the different roles within security. Explains offensive and defensive teams, the stages of a penetration test, and learning paths and certifications for people exploring the field.

  • Cybersecurity
  • Security
  • Programming Fundamentals
Read Article
DEV Community

The Zen of Python; An In-depth Explanation

Unpacks each of Tim Peters' Zen of Python principles with explanations and code examples. Connects readability, explicit behavior, simple structure, error handling, and namespaces to everyday decisions about writing and organizing Python programs.

  • Python
  • Programming Fundamentals
  • Code Quality
Read Article
DEV Community

Building a Telegram Bot with Python and Fauna

Create a Telegram todo bot with Python, BotFather, and Fauna. Sets up collections and indexes, connects bot commands to database queries, and lets users add tasks, list them, toggle completion, and delete them.

  • Python
  • Telegram Bot
  • Fauna
Read Article