Paul Sutton

Paul Sutton – personal blog

Arduino IDE on Debian

Donate using Liberapay

The Arduino IDE package has been updated and is now back in Debian. It is also available in Debian 10.8.

I have installed the current version 2:1.0.5+dfsg2-4.1 Which is working fine.

apt install arduino arduino-core

So the first task is to add your user to the dialout group:-

DialOut

You need to authenticate for this:-

Authenticate

And set the folder where projects will be stored, usually this is ~/sketchbook

Sketchbook folder

You are then presented with the main IDE Screen:-

main screen

If you need to tweak some IDE settings then look at preferences:-

Preferences

I now need to update my netbook version to: 1.8.13-dfsg1-1.

REFERENCES

TAGS

#YearOfTheFediverse,#Electronics,#Arduino,#IDE

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

Covid update W/E 5/2/2021

Here are some highlights from the recent bulletin

It is vitally important that you take care of your own mental health, as well as supporting others who may be struggling. Here are some tips on how you and your family and friends can improve your own and other’s mental wellbeing:

  1. Play with/advocate the 5 Ways to Wellbeing
  • Connect
  • Keep Learning
  • Be active
  • Take notice
  • Give
  1. Look at Torbay Council's website for more information about how to take care of yourself and others: improve-your-mood

  2. Share the NHS Every Mind Matters Website where you can.

    TALKWORKS service – a free, confidential, NHS talking therapy service. Online talkworks.dpt.nhs.uk/ or call 0300 555 3344.

    Mental Health Matters helpline – a local 24/7 Helpline & Webchat. Call on 0800 470 0317 or visit their website Mental Health Matters

    First Response Service helpline – a local urgent mental health service for people with mental health and learning disability needs. Call 0808 196 8708 or visit their website NHS First Response Services

    Samaritans – Whatever you're going through, a Samaritan will face it with you. Call 116 123, email [email protected] or visit their website.

    KOOTH service – Free, anonymous, online mental wellbeing community for 11-25 year olds. Visit their website

    Child and Adolescent Mental Health Services (CAMHS) – help for children and young people who may be experiencing problems with their emotional or psychological wellbeing or mental health. Call 03300 245 321 (8-5pm) or 03005 555 000 (Out of hours) or visit their website

    PAPYRUS (CYP) – provide confidential support and advice to young people struggling with thoughts of suicide, and anyone worried about a young person. Call 0800 068 4141 (9am-12am), email [email protected] or visit their website

Until next time, stay safe.

More information on Covid 19 in Torbay from the Website.

Mauritius Oil

Donate using Liberapay

Back in October, there was a Major oil spill in Mauritius. Thanks to other news, this has largely been forgotton about.

This is the worst ecological disaster that the country has ever known.  

Before the leak was stopped, around 1000 tonnes of oil leaked from the ship and severely contaminated the precious shoreline and lagoons.

A reminder that this happened, an article from, back in October, by Ecowatch is here

Really good article, if there is a follow up to show what the long term consequences of this were I will post it.

For anyone unsure of where Mauritius is, there is a map below from Open Street Map.


View Larger Map

REFERENCES

TAGS

#YearOfTheFediverse,#Oil,#Spill,#Mauritius,#Greenpeace,#October20,Ecologial,#Wildlife,#Environment

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

Arduino in Debian

Donate using Liberapay

Announcement from Feb 1st, Arduino software is now back in Debian. It is currently in the Testing release, so should hopefully be back in the main distribution very soon.

Read more on the Debian Blog

REFERENCES

TAGS

#YearOfTheFediverse,#debian,#arduino,#electronics

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

Debian 10.8

Donate using Liberapay

The Debian team have released the latest point update to Debian 10 (Buster) taking the release from 10.7 (from December) to 10.8.

You can update in the usual way

There is a really useful guide here from ChrlsGrmmg, on creating install media with dd.

REFERENCES

TAGS

#YearOfTheFediverse,#Debian,#Release,#Update,#108.

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

Fosdem 2021

Fosdem 2021 starts today

6th and 7th Feb 2021.

20.04.2 LTS

Donate using Liberapay

Lubuntu 20.04.2, has been relesed, this is the lastest of the LTS (Long Term Support) updates for the system. You can find more info on the blog page.

Lubuntu is a derivative of the Ubuntu Operating system which in turn is built on Debian. Links in the list below.

Lubuntu is great for both low and high specification systems, and can help bring new life to old hardware, which given the number of people without devices could be a really effective way to help bridge the digital divide.

Organizations such as the good thing foundation help to build digital skills, sadly this does not cover fully free and open source software, let alone decentralized social media networks such as Mastodon.

There is no reason why LibreOffice can't be taught and promoted along side MS Office.

The more people to ASK for support with things like Lubuntu etc they will hopefully eventually provide the choice and associated support for alternatives.

REFERENCES

TAGS

#YearOfTheFediverse,#Lubuntu,#LTS,#release,#FreeSoftware,#Ubuntu,#Debian,#LibreOffice,#Mastodon

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

Ansi Weather 2

Donate using Liberapay

Further to my previous post on ansi weather

I wrote this, which asks for your location, and displays the weather.

echo "where do you live ?"
read location
ansiweather -l $location

In my previous post I was trying to use sed to clean up the output, this isn't needed as the -a option removes the colour coding from the output

ansiweather -a false -l Plymouth, UK >> weatherinfo.txt

Produces

Weather in Plymouth => -10 °C – Wind => 1.72 m/s NNW – Humidity => 62 % – Pressure => 1028 hPa

Which is far better.

so our new shell script is

1 #send weather info to Mastodon
  2 # current date
  3 date > weatherinfo.txt
  4 # current weather
  5 # use -a false to remove colour from output, set location, output to a file
  6 ansiweather -a false -l Plymouth, UK >> weatherinfo.txt
  7 # output to console too
  8 ansiweather -a false -l Plymouth, UK
  9 #send to Mastodon
 10 toot post < weatherinfo.txt
 11 # done
 12 echo done

So the final output to Mastodon is

Final Output

There are more options in the READ.me file

Thank you to Noisytoot for helping with this.

If you now combine the 2nd script with the one I have at the top of this page you should be able to input your location, then get the local weather.

REFERENCES

TAGS

#YearOfTheFediverse,#ansiweather,#weather,#mastodon,#bash,#console,#terminal #information

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

February STSCI lecture review

Donate using Liberapay

This months lecture Milky Way vs Andromeda: When galaxies collide. was really interesting, and covered material about how galaxies are formed, looking for life and what may happen when in 7 billion years, the Andromeda galaxy merges with our own, home galaxy.

The lecture also talked about how galaxies were first discovered and how, only in the last 100 years have we really started to learn a lot more about them. Why the two will merge is linked to the expansion of the universe.

Earth, of course, won't exist by then. The sun, being 4 billion years old, will have expanded to a red giant. As the duration of a 'main sequence star' is about 10 billion years (cite OU Open Learn The Sun)

So the lecture also included about how we could find earth 2.0, the fact that this. may not be easy given the time it will take to reach even the nearest start.

Proxima Centauri (4.2ly) and the planet around that isn't very hospitable.

Personal comment to add to this

I would guess it also raises the question if it will take 10's of 1000s of years to reach will it be the same or have developed to be more life friendly, then on the other side of that a planet that is life friendly now, may like the Earth not be so friendly i 1000's of years time.

Looking forward to the next lecture in March.

REFERENCES

TAGS

#YearOfTheFediverse,#galaxies,#space,#Telescope,#stsci,#Science,Physics,#Astronomy

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

Hedgewars

Donate using Liberapay

HEDGEWARS

Further to the post on Warmux, this is a nice game but no longer maintained. A similar game called Hedgewars [1]. The characters are different (hedgehogs), better graphics but the game play is still centred around artillery and strategy.

Screenshots

Hedgewars 1 Hedgewars 2 Hedgewars 3 Hedgewars 4

REFERENCES

TAGS

#YearOfTheFediverse,

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License