What the heck is a tensor?
These 2 videos explain tensors quite well. You might have to watch them a few times and may need a panadol if your head starts to hurt, but it is pretty cool!
These 2 videos explain tensors quite well. You might have to watch them a few times and may need a panadol if your head starts to hurt, but it is pretty cool!
The current recommended way to install NodeJS can be seen on Node’s website. Use the script they provide by running: Curl will download the script and “| bash” or pipe bash will run the script immediately, as if you typed it out manually. Then run nvm install 22 (or whatever version you want to install).… Read More »
If you are getting this error, the chances are that you have installed mysql with brew by going: What this does is install the latest version of mysql which is probably v9 as of this writing. Native authentication plugin was removed from mysql 9.0 so you’ll have to install an earlier version. Either 8.0. or… Read More »
In Python there are generally 2 options for creating virtual environments. (Virtual environments are a must by the way so I won’t go into the pros and cons. Trust me and just use it). venv Firstly, there is venv which is shipped with Python so you can think of it as a standard library. virtualenv… Read More »
Installing pyenv (brew install pyenv) The first step is to install pyenv which is Python’s version management system. You can read more about where it came from and what it does here but in a nutshell, it is a project that was forked from rbenv and ruby-build, and modified for Python and it let’s you change your… Read More »
Step 1: Install WordPress Install WordPress at your new domain name with new database settings. Step 2: Copy your existing database I found it easier to compare the standard wordpress tables (there’s only 12) and for a simple wordpress site, only 5 were different. Step 3: wp-content/upload Copy the contents of wp-content/uploads over to your… Read More »
This is the command to run to find out the version of your chrome driver
On a Pi device, Chromium is installed by default on version 9 (Stretch) and above. To find the version run: To update the browser version run: What apt does is inspects /etc/apt/sources.list.d/raspi.list and uses the repo there to search for binary packages to install. For example: http://archive.raspberrypi.org/debian/dists/bullseye/main/binary-arm64/Packages contains the link to the Chromium browswer
https://echarts.apache.org/examples/en/editor.html?c=geo-beef-cuts
First you want to follow part 1 of this tutorial to get Django installed: https://help.pythonanywhere.com/pages/FollowingTheDjangoTutorial/ Half way through you’ll want to jump to: https://docs.djangoproject.com/en/4.1/intro/tutorial01/ which essentially tells you to run: Once this is done, you can either go to: