Originally published at https://allcoderthings.com/en/article/csharp-collections-list-dictionary-queue-stack In C#, collections are used to store multiple values dynamically and process them efficiently. Arrays have fixed size, but collections can grow and shrink as needed. This article covers List<T>, Dictionary<TKey,TValue> (and KeyValuePair<,>), SortedList<TKey,TValue>, Queue<T>, Stack<T>, Hash
Cuando una aplicación necesita leer un archivo, escribir en una conexión TCP o esperar datos de un disco, el kernel de Linux ofrece tradicionalmente dos caminos: bloquear el proceso hasta que la operación termine, o usar interfaces como epoll y Linux AIO para manejar múltiples operaciones concurrentes. Durante casi tres décadas, esas fueron las opciones dominantes. Pero desde la versión 5.1 del ke
When Google announced the Manifest V3 deadline, the developer community had a lot to say — most of it negative. The service worker model was rightly criticized as a regression for ad blockers and complex extensions. I've now migrated 18 extensions from MV2 to MV3, or built them MV3-native from the start. The commonly documented issues (no persistent background pages, limited webRequest) are real.
Reading a long-form piece on, say, the Peloponnesian War. Thucydides gets mentioned as a primary source. I half-know who he is — historian, Athenian, that's about it — but not enough to understand why the author is citing him specifically over Herodotus. Opening a new tab means I lose the sentence I was in. Skipping it means I read shallower than the text deserves. rabbitholes is a Chrome extensio
Hey DEV community 👋 I recently built and deployed a full-stack AI system that predicts medical specialties from clinical text using ClinicalBERT, and I wanted to share the full journey from training to deployment. This is part of my project under GradienNinja / Astrolabsoft. Link https://astrolab-medical-ai.netlify.app/ I built an AI system that: Takes clinical notes as input Predicts the most l
In a previous post, Automatic Enum Stringification in C via Build-Time Code Generation, I described how to extract enum labels and values directly from DWARF debug information at build time. enum color { C_NONE, C_RED, C_YELLOW, C_GREEN } ; // Request enum descriptor for e_color ENUM_DESCRIBE(e_color, enum color) void foo(enum color c) { printf("Color=%s(%d)\n", ENUM_LABEL_OF(e_color, c), c)
When you first learn to write software, you are building in a utopia. On your laptop, the database is always online. The network has zero latency. The third-party API always responds in exactly 12 milliseconds. You write a function, you hit run, and the data flows perfectly from point A to point B. In the industry, we call this the "Happy Path." It is the magical scenario in which every piece of t
Stop Using Hacks for Transparent Cutouts Imagine this scenario: your designer hands you a Figma file where a beautiful hero image fades into the background via a complex grunge texture or a smooth radial gradient. Or better yet, a scrollable list that subtly vanishes at the bottom to hint at more content. Ten years ago, we would probably have reached for a glass of whiskey and started hacking toge