Compile Super Collider on Fedora 39 Workstation (Gnome)

Download the source code from https://supercollider.github.io/

Install some requirements:

sudo dnf install avahi-devel emacs emacs-devel libXt-devel libudev-devel libsndfile-devel pipewire-jack-audio-connection-kit-devel qt5-qtwebengine-devel qt5-qtsvg-devel qt5-linguist qt5-qtwebsockets-devel

…if everything worked OK:

cmake .
make
sudo make install

and run

scide

Use Ctrl-B while in scide to start the server. try from https://supercollider.github.io/sc-140:

play{VarSaw.ar((Hasher.ar(Latch.ar(SinOsc.ar((1..4)!2),Impulse.ar([5/2,5])))*300+300).round(60),0,LFNoise2.ar(2,1/3,1/2))/5}//#supercollider

Ctrl-. will stop the server once it’s been playing something.

Standard Horizon HX890E

Just bought a VHF radio with GPS logging (see title). I had assumed that when you connected a computer to it as a USB device it would be just like a thumb drive. Unfortunately that wasn’t the case.
You can download some special software for PC download (sic) but that doesn’t include Mac or the mighty Linux. So some DDGing later brought me to https://github.com/cr/hx870 which uses python to access it.
It was easy to set up a virtual environment for python 3.6 and use pip to install from the github repo.
You can make sure it is connected to USB, using… lsusb it should show an entry for a device called Yaesu Musen HX890

Then:

  • Start the radio up in a special mode, hold down Menu/Set while powering on.
  • Make the device readable sudo chmod 666 /dev/ttyACM1
  • Then use:
    hxtool gpslog -g yourfilenamehere.gpx or (-j for geojson format)
    …to transfer you GPS log from the device to your PC.

    Once you have the file safely on your hard drive you can open it using something like QGIS with the GPS tools installed (GQIS -> Plugins -> Manage and install plugins -> (search for GPS) -> GPS Tools (tick it)
    Then Vector -> GPS Tools -> [Load GPX File]

    By the way to access the setup menu (just in case you haven’t read the manual) hold down the menu/set button for a second or two instead of just tapping it. You clear the log by using the GPS settings menu.

    KDE and onwards to a better world

    Having given up on people telling me what I don’t want (GNOME). KDE is now the GUI of choice.
    An install of fedora KDE spin and here are my initial installs:

    dnf install fedora-workstation-repositories
    dnf config-manager --set-enabled rpmfusion-nonfree-nvidia-driver
    dnf install akmod-nvidia
    
    dnf groupinstall "Development Tools"
    dnf install openssl-devel libxml2-devel libcurl-devel ccache
    dnf install SDL SDL2 SDL-devel SDL2-devel SDL_gfx SDL_gfx-devel 
    dnf install SFML SFML-devel freeglut-devel glew-devel glew glade glfw glfw-devel glm-devel 
    
    dnf install xscreensaver kate filezilla encfs clang clang-devel cmake steam gtk3-devel R-devel p7zip blas blas-devel R-core python3.6 baobab gnome-disk-utility
    dnf install powerline powerline-fonts mc htop f23-backgrounds-extras-kde f24-backgrounds-extras-kde f25-backgrounds-extras-kde f26-backgrounds-extras-kde f27-backgrounds-extras-kde f28-backgrounds-extras-kde f29-backgrounds-extras-kde f30-backgrounds-extras-kde f31-backgrounds-extras-kde f32-backgrounds-extras-kde jupyter-notebook gitg monodevelop inkscape gimp blender spacenavd krita dia scribus kdevelop seahorse nextcloud-client calibre evolution gource kdenlive lollypop
    
    dnf copr enable dani/qgis
    dnf install qgis python3-qgis qgis-gras
    
    dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
    dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
    dnf install vlc
    
    

    Don’t forget you’ll also want to install RStudio,etc. and make the adjustments to your .bashrc file for the powerline to work.
    …and you know what did it for me? Desktop backgrounds.

    And the downside is that I’ll now spend about 2 hours adjusting settings to get my look absolutely right 🙂

    gnome-builder

    Not running stuff on Fedora 31 unless you run:
     systemctl --user restart xdg-document-portal

    …before hand. Something to do with flatpak apparently.

    Nextcloud, increase inotify limit.

    Add

    fs.inotify.max_user_watches = 100000
    ….to
    /etc/sysctl.conf

    …or rather create a new file called something like
    /etc/sysctl.d/somethinglike.conf

    …and in that file put the
    fs.inotify.max_user_watches = 100000

    Your nextcloud client should then stop complaining.

    FitBit

    Just been thinking about buying a FitBit Charge 3, loads of good reviews, great battery life and waterproof!
    Thought I’d check out their Privacy Policy.
    Privacy Policy

    Have now changed my mind and will not be buying one.

    Fedora 29 use python virtual environment

    Fedora comes with python 3.7 installed. TensorFlow etc. doesn’t currently work on 3.7 🙁

    Never mind, time to dip into virtual environments, I have been meaning to take a look at it anyway.

    sudo pip3 install virtualenv

    Make yourself a nice directory, I called my PYTHON_VENV, and create a python virtual environment.
    You may need to install Python 3.6 using:

    sudo dnf install python36

    then use that python executable to install the new python environment:

    virtualenv --python=/usr/bin/python3.6 python36

    now step into the environment using

    source python36/bin/activate

    and install all your favourite libraries:

    pip install scikit-learn spyder pandas numpy bs4 seaborn matplotlib tensorflow jupyter orange3

    to run orange use

    orange-canvas