diff --git a/_data/projects.json b/_data/projects.json index 24a79a3..7f5716c 100644 --- a/_data/projects.json +++ b/_data/projects.json @@ -1,7 +1,18 @@ [ + { "name":"ThriftyField", - "url":"", + "url":"https://github.com/frc5024/ThriftyField", + "pi3d":true + }, + { + "name":"DevDNS", + "url":"https://github.com/Ewpratten/devDNS", + "pi3d":true + }, + { + "name":"DeepSpace", + "url":"https://github.com/frc5024/DeepSpace", "pi3d":false } ] \ No newline at end of file diff --git a/_includes/footer.html b/_includes/footer.html index a5a3b58..aac79b4 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -27,8 +27,8 @@
  • RSS
  • diff --git a/_layouts/home.html b/_layouts/home.html index 34ac679..b71f3e3 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -22,7 +22,7 @@
    -
    +

    About Me

    @@ -49,7 +49,7 @@
    -
    +

    Blog

    @@ -66,7 +66,6 @@
    -

    diff --git a/_posts/2019-06-18-Blogs-I-Read.md b/_posts/2019-06-18-Blogs-I-Read.md deleted file mode 100644 index f0caaa0..0000000 --- a/_posts/2019-06-18-Blogs-I-Read.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -layout: post -title: "Blogs I Read" -description: "The constantly updating list" -date: 2019-06-18 13:18:00 -categories: random ---- - -This is a copy-pastable list of rss feeds I subscribe to: - -``` -https://www.firstinspires.org/robotics/frc/blog-rss -https://lukesmith.xyz/rss.xml -https://daniellockyer.com/feed.xml -http://www.windytan.com/rss.xml -http://psy-lob-saw.blogspot.com/rss.xml -https://retrylife.ca/feed.xml -``` \ No newline at end of file diff --git a/_site/404.html b/_site/404.html index eeb6ecf..bf015e7 100644 --- a/_site/404.html +++ b/_site/404.html @@ -114,8 +114,8 @@
  • RSS
  • diff --git a/_site/DeepSpace.html b/_site/DeepSpace.html index 258d9d3..41e9ceb 100644 --- a/_site/DeepSpace.html +++ b/_site/DeepSpace.html @@ -114,8 +114,8 @@
  • RSS
  • diff --git a/_site/all_posts.html b/_site/all_posts.html index 9e45e76..4f27680 100644 --- a/_site/all_posts.html +++ b/_site/all_posts.html @@ -152,13 +152,6 @@ - -
  • Blogs I Read

  • - - - - -
  • I made a new song!

  • @@ -221,8 +214,8 @@
  • RSS
  • diff --git a/_site/ctf/2019/06/23/googlectf.html b/_site/ctf/2019/06/23/googlectf.html index 3987e9f..a1ca36e 100644 --- a/_site/ctf/2019/06/23/googlectf.html +++ b/_site/ctf/2019/06/23/googlectf.html @@ -123,8 +123,8 @@
  • RSS
  • diff --git a/_site/feed.xml b/_site/feed.xml index 57f3607..61efb93 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -1,4 +1,4 @@ -Jekyll2019-07-09T10:15:10-04:00http://0.0.0.0:4000/feed.xmlEvan PrattenComputer wizard, student, <a href="https://github.com/frc5024">@frc5024</a> programming team lead, and radio enthusiast.Scraping FRC team’s GitHub accounts to gather large amounts of data2019-07-06T11:08:00-04:002019-07-06T11:08:00-04:00http://0.0.0.0:4000/frc/2019/07/06/ScrapingFRCGithub<p>I was curious about the most used languages for FRC, so I build a Python script to find out what they where.</p> +Jekyll2019-07-09T10:39:02-04:00http://0.0.0.0:4000/feed.xmlEvan PrattenComputer wizard, student, <a href="https://github.com/frc5024">@frc5024</a> programming team lead, and radio enthusiast.Scraping FRC team’s GitHub accounts to gather large amounts of data2019-07-06T11:08:00-04:002019-07-06T11:08:00-04:00http://0.0.0.0:4000/frc/2019/07/06/ScrapingFRCGithub<p>I was curious about the most used languages for FRC, so I build a Python script to find out what they where.</p> <h2 id="some-basic-data">Some basic data</h2> <p>Before we get to the heavy work done by my script, let’s start with some general data.</p> @@ -459,15 +459,7 @@ __<span class="o">()</span> <span class="o"&g <li>Have mentors do “guest presentations”</li> <li>Dedicate a day to robot driving lessons</li> <li>Use a custom library with wrappers and tools built by me to provide easy interfaces for new programmers</li> -</ul>Over the past two years (2018 / 2019), I have been a member of my school’s FRC team, Raider Robotics. Specifically, a programmer.Blogs I Read2019-06-18T09:18:00-04:002019-06-18T09:18:00-04:00http://0.0.0.0:4000/random/2019/06/18/Blogs-I-Read<p>This is a copy-pastable list of rss feeds I subscribe to:</p> - -<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>https://www.firstinspires.org/robotics/frc/blog-rss -https://lukesmith.xyz/rss.xml -https://daniellockyer.com/feed.xml -http://www.windytan.com/rss.xml -http://psy-lob-saw.blogspot.com/rss.xml -https://retrylife.ca/feed.xml -</code></pre></div></div>This is a copy-pastable list of rss feeds I subscribe to:I made a new song!2019-06-17T06:20:00-04:002019-06-17T06:20:00-04:00http://0.0.0.0:4000/music/2019/06/17/AMM2M1-release<p>I am currently taking a class in school called <a href="https://www.facebook.com/studio225beal/">Music and computers (AMM2M)</a>, where as part of the class, whe get together into bands, and produce a song. After taking a break from music production for over a year, we have released our song for the class (we do two songs, but the second is not finished yet).</p> +</ul>Over the past two years (2018 / 2019), I have been a member of my school’s FRC team, Raider Robotics. Specifically, a programmer.I made a new song!2019-06-17T06:20:00-04:002019-06-17T06:20:00-04:00http://0.0.0.0:4000/music/2019/06/17/AMM2M1-release<p>I am currently taking a class in school called <a href="https://www.facebook.com/studio225beal/">Music and computers (AMM2M)</a>, where as part of the class, whe get together into bands, and produce a song. After taking a break from music production for over a year, we have released our song for the class (we do two songs, but the second is not finished yet).</p> <h2 id="my-contribution">My contribution</h2> <p>My main contribution to the project was a mix of live drumming, and most of the song’s MIDI work. The song is far from perfect, but pretty good for the time we had to produce it.</p> @@ -478,4 +470,56 @@ https://retrylife.ca/feed.xml <audio controls=""> <source src="/assets/audio/SpamPhoneCalls.mp3" type="audio/mpeg" /> Your browser does not support audio players -</audio>I am currently taking a class in school called Music and computers (AMM2M), where as part of the class, whe get together into bands, and produce a song. After taking a break from music production for over a year, we have released our song for the class (we do two songs, but the second is not finished yet). \ No newline at end of file +</audio>I am currently taking a class in school called Music and computers (AMM2M), where as part of the class, whe get together into bands, and produce a song. After taking a break from music production for over a year, we have released our song for the class (we do two songs, but the second is not finished yet).Graphing the relation between wheels and awards for FRC2019-06-16T11:51:00-04:002019-06-16T11:51:00-04:00http://0.0.0.0:4000/frc/2019/06/16/Graphing-w2a<p>I was scrolling through reddit the other day, and came across <a href="https://www.reddit.com/r/FRC/comments/byzv5q/i_know_what_im_doing/">this great post</a> by u/<a href="https://www.reddit.com/user/MasterQuacks/">MasterQuacks</a>.</p> + +<p><img src="/assets/images/w2ainspo.jpg" alt="My insporation" /></p> + +<p>I thought to myself “ha. Thats funny”, and moved on. But that thought had stuck with me.</p> + +<p>So here I am, bored on a sunday afternoon, staring at the matplotlib documentation.</p> + +<h2 id="my-creation">My creation</h2> +<p>In only a few lines of python, I have a program that will (badly) graph the number of awards per wheel for any team, or set of teams.</p> + +<p>As always, feel free to tinker with the code. This one is not published anywhere, so if you want to share it, I would appreciate a mention.</p> + +<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kn">import</span> <span class="nn">requests</span> +<span class="kn">import</span> <span class="nn">matplotlib.pyplot</span> <span class="k">as</span> <span class="n">plt</span> + +<span class="k">class</span> <span class="nc">Team</span><span class="p">:</span> + <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="nb">id</span><span class="p">,</span> <span class="n">wheels</span><span class="p">):</span> + <span class="bp">self</span><span class="o">.</span><span class="nb">id</span> <span class="o">=</span> <span class="nb">id</span> + <span class="bp">self</span><span class="o">.</span><span class="n">wheels</span> <span class="o">=</span> <span class="n">wheels</span> <span class="o">*</span> <span class="mi">2</span> + +<span class="c1">### CONFIG ### +</span> +<span class="n">teams</span> <span class="o">=</span> <span class="p">[</span><span class="n">Team</span><span class="p">(</span><span class="mi">5024</span><span class="p">,</span> <span class="mi">3</span><span class="p">),</span> <span class="n">Team</span><span class="p">(</span><span class="mi">254</span><span class="p">,</span> <span class="mi">4</span><span class="p">),</span> <span class="n">Team</span><span class="p">(</span><span class="mi">1114</span><span class="p">,</span> <span class="mi">3</span><span class="p">),</span> <span class="n">Team</span><span class="p">(</span><span class="mi">5406</span><span class="p">,</span> <span class="mi">3</span><span class="p">),</span> <span class="n">Team</span><span class="p">(</span><span class="mi">2056</span><span class="p">,</span> <span class="mi">4</span><span class="p">)]</span> +<span class="n">year</span> <span class="o">=</span> <span class="mi">2019</span> + +<span class="c1">############## +</span> + +<span class="k">for</span> <span class="n">i</span><span class="p">,</span> <span class="n">team</span> <span class="ow">in</span> <span class="nb">enumerate</span><span class="p">(</span><span class="n">teams</span><span class="p">):</span> + <span class="n">award_data</span> <span class="o">=</span> <span class="n">requests</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="s">"https://www.thebluealliance.com/api/v3/team/frc"</span> <span class="o">+</span> <span class="nb">str</span><span class="p">(</span><span class="n">team</span><span class="o">.</span><span class="nb">id</span><span class="p">)</span> <span class="o">+</span> <span class="s">"/awards/"</span> <span class="o">+</span> <span class="nb">str</span><span class="p">(</span><span class="n">year</span><span class="p">),</span> <span class="n">params</span><span class="o">=</span><span class="p">{</span><span class="s">"X-TBA-Auth-Key"</span><span class="p">:</span> <span class="s">"mz0VWTNtXTDV8NNOz3dYg9fHOZw8UYek270gynLQ4v9veaaUJEPvJFCZRmte7AUN"</span><span class="p">})</span><span class="o">.</span><span class="n">json</span><span class="p">()</span> + + <span class="n">awards_count</span> <span class="o">=</span> <span class="nb">len</span><span class="p">(</span><span class="n">award_data</span><span class="p">)</span> + + <span class="n">team</span><span class="o">.</span><span class="n">w2a</span> <span class="o">=</span> <span class="n">awards_count</span> <span class="o">/</span> <span class="n">team</span><span class="o">.</span><span class="n">wheels</span> + <span class="k">print</span><span class="p">(</span><span class="n">team</span><span class="o">.</span><span class="nb">id</span><span class="p">,</span> <span class="n">team</span><span class="o">.</span><span class="n">w2a</span><span class="p">)</span> + + <span class="n">plt</span><span class="o">.</span><span class="n">bar</span><span class="p">(</span><span class="n">i</span> <span class="o">+</span> <span class="mi">1</span><span class="p">,</span> <span class="n">team</span><span class="o">.</span><span class="n">w2a</span><span class="p">,</span> <span class="n">tick_label</span><span class="o">=</span><span class="nb">str</span><span class="p">(</span><span class="n">team</span><span class="o">.</span><span class="nb">id</span><span class="p">))</span> + +<span class="c1"># Plot +</span><span class="n">x_lables</span> <span class="o">=</span> <span class="p">[</span><span class="n">team</span><span class="o">.</span><span class="nb">id</span> <span class="k">for</span> <span class="n">team</span> <span class="ow">in</span> <span class="n">teams</span><span class="p">]</span> +<span class="c1"># plt.set_xticklabels(x_lables) +</span> +<span class="k">with</span> <span class="n">plt</span><span class="o">.</span><span class="n">xkcd</span><span class="p">():</span> + <span class="n">plt</span><span class="o">.</span><span class="n">title</span><span class="p">(</span><span class="s">'Awards per wheel'</span><span class="p">)</span> + <span class="n">plt</span><span class="o">.</span><span class="n">show</span><span class="p">()</span> + +</code></pre></div></div> + +<h2 id="the-result">The result</h2> +<p>Here is the resulting image. From left, to right: 5024, 254, 2224, 5406, 2056</p> + +<p><img src="/assets/images/w2a.png" alt="Thr result" /></p>I was scrolling through reddit the other day, and came across this great post by u/MasterQuacks. \ No newline at end of file diff --git a/_site/frc/2019/04/30/FRC-Languages.html b/_site/frc/2019/04/30/FRC-Languages.html index 87252ce..b211dec 100644 --- a/_site/frc/2019/04/30/FRC-Languages.html +++ b/_site/frc/2019/04/30/FRC-Languages.html @@ -128,8 +128,8 @@
  • RSS
  • diff --git a/_site/frc/2019/05/27/Building-Safe-Vision-Comms.html b/_site/frc/2019/05/27/Building-Safe-Vision-Comms.html index bb8e1ad..7d8a569 100644 --- a/_site/frc/2019/05/27/Building-Safe-Vision-Comms.html +++ b/_site/frc/2019/05/27/Building-Safe-Vision-Comms.html @@ -141,8 +141,8 @@
  • RSS
  • diff --git a/_site/frc/2019/06/16/Graphing-w2a.html b/_site/frc/2019/06/16/Graphing-w2a.html index b01e1cf..2333014 100644 --- a/_site/frc/2019/06/16/Graphing-w2a.html +++ b/_site/frc/2019/06/16/Graphing-w2a.html @@ -166,8 +166,8 @@
  • RSS
  • diff --git a/_site/frc/2019/06/21/Robot-Experiences.html b/_site/frc/2019/06/21/Robot-Experiences.html index ca5604d..833fb17 100644 --- a/_site/frc/2019/06/21/Robot-Experiences.html +++ b/_site/frc/2019/06/21/Robot-Experiences.html @@ -166,8 +166,8 @@
  • RSS
  • diff --git a/_site/frc/2019/06/24/LanguageHunt2.html b/_site/frc/2019/06/24/LanguageHunt2.html index 79c02b1..518fc1c 100644 --- a/_site/frc/2019/06/24/LanguageHunt2.html +++ b/_site/frc/2019/06/24/LanguageHunt2.html @@ -123,8 +123,8 @@
  • RSS
  • diff --git a/_site/frc/2019/07/06/ScrapingFRCGithub.html b/_site/frc/2019/07/06/ScrapingFRCGithub.html index 9d6a4e6..54fb003 100644 --- a/_site/frc/2019/07/06/ScrapingFRCGithub.html +++ b/_site/frc/2019/07/06/ScrapingFRCGithub.html @@ -215,8 +215,8 @@
  • RSS
  • diff --git a/_site/index.html b/_site/index.html index 59f0093..e9e1695 100644 --- a/_site/index.html +++ b/_site/index.html @@ -87,7 +87,7 @@
    -
    +

    About Me

    @@ -106,7 +106,11 @@ @@ -114,7 +118,7 @@
    -
    +

    Blog

    @@ -135,7 +139,6 @@
    -

    @@ -155,8 +158,8 @@
  • RSS
  • diff --git a/_site/music/2019/06/17/AMM2M1-release.html b/_site/music/2019/06/17/AMM2M1-release.html index acb5dc0..58df659 100644 --- a/_site/music/2019/06/17/AMM2M1-release.html +++ b/_site/music/2019/06/17/AMM2M1-release.html @@ -125,8 +125,8 @@ Your browser does not support audio players
  • RSS
  • diff --git a/_site/projects/2018/06/27/BecomeRanter.html b/_site/projects/2018/06/27/BecomeRanter.html index 103c11e..5adb118 100644 --- a/_site/projects/2018/06/27/BecomeRanter.html +++ b/_site/projects/2018/06/27/BecomeRanter.html @@ -164,8 +164,8 @@ pip3 install tensorflow-gpu #for gpu processing
  • RSS
  • diff --git a/_site/projects/2019/06/12/Styiling-GitHub.html b/_site/projects/2019/06/12/Styiling-GitHub.html index 2b9dea3..a6c9631 100644 --- a/_site/projects/2019/06/12/Styiling-GitHub.html +++ b/_site/projects/2019/06/12/Styiling-GitHub.html @@ -152,8 +152,8 @@
  • RSS
  • diff --git a/_site/projects/2019/06/26/BashSmash.html b/_site/projects/2019/06/26/BashSmash.html index 767ce72..594f534 100644 --- a/_site/projects/2019/06/26/BashSmash.html +++ b/_site/projects/2019/06/26/BashSmash.html @@ -232,8 +232,8 @@ __() {/???/???/???n?f RSS diff --git a/_site/projects/2019/06/27/PWNlink.html b/_site/projects/2019/06/27/PWNlink.html index d1025a8..265eaa9 100644 --- a/_site/projects/2019/06/27/PWNlink.html +++ b/_site/projects/2019/06/27/PWNlink.html @@ -153,8 +153,8 @@
  • RSS
  • diff --git a/_site/projects/2019/07/01/devDNS.html b/_site/projects/2019/07/01/devDNS.html index cdd7858..351acf3 100644 --- a/_site/projects/2019/07/01/devDNS.html +++ b/_site/projects/2019/07/01/devDNS.html @@ -143,8 +143,8 @@
  • RSS
  • diff --git a/_site/random/2019/06/18/Blogs-I-Read.html b/_site/random/2019/06/18/Blogs-I-Read.html deleted file mode 100644 index f04a19d..0000000 --- a/_site/random/2019/06/18/Blogs-I-Read.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - Evan Pratten - - - - - - - - - - - - - - - -
    - - - - - - - - - - - -
    - - -
    -
    - -

    This is a copy-pastable list of rss feeds I subscribe to:

    - -
    https://www.firstinspires.org/robotics/frc/blog-rss
    -https://lukesmith.xyz/rss.xml
    -https://daniellockyer.com/feed.xml
    -http://www.windytan.com/rss.xml
    -http://psy-lob-saw.blogspot.com/rss.xml
    -https://retrylife.ca/feed.xml
    -
    -

    -
    -
    - -
    - - - - -
    - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/_site/random/2019/06/27/Python.html b/_site/random/2019/06/27/Python.html index a473644..b3c2598 100644 --- a/_site/random/2019/06/27/Python.html +++ b/_site/random/2019/06/27/Python.html @@ -218,8 +218,8 @@
  • RSS
  • diff --git a/_site/school/eng3u-u2a3.html b/_site/school/eng3u-u2a3.html index f7a9bbc..d0b8534 100644 --- a/_site/school/eng3u-u2a3.html +++ b/_site/school/eng3u-u2a3.html @@ -152,8 +152,8 @@
  • RSS