Logging into a remote VM from a local VM. Getting from here to there isn’t all that hard.
There is a recent paper that contains progress on proving the conjecture that there are infinitely many pairs of twin primes
This got me thinking about some other questions.
Using plain old int
s as identifiers for classes/structs is tried and true, but
we can do better.
The VM I use for development ran out of room on the boot partition. Here is how I fixed that.
Most of the big proposals for C++20 have been talked over quite a bit. But there are a few “hidden” ones that caught my eye.
The Sieve of Eratosthenes is a well known algorithm for computing primes, but suffers from space requirements. The Incremental Sieve solves that problem.
Spirit tries hard to make dealing with attributes easy, but sometimes, it just gets in the way.
(Updated 2019-12-18)
Static websites are fast and tend to be simple to maintain. But the lack of processing on the server side means that comments (and other interaction) is a bit of a hassle.
This is a list - by no means complete - of the systems for doing comments on a static website.
For larger Spirit-based project, organizing the source code well can lead to more efficient builds and increased maintainability.
Of course, this is true for any project. But the heavily templated nature of even a fully realized Spirit parser makes this doubly so. Figuring out how to take advantage of separate compilation while maintaining the ability for each of the pieces to see the needed type/template information is not trivial.
Once your parser grammar grows beyond a few rules/parsers, handling errors will become a priority. Being able to give feedback about where things went wrong, what exactly went wrong, and possible fixes are all things you would like to provide. It might also be nice to see if you could recover the parsing process from the point of failure and continue parsing to maybe find other problems.