Ved (@ved_b_) header
Ved (@ved_b_) profile picture

Learning and documenting-Systems, Software & tools

Greator Noida
Joined March 2023
Photo by Ved (@ved_b_)Photo by Ved (@ved_b_)Photo by Ved (@ved_b_)Photo by Ved (@ved_b_)Photo by Ved (@ved_b_)Photo by Ved (@ved_b_)Photo by Ved (@ved_b_)Photo by Ved (@ved_b_)Photo by Ved (@ved_b_)Photo by Ved (@ved_b_)
Spent the weekend on why NVIDIA paid $13B for Hugging Face. Not lock-in -- The default path. Link in reply.
1
4
202
Built a fast, multi-threaded file encryption tool in C++ Nexcrypt encrypts files and entire directories using modern cryptography, while processing multiple files in parallel. 🚀 203 MB/s 📁 6.27 GB encrypted in 31 seconds 💻 Linux + Windows binaries available Still improving it in my free time, but it's ready to use. Try it and let me know how fast it runs on your machine. Feedback is welcome. PS. Wanted to build this mainly to learn and get hands-on with multi-threading, file I/O, memory management and cryptography. Github 🔗👇
1
1
13
1,146
The biggest lie in C++ is std::move It doesn’t move a single byte of memory Here’s how I finally understood copy, references and move semantics using real-world analogies. Hope it helps you too
1
228
Ever wondered how you can "Ctrl + click" a function in your editor and it instantly jumps to the exact line where it was defined? Even if that function lives deep inside some random, obscure open-source library you downloaded months ago?
1
1
187
Historically, code intelligence was a nightmare. If you wanted features like autocomplete or error checking, developers had to rewrite the exact same code analysis tools over and over again for every different editor on the market. It was an absolute mess to maintain. Then came the Language Server Protocol (LSP). Now, language creators write one universal "Language Server" (like rust-analyzer or gopls), and editor creators write one client. When you open a project in editors like @code ,or @zeddotdev, etc they spin up this service locally on the machine. It indexes your entire codebase including node_modules, venv, or hidden dependencies and builds a massive map of how everything connects. So when you hover for docs, look at error squiggles, or Ctrl + Click into a library, your editor is just querying that local background brain.
1
156
WTF is behind ox alpha ???? this thing just rolls up on openrouter with 1m context, multimodal, coding god, and oh yeah it can serve 100 trillion tokens a day !!! like… how do you even HAVE that much compute lying around???
153
A boolean only needs 1 bit. So why do languages/compilers often use 1 byte to store it? Where do those other 7 bits go?
2
1
194
The reason starts with how memory is addressed... Memory is byte-addressable. Basically, the CPU doesn't normally get an address for an individual bit. It gets an address for a byte. So even though "true"/"false" only needs 1 bit, a normal variable gets at least a byte of storage. But here's where it gets interesting... You can pack booleans into individual bits. The reason we don't do that for every "bool" is that accessing an individual bit is more work. The CPU has to get the byte containing that bit and then extract it using masking, shifting, etc. And modern CPUs are insanely fast. So we're often willing to spend those extra 7 bits to keep access simple and fast. But then I found out something cool in C++: "std::vector<bool>" actually does bit-packing. So: bool arr[100]; typically takes 100 bytes. While: std::vector<bool> v(100); can store those 100 values in roughly 13 bytes. That's a pretty crazy difference once you're storing millions of flags. So those 7 bits aren't necessarily "wasted." You're trading memory for simpler access.
1
165
The future of computing may be determined less by how many operations a processor can perform and more by how efficiently the system can move information to those operations.
3
93
Was working on a custom encryption/decryption tool for myself and dug into the C++17 <filesystem> library to handle the file inputs. And honestly, it made the whole workflow so clean. I needed a way for the tool to scan a folder, grab all the target files, encrypt them, and swap their extensions to something like .nex With <filesystem>, it was just a few lines of code. fs::recursive_directory_iterator handled digging through subfolders, and .replace_extension() took care of the renaming instantly. But it made me stop and wonder... how did devs actually pull this off before C++17? I looked into it. Before it became a standard feature, C++ had zero native way to talk to your hard drive's folders. If you wanted your encryption tool to run on both Windows and Linux, you had to write the file-hunting logic twice. You either had to mess with raw Windows APIs (FindFirstFile) and POSIX code (opendir), or bloat your project by installing massive external libraries like Boost. Basic things we take for granted now like using a simple / operator to join paths without worrying if the OS uses a backslash or a forward slash used to require tedious string manipulation. It’s nice when the language lets you actually focus on building your tool and writing the logic.
132
Battlefield 6 Wake Island trailer + Aari Aari was NOT supposed to go this hard 💀🔥
1
3
260
We moved computation to the cloud so we wouldn't have to manage servers then hired people to manage our cloud infrastructure
94
I used to think pnpm was just “npm, but faster.” It isn't. The interesting part is what pnpm does with the stuff you install and why that starts mattering once your projects get bigger. A practical comparison 🧵
1
2
141
Say you have 4 projects. All four use: typescript react eslint zod With npm, each project gets its own node_modules tree. With pnpm, each project still gets its own dependencies but the actual package contents can be shared through pnpm's store. That distinction is huge. But that doesn't mean install express once and every project automatically has express You still run: pnpm add express in every project that needs it The difference is that pnpm doesn't need to keep four independent physical copies of identical package contents around. This results in -> Less disk. Less downloading. Less copying.
1
1
71
We increased CPU clock speeds then discovered heat, so we stopped increasing CPU clock speeds and started adding cores instead.
3
92
If you're not embarrassed by v1, you shipped too late...
2
98
Hardware has become more important than ever
110
Hardware cost and accessibility remain the central bottleneck for truly widespread personal use of capable open models. Quantization & software optimisations helps but meaningful progress for avg users depends on cheaper high-performance chips & better on device NPUs...
For my first post, I’m sharing a letter @NVIDIA signed on why open models matter. AI will transform every industry, power every company, and be built by every country. Open models strengthen safety and cybersecurity, accelerate innovation and diffusion, and enable sovereignty. The world needs both frontier closed models and frontier open models. images.nvidia.com/pdf/Open-W…
1
126
Spain wins 🔥
67
Leaving Lords with their highest ODI scores. What an absolute class of cricket shown by these two greats. Rohit made my day... a much-awaited century and that too in this kind of situation. Well, this match was long gone with the way our bowling looked... absolutely terrible.
Scene after Rohit's century. They know.
1
2
144
First time using smart pointers and yeah they are pretty good...I dont have to worry about memory management..I just have to focus on logic...
74
The Android X app finally got the much-awaited update. The UI and animations have been revamped. Let's see whether it's bug-free or not.
2
105
A major cyberattack has been carried out on Tata Electronics, a key Apple manufacturing partner leading to the leak of nearly 630 GB of data and 200000 files related to upcoming iPhone 18 Pro component details, engineering papers, and internal information about its partners.
1
1
241