Welcome to the Blog!
Here you find a broad range of different tutorials and solutions which deal with programming and software engineering. Maybe a suitable solution helps you :) Have fun reading it! You can also checkout the german version.
Here you find a broad range of different tutorials and solutions which deal with programming and software engineering. Maybe a suitable solution helps you :) Have fun reading it! You can also checkout the german version.
How to rearrange LaTex more content easily? As a engineering student you will be exposed at some point during your studies to LaTex. This is probably only a matter of time ;-) I enjoy working with Latex even though it can be quite frustrating from time to time. Challenge Recently I had the following challenge: I wanted to create an exam sheet for a course with Latex. Writing such a sheet is more work than writing it immediately by hand however it also allows you once done to rearrange topics and annotate them....
How to create a zero-initialized templated std::array? This morning I wanted to come up with a simple data structure in my master thesis in order implement a multigrid algorithm. As the latter is working with matrices or in a more general way tensors I wanted to use templates and the keyword using to improve the readability. New Data Structures The new data structures are written quickly: // File: datastructures.h #include <array> #ifndef DATASTRUCTURES_H template<typename T1, int dim1, int dim2> using matrix = std::array<std::array<T1, dim1>, dim2>; template<typename T1, int dim> using tensor3D = std::array<matrix<T1, dim, dim>, dim>; #endif // !...
Yesterday I spent couple of hours on how to fix the following error: import _ssl # if we can't import it, let the error propagate ModuleNotFoundError: No module named '_ssl' The error popped up during the setup process of a docker container for CI pipeline which should test a python cli tool with tox. The problem could easily be rooted to a openssl library dependency. I also tried the setup with pyenv which is an easy python environment tool but with this approach the same errors occurred....
Changing Templates in Mailman Why Mailman? Everybody who has worked with Mailman knows how easy you can manage your mailing lists. Every other newsletter tool is most of the times a lot more complicated: you have to login, create a template, write the email, select the recipients and then send it. In Mailman you can simply open your mail account write an email to an specific email address list@example.com and it will be forwarded....
While running through the setup of Spack on MacOS I faced the following problem while running spack install gcc@8.2.0 in a short form it was a error message like: # /usr/include was missing Drawback of the following solution: compiler settings have to be remapped had to reinstall my previous modules gain, as the compiler settings changed My solution: went to the spack-root folder git pull spack compiler find