From 82c2c085f877f6dca63d847bd2599abeebf76933 Mon Sep 17 00:00:00 2001 From: mjfernez Date: Sun, 20 Feb 2022 14:17:11 -0500 Subject: Add txt files --- .md/thoughts/syntax/random-python-idiosyncrasies.md | 17 +++++++++++++++++ .md/thoughts/txt/.description | 1 + .md/thoughts/txt/0.txt | 1 + .md/thoughts/txt/complexity.txt | 1 + .md/thoughts/txt/dystopia.txt | 2 ++ .md/thoughts/txt/old-debates.txt | 6 ++++++ .md/thoughts/txt/on-being-dumb.txt | 2 ++ .md/thoughts/txt/on-immaturity.txt | 3 +++ .md/thoughts/txt/why-i-like-tech.txt | 5 +++++ thoughts/syntax/random-python-idiosyncrasies.html | 6 ++++++ thoughts/txt/.description | 1 + thoughts/txt/0.txt | 1 + thoughts/txt/complexity.txt | 1 + thoughts/txt/dystopia.txt | 2 ++ thoughts/txt/old-debates.txt | 6 ++++++ thoughts/txt/on-being-dumb.txt | 2 ++ thoughts/txt/on-immaturity.txt | 3 +++ thoughts/txt/why-i-like-tech.txt | 5 +++++ tutorials/vim/.description | 2 +- 19 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 .md/thoughts/txt/.description create mode 100644 .md/thoughts/txt/0.txt create mode 100644 .md/thoughts/txt/complexity.txt create mode 100644 .md/thoughts/txt/dystopia.txt create mode 100644 .md/thoughts/txt/old-debates.txt create mode 100644 .md/thoughts/txt/on-being-dumb.txt create mode 100644 .md/thoughts/txt/on-immaturity.txt create mode 100644 .md/thoughts/txt/why-i-like-tech.txt create mode 100644 thoughts/txt/.description create mode 100644 thoughts/txt/0.txt create mode 100644 thoughts/txt/complexity.txt create mode 100644 thoughts/txt/dystopia.txt create mode 100644 thoughts/txt/old-debates.txt create mode 100644 thoughts/txt/on-being-dumb.txt create mode 100644 thoughts/txt/on-immaturity.txt create mode 100644 thoughts/txt/why-i-like-tech.txt diff --git a/.md/thoughts/syntax/random-python-idiosyncrasies.md b/.md/thoughts/syntax/random-python-idiosyncrasies.md index 22e9e25..b6683b6 100644 --- a/.md/thoughts/syntax/random-python-idiosyncrasies.md +++ b/.md/thoughts/syntax/random-python-idiosyncrasies.md @@ -114,3 +114,20 @@ r = requests.get("www.debian.org") pageSize = r.json()['pageSize'] # camel case ok ``` +## 6) If it's over 100 lines, you probably need a new file (and a class) + +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 *On the Road* it +comes out as a scroll Merlin himself would be proud of. + +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 *any* python +code you write with a simple: + +```python +import filename +``` + +As long as it's in the same directory. diff --git a/.md/thoughts/txt/.description b/.md/thoughts/txt/.description new file mode 100644 index 0000000..82cab52 --- /dev/null +++ b/.md/thoughts/txt/.description @@ -0,0 +1 @@ +A collection of.... notes I guess? In ye old txt format diff --git a/.md/thoughts/txt/0.txt b/.md/thoughts/txt/0.txt new file mode 100644 index 0000000..4e1e907 --- /dev/null +++ b/.md/thoughts/txt/0.txt @@ -0,0 +1 @@ +All aphorisms are a subtle attempt at mind control. diff --git a/.md/thoughts/txt/complexity.txt b/.md/thoughts/txt/complexity.txt new file mode 100644 index 0000000..331b80f --- /dev/null +++ b/.md/thoughts/txt/complexity.txt @@ -0,0 +1 @@ +Making things complex is actually a rather simple thing to do. diff --git a/.md/thoughts/txt/dystopia.txt b/.md/thoughts/txt/dystopia.txt new file mode 100644 index 0000000..6963b7f --- /dev/null +++ b/.md/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/.md/thoughts/txt/old-debates.txt b/.md/thoughts/txt/old-debates.txt new file mode 100644 index 0000000..0b72594 --- /dev/null +++ b/.md/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/.md/thoughts/txt/on-being-dumb.txt b/.md/thoughts/txt/on-being-dumb.txt new file mode 100644 index 0000000..db365fe --- /dev/null +++ b/.md/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/.md/thoughts/txt/on-immaturity.txt b/.md/thoughts/txt/on-immaturity.txt new file mode 100644 index 0000000..3d734f9 --- /dev/null +++ b/.md/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/.md/thoughts/txt/why-i-like-tech.txt b/.md/thoughts/txt/why-i-like-tech.txt new file mode 100644 index 0000000..c489abe --- /dev/null +++ b/.md/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? 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 @@
  • 3) Tabs are four spaces and spaces are ALWAYS preferred to tabs
  • 4) Always add spaces between arithmetic, but never for brackets
  • 5) EVERYTHING should be snake_case
  • +
  • 6) If it's over 100 lines, you probably need a new file (and a class)
  • @@ -149,5 +150,10 @@
    # this doesn't actually work, but you get the idea
     r = requests.get("www.debian.org")
     pageSize = r.json()['pageSize'] # camel case ok
    +

    6) If it's over 100 lines, you probably need a new file (and a class)

    +

    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 On the Road it comes out as a scroll Merlin himself would be proud of.

    +

    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 any python code you write with a simple:

    +
    import filename
    +

    As long as it's in the same directory.

    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? diff --git a/tutorials/vim/.description b/tutorials/vim/.description index 36cc44c..9a4526d 100644 --- a/tutorials/vim/.description +++ b/tutorials/vim/.description @@ -1 +1 @@ -Random little fixes I've found for vim/neovim +Random little fixes I'e found for vim/neovim -- cgit v1.2.3