koldfront

War of the Twins (1986) โ˜…โ˜†โ˜†โ˜†โ˜† #books

๐Ÿ•ก๏ธŽ - 2021-08-04

The second book in the Dragon Lance Legends trilogy is called War of the Twins.

To me it seems like the authors have written themselves into a corner, where the logic of time travel makes the story too convoluted and not interesting enough.

Perhaps science fiction writers are better at integrating time travel into their stories? For me it doesn't work here - I preferred the first trilogy, Dragon Lance Chronicles, which was perhaps simpler and maybe less ambitious, but did what it did better.

โ˜…โ˜†โ˜†โ˜†โ˜†

Rereading this book now, I think I know why I don't have the third book in this trilogy. This trilogy never really took off for me, and I think I simply didn't buy last book.

Remote controlling an NAD C 320BEE amplifier #jukebox

๐Ÿ•ž๏ธŽ - 2021-07-14

For my jukebox I'm using an old(ish) NAD C 320BEE amplifier, which works fine except for one thing: when it is powered on, it starts up in "sleep mode", with no input selected and buzzing speakers.

Quite annoying, because I would like the Raspberry Pi to turn on the amplifier and (active) speakers when the jukebox is unpaused and turn them off when the sound is paused, using one of those nifty usb relays.

I noticed that the amplifier has an "IR in"-socket, so I started wondering if that could be used to control it.

And it can!

After looking at Pete Shadbolt's configuration (thanks!), I did this:

  • Installed lirc on the Raspberry Pi: sudo apt install lirc.
  • Configured /boot/config.txt adding the line dtoverlay=gpio-ir-tx,gpio_pin=22 to enable the gpio-ir-tx module and select the relevant pin
  • Changed /etc/lirc/lirc_options.conf with driver = default
  • Added /etc/lirc/lircd.conf.d/nad_sr712.conf from lirc's list

I found an old audio cable with a 3.5 mm jack in one end, and soldered two jumper wires to it, and connected the center of the jack to pin 22 on the Raspberry Pi and the top of the jack to a GND pin.

After rebooting the Raspberry Pi, I can now run commands like this:

jukebox:~$ irsend SEND_ONCE NAD_SR712 Input-Aux
jukebox:~$ irsend SEND_ONCE NAD_SR712 KEY_VOLUMEDOWN
jukebox:~$ irsend SEND_ONCE NAD_SR712 KEY_VOLUMEUP
jukebox:~$ irsend SEND_ONCE NAD_SR712 KEY_MUTE
jukebox:~$ irsend SEND_ONCE NAD_SR712 KEY_SLEEP

and the amplifier reacts. At least it does if I don't send them in too close succession.

To wake up the amplifier when I turn on the power, I have added a file /etc/systemd/system/amplifier.service with this in it:

[Unit]
Description=Set up amplifier
After=lircd.service

[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/home/asjo/bin/setup_amp
ExecStop=/usr/bin/irsend SEND_ONCE NAD_SR712 Input-Phono

[Install]
WantedBy=multi-user.target

And in the setup_amp script, I have:

#!/bin/sh

sleep 4s
irsend SEND_ONCE NAD_SR712 KEY_SLEEP
sleep 4s
irsend SEND_ONCE NAD_SR712 Input-Aux
sleep 4s
irsend SEND_ONCE NAD_SR712 Input-Aux
sleep 8s
irsend SEND_ONCE NAD_SR712 Input-Aux

As you can see, some fiddling with timing (and retrying) is prudent. And it works!

Dragons of Spring Dawning (1985) โ˜…โ˜…โ˜…โ˜†โ˜† #books

๐Ÿ•ค๏ธŽ - 2021-07-12

I finished volume 3 of the Dragon Lance Chronicles trilogy, Dragons of Spring Dawning, recently - after reading volume 2 some time ago.

The last book of the trilogy continues in the same style as the second - it reads like an epic AD&D-session. It's fun, varied and full of clichรฉs, some of course aimed at your tear ducts - and it finishes the storyline in an appropriately grand way.

โ˜…โ˜…โ˜…โ˜†โ˜†

This one also says $3.50 on the cover - no Danish price sticker, and no notes from when I read it the first time on the pages.

Annoying tropes in computer terms #computers #language

๐Ÿ•˜๏ธŽ - 2021-07-11

One of tropes in discussions about computer storage I think is the most annoying: "RAID is not backup". Stop saying it as if it is some profound, complicated insight you hold. It's not, it's plain as day. Of course redundancy is not the same as a separate, immutable copy. Come on.

Latest example: "Simplest is to understand RAID is not a backup" Seagate Barracuda Ramp Weakness on Hacker News.

The Ubuntu podcast #podcast

๐Ÿ•˜๏ธŽ - 2021-07-10

I have been listening to the Ubuntu podcast for quite a while. Sometimes it has been hilarious - the first episodes where the Wing Commander appeared spring to mind - and sometimes "just" interesting talk.

In this weeks episode they shilled Microsoft VSCode and Microsoft Edge, and argued the advantages of the proprietary snap store by Canonical. I mean, diversity is fine and to each their own, but what is next? Advocating switching from Ubuntu to Microsoft Windows 11 and Microsoft Windows Subsystem for Linux?

Maybe it's just time for me, here in season 14, to take a break from the Ubuntu podcast.

$ hpodder disable $(hpodder lscasts | grep 'Ubuntu Podcast' | awk '{ print $1 }')
$ hpodder lscasts | grep 'Ubuntu Podcast'
65     0/272 [disabled] Ubuntu Podcast โ€“ Ogg
$ 

Dragons of Winter Night (1985) โ˜…โ˜…โ˜…โ˜†โ˜† #books

๐Ÿ••๏ธŽ - 2021-06-28

As mentioned recently I switched to volume 2 of the Dragonlance Chronicles, after re-reading the Legends volume 1.

The story in this volume is more engaging and has the feel of an AD&D campaign, with the group of heroes splitting up and going on separate adventures. It has among other things an absentminded old wizard, a visit with the ingenious technically inclined gnomes, a battle with dragons, and a solemn funeral.

โ˜…โ˜…โ˜…โ˜†โ˜†

I was wondering previously why I didn't have volume 1, but I can see on the first page that I have written in pencil "Bog 3 (pรฅ dansk)" - book 3 (in Danish). So I probably read volume 1 as book 1 and 2 in Danish, and only then switched to the English ones. On page 206 I have pencilled "Bog 4 (pรฅ dansk)".

On the back of the book the price sticker reveals it was 45,50 DKK - the front says $3.50 - so 45ยข cheaper than the chronicles book!

Inside the book I also added translations of some of the words I didn't know at the time and looked up:

  • trial: prรธve, undersรธgelse, rettergang
  • tenous=tynd
  • coveted=eftertragted [sic]
  • insubordination=ulydighed
  • vacancy=tomhed, mangel
  • yuletide=juletid
  • stern=streng
  • pledge=pant, garanti, lรธfte
  • nostril=nรฆsebor!

>30ยฐ

๐Ÿ••๏ธŽ - 2021-06-19

When the temperature looks like this, as it does today:

It is time to mix up some apfelschorle and drop some ice cubes in there:

A good companion for the ZuriHac 2021 streams.

Lille langebro

Today

Tove Jansson (107).

Nagasaki bomb (76).

Wednesday

Martinus (131).

Thursday

WorldPride Copenhagen ๐ŸŒˆ.

DOS 1 (40).

Friday

Left-handers day (29).

Fidel Castro (95).

2021-08-16

Debian GNU/Linux (28).

CPAN (26).

2021-08-23

Irma (135).

Den lille havfrue (108).

2021-08-25

Linux (30).

2021-08-26

Colour television starts in Denmark (54).

2021-08-28

Prins Nikolai William Alexander Frederik (22).

Software Freedom Day (17).

2021-08-29

Annisette (Savage Rose) (73).