[x]Blackmoor Vituperative

Saturday, 2020-06-27

Thick black cotton socks

Filed under: Fashion,Fine Living — bblackmoor @ 16:03

I have been trying for a year to find a replacement for the thick black cotton socks I used to get from CostCo. I have purchased literally hundreds of dollars in socks — at least a dozen different brands from a dozen different companies. Almost all were too thin. The ones that were not too thin were too short. These Wolverine Men’s Cotton Crew Socks, FINALLY, are thick and the proper comfortable height. THANK YOU! FINALLY!

Friday, 2020-06-19

Do not seek marriage

Filed under: Family,Philosophy,Society,Writing — bblackmoor @ 15:25

Do not seek marriage

Seek humour
Seek dignity
Seek adventure
Seek reliability

Do not seek marriage

Seek vulnerability
Seek strength
Seek kindness
Seek lust

Do not seek marriage

Seek independence
Seek intelligence
Seek passion
Seek friendship

Do not seek marriage

Wait for it to find you
With the realization
That all it will give you
Is a label
For what you already have

Monday, 2020-06-15

GitHub to replace “master” with alternative term

Filed under: Programming,Society,Technology — bblackmoor @ 10:37

Interesting. I am curious what people who primarily speak other langues use in the place of “master/slave”, “blacklist/whitelist”.

GitHub is working on replacing the term “master” on its service with a neutral term like “main” to avoid any unnecessary references to slavery, its CEO said on Friday.

The code-hosting portal is just the latest in a long line of tech companies and open source projects that have expressed support for removing terms that may be offensive to developers in the black community.

This includes dropping terms like “master” and “slave” for alternatives like “main/default/primary” and “secondary;” but also terms like “blacklist” and “whitelist” for “allow list” and “deny/exclude list.”

GitHub to replace ‘master’ with alternative term to avoid slavery references“, ZDNet

Antifa 1978: Blues Brothers

Filed under: Movies,Society — bblackmoor @ 10:07

I am thinking about making a series of these.

Saturday, 2020-06-13

Dukes Of Hazzard

Filed under: Society,Television — bblackmoor @ 12:41

Amazon may remove “The Dukes Of Hazzard” from its streaming service, due to the Confederate imagery on the roof of the “General Lee”, the Dukes’ gravity-defying orange Dodge Charger.

That makes me a little bit sad. They really were just good old boys, never meaning no harm. I don’t think they (or the people who designed the car) had any racist intent. I normally say “intent matters”. Because it normally does. But I am conflicted about this.

“The Dukes Of Hazzard” was my first exposure to decent people fighting against corrupt police. I was not aware of the history of bootleggers tricking out cars to outrace cops (which eventually led to NASCAR).

I have to think, that if the Dukes were ever told that the rebel flag was a symbol of racism and hatred, that they’d be horrified, and they’d waste no time in finding something better to paint on the roof of their car. Because they were decent, honorable fictional characters, and they would never cause pain to innocent people if they could help it.

Tuesday, 2020-06-09

On defunding the police

Filed under: Society — bblackmoor @ 12:45

Fun story! When I was 18 or 19, the father of a friend of mine was a union organizer. That was a his job: to travel the country and help people who wanted to form unions to do that. He said that one of the questions he got most often from business owners was, “What can I do to keep my employees from forming a union?” His answer was, “Treat your employees fairly, and pay them fairly, and they’ll never want to.”

I know a few people who think calls to defund the police (which really means to demilitarize them, and spend that money to actually help people, instead) or even disband the police (such as in Minneapolis, where the police are a criminal gang in black uniforms) are bizarre. Madness. An invitation to chaos.

Want to know how you keep people from de-funding or disbanding your police department? You treat them with respect. You de-escalate rather than escalate. You don’t assault and murder them. You make their lives BETTER rather than WORSE. And then it won’t even occur to them to reduce your funding.

Any police department being threatened with being “defunded” or dissolved has ASKED for that to happen, a thousand times over. It’s just taken this long for people to be so damned fed up that they are finally, just maybe, doing it.

Friday, 2020-06-05

MyMedia under screen

Filed under: Linux,Movies,Software — bblackmoor @ 11:47

I use a Python application called MyMedia to stream videos from my Ubuntu media server to my Roku boxes.

I installed Ubuntu 20 yesterday. The painfully slow navigation problem (caused by the slow but inevitable deprecation of python 2) re-appeared, and I tried to re-create the fix. Initially, I just succeeded in preventing MyMedia from running at all.

Here is what actually worked.

  1. First, I copied all of my backed up MyMedia files to /usr/local/bin/mymedia
  2. Then I installed python 2.7…
  3. sudo apt-get install python2
  4. Then I installed pip, but first I had to install curl…
  5. sudo apt-get install curl
  6. curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
  7. sudo python2 get-pip.py
  8. Then I installed Pillow
  9. sudo python2 -m pip install --upgrade Pillow
  10. It might not have been necessary, but I installed several image libraries…
  11. sudo apt-get install libjpeg-dev
  12. sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib
  13. sudo apt-get install zlib1g-de
  14. sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib
  15. In common.py, I made sure that this…
  16. import Image
  17. … had been replaced with this…
  18. #import Image
    from PIL import Image

Huge success!

Note that during this process, I got several warnings about Python 2.7 being deprecated, like this one:

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support

It’s only a matter of time before MyMedia becomes unusable. I would love to get access to the git repository and try to update it for Python 3, if that’s possible. I’ve asked, but the original developer is no longer associated with the project. It may be that I’ll have to find a new solution to this problem in a year or so.

Also, I have updated my init script (/etc/init.d/memedia), which runs mymedia in a screen

#!/bin/sh
### BEGIN INIT INFO
# Provides: minidlna
# Required-Start: $local_fs $network $remote_fs
# Required-Stop: $local_fs $network $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: mymedia server
# Description: mymedia media server.
### END INIT INFO

# Do NOT "set -e"

# PATH should only include /usr/* if it runs after the mountnfs.sh script
DESC="MyMedia media server"
MEDIAPATH=/var/media
DAEMONPATH=/usr/local/bin/mymedia/server
DAEMON=$DAEMONPATH/mymedia.py
SCRIPTNAME=/etc/init.d/mymedia
SCREENNAME=mymedia
USER=bblackmoor
GROUP=media
EXECUSER=root
EXECGROUP=media

case "$1" in
start)
chown -R $EXECUSER:$EXECGROUP $DAEMONPATH
chown -R $USER:$GROUP $MEDIAPATH
su - $USER -c "cd $DAEMONPATH; screen -dm -S $SCREENNAME python2 $DAEMON"
;;
stop)
su - $USER -c "screen -S $SCREENNAME -X quit"
su - $USER -c "screen -wipe"
;;
status)
su - $USER -c "screen -list | grep $SCREENNAME"
;;
*)
echo "Usage: $SCRIPTNAME {start|stop|status}" >&2
exit 3
;;
esac
: