WSL and NPM: npm ERR! Error: EACCES: permission denied

Have you tried installing an NPM package and have been presented with errors similar to “npm ERR! Error: EACCES: permission denied”?Chances are likely that you are using WSL (Windows Subsystem for Linux) and issuing commands from within VSCode terminal emulator. Sadly, I will be unable to give you instructions on how to fix this. However,… Continue reading WSL and NPM: npm ERR! Error: EACCES: permission denied

C type sizes

type bytes min max signed int 4 -2147483648 2147483647 unsigned int 4 0 4294967295 signed char 1 -128 127 char 1 -128 127 unsigned char 1 0 255 signed short int 2 -32768 32767 unsigned short int 2 0 65535 signed long int 8 -9223372036854775808 9223372036854775807 unsigned long int 8 0 18446744073709551615

Python3: Getting Weather Conditions Through API

For a project, I wanted the current outside temperature for my local area. For different reasons, I decided on an external choice but mainly because it would be more accurate then dangling a temperature sensor out of the window! I will walk you through the steps of building your own API calls in Python3. The… Continue reading Python3: Getting Weather Conditions Through API

Python3: Time-critical code

Whilst thinking about how to tackle my Raspberry Pi temperature project, I found and issue that needed resolving.In short, I want to record the temperature of my room every 15 minutes. I wanted to record every 15th minute of every hour for a couple of reasons: To keep the data fair: simply rounding to the… Continue reading Python3: Time-critical code

“The War of the Worlds” : a 21st Century project (Pt. 2)

H. G. Wells – “The War of the Worlds” Map Map Theory With the full list of place names successfully extracted, it was time to think about tackling the map itself.Initially, I thought of using the Googlemaps API, however it required the longlitude and lattitude for each place name. In order to do this, I… Continue reading “The War of the Worlds” : a 21st Century project (Pt. 2)