Error: Failed to synchronize cache for repo ‘AppStream’ for Centos 8

Are you getting this for “dnf upgrade” & are you running Centos 8.0.1905? No repo urls can be found as the minor version has changed. You can fix this by just referencing the major version (8). Try cd /etc/yum.repos.d && sed -i.BAK -e ‘s/$releasever/8/g’ *.repo and try again. You can probably revert the .BAK files …

Continue reading ‘Error: Failed to synchronize cache for repo ‘AppStream’ for Centos 8’ »

Online SAS hosting spammers

I’ve been getting “Property Spam” recently with subject lines like “A showcase of great properties on the Costa del Sol” or “Achieve high rental yields in an up-and-coming UK city”. These are sent to addresses that have never signed up to any mailing list (but have been sent spam in the past and would be …

Continue reading ‘Online SAS hosting spammers’ »

Bloom – HTTP REST API caching middleware

Bloom is a REST API caching middleware, acting as a reverse proxy between your load balancers and your REST API workers.It is completely agnostic of your API implementation, and requires minimal changes to your existing API code to work.Bloom relies on redis, configured as a cache to store cached data. It is built in Rust …

Continue reading ‘Bloom – HTTP REST API caching middleware’ »

Getting peaclock to build on Ubuntu 18.04

Peaclock uses C++17, this requires us to go through some hoops. sudo apt install clang-7 llvm-7-dev git clone https://github.com/octobanana/peaclock.git cd peaclock export CC=/usr/bin/clang-7 export CXX=/usr/bin/clang++-7 find . -type f -exec sed -i -e \ ‘s#std::filesystem#std::experimental::filesystem#g’ {} \; find . -type f -exec sed -i -e \ ‘s#<filesystem>#<experimental/filesystem>#g’ {} \; find . -type f -exec sed …

Continue reading ‘Getting peaclock to build on Ubuntu 18.04’ »