Programming Leftovers
-
Increasing the glibc and Linux kernel requirements | Rust Blog
The minimum requirements for Rust toolchains targeting Linux will increase with the Rust 1.64.0 release (slated for September 22nd, 2022).
-
2022.31 JustinTimeRelease – Rakudo Weekly News
Justin DeVuyst was able to release the 2022.07 Rakudo Compiler Release just before the end of the month. Which added inode, dev and devtype methods to IO::Path, and a new .snip method (inspired by Haskell’s span). And many other improvements and fixes! Updated Linux packages are now also available on rakudo.pkg, thanks to Claudio Ramirez.
-
Declaring a Variable with const in JavaScript
The const keyword is one of the three ways you can declare a variable in the JavaScript language.
What differentiates JavaScript’s const keyword from the others is that once a variable is declared, it cannot be assigned a new value.
This is incredibly useful when you need to declare a value that should never be changed during runtime. In fact, as a general rule, you should declare a variable using “const” unless you expect the value to be changed.
By the end of this guide, you should have a good understanding of how to declare a variable in JavaScript using const.
-
Sergio Talens-Oliag: Using Git Server Hooks on GitLab CE to Validate Tags
Since a long time ago I’ve been a gitlab-ce user, in fact I’ve set it up on three of the last four companies I’ve worked for (initially I installed it using the omnibus packages on a debian server but on the last two places I moved to the docker based installation, as it is easy to maintain and we don’t need a big installation as the teams using it are small).
On the company I work for now (kyso) we are using it to host all our internal repositories and to do all the CI/CD work (the automatic deployments are triggered by web hooks in some cases, but the rest is all done using gitlab-ci).
The majority of projects are using nodejs as programming language and we have automated the publication of npm packages on our gitlab instance npm registry and even the publication into the npmjs registry.
To publish the packages we have added rules to the gitlab-ci configuration of the relevant repositories and we publish them when a tag is created.