I think stories are so important, but here is a contrary idea: Be suspicious of stories | Tyler Cowen | TEDxMidAtlantic.
Postmodern design
This one turned up in my feed today: There’s More to Design Than Data and Rationality. I feel like the author is discovering postmodernism. It made me realise that when people discover things they have the feeling like they’re the first (but they’re probably not).
Ethernet on ‘trick’
Note to self: I’ve disabled my second NIC enp7s0 for now, I can enable it when its cable arrives.
-------------------
Mon Mar 28 16:34:31 [bash:5.0.17 jobs:0 error:0 time:1505]
root@trick:/home/jj5
# cat /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
ethernets:
enp10s0:
addresses:
- 10.3.2.5/16
gateway4: 10.3.1.1
nameservers:
addresses:
- 10.1.1.113
search: []
#enp7s0:
# addresses:
# - 10.1.2.5/16
# nameservers:
# addresses: []
# search: []
version: 2
-------------------
blockdev –getsize64 /dev/sda
Today I learned you can get the size of a block device with e.g.: sudo blockdev --getsize64 /dev/sda
List of PLAYBACK Hardware Devices
Note to self:
------------------- Thu Mar 24 23:58:51 [bash:5.0.17 jobs:0 error:0 time:0] jj5@charm:/home/jj5 $ aplay -l **** List of PLAYBACK Hardware Devices **** card 1: Audio [USB Audio], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Audio [USB Audio], device 1: USB Audio [USB Audio #1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Audio [USB Audio], device 2: USB Audio [USB Audio #2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Audio [USB Audio], device 3: USB Audio [USB Audio #3] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4] Subdevices: 1/1 Subdevice #0: subdevice #0 -------------------
Stuttering audio on Ubuntu on Asus ROG Strix Z690-F Motherboard
My new computer ‘charm‘ wasn’t playing audio, there was just some incomprehensible and quiet static coming out of the speakers (I was testing with this). I ran this search and found this and ran this:
# apt install libavcodec-dev
Then I edited /etc/modprobe.d/alsa-base.conf and added:
# 2022-03-24 jj5 - SEE: https://askubuntu.com/a/1059492 options snd-hda-intel position_fix=1
And I edited /etc/pulse/default.pa and changed:
# 2022-03-24 jj5 - NEW: load-module module-udev-detect tsched=1 # 2022-03-24 jj5 - OLD: #load-module module-udev-detect
And I edited /etc/pulse/daemon.conf and added this at the end:
; 2022-03-24 jj5 - SEE: https://ubuntuforums.org/showthread.php?t=766860&p=4816308#post4816308 default-sample-rate = 48000 default-fragments = 8 default-fragment-size-msec = 10
I also read this and ran this:
# apt install inxi # inxi -SMA # apt-get install --reinstall alsa-base pulseaudio $ mv ~/.config/pulse ~/.config/pulse.bak
Then after a reboot or two (and enabling USB Audio in BIOS) it started working! Probably didn’t need most of that, but I’m happy to have a solution.
John’s adventures
Intervals
I’m watching Unit II: Lec 9 | MIT Calculus Revisited: Single Variable Calculus and my mate Herb says that he uses the word “on” the closed interval [a,b] and “in” the open interval (a,b). Thanks Herb. :)
The Gradient of Fear
Plain Text
This was a quick romp around “plain text”: Plain Text – Dylan Beattie – NDC Oslo 2021. Would recommend if you don’t already know about such things.
