aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2018-06-17 16:49:49 -0500
committerMelody Horn <melody@boringcactus.com>2018-06-17 16:49:49 -0500
commit759f312a5be5dc992c0aa3d1aab918c0df8b1a09 (patch)
treef4b07ba58d8b9993fbeb98141984257bd20b3acb
parenta9682014e7eb0e2e6fb88d9d3969ac1ec1298de0 (diff)
downloadboringcactus.com-759f312a5be5dc992c0aa3d1aab918c0df8b1a09.tar.gz
boringcactus.com-759f312a5be5dc992c0aa3d1aab918c0df8b1a09.zip
add a post
-rw-r--r--_layouts/default.html19
-rw-r--r--_posts/2018-06-17-windows-vim-python.md27
-rw-r--r--index.html21
-rw-r--r--index.md16
4 files changed, 62 insertions, 21 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
new file mode 100644
index 0000000..a8d8e3f
--- /dev/null
+++ b/_layouts/default.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8" />
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title>{{ page.title }} | boringcactus</title>
+<link rel="stylesheet" href="/site.css">
+</head>
+<body>
+<header>
+{% if page.url != "/" %}
+<p>(brought to you by <a href="/">boringcactus</a>)</p>
+{% endif %}
+</header>
+<main>
+{{ content }}
+</main>
+</body>
+</html>
diff --git a/_posts/2018-06-17-windows-vim-python.md b/_posts/2018-06-17-windows-vim-python.md
new file mode 100644
index 0000000..7eeb83f
--- /dev/null
+++ b/_posts/2018-06-17-windows-vim-python.md
@@ -0,0 +1,27 @@
+---
+layout: default
+title: "Windows, Vim, and Python: An Unholy Trinity of Pain"
+---
+
+# {{ page.title }}
+
+Last summer I figured I'd learn Vim. That did not go well.
+
+I started by stealing somebody's `.vimrc`, as is natural.
+In this case the person from whomst I lifted my `.vimrc` was a Python dev, and I was working in Python at the time, so that was a reasonable choice.
+But once I opened an actual Python file I got an error message that Vim couldn't find Python.
+
+I did some research and it turned out that even though I'd grabbed the latest version of Vim, it was looking for Python 3.5 and I had Python 3.6, which had been out for a while by then.
+So I uninstalled Python 3.6 and installed Python 3.5 and started getting a different error message.
+
+A bit more research revealed that my Python was 64-bit but my Vim was 32-bit.
+Apparently Vim didn't provide official 64-bit Windows builds at that time, so for 64-bit Vim on Windows they just linked to a handful of third party distributions.
+I went ahead and uninstalled my 32-bit Vim so I could install 64-bit Vim, and then everything worked fine.
+(Except for all the minor Vim papercuts that eventually led me to write [my own Nano clone](https://github.com/mathphreak/mfte) instead.)
+
+To get Vim and Python to play nice with each other, I had to reinstall both of them.
+
+And that's basically what developing on Windows is like in a nutshell.
+
+But it doesn't have to be this way.
+If more people treated Windows as a first class platform, the tools to develop on Windows wouldn't be so frustrating to use, and then more people would treat Windows as a first class platform.
diff --git a/index.html b/index.html
deleted file mode 100644
index 78b901a..0000000
--- a/index.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="width=device-width, initial-scale=1">
-<title>boringcactus</title>
-<link rel="stylesheet" href="site.css">
-</head>
-<body>
-<main>
-<h1>boringcactus (Melody&nbsp;Horn)</h1>
-<p>
- i'm a programmer and a trans woman.
- i've done some cool shit but it's under my deadname and i don't know how much of it is any good so i'm not talking about it here right now.
-</p>
-<p>
- i mostly exist on <a href="https://twitter.com/boring_cactus">twitter</a> retweeting good content and occasionally tweeting bad content.
-</p>
-</main>
-</body>
-</html>
diff --git a/index.md b/index.md
new file mode 100644
index 0000000..e3f8643
--- /dev/null
+++ b/index.md
@@ -0,0 +1,16 @@
+---
+layout: default
+---
+
+# boringcactus (Melody Horn)
+
+i'm a programmer and a trans woman.
+i've done some cool shit but it's under my deadname and i don't know how much of it is any good so i'm not talking about it here right now.
+
+i mostly exist on [twitter](https://twitter.com/boring_cactus) retweeting good content and occasionally tweeting bad content.
+
+every once in a very great while i write things here:
+
+{% for post in site.posts %}
+- [{{ post.title }} ({{ post.date | date_to_string }})]({{ post.url }})
+{% endfor %}