<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sam Scheding on Medium]]></title>
        <description><![CDATA[Stories by Sam Scheding on Medium]]></description>
        <link>https://medium.com/@samscheding?source=rss-5d05935feb02------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*YJaQcxCVu-U2_j1g.jpg</url>
            <title>Stories by Sam Scheding on Medium</title>
            <link>https://medium.com/@samscheding?source=rss-5d05935feb02------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 03:30:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@samscheding/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Managing Chromebooks with Google Apps For Education (GAFE) for NSW Schools]]></title>
            <link>https://medium.com/@samscheding/managing-chromebooks-with-google-apps-for-education-gafe-for-nsw-schools-cd51ebeff88?source=rss-5d05935feb02------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd51ebeff88</guid>
            <category><![CDATA[gafe]]></category>
            <category><![CDATA[nsw]]></category>
            <category><![CDATA[department-of-education]]></category>
            <category><![CDATA[chromebook]]></category>
            <category><![CDATA[education]]></category>
            <dc:creator><![CDATA[Sam Scheding]]></dc:creator>
            <pubDate>Tue, 11 Jun 2019 05:27:42 GMT</pubDate>
            <atom:updated>2019-06-14T02:40:37.449Z</atom:updated>
            <content:encoded><![CDATA[<p>For years, the school that I work for struggled to find a solution that allowed students and staff to reliably connect to WiFi, and keep proxy settings for more than a week at a time. The solution we have landed on is to purchase a Chromebooks for each student, and manage them through Google Apps For Education. In no way is this meant to be a comment on the work done by the NSW DEC IT Department. The requirements for the DEC are incredibly complex and difficult to create universal solutions for.</p><p>We found that finding information on how to set this up was hard to come by, so the following article is an in depth, step by step guide to setting up GAFE for any other schools in NSW that are looking to implement the same solution as us.</p><p>The first step is to set up a domain for your school. This is used to allow students, staff, and devices to be grouped into a single school. For example, if you purchase the domain name: yourschool.nsw.edu.au, once everything is set up, you’ll be able to send emails to staffmember1@yourschool.nsw.edu.au, or add student2@yourschool.nsw.edu.au to a classroom, etc.</p><p>NOTE: If you have a school website managed through the SWS, you may be able to use that URL as your domain name. However, we didn’t use our SWS, so I can’t verify this.</p><p>Our school had previously developed our own school website in order to have more control over the content and look, so we had a domain name laying around that we could easily use. In Australia, this registrar: <a href="https://www.domainname.edu.au/">https://www.domainname.edu.au/</a> allows schools to purchase domain names that end in the ‘edu.au’ suffix. It’s a little more expensive (currently ~$40/year, but seemed more appropriate than a ‘.com’ suffix. Once purchased, you can start signing up for GAFE.</p><p>To sign up for GAFE, click <a href="https://www.google.com/a/signup/u/0/?enterprise_product=GOOGLE.EDU#0">this link</a> and follow the steps. When it asks if you have a domain name, select ‘Yes, I have one I can use’ and , enter the domain name you just created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*tj1wQQ78_D7LezsEJuvKsA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/494/1*elwNZY2-DqtWoaM61pYvAw.png" /></figure><p>Once you’ve finished the signup process, you should be logged in automatically. But you should probably, bookmark this link: <a href="https://admin.google.com/AdminHome">https://admin.google.com/AdminHome</a> so you can find the Admin Dashboard again easily. The Admin Dashboard is where you’ll be adding and managing students, staff, classrooms, and Chromebooks:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FQqMFrlyAsUD4DYF4DvAAg.png" /></figure><p>You’ll need to verify that you actually own the domain you’ve purchased. Google does this by asking you to add a token of their choosing to your domain record or website. To do this, click ‘start setup’ up the top, and you’ll be asked to verify your domain.</p><p>The recommended way to do this is to add a piece of hidden HTML to your website in the form of a meta tag:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*9GrshNNiIZelYF4sH74S-Q.png" /></figure><p>If you’ve purchased a new domain name for this, you won’t be able to do this without also purchasing hosting and creating a website as well. Obviously, this is overkill, and luckily Google provides other options.</p><p>I found the easiest for us was to add a TXT record to our domain name directly. This means that no web hosting or any extra stuff is required. After selecting ‘Add a domain host CNAME or TXT record’ from the ‘Choose a different method’ drop-down, you’ll get a token:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*N-9XEWG0fPx0GXsGmNNslg.png" /></figure><p>If you’ve registered your domain with <a href="https://domainname.edu.au/">https://domainname.edu.au</a> like I did, you can add a new TXT record to your domain in the Zone Manager:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gfisdaX60pukN2d5INpEmg.png" /></figure><p>The Name can be left blank, but make sure you put quotation marks around the actual TXT entry. Once you’ve successfully added the record, click ‘Verify back in the Google admin panel. After a few moments, it should succeed.</p><p>That’s it! You’ve successfully completed the first steps to setting up GAFE for your school. From here you should start setting up staff and student accounts, and adding Chromebooks. You can organise them all into class groups and allocate each user with an appropriate level of access.</p><p>The next step is to purchase licenses for the Chromebooks you wish to use. I’ll be writing another article describing how to do that shortly.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd51ebeff88" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Throwback to that time Microsoft actually did something cool]]></title>
            <link>https://medium.com/@samscheding/throwback-to-that-time-microsoft-actually-did-something-cool-8c3b92d91d43?source=rss-5d05935feb02------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c3b92d91d43</guid>
            <category><![CDATA[processing]]></category>
            <category><![CDATA[creative-coding]]></category>
            <category><![CDATA[processing-foundation]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[retro]]></category>
            <dc:creator><![CDATA[Sam Scheding]]></dc:creator>
            <pubDate>Tue, 21 May 2019 10:39:15 GMT</pubDate>
            <atom:updated>2019-05-21T10:39:15.441Z</atom:updated>
            <content:encoded><![CDATA[<p>When my family first got a computer in the mid 90’s, I used to invest way too much time simply looking at the screensavers. By far the coolest, to me, was Mystify; the lines that bounced around the screen and changed colour.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLfIhUmTWHNva5yR6t2kOb0y5ulDAFGRC_&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DFPfMkEgi2qI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FFPfMkEgi2qI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b9a270cdf9c43db08b61ad7adacd92db/href">https://medium.com/media/b9a270cdf9c43db08b61ad7adacd92db/href</a></iframe><p>At various times since I’ve started coding, I’ve made half-assed attempts at recreating it purely for nostalgia’s sake, but never had much luck. Until recently, creative coding, and the libraries/frameworks associated with it were not familiar to me.</p><p>However, I’ve been playing around with Processing and suddenly had the realisation I could finally fulfill my childhood dream of building Mystify (God I need better dreams).</p><p>So, first up, let’s think about the logic behind the visualisation. It’s tempting to focus on the lines, and try to figure out how to detect collisions between each line and the edges of the screen. It’s probably possible to do it that way, but the logic can be greatly simplified reframing the problem.</p><p>What if we drew points instead? Like, just three points. These points could have simple 2D physics attached to them, like velocity and direction. The result would be that they bounce around the screen like in Pong.</p><pre>Point[] points = { new Point(), new Point(), new Point() };</pre><pre>void setup(){<br>    fullScreen();<br>    stroke(255);<br>}</pre><pre>void draw(){<br>    for(Point p: points){<br>       p.run();<br>    }<br>}</pre><pre>class Point{<br> <br> PVector vel, pos;<br> <br> Point(){<br>   this.pos = new PVector(random(0, width), random(0, height));<br>   this.vel = new PVector(random(-10, 10), random(-10, 10));<br> }<br> <br> void run(){<br>   if(pos.x &lt;= 0 || pos.x &gt;= width){ vel.x *= -1; }<br>   if(pos.y &lt;= 0 || pos.y &gt;= height){ vel.y *= -1; }<br>   pos.add(vel);<br> }<br>}</pre><p>The above sketch won’t look like much; we aren’t even rendering anything to the screen. But, if we drew lines between the dots, forming a triangle, the result would be somewhat similar to Mystify. We can draw the lines pretty simply by iterating over the points array in the draw() loop.</p><pre>background(0);<br>for(Point p1: points){<br>  for(Point p2: points){<br>    line(p1.pos.x, p1.pos.y, p2.pos.x, p2.pos.y); <br>  }<br>}</pre><p>If you run the sketch, you should have a triangle bouncing around the screen like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/691/1*mzrylBXIt8O5UQ6AeE1PcQ.png" /></figure><p>The next thing thing to do is to create the artefacting lines that get left behind as the triangle moves. We can tweak a Particle System to do this pretty easily. If you don’t know about Particle Systems in Processing you can read about it <a href="https://processing.org/examples/simpleparticlesystem.html">here</a>. They have lots of uses but all that’s relevant to us is that they keep track of stuff we’ve already drawn and redraw it until we tell it not to. Copying the Particle System example code, trashing what we don’t need, and renaming some variables to be relevant, we’re left with:</p><pre>LineSystem ls;<br><br>void setup() {<br>  ls = new LineSystem();<br>}<br><br>class LineSystem {<br>  ArrayList&lt;Line&gt; lines;<br><br>  LineSystem() {<br>    lines = new ArrayList&lt;Line&gt;();<br>  }<br><br>  void addLine(PVector start, PVector end) {<br>    lines.add(new Line(start.copy(), end.copy());<br>  }<br><br>  void run() {<br>    for (int i = particles.size()-1; i &gt;= 0; i--) {<br>      Line l = lines.get(i);<br>      l.run();<br>      if (p.isDead()) {<br>        lines.remove(i);<br>      }<br>    }<br>  }<br>}<br><br><br>// A simple Particle class<br><br>class Line {<br>  PVector start, end;<br>  float lifespan;<br><br>  Line(PVector start, PVector end) {<br>    lifespan = 10;<br>  }<br><br>  void run() {<br>    update();<br>    display();<br>  }<br><br>  // Method to update position<br>  void update() {<br>    lifespan -= 1.0;<br>  }<br><br>  // Method to display<br>  void display() {<br>    stroke(255);<br>    fill(255);<br>    line(start.x, start.y, end.x, end.y);<br>  }<br><br>  // Is the particle still useful?<br>  boolean isDead() {<br>    return(lifespan &lt;= 0);<br>  }<br>}</pre><p>The above code is able to store the 10 most recent lines drawn between two points and redraw them, decrementing lifespan each time it is drawn. If we Frankenstein everything we’ve written together, we can just create the line artefact effect from Mystify. All together the code should look like this:</p><pre>LineSystem ls;<br>Point[] points = { new Point(), new Point(), new Point() };</pre><pre>void setup(){<br>  <br>  fullScreen();<br>  ls = new LineSystem();<br>}</pre><pre>void draw(){<br>  background(0);<br>  for(Point p1: points){<br>    for(Point p2: points){<br>      ls.addLine(p1.pos, p2.pos);      <br>    }<br>  }<br>  ls.run();<br>}</pre><pre>class Point{<br> <br>  PVector vel, pos;<br>  <br>  Point(){<br>    this.pos = new PVector(random(0, width), random(0, height));<br>    this.vel = new PVector(random(-10, 10), random(-10, 10));<br>  }<br>  <br>  void run(){<br>    if(pos.x &lt;= 0 || pos.x &gt;= width){ vel.x *= -1; }<br>    if(pos.y &lt;= 0 || pos.y &gt;= height){ vel.y *= -1; }<br>    pos.add(vel);<br>  }<br>}</pre><pre>class LineSystem{<br>  <br>  ArrayList&lt;Line&gt; lines;<br>  <br>  LineSystem(){<br>    lines = new ArrayList&lt;Line&gt;();  <br>  }<br>  <br>  void addLine(PVector start, PVector end){<br>    lines.add(new Line(start.copy(), end.copy()));<br>  }<br>  <br>  void run() {<br>    <br>    for(Point p: points){<br>      p.run();<br>    }</pre><pre>for (int i = lines.size()-1; i &gt;= 0; i--) {<br>      Line l = lines.get(i);<br>      l.update();<br>      l.display();<br>      if (l.isDead()) {<br>        lines.remove(i);<br>      }<br>    }<br>  }  <br>}</pre><pre>class Line{<br>  <br>  PVector p1, p2;<br>  int lifespan;<br>  <br>  Line(PVector p1, PVector p2){<br>    <br>    this.p1 = p1;<br>    this.p2 = p2;<br>    this.lifespan = 10;<br>  }<br>  <br>  void update(){<br>    lifespan -= 1.0;<br>  }</pre><pre>void display() {<br>    line(p1.x, p1.y, p2.x, p2.y);<br>  }<br>  boolean isDead(){<br>    return(this.lifespan &lt;= 0);<br>  }<br>  <br>}</pre><p>And there we have a basic Mystify screensaver. Pretty neat huh? Even better there are lots of things to tweak. You can add more points, or colour, or make the lines last for longer.</p><p>You can find the GitHub repository <a href="https://github.com/Sam-Scheding/Mystify">here</a>, and a web accessible version <a href="https://www.openprocessing.org/sketch/713483">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*u0dzUQcGxhqCDSSp4Q6ozA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c3b92d91d43" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>