summaryrefslogtreecommitdiffstats
path: root/thoughts
diff options
context:
space:
mode:
Diffstat (limited to 'thoughts')
-rw-r--r--thoughts/syntax/random-python-idiosyncrasies.html6
-rw-r--r--thoughts/txt/.description1
-rw-r--r--thoughts/txt/0.txt1
-rw-r--r--thoughts/txt/complexity.txt1
-rw-r--r--thoughts/txt/dystopia.txt2
-rw-r--r--thoughts/txt/old-debates.txt6
-rw-r--r--thoughts/txt/on-being-dumb.txt2
-rw-r--r--thoughts/txt/on-immaturity.txt3
-rw-r--r--thoughts/txt/why-i-like-tech.txt5
9 files changed, 27 insertions, 0 deletions
diff --git a/thoughts/syntax/random-python-idiosyncrasies.html b/thoughts/syntax/random-python-idiosyncrasies.html
index ba88071..fd2336d 100644
--- a/thoughts/syntax/random-python-idiosyncrasies.html
+++ b/thoughts/syntax/random-python-idiosyncrasies.html
@@ -87,6 +87,7 @@
<li><a href="#tabs-are-four-spaces-and-spaces-are-always-preferred-to-tabs">3) Tabs are four spaces and spaces are <em>ALWAYS</em> preferred to tabs</a></li>
<li><a href="#always-add-spaces-between-arithmetic-but-never-for-brackets">4) Always add spaces between arithmetic, but never for brackets</a></li>
<li><a href="#everything-should-be-snake_case">5) EVERYTHING should be snake_case</a></li>
+<li><a href="#if-its-over-100-lines-you-probably-need-a-new-file-and-a-class">6) If it's over 100 lines, you probably need a new file (and a class)</a></li>
</ul></li>
</ul>
</nav>
@@ -149,5 +150,10 @@
<div class="sourceCode" id="cb9"><pre class="sourceCode python"><code class="sourceCode python"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true"></a><span class="co"># this doesn&#39;t actually work, but you get the idea</span></span>
<span id="cb9-2"><a href="#cb9-2" aria-hidden="true"></a>r <span class="op">=</span> requests.get(<span class="st">&quot;www.debian.org&quot;</span>)</span>
<span id="cb9-3"><a href="#cb9-3" aria-hidden="true"></a>pageSize <span class="op">=</span> r.json()[<span class="st">&#39;pageSize&#39;</span>] <span class="co"># camel case ok</span></span></code></pre></div>
+<h2 id="if-its-over-100-lines-you-probably-need-a-new-file-and-a-class">6) If it's over 100 lines, you probably need a new file (and a class)</h2>
+<p>This is more of a general coding thing, but I've encountered so many 1000 line monster out there, I need to reiterate it. I understand how these things come to be, having made a few myself in the beginning. You get an idea and want to see it through in full. Like <em>On the Road</em> it comes out as a scroll Merlin himself would be proud of.</p>
+<p>But coming back to the scroll in a week half-drunk and half-tired is not a situation you want to be caught in. You can always import <em>any</em> python code you write with a simple:</p>
+<div class="sourceCode" id="cb10"><pre class="sourceCode python"><code class="sourceCode python"><span id="cb10-1"><a href="#cb10-1" aria-hidden="true"></a><span class="im">import</span> filename</span></code></pre></div>
+<p>As long as it's in the same directory.</p>
</body>
</html>
diff --git a/thoughts/txt/.description b/thoughts/txt/.description
new file mode 100644
index 0000000..82cab52
--- /dev/null
+++ b/thoughts/txt/.description
@@ -0,0 +1 @@
+A collection of.... notes I guess? In ye old txt format
diff --git a/thoughts/txt/0.txt b/thoughts/txt/0.txt
new file mode 100644
index 0000000..4e1e907
--- /dev/null
+++ b/thoughts/txt/0.txt
@@ -0,0 +1 @@
+All aphorisms are a subtle attempt at mind control.
diff --git a/thoughts/txt/complexity.txt b/thoughts/txt/complexity.txt
new file mode 100644
index 0000000..331b80f
--- /dev/null
+++ b/thoughts/txt/complexity.txt
@@ -0,0 +1 @@
+Making things complex is actually a rather simple thing to do.
diff --git a/thoughts/txt/dystopia.txt b/thoughts/txt/dystopia.txt
new file mode 100644
index 0000000..6963b7f
--- /dev/null
+++ b/thoughts/txt/dystopia.txt
@@ -0,0 +1,2 @@
+One of the surest ways to create a dystopia is to try to make the world
+a better place.
diff --git a/thoughts/txt/old-debates.txt b/thoughts/txt/old-debates.txt
new file mode 100644
index 0000000..0b72594
--- /dev/null
+++ b/thoughts/txt/old-debates.txt
@@ -0,0 +1,6 @@
+*After watching an old episode of "Firing Line":
+https://www.youtube.com/watch?v=Atk7V3W6oUc *
+
+The most depressing thing about watching arguments from the 80s and 90s
+is that we're still arguing about mostly the same stuff. And even using
+the same talking points.
diff --git a/thoughts/txt/on-being-dumb.txt b/thoughts/txt/on-being-dumb.txt
new file mode 100644
index 0000000..db365fe
--- /dev/null
+++ b/thoughts/txt/on-being-dumb.txt
@@ -0,0 +1,2 @@
+Never let the fact that you don't know how to do something stop you from
+doing it.
diff --git a/thoughts/txt/on-immaturity.txt b/thoughts/txt/on-immaturity.txt
new file mode 100644
index 0000000..3d734f9
--- /dev/null
+++ b/thoughts/txt/on-immaturity.txt
@@ -0,0 +1,3 @@
+I've noticed a lot of immature people tend to go on and on about how
+much of an adult they are. Maturity, I've found, starts with
+understanding we're all still kids really.
diff --git a/thoughts/txt/why-i-like-tech.txt b/thoughts/txt/why-i-like-tech.txt
new file mode 100644
index 0000000..c489abe
--- /dev/null
+++ b/thoughts/txt/why-i-like-tech.txt
@@ -0,0 +1,5 @@
+My fundamental interest in the history of computing, software, and the
+internet really boils down to one question.
+
+How did we arrive at a place where the world is governed by technologies
+that few, if anyone, understand?