Karya Semi
HomeBlogSearchCategoriesAboutContact
Karya Semi

Less noise. More notes.

HomeBlogAboutContactPrivacy PolicyDisclaimer

© 2026 Karya Semi. All rights reserved.

XGitHubLinkedIn
  1. Home
  2. /Categories
  3. /Programming

Category

Programming

Clear tutorials for building, debugging, and learning in public.
Illustration for Replacing Rust Enum with 64-Bit Word Yields 17 Percent Interpreter Speedup
Programming/Sep 10, 2026

Replacing Rust Enum with 64-Bit Word Yields 17 Percent Interpreter Speedup

Packed 64-bit integer words reduce cache pressure and improve execution loops. Apply this rust enum performance optimization to boost interpreter speed by 17%.

6 min read
RustClean Code
Illustration for AISpace Implements Ephemeral Encrypted File Transfer for AI Agents
Programming/Sep 10, 2026

AISpace Implements Ephemeral Encrypted File Transfer for AI Agents

Enable secure cross-agent data workflows using AISpace temporary file sharing. Zero-knowledge client encryption keeps autonomous operations private.

6 min read
AI AgentsDeveloper Tools
Illustration for Building a Functioning Python Interpreter in 1024 Bytes
Programming/Sep 7, 2026

Building a Functioning Python Interpreter in 1024 Bytes

Strip a runtime to its bare essentials. Discover how crafting tiny python interpreter bytes optimizes execution logic under strict memory limits.

8 min read
PythonDeveloper Tools
Illustration for Functional State Machines in Rust via Typestate and Newtype Patterns
Programming/Aug 31, 2026

Functional State Machines in Rust via Typestate and Newtype Patterns

Prevent invalid transitions. Use rust typestate pattern state design to catch bugs at compile time. Eliminate runtime overhead now.

7 min read
RustTypestate
Illustration for Open Source Experiential Router Uses Request Data to Fine-Tune Models
Programming/Aug 28, 2026

Open Source Experiential Router Uses Request Data to Fine-Tune Models

New API router uses request data for openrouter model fine tuning. Turn inference routing patterns into training feedback for better LLMs.

6 min read
LLMLLMs
Illustration for Improving LLM Code Generation Quality using agent.md
Programming/Aug 28, 2026

Improving LLM Code Generation Quality using agent.md

Define agent md llm context to standardize repo rules. Stop AI code hallucinations, boost output accuracy, guide coding assistants.

5 min read
AI CodingLLMs
Illustration for Long-Term Technical Impact of AI Coding Assistants on Senior Software Engineering
Programming/Aug 28, 2026

Long-Term Technical Impact of AI Coding Assistants on Senior Software Engineering

Measure ai coding impact expertise. Automated generation risks senior system design skills. Learn to balance speed with deep technical mastery.

9 min read
AI CodingSenior
Illustration for Fuzzing the Gleam Compiler to Find Type System Edge Cases
Programming/Aug 27, 2026

Fuzzing the Gleam Compiler to Find Type System Edge Cases

Automate the search for type system edge cases. Fuzzing gleam compiler bugs reveals hidden parser errors and breaks functional language type checkers.

6 min read
FuzzingGleam
Illustration for Why Python str lower Creates Security Vulnerabilities in String Processing
Programming/Aug 27, 2026

Why Python str lower Creates Security Vulnerabilities in String Processing

Unicode casing bypasses input sanitization. Prevent python str lower security flaws in string processing. Use casefold for safe validation.

6 min read
PythonUnicode
Illustration for Building Operating System from Assembly with Tumble Forth
Programming/Aug 22, 2026

Building Operating System from Assembly with Tumble Forth

Build OS from assembly. Boot sequence uses tumble forth c compiler on Forth runtime. Write low-level system code. Control hardware.

7 min read
AssemblyForth
Illustration for Bare-Metal Operating System Design with Forth and C Assembly
Programming/Aug 22, 2026

Bare-Metal Operating System Design with Forth and C Assembly

Build minimal OS kernel from bare metal. Use tumble forth c compiler to link Forth paradigm with C code. Write bootable system architecture now.

7 min read
ForthArchitecture
Illustration for Rust Glancer Cuts Language Server Memory Overhead by 100x
Programming/Aug 22, 2026

Rust Glancer Cuts Language Server Memory Overhead by 100x

Reduce IDE overhead. New index structures cut rust glancer lsp ram usage 100x. Run fast language server features on low-spec hardware.

6 min read
RustGlancer
Illustration for Fast Codebase Inspection and Structural Analysis with Rust Glancer
Programming/Aug 22, 2026

Fast Codebase Inspection and Structural Analysis with Rust Glancer

Analyze codebase structure fast with the rust glancer tool. Parse AST and run syntax checks to speed up repository inspection.

6 min read
RustGlancer
Illustration for Malicious Rust Crate Arrayref Executes Arbitrary Build-Time Payloads
Programming/Aug 22, 2026

Malicious Rust Crate Arrayref Executes Arbitrary Build-Time Payloads

Detect rust arrayref malware crate executing remote code via proc-macro build scripts. Secure cargo supply chain against malicious dependency injection.

6 min read
RustArrayref
Illustration for PostgreSQL Partitioning vs Partial Indexing for Multitenant SaaS Performance
Programming/Aug 16, 2026

PostgreSQL Partitioning vs Partial Indexing for Multitenant SaaS Performance

Scale your SaaS database efficiently. Learn how to choose the right postgres multitenant index strategy by comparing table partitioning and partial indexes.

6 min read
PostgreSQLSaaS
Illustration for Moving Cron Curation Jobs from Cloud APIs to Local Small Language Models
Programming/Aug 15, 2026

Moving Cron Curation Jobs from Cloud APIs to Local Small Language Models

Migrate your background workflows from OpenAI to self-hosted models. Learn how to set up local llm cron jobs for summarization and ranking to cut API costs.

6 min read
LLMsDeveloper Tools
Illustration for Building a Token Ledger for Free LLM API Quota Management
Programming/Aug 15, 2026

Building a Token Ledger for Free LLM API Quota Management

Control your developer costs by implementing llm api quota management. Discover how to track token consumption and limit usage without spending a dime.

7 min read
LLMsAI
Illustration for Tailscale Traces Database Corruption to a 16-Year-Old SQLite WAL Bug
Programming/Aug 13, 2026

Tailscale Traces Database Corruption to a 16-Year-Old SQLite WAL Bug

Understand how a newly discovered sqlite wal bug triggers database corruption and see the steps Tailscale took to resolve this long-standing issue.

3 min read
ProgrammingDebugging
Illustration for Go Language AI-Assisted Software Engineering in 2026
Programming/Aug 12, 2026

Go Language AI-Assisted Software Engineering in 2026

In 2026, AI coding assistants empower Go developers to revolutionize software engineering, enabling faster and more reliable code writing, testing, and deployment.

4 min read
GOAI
Illustration for Your SIMD Code Doesn't Need the CPU Anymore
Programming/Aug 11, 2026

Your SIMD Code Doesn't Need the CPU Anymore

VectorWare's breakthrough enables direct GPU execution for Rust SIMD, revolutionizing rust simd gpu programming 2026 for developers seeking peak performance.

4 min read
RustSimd
Illustration for C Finally Got Tail-Call Optimization. 50 Years Late.
Programming/Aug 11, 2026

C Finally Got Tail-Call Optimization. 50 Years Late.

C got tail-call optimization in 2025, decades after functional languages had it. The technical and political reasons behind the delay.

6 min read
C LanguageCompilers
Illustration for Taming the Go Garbage Collector in Low-Latency Microservices
Programming/Aug 10, 2026

Taming the Go Garbage Collector in Low-Latency Microservices

Optimize your services using go garbage collector performance tuning gogc gcmemlimit p99 latency techniques to prevent out-of-memory crashes and lag.

6 min read
GOGarbage Collection
Illustration for Oracle Bans AI-Generated Code in OpenJDK Contributions
Programming/Aug 8, 2026

Oracle Bans AI-Generated Code in OpenJDK Contributions

Understand the oracle openjdk ban ai generated code java contribution policy and how these new legal and quality standards affect future Java runtime commits.

5 min read
OpenjdkOracle
Illustration for Your Reasoning Model Isn't Dumb, Your Parser is Throwing Away its Best Answers
Programming/Aug 7, 2026

Your Reasoning Model Isn't Dumb, Your Parser is Throwing Away its Best Answers

Understand how output parsers and schema validation can accidentally discard valid reasoning model responses. Fix your pipeline to stop losing great AI outputs.

6 min read
ProgrammingJson Parser
Illustration for The Quality Crisis of 'Vibe Coding': When Speed Inevitably Trashes Codebase Security and Maintainability
Programming/Aug 6, 2026

The Quality Crisis of 'Vibe Coding': When Speed Inevitably Trashes Codebase Security and Maintainability

Rapid ai-coding promises speed but often leaves behind massive security vulnerabilities and technical debt. Learn the true cost of vibe coding.

5 min read
AI CodingSoftware Quality
Illustration for Branchless Rust: Accelerating Data Filters by Eliminating Conditionals
Programming/Aug 6, 2026

Branchless Rust: Accelerating Data Filters by Eliminating Conditionals

Branch prediction failures can slow down tight hot loops. A practical look at implementing branchless programming patterns in Rust to speed up filter functions.

4 min read
RustOptimization
Illustration for Shai-Hulud Just Hit npm Again, Keyv and TanStack Packages Compromised
Programming/Aug 5, 2026

Shai-Hulud Just Hit npm Again, Keyv and TanStack Packages Compromised

An active supply chain attack called Shai-Hulud just compromised Keyv and dozens of TanStack npm packages. What got poisoned, how to check if you're affected, and what to do right now.

4 min read
NpmSupply Chain Security
Illustration for Why Manually Retyping LLM-Generated Code Actually Makes You a Better Developer
Programming/Aug 4, 2026

Why Manually Retyping LLM-Generated Code Actually Makes You a Better Developer

Copying AI code straight into your editor builds zero understanding. The counterintuitive fix: type it out yourself. Here's why that works and how to do it without wasting time.

3 min read
ProgrammingAI Coding
Illustration for Running NixOS on NVIDIA's DGX Spark: Reproducible AI Workstations Done Right
Programming/Aug 3, 2026

Running NixOS on NVIDIA's DGX Spark: Reproducible AI Workstations Done Right

How to set up NixOS on NVIDIA's DGX Spark for reproducible AI development environments. Declarative config, flakes, CUDA drivers, and why NixOS solves the 'works on my machine' problem for ML engineers.

6 min read
NixosNvidia
Illustration for Debugging RipGrep: Why Musl Binaries Segfault on Large Directory Searches
Programming/Aug 3, 2026

Debugging RipGrep: Why Musl Binaries Segfault on Large Directory Searches

A deep dive into why RipGrep musl-compiled static binaries are experiencing segfaults on exceptionally large directory scans and how to work around it.

5 min read
Developer ToolsRust
Illustration for Designing Resilient Pydantic v2 Schemas: Advanced Validation, Custom Serialization, and Error Handling
Programming/Jul 30, 2026

Designing Resilient Pydantic v2 Schemas: Advanced Validation, Custom Serialization, and Error Handling

Learn how to use Pydantic v2's modern validation engine, model configuration, and custom serializers to build bulletproof data schemas in Python applications.

7 min read
ProgrammingBest Practices
Illustration for Why Bashumerate Was Built: Replacing Xargs with Safe, Readable Pipeline Automation
Programming/Jul 21, 2026

Why Bashumerate Was Built: Replacing Xargs with Safe, Readable Pipeline Automation

An technical inspection of xargs edge cases, null-byte delimiter failures, and how bashumerate provides a safer, more readable enumerator for complex shell pipelines.

3 min read
LinuxBash
Illustration for TypeScript 7.0 Arrives with a Native Go Compiler: What It Means for Build Pipelines
Programming/Jul 20, 2026

TypeScript 7.0 Arrives with a Native Go Compiler: What It Means for Build Pipelines

Microsoft's rewrite of TypeScript in Go brings up to 10x faster compilation speeds. Here is what engineering teams need to know about the transition, type checking performance, and CI pipeline adjustments.

4 min read
TypeScriptGolang
Illustration for Practical Memory Management in Modern Systems Languages
Programming/Jul 20, 2026

Practical Memory Management in Modern Systems Languages

Comparing manual memory management, garbage collection, and compile-time ownership semantics to understand runtime overhead and memory safety.

5 min read
RustCplusplus
Illustration for Claude Sonnet 5 Just Dropped. Here's What Developers Should Know.
Programming/Jul 15, 2026

Claude Sonnet 5 Just Dropped. Here's What Developers Should Know.

Anthropic released Claude Sonnet 5, a model that nearly matches Opus 4.8 at a fraction of the cost. Here's what changed and whether it matters for your workflow.

3 min read
AI CodingProgramming
Illustration for Podman v6.0.0 Drops: The Networking Stack Overhaul That Actually Matters
Programming/Jul 3, 2026

Podman v6.0.0 Drops: The Networking Stack Overhaul That Actually Matters

Podman v6.0.0 ships a full networking stack rebuild, replacing slirp4netns and iptables with Netavark, Pasta, and nftables. Here is what breaks, what improves, and what you need to update.

3 min read
PodmanContainers
Illustration for TypeScript Conditional and Mapped Types: A Practical Guide
Programming/Jul 3, 2026

TypeScript Conditional and Mapped Types: A Practical Guide

TypeScript conditional and mapped types sound intimidating at first. This guide shows you the patterns that actually show up in production codebases.

4 min read
TypeScriptType System
Illustration for Rust Ownership and the Borrow Checker: A Practical Mental Model for C++ and Java Developers
Programming/Jun 30, 2026

Rust Ownership and the Borrow Checker: A Practical Mental Model for C++ and Java Developers

Rust's borrow checker feels like a wall until you stop fighting it and start reading what it actually wants. Here's the mental model that finally makes it click.

6 min read
ProgrammingRust
Illustration for Git 2.55 Quietly Fixes How Massive Repos Stay Maintainable
Programming/Jun 30, 2026

Git 2.55 Quietly Fixes How Massive Repos Stay Maintainable

Git 2.55 brings incremental MIDX repacking, reftable improvements, and faster performance on huge repositories. Here's what changed.

3 min read
ProgrammingGit
Illustration for Small Functions, Readable Code: A Practical Refactoring Guide
Programming/Jun 30, 2026

Small Functions, Readable Code: A Practical Refactoring Guide

A practical guide to small functions readable code, with advice on function boundaries, parameters, return values, tests, and safe refactoring.

6 min read
FunctionsRefactoring
Illustration for Variable Naming Best Practices for Readable Code
Programming/Jun 28, 2026

Variable Naming Best Practices for Readable Code

Variable naming best practices for writing readable code, from clear nouns and boolean names to function verbs, scope, and safe refactoring habits.

4 min read
Variable NamingClean Code
Illustration for How to Read Programming Error Messages Without Panic
Programming/Jun 28, 2026

How to Read Programming Error Messages Without Panic

Learn how to read programming error messages, find the useful line in a stack trace, translate common errors, and debug one small clue at a time.

5 min read
DebuggingError Messages
Illustration for AI Coding Tools in 2026: What Actually Changed My Workflow
Programming/Jun 28, 2026

AI Coding Tools in 2026: What Actually Changed My Workflow

I switched from VS Code to Cursor eight months ago. Here's what works, what's still annoying, and which AI coding tool is worth your money.

5 min read
AICoding Tools
Illustration for 7 Git Mistakes Every Developer Keeps Making
Programming/Jun 28, 2026

7 Git Mistakes Every Developer Keeps Making

After two years of using Git and watching developers struggle with it, these are the mistakes I see most often and how to avoid them.

5 min read
GitVersion Control