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 more DNF installs

sudo dnf groupinstall "Development Tools"
sudo dnf install SDL SDL2 SDL-devel SDL2-devel SDL_gfx SDL_gfx-devel
sudo dnf install powerline powerline-fonts mc htop
sudo dnf install jupyter-notebook gitg monodevelop gnome-builder
sudo dnf install inkscape gimp blender spacenavd krita dia scribus fslint
sudo dnf install qgis qgis-python qgis-grass qgis-server
flatpak install --from  https://flathub.org/repo/appstream/org.qgis.qgis.flatpakref

follow this link to sort out the Fn button on an Apple keyboard Super User use the systemd one. You will also need to enable the spacenavd service using systemctl enable spacenavd etc.

You’ll need this to install the tidyverse package in R

sudo dnf install openssl-devel
sudo dnf install libxml2-devel
sudo dnf install libcurl-devel

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

Postgres Fedora 28 Workstation

This is is probably not the best way to fix the problem I am having.

I tend to use postgreSQL when I an faffing with some data. The data I am usually faffing with is huge and on Fedora the problem is that the var directory is in the 50Gb of data provided as part of a separate disk partition used to hold the system files. Don’t know why, but there you go.

So ideally I need to move the data files to somewhere else.

Install postgreSQL from the nice people over at PostgreSQL. Once installed make sure that the postgres user exists.
Create a folder for the user in the “/home/” directory and chown it to the user using:

chown postgres:postgres /home/postgres

…then change the postgres-10.service file using:

sudo su
systemctl edit --full postgresql-10.service

…change the Environment line to use your path as the PGDATA:

Environment=PGDATA=/home/postgres/DATA

then run:

/usr/pgsql-10/bin/postgresql-10-setup initdb

…and make sure that the service is running using:

sudo systemctl enable postgres-10.service
sudo systemctl start postgres-10.service
sudo systemctl status postgres-10.service