From e766596a5f76688e70a06fa60439905fff6f7f2e Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sun, 27 Aug 2023 15:17:22 -0500 Subject: [PATCH 01/18] update featured posts --- content/posts/how-to-ask-for-help/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/posts/how-to-ask-for-help/index.md b/content/posts/how-to-ask-for-help/index.md index 193f060..1af328f 100644 --- a/content/posts/how-to-ask-for-help/index.md +++ b/content/posts/how-to-ask-for-help/index.md @@ -3,6 +3,7 @@ title: How to Ask For Help date: 2023-08-26 timeless: true description: There are no dumb questions - but there are smarter (and dumber) ways to ask them. +featured: true --- I spend a lot of my time and energy answering technical questions, both professionally and "for fun" as a way to scratch that troubleshooting itch. How a question is asked plays a big factor in how effectively I'll be able to answer it. From c9ec5f45fad5226c9c7e8c9564e3eecf825daa42 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sun, 27 Aug 2023 15:33:06 -0500 Subject: [PATCH 02/18] update post --- content/posts/how-to-ask-for-help/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/posts/how-to-ask-for-help/index.md b/content/posts/how-to-ask-for-help/index.md index 1af328f..e51516c 100644 --- a/content/posts/how-to-ask-for-help/index.md +++ b/content/posts/how-to-ask-for-help/index.md @@ -32,7 +32,7 @@ We need to understand what you're trying to ask before we can answer it, and can Once you've written your query, take the time to read back over it and make sure it makes sense. This is another chance to show us that you're serious about solving the problem. -Your helpers aren't going to judge you for linguistic errors but such mistakes may make it difficult for them to understand your problem. If you're not comfortable writing in English, go ahead and post in your native language. There are plenty of tools that your helper can use to translate your message, and those will be much more effective if the original message is clearly written in the original language. +Your helpers aren't going to judge you for linguistic errors but such mistakes may make it difficult for them to understand your problem. If you're not comfortable writing in English, go ahead and post in your native language using short sentences and correct punctuation. There are plenty of tools that your helper can use to translate your message, and those will be much more effective if the original message is written clearly in the original language. ### Be Precise The more details you can provide about your problem, the better. From 05cceb842be91391893a2fb3abfdbe98ce70af83 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 28 Aug 2023 09:41:33 -0500 Subject: [PATCH 03/18] taglines++ --- config/_default/params.toml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/config/_default/params.toml b/config/_default/params.toml index 87a62c8..44128b3 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -21,16 +21,21 @@ palette = "runtimeterror" title = "runtimeterror" logo = "images/broken-computer.svg" taglines = [ + "[ctrl] + [alt] + [defeat]", "[ESC]:q!", + "abandon all hope, ye who code here", + "all your bugs are belong to us", "array index out of bounds", "bad file descriptor", "better living through less shitty code", "broken pipe", + "buffering... and buffering... and buffering...", "bugs are like onions, they have layers", "bugs, uh, find a way", "calm that panicked kernel", "cannot access private member declared in class", "class/struct has no member named undefined", + "coding crimes", "connection reset by peer", "converting caffeine into code", "creating new and exciting bugs", @@ -41,9 +46,13 @@ taglines = [ "error: could not stat or open file", "expression has no effect", "file descriptor in bad state", + "floating in a sea of bugs", "from chatgpt with bugs", "from the creators of 'undefined is not a function'", "function does not return a value", + "glitches, hitches, and a lot of coffee", + "god wouldn't be up this late", + "hello world, hello bugs", "host key verification failed", "houston, we have a bug", "i ain't afraid of no code", @@ -56,12 +65,14 @@ taglines = [ "invalid assignment", "invalid option", "invalid username or password", + "it's not a bug, it's a feature in search of a use case", "keep your friends close, but your breakpoints closer", "kernel panic - not syncing: attempted to kill init", "may the code be with you", "mess with the test, fail like the rest", "need input", "no such file or directory", + "now where did i leave my null pointer...", "out of memory: kill process or sacrifice child", "permission denied (publickey)", "pointer arithmetic on non-pointer type", @@ -69,6 +80,7 @@ taglines = [ "read-only file system", "resource temporarily unavailable", "root is not in the sudoers file. this incident will be reported", + "seeking harmony in a symphony of bugs", "segmentation fault (core dumped)", "ship things and breakfast", "stale nfs file handle", @@ -76,6 +88,7 @@ taglines = [ "syntax error: unexpected end of file", "syntax error: unexpected token", "that's a layer 8 problem", + "the bug stops here", "the system is down", "there's no place like $HOME", "tonight we test in prod", @@ -83,6 +96,9 @@ taglines = [ "undefined reference to function", "unexpected token", "variable has already been declared", + "when in doubt, print it out", + "where there's code, there's bugs", + "while (bugs) { fix(); }", "while (true) { bugs++; }", "why did it have to be bugs", "write error: no space left on device", From 20cd67b3c0f7d805bf0873aa530b1d25129235ae Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 28 Aug 2023 10:22:18 -0500 Subject: [PATCH 04/18] remove hugo-cloak-email module --- config/_default/hugo.toml | 4 ++-- themes/hugo-cloak-email | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 160000 themes/hugo-cloak-email diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 0680564..c47f905 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -1,7 +1,7 @@ baseURL = "https://runtimeterror.dev" -theme = ["hugo-cloak-email", "risotto"] +theme = ["risotto"] title = "runtimeterror" -author = "ops" +author = "John Bowdre" copyright = "© 2018-2023 [runtimeterror](https://runtimeterror.dev)" paginate = 3 languageCode = "en" diff --git a/themes/hugo-cloak-email b/themes/hugo-cloak-email deleted file mode 160000 index 19e0284..0000000 --- a/themes/hugo-cloak-email +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 19e0284810127d1d56e2d813a311b0bd73bba96c From 2a5c9eb6d02ce86772f95f261cd51f43f7c7e48f Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 28 Aug 2023 10:23:00 -0500 Subject: [PATCH 05/18] purge unused submodules --- .gitmodules | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitmodules b/.gitmodules index 3e8ef45..7298629 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,4 @@ [submodule "themes/risotto"] path = themes/risotto url = https://github.com/joeroe/risotto.git -[submodule "themes/hugo-notice"] - path = themes/hugo-notice - url = https://github.com/martignoni/hugo-notice.git -[submodule "themes/hugo-cloak-email"] - path = themes/hugo-cloak-email - url = https://github.com/martignoni/hugo-cloak-email.git + From fb0d3c378878d576f483ee55bb7f97b4bd45fde5 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 28 Aug 2023 13:48:46 -0500 Subject: [PATCH 06/18] display lastmod date on single sidebar and archive list --- layouts/partials/archive.html | 4 +++- layouts/partials/aside.html | 7 ++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/layouts/partials/archive.html b/layouts/partials/archive.html index ef270e5..abda6f5 100644 --- a/layouts/partials/archive.html +++ b/layouts/partials/archive.html @@ -12,11 +12,13 @@ {{ range $pages }} +{{- $postDate := .Date.Format "2006-01-02" }} +{{- $updateDate := .Lastmod.Format "2006-01-02" }}

{{ .Title | markdownify }}

diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index 2311e32..dfad4c5 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -1,8 +1,9 @@ -{{ if or (.Params.description) (.Params.author) (.Params.date) }} +{{- $postDate := .Date.Format "2006-01-02" }} +{{- $updateDate := .Lastmod.Format "2006-01-02" }} +{{ if or (.Params.description) (.Params.date) }} {{ if .Params.description }}

{{ .Params.description }}

{{ end }}

- {{ if .Params.author }}By {{ .Params.author }}{{ if .Date }}, {{ end }}{{ end }} - {{ if .Date }}{{ .Date.Format "2006-01-02" }}{{ end }} + {{ with $postDate }}{{ . }}{{ end }}{{- if ne $postDate $updateDate }} [{{ $updateDate }}]{{ end }}

{{- with .Params.tags -}} From 157d1d6959ca6ed04d12faf701be3c2443dd38c5 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 28 Aug 2023 16:45:24 -0500 Subject: [PATCH 07/18] add author information --- config/_default/hugo.toml | 3 +-- config/_default/params.toml | 1 + layouts/partials/about.html | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index c47f905..84767f1 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -1,7 +1,6 @@ baseURL = "https://runtimeterror.dev" -theme = ["risotto"] +theme = "risotto" title = "runtimeterror" -author = "John Bowdre" copyright = "© 2018-2023 [runtimeterror](https://runtimeterror.dev)" paginate = 3 languageCode = "en" diff --git a/config/_default/params.toml b/config/_default/params.toml index 44128b3..63b2a62 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -4,6 +4,7 @@ description = "while (true) { bugs++; }" mainSections = ["posts"] fallBackOgImage = "images/broken-computer.svg" numberOfFeaturedPosts = 5 +author = "John Bowdre" indexTitle = ".-. ..- -. - .. -- . - . .-. .-. --- .-." diff --git a/layouts/partials/about.html b/layouts/partials/about.html index be413f2..d6c0c92 100644 --- a/layouts/partials/about.html +++ b/layouts/partials/about.html @@ -3,6 +3,8 @@ {{ with .logo }}{{ end }}

{{ .title }}

{{ partial "tagline.html" . }} +
+ {{ site.Params.Author }} {{ end }} From 9174c59c32fb228484cb82805e89fa7ff9b24f47 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 28 Aug 2023 16:45:40 -0500 Subject: [PATCH 08/18] cleanup tagline, format as code --- layouts/partials/tagline.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layouts/partials/tagline.html b/layouts/partials/tagline.html index 0c3b91b..f8ca8a6 100644 --- a/layouts/partials/tagline.html +++ b/layouts/partials/tagline.html @@ -7,7 +7,6 @@ var randIndex = Math.floor(Math.random() * taglines.length); document.getElementById("tagline").innerHTML = taglines[randIndex]; } - console.log(taglines) window.addEventListener("pageshow", getTagline); -
+
From 0ab468667b8159bad496ef64325df5e59ca3c949 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 28 Aug 2023 16:46:03 -0500 Subject: [PATCH 09/18] add/rearrange social links --- config/_default/params.toml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 63b2a62..50c9af6 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -116,11 +116,15 @@ icon = "fa-brands fa-github" title = "GitHub" url = "https://github.com/jbowdre" +[[socialLinks]] +icon = "fa-solid fa-circle-user" +url = "https://counter.social/@john_b" + +[[socialLinks]] +icon = "fa-solid fa-comments" +url = "https://runtimeterror.dev/simplex" + [[socialLinks]] icon = "fa-solid fa-envelope" title = "Email" url = "mailto:ops@runtimeterror.dev" - -[[socialLinks]] -icon = "fa-solid fa-circle-user" -url = "https://counter.social/@john_b" \ No newline at end of file From 29869c1215c745e1cc7be40e741b20c3ec50eb3b Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 28 Aug 2023 16:50:58 -0500 Subject: [PATCH 10/18] update post --- content/posts/how-to-ask-for-help/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/posts/how-to-ask-for-help/index.md b/content/posts/how-to-ask-for-help/index.md index e51516c..629937a 100644 --- a/content/posts/how-to-ask-for-help/index.md +++ b/content/posts/how-to-ask-for-help/index.md @@ -1,6 +1,7 @@ --- title: How to Ask For Help date: 2023-08-26 +lastmod: 2023-08-28 timeless: true description: There are no dumb questions - but there are smarter (and dumber) ways to ask them. featured: true @@ -37,9 +38,10 @@ Your helpers aren't going to judge you for linguistic errors but such mistakes m ### Be Precise The more details you can provide about your problem, the better. -- What system/device/application are you using? Be specific about the model and/or version. +- What system/device/application are you using? Be specific about the model and/or version (and please don't just say "the latest version" - share the complete version number). - What are the symptoms of the problem? Are there any error messages? If so, include those *in full*. Screenshots can be a big help here. - When did the problem start? Is this a new problem or has it never worked? What (if anything) changed before the problem started? +- What steps can we take to reproduce the problem? List the exact steps without any shortcuts. - What steps have you already taken to try and solve the problem? Don't say "I've tried everything" (which tells us nothing); tell us *exactly* what you've tried. - If your research yielded other reports of the same problem but no solution, include links to those reports. From 6a99f05a70b632c5b4b03c8d05d286692c787abe Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 28 Aug 2023 16:59:59 -0500 Subject: [PATCH 11/18] use italics instead of code for tagline --- layouts/partials/tagline.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/tagline.html b/layouts/partials/tagline.html index f8ca8a6..402662a 100644 --- a/layouts/partials/tagline.html +++ b/layouts/partials/tagline.html @@ -9,4 +9,4 @@ } window.addEventListener("pageshow", getTagline); -
+
From 00219db4643305b13cdd8641553a89951c1407b5 Mon Sep 17 00:00:00 2001 From: John Bowdre <61015723+jbowdre@users.noreply.github.com> Date: Mon, 28 Aug 2023 19:25:39 -0500 Subject: [PATCH 12/18] taglines++ --- config/_default/params.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/_default/params.toml b/config/_default/params.toml index 50c9af6..0048218 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -57,6 +57,7 @@ taglines = [ "host key verification failed", "houston, we have a bug", "i ain't afraid of no code", + "i bet it looks glitchy in the dark", "i opened vi and i can't get out", "i see null pointers", "i'd tell you a udp joke but", @@ -104,6 +105,7 @@ taglines = [ "why did it have to be bugs", "write error: no space left on device", "you can't handle the exception", + "you gotta stop letting your mama test you, man", ] # Sidebar: social links From 36c6ae2a03ee6adc7a1fdef7003ad5da57265c36 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Tue, 29 Aug 2023 09:51:34 -0500 Subject: [PATCH 13/18] add icons for post and update dates --- layouts/partials/archive.html | 2 +- layouts/partials/aside.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/archive.html b/layouts/partials/archive.html index abda6f5..c11d4d6 100644 --- a/layouts/partials/archive.html +++ b/layouts/partials/archive.html @@ -18,7 +18,7 @@

{{ .Title | markdownify }}

diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index dfad4c5..acc3fd2 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -3,7 +3,7 @@ {{ if or (.Params.description) (.Params.date) }} {{ if .Params.description }}

{{ .Params.description }}

{{ end }}

- {{ with $postDate }}{{ . }}{{ end }}{{- if ne $postDate $updateDate }} [{{ $updateDate }}]{{ end }} + {{ with $postDate }} {{ . }}{{ end }}{{- if ne $postDate $updateDate }}
 {{ $updateDate }}{{ end }}

{{- with .Params.tags -}} From db036dea2bd787d8a66f631db79a9feb30dadea6 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Tue, 29 Aug 2023 10:40:24 -0500 Subject: [PATCH 14/18] fix missing alt text for contact links --- config/_default/params.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/_default/params.toml b/config/_default/params.toml index 0048218..2fc167d 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -120,10 +120,12 @@ url = "https://github.com/jbowdre" [[socialLinks]] icon = "fa-solid fa-circle-user" +title = "CounterSocial" url = "https://counter.social/@john_b" [[socialLinks]] icon = "fa-solid fa-comments" +title = "SimpleX Chat" url = "https://runtimeterror.dev/simplex" [[socialLinks]] From b476d5353a4b6228cd1b75901b0b2b41512b5901 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Tue, 29 Aug 2023 13:36:10 -0500 Subject: [PATCH 15/18] ditch unnecessary icons, use text labels for posted/updated dates --- layouts/partials/archive.html | 2 +- layouts/partials/aside.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/archive.html b/layouts/partials/archive.html index c11d4d6..6df076e 100644 --- a/layouts/partials/archive.html +++ b/layouts/partials/archive.html @@ -18,7 +18,7 @@

{{ .Title | markdownify }}

diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index acc3fd2..7927311 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -3,7 +3,7 @@ {{ if or (.Params.description) (.Params.date) }} {{ if .Params.description }}

{{ .Params.description }}

{{ end }}

- {{ with $postDate }} {{ . }}{{ end }}{{- if ne $postDate $updateDate }}
 {{ $updateDate }}{{ end }} + {{ with $postDate }}{{- if ne $postDate $updateDate }}{{ end }}
Posted:{{ . }}
Updated:{{ $updateDate }}
{{ end }}

{{- with .Params.tags -}} From cb211a8d769573d9b6547b222aa081191605b2e7 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Tue, 29 Aug 2023 13:38:29 -0500 Subject: [PATCH 16/18] another date format tweak --- layouts/partials/archive.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/archive.html b/layouts/partials/archive.html index 6df076e..c65ad7f 100644 --- a/layouts/partials/archive.html +++ b/layouts/partials/archive.html @@ -18,7 +18,7 @@

{{ .Title | markdownify }}

From fc8a6b204f46980d8aa48635b393c361a0d75108 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Tue, 29 Aug 2023 14:48:57 -0500 Subject: [PATCH 17/18] format dates as array --- layouts/partials/archive.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/archive.html b/layouts/partials/archive.html index c65ad7f..b63bc39 100644 --- a/layouts/partials/archive.html +++ b/layouts/partials/archive.html @@ -18,7 +18,7 @@

{{ .Title | markdownify }}

From bab5152bcd1d3ea79c22c48469a0edd8117a6ee1 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Tue, 29 Aug 2023 14:58:55 -0500 Subject: [PATCH 18/18] add how2ask alias --- content/posts/how-to-ask-for-help/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/posts/how-to-ask-for-help/index.md b/content/posts/how-to-ask-for-help/index.md index 629937a..fffa2c3 100644 --- a/content/posts/how-to-ask-for-help/index.md +++ b/content/posts/how-to-ask-for-help/index.md @@ -5,6 +5,7 @@ lastmod: 2023-08-28 timeless: true description: There are no dumb questions - but there are smarter (and dumber) ways to ask them. featured: true +aliases: ["how2ask"] --- I spend a lot of my time and energy answering technical questions, both professionally and "for fun" as a way to scratch that troubleshooting itch. How a question is asked plays a big factor in how effectively I'll be able to answer it.