Programming Parallelizing Java Streams with Virtual Threads: Building vtstream You know what's funny about parallelStream() in Java? Everyone acts like it's this magic performance switch. Just slap .parallel() on your stream and suddenly your code is running on all your CPU cores, right? Wrong. Or at least, not in the way you'd want.
Programming Guide to Enums in the Python Programming Language Enumerations (Enums) provide a powerful way to represent a set of named values. Enums bring clarity, maintainability, and readability to code by replacing numeric or string constants with more meaningful named constants. The most common way I see people use enums is in roles in a web application such as
Programming Python's async/await: How It Actually Works and Why You Need It asyncio isn't magic. It's a while loop that checks a queue. Once you understand the event loop model, async/await stops being confusing and starts being the most useful tool in your Python kit. Here's the mental model, the real code, and the mistakes that will ruin your day.
Programming Async Timeouts with CompletableFuture: Fixing Blocking Java Code the Right Way 1,000 threads. All of them blocked on future.get(). That's the production nightmare that forced a full rewrite — and the journey through reactive callbacks, exception swallowing pitfalls, and finally a clean within() utility that handles timeouts without giving up the async model.
Programming Implementing Your Own Garbage Collector in Java: Memory Allocation, Reference Tracking, and GC Algorithms This guide walks through designing a fixed-size memory pool, implementing reference counting with cycle detection, coding Mark & Sweep, Mark & Compact, and Copying GC algorithms, and wiring root object identification and sweeping into a working CustomGarbageCollector class.
Cryptography Ask Java for AES and You Get ECB. Nobody Warns You. Cipher.getInstance("AES") compiles, runs, encrypts, decrypts, and hands you the weakest mode in the box. Here is the OpenJDK source that makes that decision, and the line where ECB gets chosen for you.
Programming Your Container Is Running SerialGC and Nobody Told You You tuned G1 flags for a week. Your pod has one CPU, which means the JVM quietly picked a single-threaded collector at startup and ignored every flag you set. Here is the OpenJDK source that made that decision.
Programming Rust Is Memory Safe. Somebody Still Does the Knife Work. Every guarantee you have been sold about Rust is real. It is also propped up on raw pointer arithmetic sitting in the standard library, held together by comments that nothing verifies. Here is what is actually back there.
Programming Intuitive Method of Finding the Inverse of a Matrix Finding a matrix inverse is very useful not only in Computer Science but when solving equations by hand. However, using the formula Adj(A) / det(A) can be quite tedious, especially if you don't know how exactly it works. In this article I will show how to intuitively
Programming Getting started with Embedded C The Goal By the end of this tutorial, you will be able to compile a binary written for the avr instruction set targeting the AtMega328P microcontroller on an Arduino Nano or Arduino Uno R3 form factor. Needed Documentation * Arduino Nano PCB design * Atmega328P datasheet Materials used * Arduino Nano * Arduino Uno
Cryptography RSA in Python Part 3: Timing Attacks and Their Fixes Learn how timing attacks extract RSA private keys from a working implementation, and how to defend against them with constant-time code and blinding in Python.
Cryptography RSA in Python Part 2: Prime Generation and Encryption Extend your Python RSA build with 1024-bit secure random prime generation and full plaintext encryption and decryption, with working, testable code.
Cryptography Featured RSA in Python From Scratch: Math, Keys, and Real Code Build RSA encryption in Python from first principles. Covers the Extended Euclidean Algorithm, modular exponentiation, and key generation, with working code.