Thursday, June 29, 2023
Podcasting (part 2)
Thursday, August 26, 2021
Ubuntu periodic audio clicking
This website shows how to resolve the problem, including a test fix:
echo 0 | sudo tee /sys/module/snd_hda_intel/parameters/power_save
Then a final fix:echo 0 > /sys/module/snd_hda_intel/parameters/power_save
Always good to see that test vectors are provided before actually doing some change.Thursday, January 7, 2021
quick configuration (download vimrc from google drive)
This website shows how to break down URL from google, like this vimrc file:
https://docs.google.com/document/d/1CAPUjT7Ay1YN6wgliDDamQLT62zAqilVDWqkqzLbkhg/export?format=txt
Combining this with wget:
wget -O .vimrc https://docs.google.com/document/d/1CAPUjT7Ay1YN6wgliDDamQLT62zAqilVDWqkqzLbkhg/export?format=txt
Friday, January 1, 2021
steam on ubuntu 20.04
Introduction
Steam is free software, for many installs just fine. However, a quick google search shows that many (in the hundreds) cannot make it work on their systems, with problems starting in 2014 or earlier.
Progress
Actively struggling with installing. Currently most progress obtained by some combination of installing Nvidia graphics drivers (even though this computer doesn't actually have that).
Installing via package "libglu1-mesa:i386" seems to have the most progress available idea source. Sadly only temporarily provided dependent packages. After attempting to use 32bit drivers from Nvidia, more broken (though some packages are available).
Conclusion
Thursday, December 31, 2020
podcasting
Introduction
Many people are building their own podcasts at the moment. The intent of this project is not for others to be able to follow my podcast, but to preserve the podcasts that were most influential to me. It would be good to continue to listen to stuff that is currently being released, but have my own local server generate a podcast xml to be able to keep the "cleaned up" versions of audio that I will download.
Audio Processing
Process
Needed apache2 and php-xml from apt-get.
My final implementation:
http://default-inspiron-3647/podcasts/dir2cast.php?dir=archive
Conclusion
Only problem is that original theory of hosting on off-internet server would be flouted by podcast app requiring their own curated link (see pca.st links). Thus, motivating me to move away entirely from "free" app that used to be $4.
I listen to podcasts at 1.8x and would like to preserve "trim silence" feature, going to add audacity scripts to "trim silence" before piping into any other podcast app. Thus will be good to process weekly sermons and preserve ones.
Very disappointing that there is no automated tool to generate local URL to pass directly to the app. I could process each file individually and save in google drive, sharing over to podcast app (profile > files)
Tuesday, December 29, 2020
useful networking locations on the internet
Monday, December 28, 2020
Converting Fidelity fund research to Google Sheets
Converts this:
To this:
Version 1 of formula:
=mid(A2,1,if(isnumber(find("%",A2)),find("%",A2)-1,""))
Version 2 that filters out blanks better:
=if(isnumber(find("%",N53)),mid(N53,1,find("%",N53)-1)/100,"")
Thursday, December 24, 2020
upgrade to gaming rig
Introduction
Background
- Need to disassemble old power supply to preserve +12V header, splice/solder into old ATX supply (at least main power connector is in spec)
- Select/purchase affordable GPU. Currently DDR6 shortage causing all graphics cards to be overpriced (2-3x so nothing in budget)
- Procure more memory
- SSD (found old mushkin 240GB drive, but may not be enough)
home fileserver (upgrade 2020-w52)
Introduction
Background
- smb (fileshare over 1G, was 100M)
- synergy (sharing mouse)
- 20.04 LTS (time to upgrade)
- 220W psu
- 3 years newer and desktop (55W TDP)
- 2 SATA
- PCIe2.0 x16 x1
- add power connector (splice)
- SATA
- currently looking at Sedna adapter that has heavily throttled (400/200 MBps R/W) but convenient at $30 https://www.newegg.com/sedna-model-se-pcie-ssd-sata6g-pci-express-to-sata-card/p/17Z-0001-00054
- iocrest has standard 2 SATA, but needs to add power connector (450/350) at $20 https://www.microcenter.com/product/383009/2-port_SATA_60Gb-s_PCIe_Controller_Card
- fill in x16
Work Performed
- moved 240GB SSD from old server to new, verified that it sits on 6G link
- secondary 1TB drive on 3G link, but HDD so slow
- checked via 'dmesg | grep -i sata | grep 'link up''
- shopping for hardware... and assessing if really necessary to have multiple 1TB drives available (better for reliability, but... so far not burned yet)
Tuesday, December 22, 2020
sfp+ ethernet
Introduction
This is getting 10GbE working on a relatively old computer
2020-W52-1
Setup
Steps
- download repository: https://github.com/Aquantia/AQtion
- follow instructions per README
- installed dkms per https://community.clearlinux.org/t/how-can-install-asus-10gb-ethernet-driver/4362/4
- install ethtool
- read out data
user@user-510-p136:~/AQtion-master$ ethtool enp1s0Settings for enp1s0:Supported ports: [ FIBRE ]Supported link modes: 100baseT/Full1000baseT/Full10000baseT/Full2500baseT/Full5000baseT/FullSupported pause frame use: Symmetric Receive-onlySupports auto-negotiation: YesSupported FEC modes: Not reportedAdvertised link modes: 100baseT/Full1000baseT/Full10000baseT/Full2500baseT/Full5000baseT/FullAdvertised pause frame use: NoAdvertised auto-negotiation: YesAdvertised FEC modes: Not reportedSpeed: Unknown!Duplex: Unknown! (255)Port: FIBREPHYAD: 0Transceiver: internalAuto-negotiation: onCannot get wake-on-lan settings: Operation not permittedCurrent message level: 0x00000005 (5)drv linkLink detected: no
user@user-510-p136:~$ sudo ethtool -s enp1s0 speed 10000 duplex full autoneg off
Monday, December 7, 2020
Embedding Videos into Powerpoint
From this article, we know that .pptx is pretty finicky:
I prefer to keep things simple and not depend on having access to quicktime. Thus, .wmv it is.
This person found a way to trigger ffmpeg to output wmv:
https://walterebert.com/blog/creating-wmv-videos-with-ffmpeg/
>> ffmpeg -i intput.mp4 -b:v 2M -vcodec msmpeg4 -acodec wmav2 output.wmv
Tuesday, April 28, 2020
Chromebook VPN
I used my username from the user portal and password from generated from portal.
I pulled the pre-shared key from : https://www.privateinternetaccess.com/pages/client-support/windows7-l2tp which is currently mysafety
I could not get the certs to work with openVPN, could not get the certs to work with L2TP/cert. So I had to fill in the strings into the settings page manually.
Friday, April 17, 2020
RaspberryPi B+ in 2020 (Raspbian Wheezy)
~ $ sudo apt-get update --fix-missingErr http://raspberrypi.collabora.com wheezy Release.gpg Something wicked happened resolving 'raspberrypi.collabora.com:http' (-5 - No address associated with hostname)Ign http://raspberrypi.collabora.com wheezy ReleaseHit http://archive.raspberrypi.org wheezy Release.gpgIgn http://mirrordirector.raspbian.org wheezy Release.gpgHit http://archive.raspberrypi.org wheezy ReleaseErr http://raspberrypi.collabora.com wheezy/rpi armhf Packages Something wicked happened resolving 'raspberrypi.collabora.com:http' (-5 - No address associated with hostname)Err http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB Something wicked happened resolving 'raspberrypi.collabora.com:http' (-5 - No address associated with hostname)Err http://raspberrypi.collabora.com wheezy/rpi Translation-en Something wicked happened resolving 'raspberrypi.collabora.com:http' (-5 - No address associated with hostname)Hit http://archive.raspberrypi.org wheezy/main armhf PackagesIgn http://mirrordirector.raspbian.org wheezy ReleaseIgn http://archive.raspberrypi.org wheezy/main Translation-en_GBIgn http://archive.raspberrypi.org wheezy/main Translation-enErr http://mirrordirector.raspbian.org wheezy/main armhf Packages 404 Not FoundErr http://mirrordirector.raspbian.org wheezy/contrib armhf Packages 404 Not FoundErr http://mirrordirector.raspbian.org wheezy/non-free armhf Packages 404 Not FoundErr http://mirrordirector.raspbian.org wheezy/rpi armhf Packages 404 Not FoundIgn http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GBIgn http://mirrordirector.raspbian.org wheezy/contrib Translation-enIgn http://mirrordirector.raspbian.org wheezy/main Translation-en_GBIgn http://mirrordirector.raspbian.org wheezy/main Translation-enIgn http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GBIgn http://mirrordirector.raspbian.org wheezy/non-free Translation-enIgn http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GBIgn http://mirrordirector.raspbian.org wheezy/rpi Translation-enW: Failed to fetch http://raspberrypi.collabora.com/dists/wheezy/Release.gpg So mething wicked happened resolving 'raspberrypi.collabora.com:http' (-5 - No addr ess associated with hostname)
W: Failed to fetch http://raspberrypi.collabora.com/dists/wheezy/rpi/binary-armh f/Packages Something wicked happened resolving 'raspberrypi.collabora.com:http' (-5 - No address associated with hostname)
W: Failed to fetch http://raspberrypi.collabora.com/dists/wheezy/rpi/i18n/Transl ation-en_GB Something wicked happened resolving 'raspberrypi.collabora.com:http ' (-5 - No address associated with hostname)
W: Failed to fetch http://raspberrypi.collabora.com/dists/wheezy/rpi/i18n/Transl ation-en Something wicked happened resolving 'raspberrypi.collabora.com:http' ( -5 - No address associated with hostname)
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/main /binary-armhf/Packages 404 Not Found
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/cont rib/binary-armhf/Packages 404 Not Found
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/non- free/binary-armhf/Packages 404 Not Found
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/wheezy/rpi/ binary-armhf/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
sudo apt-get updateErr http://raspberrypi.collabora.com wheezy Release.gpg Something wicked happened resolving 'raspberrypi.collabora.com:http' (-5 - No address associated with hostname)Ign http://raspberrypi.collabora.com wheezy ReleaseHit http://archive.raspberrypi.org wheezy Release.gpgHit http://legacy.raspbian.org wheezy Release.gpgHit http://archive.raspberrypi.org wheezy ReleaseHit http://legacy.raspbian.org wheezy ReleaseHit http://archive.raspberrypi.org wheezy/main armhf PackagesHit http://legacy.raspbian.org wheezy/main armhf PackagesHit http://legacy.raspbian.org wheezy/contrib armhf PackagesHit http://legacy.raspbian.org wheezy/non-free armhf PackagesHit http://legacy.raspbian.org wheezy/rpi armhf PackagesErr http://raspberrypi.collabora.com wheezy/rpi armhf Packages Something wicked happened resolving 'raspberrypi.collabora.com:http' (-5 - No address associated with hostname)Err http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB Something wicked happened resolving 'raspberrypi.collabora.com:http' (-5 - No address associated with hostname)Err http://raspberrypi.collabora.com wheezy/rpi Translation-en Something wicked happened resolving 'raspberrypi.collabora.com:http' (-5 - No address associated with hostname)Ign http://archive.raspberrypi.org wheezy/main Translation-en_GBIgn http://archive.raspberrypi.org wheezy/main Translation-enIgn http://legacy.raspbian.org wheezy/contrib Translation-en_GBIgn http://legacy.raspbian.org wheezy/contrib Translation-enIgn http://legacy.raspbian.org wheezy/main Translation-en_GBIgn http://legacy.raspbian.org wheezy/main Translation-enIgn http://legacy.raspbian.org wheezy/non-free Translation-en_GBIgn http://legacy.raspbian.org wheezy/non-free Translation-enIgn http://legacy.raspbian.org wheezy/rpi Translation-en_GBIgn http://legacy.raspbian.org wheezy/rpi Translation-enW: Failed to fetch http://raspberrypi.collabora.com/dists/wheezy/Release.gpg Something wicked happened resolving 'raspberrypi.collabora.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://raspberrypi.collabora.com/dists/wheezy/rpi/binary-armhf/Packages Something wicked happened resolving 'raspberrypi.collabora.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://raspberrypi.collabora.com/dists/wheezy/rpi/i18n/Translation-en_GB Something wicked happened resolving 'raspberrypi.collabora.com:http' (-5 - No address associated with hostname) W: Failed to fetch http://raspberrypi.collabora.com/dists/wheezy/rpi/i18n/Translation-en Something wicked happened resolving 'raspberrypi.collabora.com:http' (-5 - No address associated with hostname) E: Some index files failed to download. They have been ignored, or old ones used instead.
It's getting better. Still a work in progress



