cbuq | 11 months ago | on: My Favorite C++ Pattern: X Macros (2023)
cbuq's comments
cbuq | 2 years ago | on: Piped – An alternative privacy-friendly YouTube front end
Anybody hear of this happening or think it's a possibility down the road?
cbuq | 2 years ago | on: TaxyAI: Open-source browser automation with GPT-4
Makes me worried about AI with internet access...
cbuq | 3 years ago | on: Ask HN: What game do you wish existed?
cbuq | 4 years ago | on: Facebook said my article was false – now the fact-checkers admit they were wrong
Theses are 7-day metrics for positive cases. - California: 59,487 - Florida: 179,586 - Massachusetts: 49,628 - New York: 93,309
cbuq | 5 years ago | on: Show HN: Antimander – Optimize Congressional Districts with Genetic Algorithms
cbuq | 5 years ago | on: Uber is destroying thousands of electric bikes and scooters following Jump sale
> But given many significant issues - including maintenance, liability, safety concerns, and a lack of consumer-grade charging equipment - we decided the best approach was to responsibly recycle them.
Unfortunately seems to most responsible way to handle these bikes. I see the charging issue being a major problem. Trek just switched their rentable bikes to electric in my city, I wonder if they face the same fate.
And settle down everyone, they are being recycled, not dumped in a hole.
cbuq | 6 years ago | on: Stop Using Encrypted Email
What is the benefit of being both anonymous and encrypted?
cbuq | 6 years ago | on: Understanding the generalization of ‘lottery tickets’ in neural networks
cbuq | 6 years ago | on: Samsung: Anyone's thumbprint can unlock Galaxy S10 phone
I'm not dismissing the claims, but I would like to see if the behavior can be replicated with a brand new screen protector.
cbuq | 6 years ago | on: New 2019 MacBook Air features a slower SSD than 2018 model
cbuq | 7 years ago | on: Windows 10: New study shows Home edition users are baffled by updates
A little over a year ago the automatic update failed, I've tried all sorts of ways to get an updated version of Windows, but they have all failed. My research seems to point me to a full reinstall of Windows.
But my computer hasn't restarted arbitrarily in over a year!
cbuq | 7 years ago | on: Countries With Zero Rating Have More Expensive Wireless
I feel you are out of the loop with the whole net neutrality fiasco (https://www.eff.org/issues/net-neutrality)
cbuq | 7 years ago | on: Show HN: Buckaroo – A decentralized C++ package manager
cbuq | 7 years ago | on: Show HN: Buckaroo – A decentralized C++ package manager
1. Conan does not require a server. If a project contains a conanfile.py with build instructions, you can also run `conan create` from a project's source repository (no server required).
2. You can easily force build dependencies with the `--build *` flag
cbuq | 7 years ago | on: Twitter warns that private tweets were public for years
cbuq | 7 years ago | on: Man, 69, loses legal battle against temporal reality in effort to become 49
cbuq | 7 years ago | on: ReX.js – Your RegEx companion
cbuq | 7 years ago | on: ReX.js – Your RegEx companion
"Beginner programmers don't understand regex, good programmers understand regex, the best programmers don't use regex."
I've found regex is a poor choice in production systems because it is very hard to maintain (which this library tries to address) and very hard to test (which this library does not address).
However, regex is perfect for that complicated one-time find and replace.
cbuq | 7 years ago | on: The C++ Build Process Explained
Doing the same with objects require pointers to hide the details of any private members. A common pattern is called Pointer to IMPLemenation (PIMPL).
Not sure why we need to exclude pointers?
In c++14 this is very much simplified with the use of unique pointers.
std::unique_ptr<Foo> make_foo(...);