So true
" There are only two hard problems in computer science: Cache invalidation, naming things, and off-by-one errors." - source
" There are only two hard problems in computer science: Cache invalidation, naming things, and off-by-one errors." - source
Given a bunch of servers being graphed in Munin, how do we combine a single graph of some value for each server into a stacked graph?
It would look like this:
Lets do this with the load average graphs. Add the following to /etc/munin/munin.conf:
[server-loads]
update no …
Posted on Mon 08 January 2024 in DoSomething • Tagged with open source
I donated to Mozilla Thunderbird today to #freetheinbox. Join me to support communication privacy. Donate.
Posted on Sat 30 December 2023 in LOTD • Tagged with HPC, Books
Victor Eijkhout at the Texas Advanced Computing Center has a free (Creative Commons Attribution) series of books on HPC and scientific computing. Of note is the volume entitled "HPC Carpentry" which would benefit anyone using who finds themselves needing to use Linux for scientific computing.
Today I learned that in Python 3.8 they added the walrus operator.
:=
This docile creature lets you do this:
if m := re.search('(\d+) inch tusks',line):
print(f'length: {m.group(1)}')
This was badly needed.
I think I need to read all the Python 3.x "whatsnew …
This might be a huge time-saver for people needing to convert non-LaTeX documents to LaTeX. It has the ability to use screenshots and return the corresponding LaTeX to your clipboard. PyTorch supported GPU required.
Posted on Mon 01 May 2023 in Sysadmin • Tagged with oom memory notification email
I've updated the Notifying users of processes killed by the in-kernel OOM killer page. The code has been updated is now in GitLab.
Notable changes:
Posted on Tue 28 March 2023 in LOTD • Tagged with TeX, LaTeX
There's a new TeX package in town. Lots of nice new features.
FYI for you LaTeX users: FreeCodeCamp has just posted a full course on LaTeX on YouTube.
Update: Yes, this is a rant. It's a rant against the assumptions that: everybody learns equally well from video content, that video is actually superior to text. I welcome your statements of objection ... in writing.
I believe in text.
If you want to explain something technical or complex to me …
Whether or not you are writing your resume, you may find this tutorial helpful.
An open source book on Linux is always a welcome resource to have.
Released under a Creative Commons license, this book is available for free download in PDF format. Download it here.
...
Designed for the new command line user, this 555-page volume covers the same material as LinuxCommand.org but …
Posted on Tue 20 December 2022 in FYI • Tagged with pdf, software
If your world involves lots of technical papers in PDF format you may find this useful.
"Sioyek is a PDF viewer with a focus on technical books and research papers"
Posted on Thu 27 October 2022 in Sysadmin • Tagged with Bash
These are some very good things to consider when writing shell scripts.
I am not sure about point #1 though. If you are writing a script that would be in a software package you need to consider whether the package should require Bash or not. Some minimal systems only have …
Posted on Thu 08 September 2022 in Sysadmin • Tagged with virtualbox
Assumptions:
Procedure:
Cleanly shut …
Posted on Wed 31 August 2022 in Sysadmin • Tagged with oom, python, hacks
Updates:
We've got servers with up to 512GB of RAM. And we've got users who periodically use it all up. Then their process gets killed by the kernel and the user …
Posted on Thu 30 June 2022 in Hackery • Tagged with vpn, cgroups, linux, networking
2022-08-27
2022-08-10
You use a VPN and all your traffic gets routed through it. But what if you want some …
Posted on Thu 19 May 2022 in News • Tagged with latex, github
GitHub just announced that "You can now use LaTeX style syntax to render math expressions within Markdown inline (using $ delimiters) or in blocks (using $$ delimiters)."
We have a server that is used as a gateway SSH server, meaning the server is used to gain access to our research servers and other machines for users who are on an external network.
The SSH gateway server responds on port 22 to internal networks and on another port …
Posted on Sun 15 May 2022 in Fun • Tagged with menger sponge, fun, minecraft
So I ran across this site, Maffs is Phun, when someone linked to a discussion of the Pi vs. Tau debate. I was not aware of this debate and found it humorous, and slightly absurd. But then I'm not a mathematician.
From there I found the author's article on one …