<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Language &amp;mdash; Paul Sutton</title>
    <link>https://personaljournal.ca/paulsutton/tag:Language</link>
    <description>Personal Blog</description>
    <pubDate>Tue, 05 May 2026 16:29:34 +0000</pubDate>
    <item>
      <title>Beginning rust programming 2</title>
      <link>https://personaljournal.ca/paulsutton/beginning-rust-programming-2</link>
      <description>&lt;![CDATA[Beginning rust programming 2&#xA;&#xA;A quick summary of what we can do with Cargo.&#xA;&#xA;We can create a project using cargo new.&#xA;We can build a project using cargo build.&#xA;We can build and run a project in one step using cargo run.&#xA;We can build a project without producing a binary to check for errors using cargo check.&#xA;Instead of saving the result of the build in the same directory as our code, Cargo stores it in the target/debug directory.&#xA;&#xA;References&#xA;&#xA;Rust Language&#xA;Learn Rust&#xA;Documentation&#xA;  Rust Cargo&#xA;&#xA;Tags&#xA;&#xA;#Programming,#Language,#Rust&#xA;&#xA;hr&#xD;&#xA;&#xD;&#xA;table&#xD;&#xA;thead&#xD;&#xA;trtda rel=&#34;me&#34; href=&#34;https://qoto.org/@zleap&#34;Mastodon/a/td&#xD;&#xA;tda href=&#34;https://wiki.ircnow.org/?n=Shelllabs.Intro&#34;ShellLabs/td&#xD;&#xA;tda href=&#34;https://joinmastodon.org/&#34;Join Mastodon/a/td/tr/thead/table&#xD;&#xA;center&#xD;&#xA;AI statement : b 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. /b&#xD;&#xA;/center&#xD;&#xA;&#xD;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>Beginning rust programming 2</p>

<p>A quick summary of what we can do with Cargo.</p>

<pre><code>We can create a project using cargo new.
We can build a project using cargo build.
We can build and run a project in one step using cargo run.
We can build a project without producing a binary to check for errors using cargo check.
Instead of saving the result of the build in the same directory as our code, Cargo stores it in the target/debug directory.
</code></pre>

<p><strong>References</strong></p>
<ul><li><a href="https://www.rust-lang.org/" rel="nofollow">Rust Language</a></li>
<li><a href="https://www.rust-lang.org/learn" rel="nofollow">Learn Rust</a></li>
<li><a href="https://doc.rust-lang.org/book/title-page.html" rel="nofollow">Documentation</a>
<ul><li><a href="https://doc.rust-lang.org/cargo/index.html" rel="nofollow">Rust Cargo</a></li></ul></li></ul>

<p><strong>Tags</strong></p>

<p><a href="/paulsutton/tag:Programming" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Programming</span></a>,<a href="/paulsutton/tag:Language" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Language</span></a>,<a href="/paulsutton/tag:Rust" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Rust</span></a></p>

<hr>

<p><table>
<thead>
<tr><td><a href="https://qoto.org/@zleap" rel="nofollow">Mastodon</a></td>
<td><a href="https://wiki.ircnow.org/?n=Shelllabs.Intro" rel="nofollow">ShellLabs</td>
<td><a href="https://joinmastodon.org/" rel="nofollow">Join Mastodon</a></td></tr></thead></table>

AI statement : <b> 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. </b>
</p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>
]]></content:encoded>
      <guid>https://personaljournal.ca/paulsutton/beginning-rust-programming-2</guid>
      <pubDate>Tue, 24 Dec 2024 07:00:00 +0000</pubDate>
    </item>
    <item>
      <title>Beginning rust programming</title>
      <link>https://personaljournal.ca/paulsutton/beginning-rust-programming</link>
      <description>&lt;![CDATA[Beginning rust programming&#xA;&#xA;I am going to learn some rudimentary rust, so that I can hopefully write some simple programs. &#xA;&#xA;I have installed the rust programming language compiler, according to the man page, to compile a program source to an executable on a GNU/Linux system I need.&#xA;&#xA;rustc -o hello hello.rs&#xA;However, for really simple programs&#xA;&#xA;rustc hello.rs&#xA;works fine.&#xA;&#xA;Which is very similar to how you would compile in c.&#xA;&#xA;So following the age-old tradition of creating a program to display hello world.  &#xA;&#xA;:~/Development/rust/helloworld$ ls&#xA;hello.rs&#xA;:~/Development/rust/helloworld$ rustc hello.rs&#xA;:~/Development/rust/helloworld$ ls&#xA;hello  hello.rs&#xA;:~/Development/rust/helloworld$ ./hello &#xA;Hello, world!&#xA;:~/Development/rust/helloworld$ &#xA;The manual then jumps in to using cargo, as this is better for managing larger projects, so this also needs to be installed&#xA;&#xA;sudo apt install cargo&#xA;We can also check what versions we are running&#xA;&#xA;rustc --version&#xA;rustc 1.75.0 (82e1608df 2023-12-21) (built from a source tarball)&#xA;cargo --version&#xA;cargo 1.75.0&#xA;$ &#xA;&#xA;References&#xA;&#xA;Rust Language&#xA;Learn Rust&#xA;Documentation&#xA;&#xA;Tags&#xA;&#xA;#Programming,#Language,#Rust&#xA;&#xA;hr&#xD;&#xA;&#xD;&#xA;table&#xD;&#xA;thead&#xD;&#xA;trtda rel=&#34;me&#34; href=&#34;https://qoto.org/@zleap&#34;Mastodon/a/td&#xD;&#xA;tda href=&#34;https://wiki.ircnow.org/?n=Shelllabs.Intro&#34;ShellLabs/td&#xD;&#xA;tda href=&#34;https://joinmastodon.org/&#34;Join Mastodon/a/td/tr/thead/table&#xD;&#xA;center&#xD;&#xA;AI statement : b 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. /b&#xD;&#xA;/center&#xD;&#xA;&#xD;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>Beginning rust programming</p>

<p>I am going to learn some rudimentary rust, so that I can hopefully write some simple programs.</p>

<p>I have installed the rust programming language compiler, according to the man page, to compile a program source to an executable on a GNU/Linux system I need.</p>

<pre><code>rustc -o hello hello.rs
</code></pre>

<p>However, for really simple programs</p>

<pre><code>rustc hello.rs
</code></pre>

<p>works fine.</p>

<p>Which is very similar to how you would compile in c.</p>

<p>So following the age-old tradition of creating a program to display hello world.</p>

<pre><code>:~/Development/rust/helloworld$ ls
hello.rs
:~/Development/rust/helloworld$ rustc hello.rs
:~/Development/rust/helloworld$ ls
hello  hello.rs
:~/Development/rust/helloworld$ ./hello 
Hello, world!
:~/Development/rust/helloworld$ 
</code></pre>

<p>The manual then jumps in to using cargo, as this is better for managing larger projects, so this also needs to be installed</p>

<pre><code>sudo apt install cargo
</code></pre>

<p>We can also check what versions we are running</p>

<pre><code>rustc --version
rustc 1.75.0 (82e1608df 2023-12-21) (built from a source tarball)
cargo --version
cargo 1.75.0
$ 
</code></pre>

<p><strong>References</strong></p>
<ul><li><a href="https://www.rust-lang.org/" rel="nofollow">Rust Language</a></li>
<li><a href="https://www.rust-lang.org/learn" rel="nofollow">Learn Rust</a></li>
<li><a href="https://doc.rust-lang.org/book/title-page.html" rel="nofollow">Documentation</a></li></ul>

<p><strong>Tags</strong></p>

<p><a href="/paulsutton/tag:Programming" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Programming</span></a>,<a href="/paulsutton/tag:Language" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Language</span></a>,<a href="/paulsutton/tag:Rust" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Rust</span></a></p>

<hr>

<p><table>
<thead>
<tr><td><a href="https://qoto.org/@zleap" rel="nofollow">Mastodon</a></td>
<td><a href="https://wiki.ircnow.org/?n=Shelllabs.Intro" rel="nofollow">ShellLabs</td>
<td><a href="https://joinmastodon.org/" rel="nofollow">Join Mastodon</a></td></tr></thead></table>

AI statement : <b> 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. </b>
</p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>
]]></content:encoded>
      <guid>https://personaljournal.ca/paulsutton/beginning-rust-programming</guid>
      <pubDate>Mon, 23 Dec 2024 07:00:00 +0000</pubDate>
    </item>
    <item>
      <title>Changing Scratch Interface Language.</title>
      <link>https://personaljournal.ca/paulsutton/changing-scratch-interface-language</link>
      <description>&lt;![CDATA[Changing Scratch Interface Language.&#xA;&#xA;One of the advantages with Scratch is that it has a really nice interface, it is also available in a range of different languages. &#xA;&#xA;Before the last Code Club  I asked the tutor who runs the group in the room next door to the IT group.  While they are learning English,  I decided to ask if any of his group are interested in Code Club.&#xA;&#xA;I am posting this to illustrate how to change the language of the Scratch front end,  so children who speak other language can access this resource easily.&#xA;&#xA;Video&#xA;&#xA;iframe title=&#34;Scratch - Change Language&#34; src=&#34;https://diode.zone/videos/embed/4f89c555-1c42-40e2-bccd-a68c38821679&#34; allowfullscreen=&#34;&#34; sandbox=&#34;allow-same-origin allow-scripts allow-popups&#34; width=&#34;560&#34; height=&#34;315&#34; frameborder=&#34;0&#34;/iframe&#xA;&#xA;Notes&#xA;&#xA;You need to be logged to scratch&#xA;You need to start a new project&#xA;Click on the globe icon and select a language&#xA;  3a.  Note that the globe is normally on the left, but for the languages that read left to right, the globe icon is on the right hand side.&#xA;&#xA;Tags&#xA;&#xA;#CodeClub,#Change,#Language&#xA;&#xA;hr&#xD;&#xA;&#xD;&#xA;table&#xD;&#xA;thead&#xD;&#xA;trtda rel=&#34;me&#34; href=&#34;https://qoto.org/@zleap&#34;Mastodon/a/td&#xD;&#xA;tda href=&#34;https://wiki.ircnow.org/?n=Shelllabs.Intro&#34;ShellLabs/td&#xD;&#xA;tda href=&#34;https://joinmastodon.org/&#34;Join Mastodon/a/td/tr/thead/table&#xD;&#xA;center&#xD;&#xA;AI statement : b 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. /b&#xD;&#xA;/center&#xD;&#xA;&#xD;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>Changing Scratch Interface Language.</p>

<p>One of the advantages with <a href="https://www.scratch.mit.edu" rel="nofollow">Scratch</a> is that it has a really nice interface, it is also available in a range of different languages.</p>

<p>Before the last <a href="https://personaljournal.ca/paulsutton/code-club-5-11-2022-write-up-v8nj" rel="nofollow">Code Club</a>  I asked the tutor who runs the group in the room next door to the IT group.  While they are learning English,  I decided to ask if any of his group are interested in Code Club.</p>

<p>I am posting this to illustrate how to change the language of the Scratch front end,  so children who speak other language can access this resource easily.</p>

<p><strong>Video</strong></p>

<iframe title="Scratch - Change Language" src="https://diode.zone/videos/embed/4f89c555-1c42-40e2-bccd-a68c38821679" allowfullscreen="" width="560" height="315" frameborder="0"></iframe>

<p><strong>Notes</strong></p>
<ol><li>You need to be logged to scratch</li>
<li>You need to start a new project</li>
<li>Click on the globe icon and select a language
3a.  Note that the globe is normally on the left, but for the languages that read left to right, the globe icon is on the right hand side.</li></ol>

<p><strong>Tags</strong></p>

<p><a href="/paulsutton/tag:CodeClub" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">CodeClub</span></a>,<a href="/paulsutton/tag:Change" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Change</span></a>,<a href="/paulsutton/tag:Language" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Language</span></a></p>

<hr>

<p><table>
<thead>
<tr><td><a href="https://qoto.org/@zleap" rel="nofollow">Mastodon</a></td>
<td><a href="https://wiki.ircnow.org/?n=Shelllabs.Intro" rel="nofollow">ShellLabs</td>
<td><a href="https://joinmastodon.org/" rel="nofollow">Join Mastodon</a></td></tr></thead></table>

AI statement : <b> 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. </b>
</p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>
]]></content:encoded>
      <guid>https://personaljournal.ca/paulsutton/changing-scratch-interface-language</guid>
      <pubDate>Mon, 07 Nov 2022 07:30:00 +0000</pubDate>
    </item>
    <item>
      <title>Learning the R statistical language</title>
      <link>https://personaljournal.ca/paulsutton/learning-the-r-statistical-language</link>
      <description>&lt;![CDATA[Learning the R statistical language&#xA;&#xA;During a recent conversation, with a member of a job seeking buddy group that I am a member of,  we had a brief chat about the R programming language.  This is designed and optimised to help with statistics, allows graphs to be produced from data and also integrates with other software such as LaTeX, Python and more.&#xA;&#xA;Learning R is probably not difficult, the hardest part with learning something is finding the right resources to help.  To this end I have found a collated a few links below. &#xA;&#xA;Links&#xA;&#xA;R-Project&#xA;  Comprehensive R Archive&#xA;Combine R and LaTeX&#xA;Include R in to Overleaf&#xA;R-Studio&#xA;CodeCademy R&#xA;&#xA;OTHER&#xA;&#xA;The Links below could be useful generally if you are going to be running R on a GNU/Linux system then knowledge of the command line may be useful.   I have also included a link to the study support forum. &#xA;&#xA;Learn Bash Programming&#xA;Study support forum&#xA;&#xA;TAGS&#xA;&#xA;#Statistics,#R,#Language,#Data,#Analysis&#xA;&#xA;hr&#xD;&#xA;&#xD;&#xA;table&#xD;&#xA;thead&#xD;&#xA;trtda rel=&#34;me&#34; href=&#34;https://qoto.org/@zleap&#34;Mastodon/a/td&#xD;&#xA;tda href=&#34;https://wiki.ircnow.org/?n=Shelllabs.Intro&#34;ShellLabs/td&#xD;&#xA;tda href=&#34;https://joinmastodon.org/&#34;Join Mastodon/a/td/tr/thead/table&#xD;&#xA;center&#xD;&#xA;AI statement : b 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. /b&#xD;&#xA;/center&#xD;&#xA;&#xD;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>Learning the R statistical language</p>

<p>During a recent conversation, with a member of a job seeking buddy group that I am a member of,  we had a brief chat about the R programming language.  This is designed and optimised to help with statistics, allows graphs to be produced from data and also integrates with other software such as LaTeX, Python and more.</p>

<p>Learning R is probably not difficult, the hardest part with learning something is finding the right resources to help.  To this end I have found a collated a few links below.</p>

<p><strong>Links</strong></p>
<ul><li><a href="https://www.r-project.org/" rel="nofollow">R-Project</a>
<ul><li><a href="https://cran.r-project.org/" rel="nofollow">Comprehensive R Archive</a></li></ul></li>
<li><a href="https://towardsdatascience.com/how-to-combine-latex-and-r-for-report-generation-82f23787fc43?gi=703ec61595ea" rel="nofollow">Combine R and LaTeX</a></li>
<li><a href="https://www.overleaf.com/learn/latex/Questions/How_do_I_include_sections_of_R_code_within_my_LaTeX_document%3F" rel="nofollow">Include R in to Overleaf</a></li>
<li><a href="https://www.rstudio.com/" rel="nofollow">R-Studio</a></li>
<li><a href="https://www.codecademy.com/catalog/language/r" rel="nofollow">CodeCademy R</a></li></ul>

<p><strong>OTHER</strong></p>

<p>The Links below could be useful generally if you are going to be running R on a GNU/Linux system then knowledge of the command line may be useful.   I have also included a link to the study support forum.</p>
<ul><li><a href="https://www.codecademy.com/catalog/language/bash" rel="nofollow">Learn Bash Programming</a></li>
<li><a href="https://forum.tuxiversity.org/" rel="nofollow">Study support forum</a></li></ul>

<p><strong>TAGS</strong></p>

<p><a href="/paulsutton/tag:Statistics" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Statistics</span></a>,<a href="/paulsutton/tag:R" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">R</span></a>,<a href="/paulsutton/tag:Language" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Language</span></a>,<a href="/paulsutton/tag:Data" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Data</span></a>,<a href="/paulsutton/tag:Analysis" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Analysis</span></a></p>

<hr>

<p><table>
<thead>
<tr><td><a href="https://qoto.org/@zleap" rel="nofollow">Mastodon</a></td>
<td><a href="https://wiki.ircnow.org/?n=Shelllabs.Intro" rel="nofollow">ShellLabs</td>
<td><a href="https://joinmastodon.org/" rel="nofollow">Join Mastodon</a></td></tr></thead></table>

AI statement : <b> 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. </b>
</p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>
]]></content:encoded>
      <guid>https://personaljournal.ca/paulsutton/learning-the-r-statistical-language</guid>
      <pubDate>Wed, 13 Apr 2022 15:36:06 +0000</pubDate>
    </item>
    <item>
      <title>Book on Haskell</title>
      <link>https://personaljournal.ca/paulsutton/book-on-haskell</link>
      <description>&lt;![CDATA[Book on Haskell&#xA;&#xA;If anyone is interested in learning Haskell, then this book may interesting :-&#xA;&#xA;Learn You a Haskell for Great Good!&#xA;&#xA;Links&#xA;&#xA;Haskell&#xA;&#xA;Tags&#xA;&#xA;#Coding,#Programming,#Language,#Haskell&#xA;&#xA;hr&#xD;&#xA;&#xD;&#xA;table&#xD;&#xA;thead&#xD;&#xA;trtda rel=&#34;me&#34; href=&#34;https://qoto.org/@zleap&#34;Mastodon/a/td&#xD;&#xA;tda href=&#34;https://wiki.ircnow.org/?n=Shelllabs.Intro&#34;ShellLabs/td&#xD;&#xA;tda href=&#34;https://joinmastodon.org/&#34;Join Mastodon/a/td/tr/thead/table&#xD;&#xA;center&#xD;&#xA;AI statement : b 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. /b&#xD;&#xA;/center&#xD;&#xA;&#xD;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>Book on Haskell</p>

<p>If anyone is interested in learning Haskell, then this book may interesting :-</p>
<ul><li><a href="http://learnyouahaskell.com/chapters" rel="nofollow">Learn You a Haskell for Great Good!</a></li></ul>

<p><strong>Links</strong></p>
<ul><li><a href="https://www.haskell.org/" rel="nofollow">Haskell</a></li></ul>

<p><strong>Tags</strong></p>

<p><a href="/paulsutton/tag:Coding" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Coding</span></a>,<a href="/paulsutton/tag:Programming" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Programming</span></a>,<a href="/paulsutton/tag:Language" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Language</span></a>,<a href="/paulsutton/tag:Haskell" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Haskell</span></a></p>

<hr>

<p><table>
<thead>
<tr><td><a href="https://qoto.org/@zleap" rel="nofollow">Mastodon</a></td>
<td><a href="https://wiki.ircnow.org/?n=Shelllabs.Intro" rel="nofollow">ShellLabs</td>
<td><a href="https://joinmastodon.org/" rel="nofollow">Join Mastodon</a></td></tr></thead></table>

AI statement : <b> 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. </b>
</p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>
]]></content:encoded>
      <guid>https://personaljournal.ca/paulsutton/book-on-haskell</guid>
      <pubDate>Wed, 15 Dec 2021 07:00:00 +0000</pubDate>
    </item>
  </channel>
</rss>