Paul Sutton

coding

Geany Build for Python3

By default, Geany will run programs in Python 2.x. As this is now obsolete, you need to edit the build commands so it points to python3.

This will allow you to run (execute) your code.

Tags

#Coding,#Python,#Python3,BuildCommand


MastodonPeertubeQoto sign up

#LookingForWork

Donate using Liberapay

Code Club 20/1/2024 Write up

We seem to be heading off at a tangent with code club, however today we carried on with building a robot car, and another group were starting work on a 12 in 1 robot kit.

Elsewhere, we installed Ubuntu on a netbook and had a look at the Sony Laptop, which now dual boots with Ubuntu and has all the various hardware drivers working.

We do however want to get back to coding at Code Club and ensure STEM group is reserved for some of the project work.

Next code club is on 3rd Feb 2024

Tags

#Code,#Coding,#CodeClub,#STEM,#Electronics


MastodonPeertubeQoto sign up

#LookingForWork

Donate using Liberapay

Code Club 20/1/2024

Usual code club on Saturday 10 – 12 at Paignton Library, we will be in the learning centre for the usual coding activities and in room 10 to carry on with the projects we are doing at the STEM group (see previous post).

Tags

#Code,#Coding,#CodeClub,#STEM,#Electronics


MastodonPeertubeQoto sign up

#LookingForWork

Donate using Liberapay

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


MastodonPeertubeQoto sign up

#LookingForWork

Donate using Liberapay

Code Club 18/11/2023 Ventoy

As Paignton Library code club is more advanced than normal code clubs, I undertook some research in to how to create multiboot USB sticks.

Problem

The average ISO file for a Linux ( or similar ) distribution is usually < 4gb, as we have USB sticks larger than 8, in fact I have a few 16 and the library just sent for some 32gb sticks, having 1 ISO per stick is rather wasteful.

Research and solution

My research led me to a tool called Ventoy this is a small, open source program that, when run, creates file system on the target USB stick to facilitate booting more than one installer.

Notes and warning

The target USB stick will however be Formatted and all data wiped as the program is windows, I used an old netbook with windows still installed to do this.

Current status

ISO files can be added / removed as required. So far I have a 16gb usb stick with :-

Debian 12 Linux mint 21.2 xfce RescaTux.

With space for more. This has also feed up some of my USB sticks.

This should be good going forward, so hopefully we can have one or two installer disks, and free up the other USB sticks for data.

The following image is from the Ventoy Boot Menu.

VenToy Boot menu

Tags

#Coding,#Ventoy,#Linux,#MultiBoot


MastodonPeertubeQoto sign up

#LookingForWork

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

#LookingForWork

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

#LookingForWork

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

#LookingForWork

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

#LookingForWork

Donate using Liberapay