Paul Sutton

Programming

Advanced Programming in the #UNIX Environment

This was posted to the Fediverse by Jan Schaumann, @jschauma@mstdn.social

Tags

#Education,#Learning,#Unix,#Advanced,#Programming


MastodonPeertubeQoto sign up

Donate using Liberapay

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 #AbsorbtionSpectra #Abuse #Academy #Activism #Adenine #Afghanistan #Africa #Alphablocks #AMES #AminoAcid #AmnestyInternational #Analytics #apg #Api #Apt #Aptitude #AralBalkan #Archaeology #Arduino #Artemis #arXiv #AstroBiology #AstroChemistry #Astronify #Astronomy #Astrophysics #AtomicStructure B #bash #BASH #BASHShell #Beamer #better #BibTeX #BigBluButton #BigOil #BioChemistry #Biology #Blender #Blog #Bonfire #Bookworm #Bookwyrm #Browser #Bullseye #Buster C #Castopod #Charity #Chat #Chemistry #Chrome #Chromium #Code #CodeClub #Coding #Commons #Conditions #Conference #Console #Cornwall #Corona #CoronaVirus #Cosmology #Covid19 #cpd #CPD #Creative #CreativeCommons #CreativeEducation #CriticalThinking #CrudeOil #Cryptpad #Crystal #CTAN #CyberSecurity #Cytosine D #DarkMatter #Data #DBS #dcglug #dclug #Debconf #Debian #Decentralised #Decentralized #DeepLearning #Derived #Detox #Development #Devon #Diaspora #Digital #DiodeZone #Discussions #disroot #Disroot #dna #DNA #Docker #Documentation #Donate #Donation #Draft #DRM #Drupal E #Editing #Education #Education #Electronics #Elements #emacs #Email #EmissionSpectra #Employment #Energy #Engine #Ethics #Ethiopia #EventManagement #Events #EveryonesInvited #Exoplanet #Exploration #Exploration F #FalconsEye #Federated #Fediverse #Firefox #Flockingbird #Football #FootBall #Fosdem #FOSSandCrafts #FossileFuels #Foundation #Framablog #FramaBlog #Framework #FreeBSD #FreeBSD #Freedom #FreeSoftware #Friendica #Friendica #FSF #FSFE #Funkwhale #Fusion #FutureLearn G #Galaxy #Galculator #Games #Gamma #GDPR #GettingStarted #Ghostreply #Gimp #Git #Gitlab #GitLab #gm #GNOME #GNU #GnuSocial #GoAccess #GoatCounter #GoDot #gold #GPL #GraphicsMagick #Greek #Guanine #GUI H #Hack #Hacking #Hardware #Hexchat #HomeChemistry #HomeChemistry1 #HomeChemistry10 #HomeChemistry11 #HomeChemistry12 #HomeChemistry13 #HomeChemistry14 #HomeChemistry15 #HomeChemistry16 #HomeChemistry17 #HomeChemistry18 #HomeChemistry2 #HomeChemistry3 #HomeChemistry4 #HomeChemistry5 #HomeChemistry6 #HomeChemistry7 #HomeChemistry8 #HomeChemistry9 #Hosting #htop #Hubble #Hubzilla #HumanRights #Hypothesis I #Image #ImageManipulation #Index #InfoGraphic #information #Inkscape #Invidious #IRC J #JamesWebb #Jit.si #Jitsi #JoeEditor #jpl #JPL #Jupyter #JupyterNotebook #JWST K #Kanban #kbin #KCSIE #KDE #KeepingChildrenSafeinEducation, #Kenya #kstars L #LaTeX #Law #Learning #Lecture #Legal #Legislation #Lemmy #LGPL #LiberaPay #Libre #LibreAdventure #LibreLounge #Librem #Libreoffice #LibreOffice #LibreOfficeCalc #LibreOfficeDraw #LibreOfficeGettingStarted #LibreOfficeImpres #LibreOfficeWriter #LibrePlanet #Linux #LinuxMint #LXDE #Lynx M #Magnesium #Management #Manganese #Map #Mapscii #Mars #Mastodon #Materials #Matomo #Matrix #Maya #Meeting #Meetings #mercury #Mercury #Meta #Micro.blog #mining #Misskey #mobile #Mobile #Mobilizon #Mobilizon #MolarSolutionCalculator #Moon N #NaCl #Nano #NationsLeague #Nebula #NetHack #network #NewSkillsAcademy #Nextcloud #NFL #NGINX #Nuclear #NuclearFusion #Nucleobases O #Oil #OilProducts #Online #Online #OnlineSafetyBill #Open #OpenData #OpenLearn #OpenStreetMap #OpenUniversity #Orbitals #OU #Overleaf #Owncast #OwnCloud P #Package #PaigntonLibrarySTEMGroup #Pandas #Paper #ParticlePhysics #Particles #Password #Payment #Paypal #PDF #PeerTube #PeriodicTable #Phonics #Photo #Photograph #Photographs #Photos #Physics #pinebook #pinephone #PixelFed #Planet #Plausible #Pleroma #Plume #Podcast #PowderToy #Privacy #Production #Products #Programming #ProtoSchool #Public #Purism #Python #Python3 Q #Quark #Quarks R #RadioAstronomy #Reading #Recovery #RedBubble #Research #Rights #rna #RNA #RocksAndDiamonds #Rookie #RookieCamp #RedCabbage S #Safeguarding #Safety #Salt #Schools #Science #ScienceDaily #Scismic #Scratch #Scratch2 #Scratch3 #SDTJ #Seagl #Security #Simulator #Sitejs #Skymaps #smallweb #Soccer #Social #SocialHome #SocialHub #SodiumChloride #Solarus #Solid #SouthDevonTechJam #Space #Stars #Stellarium #Stickers #Stripe #stsci #Symmetry #Synaptic T #Tailings #Talk #Teaching #TeachingAssistant #Techlearningcollective #Telescope #Terminal #Terms #TeX #TextEditor #TheOpenUniversity #Theory #TheOU #Thesis #Thunar #Thunderbird #Thymine #Tilde #Toot #Top #Topic #Torbay #TorbayTrojans #Transit #Translation #Trojans #Trunk #Tuxiversity U #Ulytsheavy #Umami #UN #UnitedKingdom #UnitedNations #UniverseOfLearning #Uracil #Use #users V #Vaccine #Virgo #VLC #VokoScreen #Volunteer #Volunteering #VultureNethack #vultureseye W #wayland #weatherinfo #Website #wicd #wireless #Wordpress #Work #WorldCup #WorldSpaceWeek #Wormhole #Write.as #Write freely #Writing #WhiteVinegar X #Xchat #XenonLamp #XFCE #XFCE4 #XMPP #xorg #Xournal #xray Y #YearOfTheFediverse Z #Zoo

Repl.it desktop app error

I have downloaded the Repl.it app for GNU/Linux Amd64.
1. Switched to a root shell with su - 2. Navigated to where the .deb file was downloaded to 3. Entered the following

dpkg -i ./replit_1.0.0_amd64.deb
  1. And got the following output dpkg-deb: error: archive './replit_1.0.0_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up dpkg: error processing archive ./replit_1.0.0_amd64.deb (--install): dpkg-deb --control subprocess returned error exit status 2 Errors were encountered while processing: ./replit_1.0.0_amd64.deb

Issue seems to be the compression is using tar.zst, I have no idea what this is either, normally it is .tar.gz

Sharing here in case anyone else has a problem.

Update

Asked on the Replit forum and it seems it may have something to do with my Debian version, see post here

Tags

#Coding,#Development,#programming,#Cloud,#Virtual,#replit


MastodonPeertubeQoto sign up

Donate using Liberapay

Code Club 19/8/2023 Write up

So this week, we started the attendees with more Hour of Code activities. We are slowly starting to move towards learning text based programming languages and away from Scratch.

The hour of code activities allow for block programming but the resulting block code be viewed as java based code which is really useful for building that link.

In order to support this I had a go at Mario secret advantures which helps to build some of the many important features of gaming, movement, collision, scoring etc.

I have just made a video and uploaded to peer tube, my system is a little slow so I have left out the music part, but the main point of this exercise is to use loops to reduce code needed.

Next code club 2nd September.

Useful Links

Tags

#CodeClub,#Projects,#Python,#Scratch,#Coding.#Programming,#Children, #Education


MastodonPeertubeQoto sign up

Donate using Liberapay

Code Club – testing input

Once you have code working nicely, it is a good idea to add in error checking so that when asking for user input, what is put in to the program matches what is required.

We can ask a user for a numerical value so we know how many times to repeat the loop. How do we test for this.

letter = rawinput(“Enter your name “) i = letter.isalpha() while i != True: print(“Input MUST use letters”) letter = rawinput(“Name “) i = letter.isalpha() print letter

In this example, the user is asked to enter their name, this is stored and checked that is is actually a alphabetical character a-z or A-Z.

Tags

#CodeClub,#Python.#Programming,#UserInput,#Testing


MastodonPeertubeQoto sign up

Donate using Liberapay

Code Club 19/8/2023

The next Paignton Library code club is on Saturday 19th August 2023 10 am to 12:00. We will carry on with with the Code Club and hour of code projects and hopefully also the Python Projects.

Useful Links

Tags

#CodeClub,#Projects,#Python,#Scratch,#Coding.#Programming,#Children, #Education


MastodonPeertubeQoto sign up

Donate using Liberapay

Jupyter Notebook

This article on Jupyter notebook ties in nicely with a previous article on Scientific Writing so another really interesting article relating to this posted to the fediverse. This gives some useful tips and tricks to help you make the most of this powerful software.

You can read the article on Makeuseof here

Links

Tags

#Tech #MakeUseOf #TechNews #IT via @morganeogerbc #ProductivityTricks #ProductivityTips #Programming #CodingTips #Python,#JupyterNotebook


MastodonPeertubeQoto sign up

Donate using Liberapay

Code Club 5/8/2023 Write uo

Very productive today with attendees working through some of the Hour of code activities, including the more advanced activities which use the Java programming language. So looking good going forward.

Useful Links

Next sessions

Next week the STEM group will be in room 12 ONLY as part of the library Family Fun Festival. The IT learning centre will be locked as I can't cover both rooms.

Next Club(s) will be on:-

  • Saturday 19th August
  • Saturday 2rd September

Tags

#CodeClub,#HourOfCode,#Programming,#Computing,#Java,#JavaScript


MastodonPeertubeQoto sign up

Donate using Liberapay

Code Club 5/8/2023

The next Paignton Library code club is on Saturday 5th August 2023 10 am to 12:00. We will carry on with with the Code Club projects, hour of code and some more Rocks and diamonds.

Useful Links

Tags

#CodeClub,#Projects,#Python,#Scratch,#Coding.#Programming,#Children, #Education


MastodonPeertubeQoto sign up

Donate using Liberapay

Code Club 22/7/2023 Write up

We had three new starters today, so as everyone is interested in Minecraft, I started everyone off with the Hour of Code Minecraft activities. This went really well,. kept everyone engaged with lots of valuable learning taking place.

I have also figured out how to set up Rocks and diamonds so we can skip completed levels and carry on from where people got to previously. I need to do this as the computers reset each time they are turned off, which means that progress data is also lost.

Useful Links

Next Code Club

The next code club is August 5th

Tags

#CodeClub,#Projects,#Python,#Scratch,#Coding.#Programming,#Children,#Education


MastodonPeertubeQoto sign up

Donate using Liberapay