Let's say you use Gentoo Build Publisher to continuously build your Gentoo machine's packages, but you haven't updated your actual machine in a while. And finally when you do something's broken but you don't know what broke or when? Well something like that happened to me and I want to …
Delaware Tornado
I've decided to set up a GoFundMe for my elderly Aunt and cousins who were affected by the 2023-03-31 a series of tornados and severe thunderstorms struck through North America.
It struck in areas that are not typically areas for tornados. One such area was Delaware, and especially Southern Delaware …
Rolling Back a Rolling Release with Gentoo Build Publisher
Let's say you've upgraded to tracker-3.4 and it doesn't work. You could mask tracker-3.4, but it depends on tracker-miners-3.4 so you'll have to mask that too. There may be other dependencies that you'd have to mask too. What you'd really rather do is go back in time …
Historical Values in Python
Often in programming we have some "constant" value that we define as a variable in Python. But the only try constant is change.
Consider for example you have a program that needs to process a file with a certain filename. So you might have something like:
FILENAME = "foo.txt" data …
Installing Gentoo Build Publisher
In my article from 14 months ago when I introduced Gentoo Build Publisher I wrote "Next time I will write about how one can install one's own gbp instance." Well that didn't happen. It's not that I couldn't document it, but I first wanted to make installing GBP easy. I …
Python Cannot Return Multiple Values
It is often said that Python functions can return multiple values, but this isn't really true. Often the examples given to show Python returning multiple values is something like this:
def foo(): return 1, 3 a, b = foo()
But is that really returning multiple values? No. Well then how come …
Python: Comparing timestamp strings
This article discusses how you should (and shouldn't) compare string representations of timestamps in Python.
Often times when programmers process external data there are timestamps (date and time) and usually this data comes into Python as a string, although some times it could be an integer or float. The international …
Gentoo Build Publisher: Getting failure logs
When one is performing Gentoo builds inside a CI/CD container (inside another container) and a build fails it is sometimes desirable to create a bug report at bugs.gentoo.org. Often the Gentoo developers require that you include the error output and build logs. However getting the logs out …
Exploring the Gentoo Build Publisher Dashboard
Screenshots and explanation of the new Gentoo Build Publisher dashboard.
du and hard links
If, like me, you've ever been curious about if/how coreutil's
du
command handles hard links:$ mkdir test $ mkdir test/a test/b $ dd if=/dev/zero of=test/a/a bs=1M count=1 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 …