HNHacker News
TopNewBestAskShowJobs

nikbackm

6,604 karma · joined February 17, 2013

submissionscomments
nikbackm··on Type Safe Generic Data Structures in C (2025)
There are already plenty of such languages, Zig among others.
nikbackm··on Improvements to Std:Format in C++26
Why even call it in that case?
nikbackm··on Ripgrep is faster than grep, ag, git grep, ucg, pt, sift (2016)
Maybe related to text encodings?

I think riggrep will not search UTF-16 files by default. I had some such issue once at least.

nikbackm··on C++26: range support for std:optional
No it’s not.
nikbackm··on US Intel
Geopolitical rivals then if you prefer that.
nikbackm··on Microplastics shed by food packaging are contaminating our food, study finds
Clean, beautiful lead.
nikbackm··on Singularities in Space-Time Prove Hard to Kill
https://en.wikipedia.org/wiki/Planck_star
nikbackm··on Edit is now open source
Who knows?

Can't imagine anyone here using 32bit Windows and limiting themselves to 4GB of RAM.

Are there even any cheap laptops sold with that little nowadays?

nikbackm··on Astronomers confirm the existence of a lone black hole
No, how does that relate?
nikbackm··on Big brands are spending small sums on X to stay out of Musk's crosshairs
Sounds like a protection racket.
nikbackm··on Resistance to Rust abstractions for DMA mapping
So similar in that regard to Herb Sutter's experimental Cpp2 perhaps?
nikbackm··on In Search of a Faster SQLite
From the same url:

SQLite is open-source, meaning that you can make as many copies of it as you want and do whatever you want with those copies, without limitation. But SQLite is not open-contribution. In order to keep SQLite in the public domain and ensure that the code does not become contaminated with proprietary or licensed content, the project does not accept patches from people who have not submitted an affidavit dedicating their contribution into the public domain.

All of the code in SQLite is original, having been written specifically for use by SQLite. No code has been copied from unknown sources on the internet.

nikbackm··on Windows 11 now warns when typing your password in Notepad, websites
I noticed this today when I had a keyboard macro write out my password in Notepad and then got quite surprised by the warning, even if it apparently has been around a few years already.

Doing the same in e.g. Notepad++ does not trigger any warnings though.

nikbackm··on Honey, I shrunk {fmt}: bringing binary size to 14k and ditching the C++ runtime
How else would you get nice looking logs for debugging it?
nikbackm··on Astronomers see a black hole awaken in real time
It's not likely that life will survive long enough to form civilizations that close to a black hole. It has probably fed like this many times before already.
nikbackm··on Are we stuck with the Zoo Hypothesis?
That's a fair bit closer.
nikbackm··on JSONB has landed
It's just a BLOB.
nikbackm··on Ripgrep is faster than grep, ag, Git grep, ucg, pt, sift (2016)
One thing I wish ripgrep had is support for AND conditions.
nikbackm··on Tarsnap has given 2^18 dollars to open source
Mindboggling how much bigger 10^18 is, which is how I first read the subject line.
nikbackm··on C++ Modules: Packaging Story
Just put them in the same module?
nikbackm··on Show HN: Using C++23 <stacktrace> to get proper crash logs in C++ programs
WIN32_EXTRA_LEAN != WIN32_LEAN_AND_MEAN
nikbackm··on Show HN: Using C++23 <stacktrace> to get proper crash logs in C++ programs
The bad news is that WIN32_EXTRA_LEAN has no effect, you have to define VC_EXTRALEAN if you want to exclude extra stuff from the MFC and VC headers.

The good news is also that it has no effect. :)

You can verify this for yourself by grepping the Visual Studio headers for VC_EXTRALEAN and WIN32_EXTRA_LEAN.

nikbackm··on New C features in GCC 13
These are not really C++ features, it's just basic features included in most similar languages these days.
nikbackm··on We aren't close to creating a rapidly self-improving AI
We know how to do all those tasks and can provide the data for them, we don't know how to make a self-improving AI.
nikbackm··on Uranus (NIRCam Image)
Do these images have any scientific use?
nikbackm··on C++ Initialization Story
It's not needed.

There's a lot of extra fluff like examples and such beyond the basics of C++ initialization.

Also seems to have relatively little text per page in the Amazon preview [1].

[1] https://www.amazon.com/dp/B0BW38DDBK?asin=B0BW38DDBK&revisio...

nikbackm··on Zig's multi-sequence for loops
What is verbose about that? (The first case, not the second, special case)

Seems hard to make it any shorter. Well, I guess you could remove "const" if you want.

nikbackm··on 50 years of C, the good, the bad and the ugly [video]
C++ should be even better in those categories.
nikbackm··on The sad history of Unicode printf-style format specifiers in Visual C++ (2019)
The "A" stands for "ANSI", not "ASCII". Otherwise largely correct.
nikbackm··on All new cars sold in Europe must be emission-free from 2035
Tire wear and noise will not get better with electric cars, more likely worse due to their greater weight.
Page 1 of 9Next →