1
This commit is contained in:
Evan Pratten 2019-09-07 13:13:33 -04:00
parent 39a2ff692a
commit 40e432bf77
No known key found for this signature in database
GPG Key ID: 93AC7B3D071356D3
29 changed files with 32 additions and 32 deletions

View File

@ -1,6 +1,6 @@
---
layout: post
title: "Doing Python the wrong way"
title: "Doing Python OOP the wrong way"
description: "In the name of science!"
date: 2019-09-07 13:13:00
categories: projects random

View File

@ -178,7 +178,7 @@ sub rsa4096/0xA61A2F1676E35144 2019-08-11 [] [expires: 2025-08-09]
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -123,7 +123,7 @@ pip3 install tensorflow-gpu #for gpu processing
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -87,7 +87,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -100,7 +100,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -111,7 +111,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -125,7 +125,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -84,7 +84,7 @@ Your browser does not support audio players
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -124,7 +124,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -82,7 +82,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -82,7 +82,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -191,7 +191,7 @@ __<span class="o">()</span> <span class="o">{</span>/???/???/???n?f <span class=
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -112,7 +112,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -177,7 +177,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -101,7 +101,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -174,7 +174,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -95,7 +95,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -187,7 +187,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -107,7 +107,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -152,7 +152,7 @@ ibus-daemon <span class="nt">-drx</span>
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -137,7 +137,7 @@ shift2 <span class="nt">-h</span>
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -108,7 +108,7 @@ Starting from the top, scroll through, and middle click on anything you want to
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -47,7 +47,7 @@
<div class="reactive-bg">
<div class="post container">
<h1>Doing Python the wrong way
<h1>Doing Python OOP the wrong way
</h1>
<h4>In the name of science!
@ -157,7 +157,7 @@ fn printMyNumber(MyClass* self){
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -64,7 +64,7 @@
Featured Post
</div>
<div class="card-body">
<h5 class="card-title">Doing Python the wrong way
<h5 class="card-title">Doing Python OOP the wrong way
</h5>
<p class="card-text">In the name of science!</p>
@ -76,7 +76,7 @@
<a href="/blog/2019/09/07/wrong-python" class="list-group-item list-group-item-action">
<div class="d-flex w-100 justify-content-between">
<div class="card-body">
<h5 class="mb-1">Doing Python the wrong way
<h5 class="mb-1">Doing Python OOP the wrong way
</h5>
<p class="card-text">In the name of science!</p>
@ -400,7 +400,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -52,7 +52,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.6">Jekyll</generator><link href="http://0.0.0.0:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://0.0.0.0:4000/" rel="alternate" type="text/html" /><updated>2019-09-07T13:12:56-04:00</updated><id>http://0.0.0.0:4000/feed.xml</id><title type="html">Evan Pratten</title><subtitle>Computer wizard, student, &lt;a href=&quot;https://frc5024.github.io&quot;&gt;@frc5024&lt;/a&gt; programming team lead, and radio enthusiast.</subtitle><entry><title type="html">Doing Python the wrong way</title><link href="http://0.0.0.0:4000/blog/2019/09/07/wrong-python" rel="alternate" type="text/html" title="Doing Python the wrong way" /><published>2019-09-07T09:13:00-04:00</published><updated>2019-09-07T09:13:00-04:00</updated><id>http://0.0.0.0:4000/blog/2019/09/07/wrong-python</id><content type="html" xml:base="http://0.0.0.0:4000/blog/2019/09/07/wrong-python">&lt;p&gt;If you know me, you probably know of the many weird things I do with python. Most recent of which being this &lt;a href=&quot;https://en.wikipedia.org/wiki/Fizz_buzz&quot;&gt;FizzBuzz&lt;/a&gt; implementation in one line of python code:&lt;/p&gt;
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.6">Jekyll</generator><link href="http://0.0.0.0:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://0.0.0.0:4000/" rel="alternate" type="text/html" /><updated>2019-09-07T13:13:19-04:00</updated><id>http://0.0.0.0:4000/feed.xml</id><title type="html">Evan Pratten</title><subtitle>Computer wizard, student, &lt;a href=&quot;https://frc5024.github.io&quot;&gt;@frc5024&lt;/a&gt; programming team lead, and radio enthusiast.</subtitle><entry><title type="html">Doing Python OOP the wrong way</title><link href="http://0.0.0.0:4000/blog/2019/09/07/wrong-python" rel="alternate" type="text/html" title="Doing Python OOP the wrong way" /><published>2019-09-07T09:13:00-04:00</published><updated>2019-09-07T09:13:00-04:00</updated><id>http://0.0.0.0:4000/blog/2019/09/07/wrong-python</id><content type="html" xml:base="http://0.0.0.0:4000/blog/2019/09/07/wrong-python">&lt;p&gt;If you know me, you probably know of the many weird things I do with python. Most recent of which being this &lt;a href=&quot;https://en.wikipedia.org/wiki/Fizz_buzz&quot;&gt;FizzBuzz&lt;/a&gt; implementation in one line of python code:&lt;/p&gt;
&lt;div class=&quot;language-python highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;_&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;FizzBuzz&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;_&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;_&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;_&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;**&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;ow&quot;&gt;or&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;_&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;_&lt;/span&gt; &lt;span class=&quot;ow&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;101&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

View File

@ -88,7 +88,7 @@ https://blog.mrtnrdl.de/feed.xml
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -101,7 +101,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>

View File

@ -256,7 +256,7 @@
<span class="site-info">
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
This site was last updated at: 2019-09-07 13:12:56 -0400
This site was last updated at: 2019-09-07 13:13:19 -0400
</span>
</div>