[x]Blackmoor Vituperative

Wednesday, 2021-07-14

Stop downloading images as webp

Filed under: Software,The Internet — bblackmoor @ 09:08

If you are annoyed that you download images in Firefox and they save as “*.webp”, install this addon.
https://addons.mozilla.org/en-US/firefox/addon/dont-accept-webp/

Tuesday, 2021-06-01

Change Firefox tabs back to old style

Filed under: Software,The Internet — bblackmoor @ 10:21

If Firefox has updated and now your tabs are huge and you can’ t tell which tab is open by looking at them, you can switch it back. Type “about:config” in the address bar, search for “proton“, and change the “true” values to “false“.

Thursday, 2021-05-13

YouTube’s ridiculous dispute process

Filed under: Intellectual Property,The Internet — bblackmoor @ 14:21

Fun fact! Anyone can place a copyright claim on any YouTube video you post. You can, of course, dispute that claim. Who resolves that dispute? The person who made the claim. And when they decide against you, and for themselves, YouTube will then punish you for disputing the claim.

If that seems ridiculous to you, it’s because it is.

Sunday, 2021-04-18

Rounding to significant digits in LibreOffice Calc

Filed under: Software — bblackmoor @ 12:24

Here is a formula for rounding a number to a specified number of significant digits.

=if(A1=0,0,round(10^(floor(B1-LOG(abs(A1))))*A1)/(10^(FLOOR(B1-log(abs(A1))))))

In this formula, A1 is the cell with the number, and B1 is the cell with the number of significant digits.

Monday, 2021-03-01

Karelia, version 7

Filed under: Art,Gaming,Software — bblackmoor @ 09:37

Current version of Karelia map, for my maybe-I-will-maybe-I-won’t D&D game. I like the overall look, but I am bumping into limitations in Inkarnate (which is what I used to draw this). namely, there is no way to group objects into, say, “Labels”, or “Rivers”, and change the size, colour, font, etc. in a simple way. Photoshop can do that fairly easily (no great surprise), so I am thinking about doing the landmasses in Inkarnate (which is easy to do with its built-in textures and POI icons) and then doing the rivers and labels in Photoshop.

Alternately, I am playing with the idea of loading this map into Campaign Cartographer (from ProFantasy), and re-drawing it in that program. Campaign Cartographer is a much more powerful mapping program than Inkarnate, and can do everything (or nearly everything) I would like to do in Photoshop. I have owned Campaign Cartographer for literally decades, and have subscribed to their monthly “Cartographer’s Annual” since 2007, but I have never taken the dive into learning it. It has a steep learning curve.

On the other other hand, I am wondering if perhaps I have gone down a rabbit hole on this whole map thing. Maybe I should just declare it “good enough”, and move on to planning the actual game. Maybe.

Monday, 2020-08-10

Google advanced image search

Filed under: Art,The Internet — bblackmoor @ 10:02

You may find this useful: How to get back ‘exact size’ and ‘larger than’ search filters on Google Images

tl;dr version, bookmark this url:
https://www.google.com/advanced_image_search

Wednesday, 2020-07-29

CyberArk releases new SkyArk tool

Filed under: Cloud Computing,Security — bblackmoor @ 10:19

Cyber-security firm CyberArk has released today a new free tool that can detect “shadow administrator accounts” inside cloud environments like Amazon Web Services (AWS) and Microsoft Azure.

https://www.zdnet.com/article/new-tool-detects-shadow-admin-accounts-in-aws-and-azure-environments/?ftag=TRE-03-10aaa6b&bhid=71893585&mid=12954240&cid=716959071

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

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
:

Thursday, 2019-12-26

Cinema Insomnia animated GIFs, part 1

Filed under: Art,Movies,Television,The Internet — bblackmoor @ 13:01

Here are some animated GIFs I made for Cinema Insomnia.

Next Page »