Paul Sutton

Personal Blog

In an effort to help people keep kids occupied over the CoronaVirus (Covid-19) crisis.

A few months ago I made a few scratch 3 activities, these have been shared on ScratchEd but given the current circumstances, I am going to share here.

Instructions for each are below

#scratch, #education, #school, #homeschool, #activities, #covid19


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

In an effort to help people keep kids occupied over the CoronaVirus (Covid-19) crisis.

Now that I have fixed my browser issue. See earlier post. I am going to share some Scratch projects.

Firstly another spiral / pattern making project.

scratch project

scratch project

It isn't perfect, but it doesn't need to be. What people can hopefully do, is make it better, which is how we learn.

This project can be found on the Scratch website here.

#scratch, #education, #school, #homeschool, #activities, #covid19


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

As I am no longer able to run code club at the library. The frustration with the poor performance of Chromium browser on Debian has prompted me to install Chrome browser.

After a quick search I found a how_to which is easy to follow and Chrome is now fully installed and working.

Chrome browser

Performance is now vastly better. I am not sure what is causing the issue on Debian. It needs investigating properly.

#browser, #chrome, #google, #performance, #install, #debian10,#buster.


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

https://personaljournal.ca/paulsutton/e-learning-network e-learning


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

UK Corona Virus Lockdown

PM Boris Johnson made an announcement this evening essentially putting the UK on lockdown. Can only go out for work, or shopping for essentials.

From the bbc website.

Here are the major points of his speech:

    From tonight, people in Britain will be allowed to leave their homes for only “very limited purposes” - shopping for basic necessities; for one form of exercise a day; for any medical need; and to travel to and from work when “absolutely necessary”
    People are warned not to meet friends or family members who they do not live with
    Shopping is only permitted for essentials like food and medicine, and people are advised to do it “as little as you can”
    Police have powers to enforce the rules, including through fines and dispersing gatherings
    All shops selling non-essential goods, such as clothing and electronic stores, are ordered to close
    Libraries, playgrounds, outdoor gyms and places of worship are to close
    All gatherings of more than two people in public - excluding people you live with - are banned
    All social events, including weddings and baptisms are banned
    Funerals are not included in the new restrictions
    Parks will remain open for exercise but gatherings will be dispersed
    Restrictions “under constant review” and will be checked again in three weeks. They will be relaxed “if the evidence shows we are able to” 


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

Determine graphics file resolution.

Just making a quick post to cover something I found earlier. Chatting to a user in #latex on Freenode about inserting pictures in to $\LaTeX$ documents. It seems scaling the image isn't an issue as long as you know the actual picture resolution.

gives the following example on how to insert a picture in to a $\LaTeX$ document

\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics[width=\textwidth]{YOUR-FILE-NAME-HERE}
\end{document}

We can reduce this slightly by removing the \textwidth element

\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics[width=0.5]{YOUR-FILE-NAME-HERE}
\end{document}

Which will scale the image and insert at ½ the width.

In overleaf and on a GUI it is easy to obtain the image properties.

If you're at the cli, and therefore not able to do this, what do you do then.

There are several solutions

  1. Graphics Magic

gm identify file.png will return some information including the file resolution:

gm identify hexchatSASL.png 
hexchatSASL.png PNG 432x549+0+0 DirectClass 8-bit 45.2Ki 0.000u 0m:0.000003s

So on a similar note the file command does something similar

file hexchatSASL.png 
hexchatSASL.png: PNG image data, 432 x 549, 8-bit/color RGB, non-interlaced

You can also use the view command, which is part of midnightcommander, so opens up a graphical application to display image data.

Once you have determined the file resolution you can calculate how much you need to scale the image.

If you had an image at say 640x480 (w x h) then and you want to display this at ½ the width. Then you can insert

\includegraphics[width=0.5]{YOUR-FILE-NAME-HERE}

To calculate the displayed size you can use

$0.5 \times 640 = 320$

So in this example your image will display, with a width of 320 pixels in your document.

If you use 0.75 then the width is going to be 480

$0.75 \times 640 = 480$

Hopefully this will help someone out there. I did something useful while helping with this.


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

Open Source Ventilator

While this was already shared on the Fediverse. I am making a post here to help spread the word further.

The following is a QUOTE from the website in order to help give the link below some context.

Welcome to Open Source Ventilator (OSV) Ireland. This project >was initiated by the COVID-19 global pandemic as a result of a >community discussion within a Facebook group called Open Source >COVID-19 Medical Supplies (OSCMS). This group rapidly grew and >currently is targeting the development of a number of different >COVID-19 related medical supplies.

I have already shared this LinkedIn, got a positive response to the post, which is great.


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

FreeBSD 7

Further to my previous post I have been on IRC #freebsd in order to ask about what would be good to use for taking screen shots of desktop applications for example.

Scrot : is easy to use and you cam use this to take a picture of the whole screen, this will be useful going forward with these posts.

pkg install scrot

For basic usage just type scrot at the console or in a terminal window.

I have also installed simpleviewer, with

pkg install simpleviewer

However running this at the cli did do anything, you need to find the actual binary executable for this.

info -lx simpleviewer

reveals sviewgl as the program you need to run.

I am now pretty much set up for taking screenshots and being able to view then.

#bsd, #desktop, ##freebsd, #twm, #screenshots, #graphics, #viewing, #console, #gui

Resources

You can find me on Friendica at zleap@social.isurf.ca


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

Google Code In 2020

Due to the Corona Virus outbreak. I decided to bring this post forward. It would be good, to be able to promote Google CodeIn in plenty of time for the event in December.

This also allows people more time to research and prepare for this from an early stage. Perhaps start to learn more programming languages or just make new contacts given, in the UK we are facing months of school closures.

codein2020

https://codein.withgoogle.com/

Note: I am not linked to this in anyway, just trying to promote it. There is an irc channel #gsoc which also covers Google Summer of Code, this can be found on freenode irc network.

*Freenode


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

Mastodon – Settings.

mastodon logo

After using Mastodon for a while, I found that the federated feed moved so quickly, that it was difficult to select and block post if needed.

Investigating further and asking on irc (#mastodon) on Freenode I found a solution to this.

Firstly to slow down the feed go to the settings menu (the 3 horizontal bars) and under settings, select preferences

settings 1

From here, you can tick slow mode as illustrated above. By default on the instance I am using sensitive content is hidden. If this is not the case on your instance or you want to change this setting, then further down is the option for this:

hide sensitive content

Hopefully this brief post is helpful to people out there. If you need further help there is further technical and user support available.

Paul Sutton zleap on IRC and @zleap@qoto.org on Mastodon.

#mastrodon, #settings, #safety, #filters, #fediverse


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

As there are people who are probably stuck at home. due to CoronaVirus. I am sharing some videos from last years Emacsconf and Libreplanet

Libreplanet 2020 took place on the 14th / 15th March and the videos will be published in due course. Plans for the next EmacsConf are underway. Any help, speakers will be appreciated.

If you are able to login to IRC then you can join #emacsconf and #libreplanet respectivley to discuss further.

Everyone is welcome on IRC, however please be patient when asking questions, as not everyone is around, someone will respond in due course.

#virtual, #conference, #emacsconf, #emacs, #libreplanet, #freesoftware, #talks, #chat, #q&a,#videos,#help,#volunteers.


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay