Programming Leftovers
-
C++17’s {} impeding SC for new method overloads | Attracted by virtual constructs
Are you the C++ experienced reader to solve the following challenge?
[...]
While asking around, some approaches have been prpoposed, but so far none could satisfy the second goal, catching existing ambiguous argument expressions to hint API consumers to adapt them.
Would you have an idea?
Edit: On a second thought, similar problems also exist before C++17 already when an argument has a type which can be implicitly converted both to A and B, by implicit constructors or type operator methods.
-
Vibration Module with Raspberry PI: Wiring Diagram and Python Code
One of the most effective and immediate feedback to the user, the Vibration Module with Raspberry PI adds a prompt vibration notice to your projects
This tutorial shows how to connect and use a vibration module with Raspberry PI computer board using Python.
[...]
Start with OS installation using install Raspberry PI OS Lite guide, to have a headless OS and work from a remote SSH shell. This procedure also works with Raspberry PI OS Desktop, using its internal terminal or Thonny IDE. Make your OS up-to-date.
-
OpenJ9: What's new in version 0.33.0
OpenJ9 release 0.33.0 supports OpenJDK 8, 11, 17, and 18.
-
Proc macro support in rust-analyzer for nightly rustc versions
I don't mean to complain. Doing software engineering for a living is a situation of extreme privilege. But there's something to be said about how alienating it can be at times.
[...]
Instead for now, I have to answer with: "well you see... support for proc macros was broken in rust-analyzer for folks who used a nightly rustc toolchain, due to incompatibilities in the bridge (which is an unstable interface in the first place), and it's bound to stay broken for the foreseeable future, not specifically because of technical challenges, but mostly because of human and organizational challenges, and I think I've found a way forward that will benefit everyone."