Paul Sutton

coding

Site Index

Donate using Liberapay

  1. Click on a link.
  2. Scroll to bottom of page.
    • Any posts / pages within this blog will be displayed.

A

#Astronify #Adenine #AminoAcid #Astronomy #AralBalkan #AstroBiology #AstroChemistry #apg #Apt #Aptitude #Africa #Activism #Analytics #Api #Arduino #AMES #arXiv #Academy

B

#Blog #BioChemistry #Biology #bash #better #BigBluButton #BibTeX #Browser

C

#Cytosine #Conditions #Cryptpad #Cosmology #Chemistry #Console #Chat #Conference #Code #Coding #CodeClub #Cornwall #Covid19 #Corona #CoronaVirus #CreativeCommons #Commons #Chrome #Chromium #Charity #Creative #Education #CPD #cpd #CreativeEducation

D

#dna #DNA #Disroot #disroot #Decentralised #Decentralized #dcglug #dclug #Debian #Donate #Donation #Debconf #BASH #Devon #Digital #DRM #Diaspora #DiodeZone #Development #Data #Detox

E

#emacs #Editing #Events #EventManagement #Employment #Email #Education #Exploration, #Ethics #Elements #Exploration

F

#Flockingbird #Framablog #FramaBlog #Fediverse #Federated #Firefox #Fosdem #Freedom #FreeSoftware #Foundation #FSF #FSFE #Friendica #Framework #FreeBSD #FalconsEye #FOSSandCrafts

G

#GoatCounter #Guanine #Greek #Gimp #Galaxy #GoDot #GNU #GNOME #GUI #Gamma #Ghostreply #GPL #GraphicsMagick #gm #GoAccess #gold #GettingStarted

H

#Hubble #Hexchat #Hack #Hacking #Hardware #Hosting #htop

I

#information #Inkscape #Image #ImageManipulation #IRC #Index

J

#JamesWebb #JoeEditor #Jitsi #Jit.si

K

#kstars #Kanban #Kenya #KDE

L

#Linux #LinuxMint #LibreOffice #LiberaPay #LibrePlanet #Lecture #Learning #LibreOfficeWriter #LibreOfficeCalc #LibreOfficeImpres #LibreOfficeDraw #LibreOfficeGettingStarted #LaTeX #LXDE #LGPL #Lynx #Librem #Libre #LibreLounge

M

#Mastodon #Meetings #Management #Mobilizon #Meeting #Matomo #Map #Mapscii #Mercury #mercury #mining #Matrix #Moon #Mars

N

#Nextcloud #Nebula #NetHack #Nano #Nucleobases #network

O

#OpenUniversity #OU #Online #Overleaf #OwnCloud #OpenStreetMap #OpenData #Open

P

#Physics #Podcast #Payment #Password #Public #Paypal #Photo #Photograph #Photos #Photographs #Python #Python3 #Programming #PixelFed #PeerTube #PowderToy #Pleroma #Planet #PDF #Package #pinebook #pinephone #Purism #Plausible #ProtoSchool #PeriodicTable #Paper

Q

R

#rna #RNA #Rights #RocksAndDiamonds #Recovery #RadioAstronomy

S

#Science #Scratch #Scratch2 #Scratch3 #smallweb #Sitejs #Space #Stars #Stellarium #Stripe #Security #stsci #Seagl #Social #SocialHub #SDTJ #SouthDevonTechJam #Solarus #Synaptic #Schools #Solid #Shynet

T

#terms #Telescope #TheOpenUniversity #Terminal #Talk #Thunderbird #Torbay #TeX #Topic #Thunar #Thymine #tailings #Top #Tilde #TextEditor #Toot #Translation

U

#Uracil #Umami

V

#Vaccine #VokoScreen #VLC #Volunteering #Volunteer #VultureNethack #vultureseye #Virgo

W

#Website #Work #wireless #wicd #wayland #weatherinfo

X

#Xournal #Xchat #XFCE #XFCE4 #xray #XMPP #xorg

Y

#YearOfTheFediverse

Z

#Zoo

console / terminal xmas tree

Nice shell script to make a colour Christmas tree on your terminal / console

xmas tree in console

#christmas,#shell,#coding,#hacking,#draw,#xmas,#tree, #xmastree,#bash,#scaleway,#animation

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

Scratch Spiral Project

So in this activity, we are going to try and produce a spiral using Scratch code. This is similar to what Spirograph [TM] produces.

It should look something like this when complete.

spiral1

Open up Scratch 3 in a browser and create a new project.

  1. Start off with the when Green Flag is clicked block

Green Flag

  1. Set the Sprite to the centre of the stage

Set To Centre

  1. Add a block to erase anything drawn on the stage from previous projects, then put Pen Down.

Erase and Pen Down

  1. Now add the Main Loop blocks as follows

Main Loop

  1. Your final code should look like this

Final Code

When run, you should see it draw circles on the screen, move and re-draw, eventually building up a layer on layer spiral pattern with circles.

The method here for drawing circles could be used in other projects too.

#scratch,#coding,#codeclub,#lookingforwork

New Repl.it course 3/8/2020

New course – How to teach yourself coding with Quizlet Founder Andrew Sutherland.

This may complement Paignton Code Club nicely. You can find more details here

I still need to complete the FreeCodeCamp course I am undertaking, I am also undertaking Teaching Primary Science : Chemistry With futurelearn.

Hopefully however, this is useful. I have shared on with Paignton Library on Twitter and with the Local Children and Young People partnership.

#course,#repl.it,#programming,#coding

Free Virtual Summer camps – from Microsoft

Just sharing this, in case anyone is interested

#coding,#camp,#learning,#programming,#microsoft,#virtual

At Paignton virtual Code Club, we are now approaching the end of the Scratch modules. Well done to everyone. The next step is probably to progress to Python [2][3].

If you don't feel ready to do lots of typing, you may want to look at Trinket and blocks. Then perhaps move to the Code Club modules [3].

Blocks, as the name suggests, is a block based system. The difference here is, that the blocks are all Python statements and code. So combining these allow you to easily start coding in Python.

To get started you need to sign up for an account on the Trinket website [1]

trinket

Click you user name and select new trinket and then select blocks

select blocks

You are now presented with your development area.

dev area

You may want to change your project title to something meaningful.

change title

You can select the category of block, then simply use click / drag in similar way as you would with Scratch.

So in this example I am just going to draw a square.

draw square

As we are using turtle, you will need to change the pen up, block so that it says pen down.

change command

Adding comments to your code is important, as it helps you keep track of what the code is doing and helps with debugging also helps others understand your code.

add comment

You can also view the Python code that is produced, this can be copy / pasted to IDE so you can just run the Python code on its own.

![View Python]

https://raw.githubusercontent.com/zleap/blogmedia/master/trinket/square-python-code.png

Finally you can share your project with others.

share

Hopefully this is helpful.

Resources

1 Trinket 2 Python 3 Code Club python Modules

#codeclub,#paignton,#trinket,#python,#coding,#skills,#technology

cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

cc-by logo

Applications for students to join this years Google Summer of code open next week.

This period runs as follows

March 16 – 31, 2020 Students can register and submit their applications to mentor organizations. All proposals must be submitted by March 31, 2020 19:00 (British Summer Time).

#gsoc, #google, #summer, #code, #student, #coding, #projects, #GoogleSummerOfCode


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

South Devon Tech Jam – March 2020

sdtjlogo

The next Tech jam will be on Saturday 14th March 2020. Following on from the previous jam in February

Paignton Library and information Centre.

Time : 11am to 15:00 Cost : £2

Website : http://www.sdtj.org.uk.

What have :-

It may be good to have a discussion on the Tech Pledge which I posted about a while back.

#southdevon,#technology,#meetup,#event,#paignton,#coding,#hardware,#retropie

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

cc-by logo

The list of organizations supporting this years Google Summer of code are announced today.

As per timeline

Please use the contact details here to find out more information.

#gsoc, #google, #summer, #code, #student, #coding, #projects, #GoogleSummerOfCode


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

Free Code Camp and Repl.it

As we are working through the FreeCodeCamp (FCC) Responsive Web Design course at Code Club. I decided to investigate, if the code developed in FCC could be pasted directly into a project on the Repl,it website.

It appears the answer is yes, as the screen below demonstrates.

fcc-repl

This is really useful, especially as the image also displays. This allows learners to develop projects directly from what they are learning with FCC.

One of the final exercises for this HTML component sets up a very basic webpage with the various tags in the right place.


<!DOCTYPE html>
<html>
<head>
  <title>The best page ever</title>
</head>
<body>
  <h1>The best page ever</h1>
  <p>Cat ipsum dolor sit amet, jump launch to pounce upon little yarn mouse, bare fangs at toy run hide in litter box until </p>
</body>
</html>

References

#coding, #html, #freecodecamp, #replit


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)