<?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 josh pann on Medium]]></title>
        <description><![CDATA[Stories by josh pann on Medium]]></description>
        <link>https://medium.com/@josh.pann?source=rss-6fc2dfabfd38------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*DBMTF8Msqt8OSF5CQZYevA.png</url>
            <title>Stories by josh pann on Medium</title>
            <link>https://medium.com/@josh.pann?source=rss-6fc2dfabfd38------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 02:22:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@josh.pann/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[Rails Generators:]]></title>
            <link>https://medium.com/@josh.pann/rails-generators-b753ec3c45e7?source=rss-6fc2dfabfd38------2</link>
            <guid isPermaLink="false">https://medium.com/p/b753ec3c45e7</guid>
            <category><![CDATA[rails]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <dc:creator><![CDATA[josh pann]]></dc:creator>
            <pubDate>Tue, 14 Mar 2017 22:36:31 GMT</pubDate>
            <atom:updated>2017-03-14T22:36:31.102Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re like me, jumping back into rails after a hiatus, you may have forgotten how to use rails generators to help get your app up and running quickly. Rails has 15 different generators to take care of much of the different pieces of boiler plate in different parts of your application: mailers, models, tests, and more.</p><p>I had to decide between which of the following three generators to use for a new demo blogging app I’m using to practice my RESTful routes in Rails. I wanted to generate an Articles model, but I wasn’t sure which of the following generators I should use: model, resource, or scaffold. What follows are the differences between these three generators. For each generator, I appended the --no-test-framework to prevent rails from creating test files associated with the corresponding models. I will create these by hand when necessary.</p><p><strong>Generating Models:</strong></p><p>Pulling up the command line, I entered rails generate model Article title:string description:text --no-test-framework which invoked active_record to create 2 files:</p><pre>invoke  active_record</pre><pre>create    db/migrate/20170314214911_create_articles.rb</pre><pre>create    app/models/article.rb</pre><p>1) A migration file 20170314214911_create_articles.rb in my db/migratedirectory:</p><pre>class CreateArticles &lt; ActiveRecord::Migration[5.0]<br>  def change<br>    create_table :articles do |t|<br>      t.string :title<br>      t.text :description</pre><pre>      t.timestamps<br>    end<br>  end<br>end</pre><p>The first part of the filename is a timestamp. The second part specifies the purpose of the migration file — to create an Articles table. The timestamp is important because its how Rails decides the order to run the migration files and if one has already been run.</p><p>2) An article.rb model file in my models directory:</p><pre>class Article &lt; ApplicationRecord<br>end</pre><p><strong>Generating Resources</strong></p><p>Next, I recreated my application with rails generate resource Article title:string description:text --no-test-framework which created 7 files:</p><pre>create    db/migrate/20170314220512_create_articles.rb</pre><pre>create    app/models/article.rb</pre><pre>invoke  controller</pre><pre>create    app/controllers/articles_controller.rb</pre><pre>invoke    erb</pre><pre>create      app/views/articles</pre><pre>invoke    helper</pre><pre>create      app/helpers/articles_helper.rb</pre><pre>invoke    assets</pre><pre>invoke      coffee</pre><pre>create        app/assets/javascripts/articles.coffee</pre><pre>invoke      scss</pre><pre>create        app/assets/stylesheets/articles.scss</pre><pre>invoke  resource_route</pre><pre>route    resources :articles</pre><p>Similar to rails generate model, a migration and model file were created.</p><p>1) A migration file 20170314214911_create_articles.rb in my db/migratedirectory:</p><pre>class CreateArticles &lt; ActiveRecord::Migration[5.0]<br>  def change<br>    create_table :articles do |t|<br>      t.string :title<br>      t.text :description</pre><pre>      t.timestamps<br>    end<br>  end<br>end</pre><p>2) An article.rb model file in my models directory:</p><pre>class Article &lt; ApplicationRecord<br>end</pre><p>However, additional files were created and actions invoked compared to the previous example.</p><p>3) A articles_controller.rb file in my controllers directory without any predefined actions:</p><pre>class ArticlesController &lt; ApplicationController<br>end</pre><p>4) An articles view directory. This will be where my templates live</p><p>5) An articles_helper.rb file in my helpers directory:</p><pre>module ArticlesHelper<br>end</pre><p>6) A few asset files for coffeescript and css.</p><p>7) Added resources :articles in my routes.rb file. This generates the following routes for the articles resource:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wvvM-DJ2wj0KYLJU7dW_ww.png" /></figure><p>This set of routes is the major difference between rails g model and rails g resource. The first does not generate any set of routes for you. Wheres the second, by adding the resources :articlesin my routes.rb folder, creates the seven default RESTful routes for me.</p><p><strong>Generating Scaffold:</strong></p><p>Last, I recreated my application with rails generate scaffold Article title:string description:text --no-test-framework which a similar set of files to rails generate resource , but with some extras:</p><p>1) A migration file 20170314214911_create_articles.rb in my db/migratedirectory:</p><pre>class CreateArticles &lt; ActiveRecord::Migration[5.0]<br>  def change<br>    create_table :articles do |t|<br>      t.string :title<br>      t.text :description</pre><pre>t.timestamps<br>    end<br>  end<br>end</pre><p>2) An article.rb model file in my models directory:</p><pre>class Article &lt; ApplicationRecord<br>end</pre><p>However, additional files were created and actions invoked compared to the previous example.</p><p>3) A articles_controller.rb file in my controllers directory <strong>with predefined controller actions:</strong></p><pre>class ArticlesController &lt; ApplicationController<br>  before_action :set_article, only: [:show, :edit, :update, :destroy]</pre><pre>  # GET /articles<br>  # GET /articles.json<br>  def index<br>    <a href="http://twitter.com/articles">@articles</a> = Article.all<br>  end</pre><pre>  # GET /articles/1<br>  # GET /articles/1.json<br>  def show<br>  end</pre><pre>  # GET /articles/new<br>  def new<br>    <a href="http://twitter.com/article">@article</a> = Article.new<br>  end</pre><pre>  # GET /articles/1/edit<br>  def edit<br>  end</pre><pre>  # POST /articles<br>  # POST /articles.json<br>  def create<br>    <a href="http://twitter.com/article">@article</a> = Article.new(article_params)</pre><pre>respond_to do |format|<br>      if <a href="http://twitter.com/article">@article</a>.save<br>        format.html { redirect_to <a href="http://twitter.com/article">@article</a>, notice: &#39;Article was successfully created.&#39; }<br>        format.json { render :show, status: :created, location: <a href="http://twitter.com/article">@article</a> }<br>      else<br>        format.html { render :new }<br>        format.json { render json: <a href="http://twitter.com/article">@article</a>.errors, status: :unprocessable_entity }<br>      end<br>    end<br>  end</pre><pre>  # PATCH/PUT /articles/1<br>  # PATCH/PUT /articles/1.json<br>  def update<br>    respond_to do |format|<br>      if <a href="http://twitter.com/article">@article</a>.update(article_params)<br>        format.html { redirect_to <a href="http://twitter.com/article">@article</a>, notice: &#39;Article was successfully updated.&#39; }<br>        format.json { render :show, status: :ok, location: <a href="http://twitter.com/article">@article</a> }<br>      else<br>        format.html { render :edit }<br>        format.json { render json: <a href="http://twitter.com/article">@article</a>.errors, status: :unprocessable_entity }<br>      end<br>    end<br>  end</pre><pre>  # DELETE /articles/1<br>  # DELETE /articles/1.json<br>  def destroy<br>    <a href="http://twitter.com/article">@article</a>.destroy<br>    respond_to do |format|<br>      format.html { redirect_to articles_url, notice: &#39;Article was successfully destroyed.&#39; }<br>      format.json { head :no_content }<br>    end<br>  end</pre><pre>private<br>    # Use callbacks to share common setup or constraints between actions.<br>    def set_article<br>      <a href="http://twitter.com/article">@article</a> = Article.find(params[:id])<br>    end</pre><pre># Never trust parameters from the scary internet, only allow the white list through.<br>    def article_params<br>      params.require(:article).permit(:title, :description)<br>    end<br>end</pre><p>4) A helpful set of templates in my views/articles directory:</p><pre>create      app/views/articles</pre><pre>create      app/views/articles/index.html.erb</pre><pre>create      app/views/articles/edit.html.erb</pre><pre>create      app/views/articles/show.html.erb</pre><pre>create      app/views/articles/new.html.erb</pre><pre>create      app/views/articles/_form.html.erb</pre><p>These are great for getting pages to appear in the browser. But, they leave a lot to be desired. Here is the index.html.erb view:</p><pre>&lt;p id=&quot;notice&quot;&gt;&lt;%= notice %&gt;&lt;/p&gt;</pre><pre>&lt;h1&gt;Articles&lt;/h1&gt;</pre><pre>&lt;table&gt;<br>  &lt;thead&gt;<br>    &lt;tr&gt;<br>      &lt;th&gt;Title&lt;/th&gt;<br>      &lt;th&gt;Description&lt;/th&gt;<br>      &lt;th colspan=&quot;3&quot;&gt;&lt;/th&gt;<br>    &lt;/tr&gt;<br>  &lt;/thead&gt;</pre><pre>&lt;tbody&gt;<br>    &lt;% <a href="http://twitter.com/articles">@articles</a>.each do |article| %&gt;<br>      &lt;tr&gt;<br>        &lt;td&gt;&lt;%= article.title %&gt;&lt;/td&gt;<br>        &lt;td&gt;&lt;%= article.description %&gt;&lt;/td&gt;<br>        &lt;td&gt;&lt;%= link_to &#39;Show&#39;, article %&gt;&lt;/td&gt;<br>        &lt;td&gt;&lt;%= link_to &#39;Edit&#39;, edit_article_path(article) %&gt;&lt;/td&gt;<br>        &lt;td&gt;&lt;%= link_to &#39;Destroy&#39;, article, method: :delete, data: { confirm: &#39;Are you sure?&#39; } %&gt;&lt;/td&gt;<br>      &lt;/tr&gt;<br>    &lt;% end %&gt;<br>  &lt;/tbody&gt;<br>&lt;/table&gt;</pre><pre>&lt;br&gt;</pre><pre>&lt;%= link_to &#39;New Article&#39;, new_article_path %&gt;</pre><p><strong>Which to use?</strong></p><p>I generally use rails generate resource since I am still practicing my ruby skills. Creating the controllers and views myself helps me reinforce the web request/response cycle by practicing the corresponding concepts and syntax.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b753ec3c45e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Check on your kitty in Pretty Kitty City.]]></title>
            <link>https://medium.com/@josh.pann/check-on-your-kitty-in-pretty-kitty-city-aad556fe60dc?source=rss-6fc2dfabfd38------2</link>
            <guid isPermaLink="false">https://medium.com/p/aad556fe60dc</guid>
            <category><![CDATA[cats]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[ruby]]></category>
            <dc:creator><![CDATA[josh pann]]></dc:creator>
            <pubDate>Thu, 19 Jan 2017 13:54:50 GMT</pubDate>
            <atom:updated>2017-01-19T13:54:50.532Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Overview of Pretty Kitty City:</strong></h3><p>Pretty Kitty City is the hot new thing. It is the premier Kitten based social game. A short sign up process creates your own personal cat. Then, you will be transported to a magical city of Kitties. Here, you can become friends with any of the kittens wandering the city. Interact with them by petting, feeding, grooming, and even licking (<a href="https://www.youtube.com/watch?v=N_beJnlTeTk">https://www.youtube.com/watch?v=N_beJnlTeTk</a>). Your cat friends will bestow coveted Caramel Points upon you for each interaction. Use these to buy treats, toys, and status symbols for your own cat. Don’t forget to neglect your own Kitty Purry! Like all true cats, he or she will become unhappy if you don’t interact with it enough</p><h3><strong>How to keep users coming back?</strong></h3><p>Pretty Kitty City is simple in concept, yet presented many opportunities to explore the technical capabilities of rails. One problem we faced is how to keep users interacting with their cat over a sustained period of time. Kittens have a mood level attribute. This would increased by various levels depending on how you the owner interacted with your own cat up to a maximum of 15. Some server side logic would convert the mood level into an clear emoji to show its happiness or sadness level.</p><p>This presents the challenge. Once users reach the max mood level, why would they interact with their cat again? Sure some would do it because they love their cat, but many would drop off. Thus we needed a way for the mood level to decrease over time as the site was running independent of any user interactions.</p><h3><strong>The solution — Chron Jobs.</strong></h3><p>We decided to research how to create tasks which would run at specific intervals of time. Our goal was to decrease all cat’s mood level every hour. This interval was mostly for demonstration purposes and probably will need to be revisited as a design decision. Although, you will see our tools available — we hosted our site on Heroku — limited our choices.</p><h3><strong>Chron Jobs in Heroku</strong></h3><p>Chron jobs are the jargon for any task that runs at scheduled intervals of time. Heroku has a nice GUI web interface for scheduling these called the Task Scheduler. First, you need to install the task scheduler app in your command line interface:</p><pre>heroku addons:create scheduler:standar</pre><p>Now you can schedule your tasks via the command line or using the web interface (my personal preference). Here you can select to run your task daily, hourly, or every 10 minutes. There weren’t easily useable custom time intervals when we were creating our app, so I’m focusing on the default time intervals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NZMTmX5MOaF07AzOaHpltg.png" /><figcaption>Heroku Task Scheduler Interface</figcaption></figure><h3>Rake do_something</h3><p>Heroku asks you to create a rake task of what you want the action to be. These will live in your rails project rake folder. You enter in the name of your rake task preceded by “rake” into the blank space in the scheduler. I’ll show you what our for Pretty Kitty City looks like and explain some of the basics of the rake task.</p><pre>desc &quot;This task is called by the Heroku scheduler add-on&quot;<br>task :update_mood_level =&gt; :environment do  <br>     puts &quot;Updating pet mood level...&quot;  <br>     Pet.update_mood_level  <br>     puts &quot;done.&quot;end</pre><p>You start the rake task by creating a short description of what it does as a string. This is for code readability. Our task also includes two puts statements. These will display in the Heroku log files so we can easily check our tasks, see what is happening, and how long it took. The actual logic of what we want to do is contained in the line below.</p><pre>task :update_mood_level =&gt; :environment do<br>     Pet.update_mood_level</pre><p>The first line specific the method we want our rake task to execute. The next line is where we actually call that method on our Pet model to change the decrease the mood level (as seen below). It fires the active record query .update_all (super handy btw) and updates the mood level to be one less than its previous level (sql does not accept -= operations) and reassigns the attribute to this new value.</p><pre>def self.update_mood_level    <br>   Pet.where(&quot;mood_level &gt; ?&quot;, 0).update_all(&quot;mood_level =<br>   mood_level - 1&quot;)  <br>end</pre><p>Thats the black box behind why you need to interact with your cat everyday. I’m not saying this because its my group’s site and I want to be famous, but its really important to keep your cat happy. Here is how it looks on the Heroku GUI</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ah8uC1xs7EeI4Cxg5wQMNg.png" /></figure><h3>Key Takeaways</h3><p>My key takeaway from this process is more general than setting up rake tasks specifically. Originally, we thought this problem would be incredibly difficult to solve. We thought about ways to do it on login, crazy sql queries to fire, entire new models to create. The actual solution was quite simple. We had it up and running in 20 minutes total (including research time). I’ll be trying hard not to prejudge a new challenge as difficult or easy and jump right into instead.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aad556fe60dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Conditional Assignment Operator in Ruby]]></title>
            <link>https://medium.com/@josh.pann/conditional-assignment-operator-in-ruby-ac0ebc740ced?source=rss-6fc2dfabfd38------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac0ebc740ced</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ruby]]></category>
            <dc:creator><![CDATA[josh pann]]></dc:creator>
            <pubDate>Thu, 05 Jan 2017 14:46:06 GMT</pubDate>
            <atom:updated>2017-01-05T14:46:06.733Z</atom:updated>
            <content:encoded><![CDATA[<p>On wednesday, Flatiron School gave me a challenging lab to solve. It was the first in a series of labs using cookies to create a unique session for the user. The instructions seemed deceptively simple. The implementation was far from easy (in part because it did not follow RESTful conventions, but that is a topic for a different post).</p><p><strong>A Short Story of our App</strong>.</p><p>We wanted our app to have only one page on it with a route of ‘/’. This URL should respond to a get request by rendering a simple form where a user can submit a product name as a string to add it their unique cart. This URL should also respond to a post request to perform the adding action. Our cart needs to initialize as an empty array if it doesn’t exist and then have itself be accessible to the form to so product names can be added to it. I accomplished this by creating a method with the handy “Conditional Assignment Operator ||=” in my Application Controller. For example:</p><pre>def cart<br>   @cart = session[:cart] ||= []<br>end</pre><p><strong>Conditional Assignment Operator || = []:</strong></p><p>Here is a a simplified use of the conditional assignment operator to illustrate the definition:</p><pre>a ||= b</pre><p>If <strong>a</strong> is false, nil or undefined, then evaluate <strong>b</strong> and set <strong>a</strong> to the result. This seems to imply that if <strong>a </strong>exists, set <strong>a </strong>equal to itself. If <strong>a </strong>does not exist,</p><pre>a = a || b</pre><p>This works if <strong>a </strong>and <strong>b</strong> are undefined local variables:</p><pre>a = nil<br>b = 20<br>a ||= b<br>a        # =&gt; 20</pre><p>However, this picture becomes a bit more complicated if they are defined or if we are using more complex data structures like arrays and hashes.</p><pre>h = {}<br><br>def h.[]=(k, v)<br>  puts &quot;Setting value of hash key #{k} to #{v}&quot;<br>end</pre><pre># 1. The a = a || b approach<br>h[:y] = h[:y] || 10<br>h[:y] = h[:y] || 20</pre><pre># 2. The ||= approach<br>h[:x] ||= 10<br>h[:x] ||= 20<br><br></pre><pre>Output:</pre><pre>Method 1:<br>Setting value of hash key y to 10<br>Setting value of hash key y to 10</pre><pre>Method 2:<br>Setting value of hash key x to 10</pre><p>These seem to be the same at first glance. Both ways <em>set</em> the value of a hash key to 10. But there is one critical difference. Our code block executes twice using Method 1, but only once using method 2. This means there is more to the conditional assignment operator than what there appears to be. Something about the way this operator is written executes the block of code only once certain conditions are met. Lets expand this operator to see if we can establish what is going on.</p><pre>h = {}<br><br>def h.[]=(k, v)<br>  puts &quot;Setting value of hash key #{k} to #{v}&quot;<br>  super<br>end<br><br>h[:x] ||= 10</pre><pre>def conditional_assignment_operator(object)<br>  if h[:x]<br>    h[:x]<br>  else<br>    h[:x] = object<br>  end <br> h[:x]<br>end</pre><p>The conditional assignment operator evaluates h[:x] for existence. I have reproduced the check below using in an IRB session with some edits for clarity.</p><pre>2.3.0 :006 &gt; h = {}</pre><pre>=&gt; {}</pre><pre>2.3.0 :007 &gt; def h.[]=(k, v)<br>               puts &quot;Setting value of hash key #{k} to #{v}&quot;<br>             end</pre><pre>2.3.0 :010 &gt; h[:x]</pre><pre>=&gt; nil</pre><p>On our first pass h[:x] evaluates to nil. Thus, the block in the if statement is not evaluated and our program evaluates the block located in the else statement. It will assign the object to what is passed into the conditional assignment operator as the value of our hash key. Then our operator will return the value of our hash key. Lets go head and check this.</p><pre>2.3.0 :007 &gt; h[:x] ||= 10</pre><pre>Setting hash key x with 10</pre><pre>=&gt; 10</pre><p>Now our key has a value pair. The condition will evaluate to true and the code block within the if portion of our conditional will execute returning the value of our key.</p><pre>2.3.0 :008 &gt; h[:x] ||= 10</pre><pre>=&gt; 10</pre><p>The key insight is the setter method is only being called once. This is true empirically because we included a puts statement inside of our setter method — puts “Setting value of hash key #{k} to #{v}&quot;. This is not being printed to the terminal on the second pass.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac0ebc740ced" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Technology in the Classroom]]></title>
            <link>https://medium.com/@josh.pann/technology-in-the-classroom-71da7c0aaf08?source=rss-6fc2dfabfd38------2</link>
            <guid isPermaLink="false">https://medium.com/p/71da7c0aaf08</guid>
            <dc:creator><![CDATA[josh pann]]></dc:creator>
            <pubDate>Tue, 13 Dec 2016 18:01:39 GMT</pubDate>
            <atom:updated>2016-12-13T18:01:39.406Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Technology in the Classroom</strong></p><p>We have accomplished incredible feats through technology. A brief survey of google news shows headlines for self-driving cars, stores without cashiers, computer systems that can win Jeopardy and chess. It’s easy to get the sense that someone, somewhere is trying to address every problem we face with new technological innovations. Yet one place technology is notably absent, at least in the United States, is the classroom. Education has been slow to adopt technological solutions. Most instruction looks similar to when I was a student, though now we have powerpoint presentations instead of transparencies that need to be cleaned. And, the instruction I received as a student looks similar to the instruction my parents recieved when they were students.</p><p>Public schools in the United States invest about $3 billion a year into technology. This ranges from school laptops, e-textbooks, blended learning programs, training, infrastructure, and more. There is about 1 computing device per 5 students in our public schools, though the distribution of these devices is significantly unequal.</p><p>Prior to joining Flatiron School, I was a high school teacher in an underserved area of the Bronx. I used technology everyday as a teacher, but I can’t say the same for my kids. I’ve made hundreds of powerpoint decks, printed 5x as many worksheets, tests, and quizzes, and entered grades into an online grading system. This blog post will dive into a overview of personalized learning, and the status of education infrastructure.</p><p><strong>Personalized Learning</strong></p><p>First we while start with ideal of technology of in the classroom, personalized learning. The idea is traditional 1 size fits all teaching — 1 lesson to 30 students with some variation — can be personalized. Each student is assessed for strengths, weaknesses, and gaps in understanding. These are used to create individual learning goals, prioritize key standards, and set students on their own personal path through the subject’s and year’s curriculum which will be delivered to them through connected devices. Pace is flexible in this model, running as fast or as slow as a student needs for a given topic. Progress is meticulously tracked and data made available to teachers so appropriate support can be given when needed. This allows for a more flexible classroom environment. Ideally, instruction is dynamically differentiated for all levels of students. Students will access the lesson at the level appropriate for their current abilities, quickly moving onto more challenging work or being provided with remedial lessons.</p><p>This is in line with the Department of Education’s own definition of personalized learning:</p><p><em>Personalization refers to instruction that is paced to learning needs, tailored to learning preferences, and tailored to the specific interests of different learners. In an environment that is fully personalized, the learning objectives and content as well as the method and pace may all vary.</em></p><p><strong>Who owns the education experience?</strong></p><p>Generally, teachers own the classroom experience through standard authority structures and creative license over what content to teach, when to teach it, and how. Personalized Learning seeks to change this arrangement by redistributing ownership of the learning experience amongst teachers, students, and technology’s favorite buzz word “big data.”</p><p>We can start with the ideal of big data and algorithms dictating the pace and goals. Ideally, data is crunched to find the optimal lessons, order of delivery, supplemental work, and more to achieve a specific learning goal by analyzing outcomes of the different paths students take. This allows for each student to have its own path, and the instruction to be continually self improving over time. The more data it has means the better paths it can give. In this case, students have limited control over their education and teachers act more as facilitators for students engaged in the day’s tasks. This is the vision pushed by Edtech enthusiasts.</p><p>Another way is to do the same level of data crunching, but leave this set of decisions still in the teacher’s hands. This is most in line with current classroom structures. Teachers analyze the data on path effectiveness and student progress provided to them by a given tech platform. The platform would aid the teacher’s decision making by highlighting significant data and providing recommendations to address the story being told. Then they assign work to students from a menu of options. Teachers can supplement the core lesson with remedial work or challenge activities based on the students needs. In this model, teachers could choose to keep the classroom more structured by having all students on more or less the same path with differentiation at the edges, or run a completely differentiated experience.</p><p>Lastly is to give students some level of ownership over their educational direction. Students decide from a menu of options what they want to learn and how they are going to learn. The level of ownership a student has would be up to the discretion of the teacher: students get to choose what they learn, students only get to choose how they learn, students choose when to move up or down levels of difficulty.</p><p><strong>Challenges</strong></p><p>Allowing each student to use an internet connected device requires an infrastructure more similar to a fortune 500 company than what schools currently have. Without the infrastructure, using technology is mostly dead on arrival. Teachers won’t use technology if the services aren’t reliable. It is infuriating to create a backup pen and paper lesson plan for each technology lesson.</p><p>The challenge of infrastructure is complex. Schools are varying sizes and needs. A single school district also has different needs than a large school district (i.e. NYC). Schools also have to decide what kind of security features they want, what kind of web filter services they want, a support system in place for the technology, the physical cables providing bandwidth to schools.</p><p>Schools and districts have to make tough choices on limited budgets. Rural/small town districts are currently charged $14.75/Mbps and Urban/suburban districts charged on average $6/Mbps. This might be acceptable schools could secure enough bandwidth. I’ll provide two examples to illustrate this problem, one from a rural school system in Calhoun County Mississippi system. Each school in Calhoun County has 3 mbps of bandwidth. The school pays on $9,000 a month for this level of service, the slowest their provider offers. It takes 3 mpbs for one user to watch a standard definition video. If one teacher in the school wants to watch a video, no one else will be able to use the internet. This makes anything depending on connectedness functionally useless. Any technology influenced teaching revolution needs to be preceded by a significant overhaul of our schools infrastructure.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71da7c0aaf08" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>