Paul Sutton

Paul Sutton – personal blog

Warmux

Donate using Liberapay

Warmux is a clone of the turn based artillery game Worms, which was very popular Team17 game from the 90's. This works really well on my set up and is a fun distraction.

Warmux Screenshot

Menuscreen showing various options

Warmux Screenshot

Ingame screen

Warmux Screenshot

Ingame screen

Warmux Screenshot

Ingame screen

REFERENCES

TAGS

#YearOfTheFediverse,#Games,Strategy,#Warmux, #FreeSoftware

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

LibreOffice 7.1 released

Donate using Liberapay

LibreOffice 7.1

LibreOffice 7.1 [1] has been released, more improvements and features, better compatibility with MS Office documents. OMG Ubuntu [2] has a run through of the new features.

REFERENCES

1 LibreOffice 2 OMG Ubuntu 3 Free Software Foundation

TAGS

#YearOfTheFediverse,#LibreOffice,#Office,#Writer,#Calc,#Base,#Draw,#Math.

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

Matrix

Donate using Liberapay

Matrix is a communication protocol. You can read a more detailed description here and I have found a video which an introduction below.

The Devon and Cornwall linux user group now have their IRC channel bridged to Matrix, this means that the channel #dcglug can be accessed by anyone who has either an IRC client, Matrix Client or connects to IRC via the web interface for example. This opens up the chat to far more people, which is a good thing.

DCGLUG Matrix channel : #freenode_#dcglug:matrix

REFERENCES

TAGS

#YearOfTheFediverse,#Matrix,#Decentralised, #communication #Communication.

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

The Milky Way vs. Andromeda: When Galaxies Collide

Space Telescope Science Institute Public lectures The Milky Way vs. Andromeda: When Galaxies Collide Tue 2nd Feb 2021

Link

#space,#telescope,#astronomy,#lecture,#public,#online,#talk, #science

Fosdem 21 Reminder

Fosdem 2021 takes place on the weekend of 6th and 7th Feb 2021.

FOSDEM is a free event for software developers to meet, share ideas and collaborate.

Will take place via Jitsi and Matrix

If you sign up to matrix via the link below the you can get access to all the chatrooms during the conference.

I am on there as zleap@zleap:fosdem.org

Social

#conference,#freesoftware,#freedom,#fosdem

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

CryptPad 4

Donate using Liberapay

A look at some of the features of the Rich Text Editor that comes with the recently released, version 4 of CryptPad.

This is a really nice package, and service, Cryptpad also comes as part of Disroot, which is also linked below. The best feature of course is the privacy.

REFERENCES

TAGS

#YearOfTheFediverse,#CryptPad,#RichText,#Editor,#Text, Cloud,#Privacy

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

LaTeX : Flowcharts

Donate using Liberapay

Another useful resource and tutorial from LaTeX Draw for drawing flowcharts.

REFERENCES

TAGS

#YearOfTheFediverse,#LaTeX,#LaTeXDraw,#Flowchart,#Tutorial

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

Ansi Weather

Donate using Liberapay

Getting weather information is really useful. What happens if you're at the command line in Linux? I found a really little application that can help

ansiweather

apt install ansiweather

ansiweather -l Plymouth, UK

Ansi Weather Output

So what else can we do with this

  1. Send the output to Mastodon with toot post

This is a two step process

  1. ansiweather -l Plymouth, UK > weather.txt
  2. toot post < weather.txt

Will send the weather info to Mastodon.

However this does not include any date info

We can fix this with

  1. date > weatherinfo.txt
  2. ansiweather -l Plymouth, UK >> weatherinfo.txt

then send the whole lot to Mastodon with

  1. toot post < weatherinfo.txt

So, if we put this in to a final shell script we need:-

#send weather info to Mastodon
# current date
date > weatherinfo.txt
# current weather
ansiweather -l Plymouth, UK >> weatherinfo.txt
#send to Mastodon
toot post < weatherinfo.txt
# done
echo done

Again released under GPLv3

I tried to get festival to speak the weather, it is not perfect but this sort of works, you will need to direct to weather.txt first.

festival —tts < weather.txt

Looking in to this further, the issue is the brackets etc, so this stackoverflow post

strips out the colour formatting

sed 's/\x1b[[^\x1b]*m//g' weatherinfo.txt

Therefore

sed 's/\x1b[[^\x1b]*m//g' weatherinfo.txt > weatherinfo2.txt

Sends the newly formatted text to weatherinfo2.txt

So running back through festival

festival —tts < weather.txt

Is perhaps a little better, but not perfect

So going back to what we wrote earlier to send to Mastodon, the new script

  1 #send weather info to Mastodon
  2 # current date
  3 date > weatherinfo.txt
  4 # current weather
  5 ansiweather -l Plymouth, UK >> weatherinfo.txt
  6 # clean up output with sed
  7 sed 's/\x1b\[[^\x1b]*m//g' weatherinfo.txt > weatherinfo2.txt
  8 #send to Mastodon
  9 toot post < weatherinfo2.txt
 10 # done
 11 echo done

Produces much nicer output. The top bottom part of this illustrates what was sent before we stripped out the colour formatting

However it still isn't perfect, as it removes part some of the wording, but it is hopefully getting there.

Weather Output (new)

REFERENCES

TAGS

#YearOfTheFediverse,#Weather,#Scripting,#Bash,#Linux, #Mastodon,#ProblemSolving,#AnsiWeather,#programming, #Stackoverflow,#sed,#cat,#grep,GPL3,#FSF

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

Toot mastodon client

Donate using Liberapay

I have been experimenting with the toot mastodon client. This does have a curses interface.

toot curses. (q to quit)

However experimenting with this and bash scripting

So to begin with you will probably need to login

toot login_cli

toot post text here

will send that text to Mastodon (toy

fortune > fortuneout
#
# echo to screen
cat fortuneout
# post content of fortuneout to console
toot post < fortuneout
#
echo "done"

This will run the fortune program, send output to a file then send the output in to toot post.

The next example the script asks for some user input and then sends it to toot post

echo "Please Enter some Text"
read usertext
#
#
# post user input to mastodon
echo $usertext
toot post '$usertext'
#
echo "done"

The potential of the above could allow real time data to be posted to Mastodon for example.

The above scripts are released under GPLv3.

REFERENCES

TAGS

#YearOfTheFediverse,#toot,#mastodon,#client

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

Messenger App Comparison

Donate using Liberapay

Further to the post yesterday. This was posted to Mastodon, This comparison has been put together by the Free Software Foundation, India. That compares various Free and Non Free applications. Good to understand why we need to use decentralized, privacy aware tools.

Messenger app comparison

REFERENCES

TAGS

#YearOfTheFediverse,#Messenger,#app,#comparison

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