> I'm trying to separate out which is "don't do this in C/C++" and which is "don't do this in any language". To achieve high performance, any language would need to implement integer addition with a single machine…
[dead]
> I really don't see what's supposedly awful about that loop Exactly! That's precisely the problem with it. (Hint: think about your code when size = 0.)
> for (size_t i = size - 1; i < size; i--) Agreed, seeing that example briefly made me consider whether this blog post was a parody. Sure, it works for this exact example, by relying on i wrapping "down" to MAX_INT on…
I liked how the discussion of 'delta = x - y' moved right on to how really you usually want delta = abs(x - y), so let's talk about that instead... Even beyond Stroustrup, Dijkstra, and Google, this whole panel of C++…
Stellar Science | Hybrid (USA) Albuquerque NM, Washington DC (Tysons VA), Dayton OH | Full time, interns/co-ops | U.S. citizenship required | https://www.stellarscience.com Company: We're a small scientific software…
10 months or so ago I believe HN posted "The future of Large Files in Git is Git" : https://tylercipriani.com/blog/2025/08/15/git-lfs/ So is it the future now?
Just FYI, finally in C++ you can add a top-level exception handler and call boost::stacktrace::from_current_exception (https://www.boost.org/releases/1.85.0/), and get a stack trace on exit as helpful as in Python or…
CEOs understands that AI offers potential productivity increases. Using that productivity boost to cut staff is an unimaginative approach. Bolder approaches include using that boost to exceed the expectations of current…
> the hyperbole from the tech CEOs about them replacing all white collar workers in 12-18 months Just keep in mind that you're likely hearing from a limited subset of all tech CEOs. "CEO Expresses Moderate Confidence…
98% of the time those lengthy messages are useless, but the other 2% of the time they're critical to tracking down the problem. A year or two ago Visual Studio added a pop-up that parses such lengthy compiler messages…
And similarly: slow growth is terrible Slow growth is awesome! Slow growth gives you time to address the challenges of growth, and think through sensible solutions. Rapid growth feels like you're constantly plugging…
Better idea: write code. Don't waste your teams' time with back-to-back hour-long meetings.
git clone --branch v6.10.1 https://code.qt.io/qt/qt5.git . No login required. They do require a login to download precompiled binaries, but what self-respecting Hacker News reader wants those?! Ok, I'll admit, I've done…
Ignoring the git commit message strawman (those can include "what/why the change", not "what/why the code") and the Uncle Bob strawman, the final code block looks fine. But notice: // translate will replace all…
> Companies that have disdain for their own customers ... do not endure in the limit. This is a very common sort of wishful thinking that lets people bypass hard decisions. You create a company that loves its customers…
Years ago our company consolidated on Firefox because we could rely on it to not send our information to remote servers. At that time other browsers made it hard to disable telemetry. Firefox was then the only browser…
C++ with Boost has let you grab a stacktrace anywhere in the application for years. But in April 2024 Boost 1.85 added a big new feature: stacktrace from arbitrary exception ( https://www.boost.org/releases/1.85.0/ ),…
The US federal government issues its employees smart cards (Common Access Cards) that contain digital certs. Government employees can use these to send and receive S/MIME encrypted emails. That's a couple million users!…
> I'm trying to separate out which is "don't do this in C/C++" and which is "don't do this in any language". To achieve high performance, any language would need to implement integer addition with a single machine…
[dead]
> I really don't see what's supposedly awful about that loop Exactly! That's precisely the problem with it. (Hint: think about your code when size = 0.)
> for (size_t i = size - 1; i < size; i--) Agreed, seeing that example briefly made me consider whether this blog post was a parody. Sure, it works for this exact example, by relying on i wrapping "down" to MAX_INT on…
I liked how the discussion of 'delta = x - y' moved right on to how really you usually want delta = abs(x - y), so let's talk about that instead... Even beyond Stroustrup, Dijkstra, and Google, this whole panel of C++…
Stellar Science | Hybrid (USA) Albuquerque NM, Washington DC (Tysons VA), Dayton OH | Full time, interns/co-ops | U.S. citizenship required | https://www.stellarscience.com Company: We're a small scientific software…
10 months or so ago I believe HN posted "The future of Large Files in Git is Git" : https://tylercipriani.com/blog/2025/08/15/git-lfs/ So is it the future now?
Just FYI, finally in C++ you can add a top-level exception handler and call boost::stacktrace::from_current_exception (https://www.boost.org/releases/1.85.0/), and get a stack trace on exit as helpful as in Python or…
CEOs understands that AI offers potential productivity increases. Using that productivity boost to cut staff is an unimaginative approach. Bolder approaches include using that boost to exceed the expectations of current…
> the hyperbole from the tech CEOs about them replacing all white collar workers in 12-18 months Just keep in mind that you're likely hearing from a limited subset of all tech CEOs. "CEO Expresses Moderate Confidence…
Stellar Science | Hybrid (USA) Albuquerque NM, Washington DC (Tysons VA), Dayton OH | Full time, interns/co-ops | U.S. citizenship required | https://www.stellarscience.com Company: We're a small scientific software…
Stellar Science | Hybrid (USA) Albuquerque NM, Washington DC (Tysons VA), Dayton OH | Full time, interns/co-ops | U.S. citizenship required | https://www.stellarscience.com Company: We're a small scientific software…
Stellar Science | Hybrid (USA) Albuquerque NM, Washington DC (Tysons VA), Dayton OH | Full time, interns/co-ops | U.S. citizenship required | https://www.stellarscience.com Company: We're a small scientific software…
Stellar Science | Hybrid (USA) Albuquerque NM, Washington DC (Tysons VA), Dayton OH | Full time, interns/co-ops | U.S. citizenship required | https://www.stellarscience.com Company: We're a small scientific software…
Stellar Science | Hybrid (USA) Albuquerque NM, Washington DC (Tysons VA), Dayton OH | Full time, interns/co-ops | U.S. citizenship required | https://www.stellarscience.com Company: We're a small scientific software…
98% of the time those lengthy messages are useless, but the other 2% of the time they're critical to tracking down the problem. A year or two ago Visual Studio added a pop-up that parses such lengthy compiler messages…
And similarly: slow growth is terrible Slow growth is awesome! Slow growth gives you time to address the challenges of growth, and think through sensible solutions. Rapid growth feels like you're constantly plugging…
Better idea: write code. Don't waste your teams' time with back-to-back hour-long meetings.
git clone --branch v6.10.1 https://code.qt.io/qt/qt5.git . No login required. They do require a login to download precompiled binaries, but what self-respecting Hacker News reader wants those?! Ok, I'll admit, I've done…
Ignoring the git commit message strawman (those can include "what/why the change", not "what/why the code") and the Uncle Bob strawman, the final code block looks fine. But notice: // translate will replace all…
Stellar Science | Hybrid (USA) Albuquerque NM, Washington DC (Tysons VA), Dayton OH | Full time, interns/co-ops | U.S. citizenship required | https://www.stellarscience.com Company: We're a small scientific software…
> Companies that have disdain for their own customers ... do not endure in the limit. This is a very common sort of wishful thinking that lets people bypass hard decisions. You create a company that loves its customers…
Years ago our company consolidated on Firefox because we could rely on it to not send our information to remote servers. At that time other browsers made it hard to disable telemetry. Firefox was then the only browser…
C++ with Boost has let you grab a stacktrace anywhere in the application for years. But in April 2024 Boost 1.85 added a big new feature: stacktrace from arbitrary exception ( https://www.boost.org/releases/1.85.0/ ),…
The US federal government issues its employees smart cards (Common Access Cards) that contain digital certs. Government employees can use these to send and receive S/MIME encrypted emails. That's a couple million users!…