In this video, I discuss some of my thoughts on selecting the best laptop for college. In particular, the advice here is targeted at incoming first year students, but it should still be broadly applicable. ... https://www.youtube.com/watch?v=6hLUS1HY7ao
In which I discuss the document formatting system groff, which can be used to produce well-formatted pdf files from plain text, as well as being used to render Linux man pages.
groff is a very old, sorta clunky, but incredibly useful tool that is readily available on Linux systems. It's probably worth having at least a little exposure to, even if you don't regularly use it.
For more information, check out this article on my Web site, which goes over much the same content, but includes a little more discussion of the programs that make up the groff system (groff is just a front-end to a collection of programs),
https://www.douglasrumbaugh.com/post/groff-introduction/
...
https://www.youtube.com/watch?v=YSWmKLjigIs
In which I discuss the use of the lvresize and vgextend commands to change existing LVM systems by adding new hard disks (or other storage devices) and expanding the existing logical volumes into the new space.
...
https://www.youtube.com/watch?v=pJoRL9_X6rk
In this video I give a very basic introduction to the concept of a Linux process. I show the ps command for listing processes, and how to kill a process. Yes. I managed to talk for over 17 minutes on just that--wow am I long-winded.
...
https://www.youtube.com/watch?v=t0KMOV6HiNQ
Hello, and welcome to Episode 5 of Linux Back to Basics.
Today, I will be talking about managing users and permissions on your system. Topics covered include:
Permissions
chmod
chown
useradd
userdel
passwd
...
https://www.youtube.com/watch?v=xUJXy4vBAMg
I've started tinkering with writing my own static site generator, in a quest to banish any and all JavaScript from my website. Because my blog is technical, and many posts contain equations, I needed a reasonable solution for supporting these without resorting to MathJax. I could have used MathML, but this wouldn't really accomplish my secondary goal of increasing my websites support for oddball web browsers.
Instead, I landed on using some shell scripts to read an equation, specified in the HTML document use groff's eqn preprocessor, and then generating an SVG image file which is placed into the page. The pipeline I'm using is a lot longer than it needs to be, and will probably shrink or be otherwise refined before my SSG is ready for prime time, but at present it is as follows,
groff -Tps -e -s GROFF_EQUATION_FILE | ps2eps -l | epstopdf --filter | pdftocairo -svg - OUTPUT_SVG
The results are pretty good, on the whole, but there is still a lot of work to be done.
...
https://www.youtube.com/watch?v=4i1tutp24TY
This video has an accompanying article on my blog, which includes a table of these keyboard shortcuts.
https://douglasrumbaugh.com/post/shell-emacs-mode/
...
https://www.youtube.com/watch?v=sH9KhCraEdo
In Part 2, we continue where we left off. This video shows how to configure the system and install the GRUB bootloader.
...
https://www.youtube.com/watch?v=6Odi10sIvyo
The heap is a relatively simple data structure that allows us to impose a relatively weak, but still useful, ordering property on data: it allows the access of the largest/smallest element within a set of values.
The code for this video (as well as images and presentations) can be found here,
https://github.com/dbrumbaugh/heap-video
...
https://www.youtube.com/watch?v=EmAM6Ij9Mow
Recently, Kyoto University lost a large amount of research data to a poorly timed script update. In this video I conjecture as to what happened, and provide some advice on how to prevent a similar thing from happening to you.
The root cause of the issue seems to be the manner in which POSIX shells (and others) interpret an undefined variable, combined with they way in which shells process the script file itself.
On encountering an undefined variable, rather than throwing an error, many shells assume the variable to be empty-valued. This is very convenient, but can lead to subtle bugs as well. Most shells have a way to change this behavior, so that an error is thrown instead, but these are not commonly used as they are inconvienent.
That issue seems to have been combined with the fact that some interpreters (including bash), only read small sections of the script from disk at a time. This means that, if the script on disk is changed while the script is running, variables can spontaniously become undefined within the running script. If that variable is used as part of the path in an rm command, for example, this can result in the unintended deletion of files.
Original Article
https://www.techspot.com/news/92822-japanese-university-loses-77tb-research-data-following-buggy.html
...
https://www.youtube.com/watch?v=DlT1qhtY76s