summaryrefslogtreecommitdiffstats
path: root/.md
diff options
context:
space:
mode:
authormjfernez <mjf@mjfer.net>2021-12-22 16:40:46 -0500
committermjfernez <mjf@mjfer.net>2021-12-22 16:40:46 -0500
commitd0595724cd13a2274e34a813119cf457a796af75 (patch)
tree90a3b6d44ff929c47f05b354a5f682f6df6e30f1 /.md
parent3e87511c9ded4663150d6c4c4a1d829b53a16ed4 (diff)
downloadsite-files-d0595724cd13a2274e34a813119cf457a796af75.tar.gz
Table of Contents! Adds some works in progress
This commit adds a table of contents generated in the panupdate script. It also changes some links on the homepage to conform with removing '/site' as the parent directory
Diffstat (limited to '.md')
-rw-r--r--.md/fun/.description0
-rw-r--r--.md/thoughts/.description1
-rw-r--r--.md/thoughts/net/.description1
-rw-r--r--.md/thoughts/net/the-web30-people-kinda-scare-me-a-little.md0
-rw-r--r--.md/thoughts/society/.description1
-rw-r--r--.md/thoughts/society/as-a-conservatively-liberal-fascist-anarchist.md18
-rw-r--r--.md/thoughts/society/history/.description7
-rw-r--r--.md/thoughts/society/im-not-really-sure-i-want-everything-to-be-a-game.md0
-rw-r--r--.md/thoughts/society/techbros-scifi-and-the-world-controllers.md0
-rw-r--r--.md/thoughts/syntax/.description1
-rw-r--r--.md/thoughts/syntax/my-worst-habit.md56
-rw-r--r--.md/thoughts/syntax/random-python-idiosyncrasies.md107
-rw-r--r--.md/tutorials/tor/how-to-host-a-tor-hidden-service.md2
-rw-r--r--.md/tutorials/www/how-to-make-this-site.md6
14 files changed, 196 insertions, 4 deletions
diff --git a/.md/fun/.description b/.md/fun/.description
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.md/fun/.description
diff --git a/.md/thoughts/.description b/.md/thoughts/.description
new file mode 100644
index 0000000..16f9528
--- /dev/null
+++ b/.md/thoughts/.description
@@ -0,0 +1 @@
+Things I am less qualified to write about, but persist nonetheless.
diff --git a/.md/thoughts/net/.description b/.md/thoughts/net/.description
new file mode 100644
index 0000000..793a3e0
--- /dev/null
+++ b/.md/thoughts/net/.description
@@ -0,0 +1 @@
+Serious business
diff --git a/.md/thoughts/net/the-web30-people-kinda-scare-me-a-little.md b/.md/thoughts/net/the-web30-people-kinda-scare-me-a-little.md
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.md/thoughts/net/the-web30-people-kinda-scare-me-a-little.md
diff --git a/.md/thoughts/society/.description b/.md/thoughts/society/.description
new file mode 100644
index 0000000..10ce4fb
--- /dev/null
+++ b/.md/thoughts/society/.description
@@ -0,0 +1 @@
+We live in one
diff --git a/.md/thoughts/society/as-a-conservatively-liberal-fascist-anarchist.md b/.md/thoughts/society/as-a-conservatively-liberal-fascist-anarchist.md
new file mode 100644
index 0000000..3749b95
--- /dev/null
+++ b/.md/thoughts/society/as-a-conservatively-liberal-fascist-anarchist.md
@@ -0,0 +1,18 @@
+*As better articulated
+[here](https://edgeryders.eu/uploads/short-url/hZV8OTRoPrt6JO6KfePZBxVeWgZ.pdf)*
+
+
+## Liberals and Conservatives
+
+### Liberals
+
+### Conservatives
+
+## Anarchists and Fascists
+
+### Anarchists
+
+### Fascists
+
+Even worse the never-ending sects of sects of the modern left is
+the empty category of fascism, which even Orwell in 195X bemoaned: \ No newline at end of file
diff --git a/.md/thoughts/society/history/.description b/.md/thoughts/society/history/.description
new file mode 100644
index 0000000..670ab01
--- /dev/null
+++ b/.md/thoughts/society/history/.description
@@ -0,0 +1,7 @@
+The only way forward is through -- *Nick Land*
+
+<small>
+Because someone will complain and nuance is dead: I do not endorse
+his viewpoints or schizobabble, but I do find his writing interesting
+from a historical standpoint
+</small>
diff --git a/.md/thoughts/society/im-not-really-sure-i-want-everything-to-be-a-game.md b/.md/thoughts/society/im-not-really-sure-i-want-everything-to-be-a-game.md
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.md/thoughts/society/im-not-really-sure-i-want-everything-to-be-a-game.md
diff --git a/.md/thoughts/society/techbros-scifi-and-the-world-controllers.md b/.md/thoughts/society/techbros-scifi-and-the-world-controllers.md
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.md/thoughts/society/techbros-scifi-and-the-world-controllers.md
diff --git a/.md/thoughts/syntax/.description b/.md/thoughts/syntax/.description
new file mode 100644
index 0000000..425358c
--- /dev/null
+++ b/.md/thoughts/syntax/.description
@@ -0,0 +1 @@
+Language on languages
diff --git a/.md/thoughts/syntax/my-worst-habit.md b/.md/thoughts/syntax/my-worst-habit.md
new file mode 100644
index 0000000..2f760e1
--- /dev/null
+++ b/.md/thoughts/syntax/my-worst-habit.md
@@ -0,0 +1,56 @@
+Overuse of parentheses, by far.
+
+Why is this a bad thing? Parentheses, as read by most readers, tend to
+contain additional *superfluous* information when read. So naturally,
+the mind tends to pay less attention to what's inside (or at least my
+mind does). I also believe it represents some repressed psychological
+trauma, since a Professor once circled how many times I abused the
+double dash, "--", and I haven't quite felt comfortable using it
+since--unless it feels right.
+
+The punctuation works in that last example, but relying on it leads to
+bad habits, and usually, sentences that droll on for far longer than
+welcome. Consider the following example from Naked Lunch:
+
+```
+Doc Browbeck was party inna second part. A retired abortionist and junk
+pusher (he was a veterinarian actually) recalled to service during the
+manpower shortage. Well, Doc had been in the hospital kitchen all
+morning goosing the nurses and tanking up on coal gas and Klim -- and
+just before the operation he sneaked a double shot of nutmeg to nerve
+himself up.
+
+(In England and especially in Edinburgh the citizens bubble coal gas
+through Klim -- a horrible form of powdered milk tasting like rancid
+chalk -- and pick up on the results. They hock everything to pay the
+gas bill, and when the man comes around to shut it off for the
+non-payment, you can hear their screams for miles. When a citizen is
+sick from needing it he says "I got the klinks" or "That old stove
+climbing up my back."
+
+Nutmeg. I quote from the author's article on narcotic drugs in the
+British Journal of Addiction (see Appendix): "Convicts and sailors
+sometimes have recourse to nutmeg. About a tablespoon is swallowed
+with water. Result vaguely similar to marijuana with side effects of
+headache and nausea. There are a number of narcotics of the nutmeg
+family in use among the Indians of South America. They are usually
+administered by sniffing a dried powder of the plant. The medicine
+men take these noxious substances and go into convulsive states. Their
+twitchings and mutterings are thought to have prophetic significance.")
+```
+
+This is the only example I know that dares to put parentheses within
+parentheses, unless we're counting math textbooks. In a way it works,
+since if information is ever *superfluous*, the history of sailors
+getting high on nutmeg fits that bill. An academic reader might easily
+pick up on that, but to everyone else, I think a full paragraph of text
+in parentheses signals the reader to scroll down in the hopes that the
+story continues.
+
+But just in case you think I'm just picking on William S.
+Burroughs, here's an example I regrettably wrote to a ... recently:
+
+...
+
+It's a habit I can't break. So please, if you are a caring reader, do
+complain when I overuse parentheses. I deserve it.
diff --git a/.md/thoughts/syntax/random-python-idiosyncrasies.md b/.md/thoughts/syntax/random-python-idiosyncrasies.md
new file mode 100644
index 0000000..be3f1f8
--- /dev/null
+++ b/.md/thoughts/syntax/random-python-idiosyncrasies.md
@@ -0,0 +1,107 @@
+# Coding Style Guide
+
+The purpose of this document is twofold:
+1) To ensure that anyone who might like to make my code better understands
+ why I write python the way I do
+2) to ensure *I* adhere to my own style because I'm terribly inconsistent
+
+Being terribly inconsistent, the guidelines are not set in stone and if
+you have a good argument for doing things a particular, I don't really care.
+
+*BUT* first and foremost, *code must comply with PEP8 first*. This is easy
+to automate. I like coala since it's friendly but there' plenty of advanced
+linters out there.
+
+That aside, I have the following idiosyncracies:
+
+## 1) *Strings* are *double-quoted*. *Keys* and *chars* are *single-quoted*.
+
+This is really just because I like how C does it. And Cpython's C-based so
+why not?
+
+Like so:
+
+```code
+string = "This is a phrase"
+word = "word"
+cur_char = 'a'
+newline = '\n' # note, two characters, but it's still ONE char out
+# keys are single-quoted to avoid confusion
+dictionary = { 'key' "1245dqw3w431", 'return': newline }
+```
+
+The only exception is for strings with quotes in them (anything to avoid
+escapes, really)
+
+```code
+quoted_string = (
+ '"You miss 100% of the shots you don't take - Wayne Gretsky"'
+ ' - Michael Scott'
+)
+```
+
+That brings me to my next point.
+
+## 2) Long strings belong in parentheses
+
+As in:
+```code
+longboi = (
+ "This is a really long string usefull when making help menus. Be\n"
+ "sure to leave s space at the end of each line, or add a new line\n"
+ "when needed.\n\n"
+
+ "Try your best to keep formatting accurate like this."
+)
+```
+
+## 3) Tabs are four spaces and spaces are *ALWAYS* prefered to tabs
+
+Again, see PEP8.
+
+## 4) Always add spaces between arithmetic, but never for brackets
+
+It's a pain to read:
+
+```code
+1/(2*sqrt(pi))*exp(x**2)
+```
+
+Do this
+
+```code
+1 / (2 * sqrt(pi)) * exp(x ** 2)
+```
+
+The same goes for logic operators
+
+```code
+true & false ^ true
+```
+
+## 5) EVERYTHING should be snake_case
+
+This is python. Unless there's a compatibility thing (like a library's
+code was written that way, or it matches an API variable), snake_case
+is preferred.
+
+```code
+user_input = int(input()) # variable
+MAX_INPUT = 1000 # constant
+def judge_input(_input, _max): # function
+ if _max > _input:
+ print("Too big!")
+
+judge_input(user_input, MAX_INPUT
+class Input_Judger: # a class
+ # etc etc
+```
+
+Example exception:
+
+```code
+# this doesn't actually work, but you get the idea
+r = requests.get("www.debian.org")
+pageSize = r.json()['pageSize'] # camel case ok
+```
+
diff --git a/.md/tutorials/tor/how-to-host-a-tor-hidden-service.md b/.md/tutorials/tor/how-to-host-a-tor-hidden-service.md
index 2446cf2..a6f7e4e 100644
--- a/.md/tutorials/tor/how-to-host-a-tor-hidden-service.md
+++ b/.md/tutorials/tor/how-to-host-a-tor-hidden-service.md
@@ -10,7 +10,7 @@ temporary server to share some files with your friends. Please note the
word *temporary* in that last sentence; running this way for a while is
insecure and not a good idea. For a permanent solution, you'll
want to host a real web server as explained
-[here](/site/tutorials/www/how-to-make-this-site.html).
+[here](/tutorials/www/how-to-make-this-site.html).
Like that article, I will only explain how to do this on Linux since
it's way easier and, to be honest, I've never tried to do it on Windows.
diff --git a/.md/tutorials/www/how-to-make-this-site.md b/.md/tutorials/www/how-to-make-this-site.md
index 2cf8a80..d62e47c 100644
--- a/.md/tutorials/www/how-to-make-this-site.md
+++ b/.md/tutorials/www/how-to-make-this-site.md
@@ -198,7 +198,7 @@ Now get your *public* ip address at this site https://who.is/ and share
it with your friends. Watch in horror as they access all the files in
the directory you launched the server!
-## How can make this server available on the Internet *cheaply* and *independently*
+## How can I make this server available on the Internet *cheaply* and *independently*
<i>
TL;DR Expense scales with independence. It's possible to become your own
service provider, get IP addresses from ICANN, your own hardware to host
@@ -225,7 +225,7 @@ template language to render it automatically. But if your content is
short and sweet, or you're mostly hosting files, writing a few basic
HTML files in vim or notepad and adding some CSS goes a long way.
I wrote my own view of the topic in the context of how I wrote this site
-[here](/site/tutorials/www/quick-intro-to-html-css.html). And you can
+[here](/tutorials/www/quick-intro-to-html-css.html). And you can
find a number of great guides on how to write files, copy them and
manage them in the [references](#references).
@@ -266,7 +266,7 @@ But once you have stuff to share, how do you keep this stuff online?
Technically yes, but practically probably not. At least not at a lot of
extra cost to you. If you do want to host a small thing at home, like
some text or some cat pics, a
-[tor hidden service](/site/tutorials/tor/how-to-host-a-tor-hidden-service.html)
+[tor hidden service](/tutorials/tor/how-to-host-a-tor-hidden-service.html)
is a great option.
I spent a lot of time searching on this (you can find a full list of