From 9aeb888c1dca4d0c138e25ad77b261cd2a46f1ec 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 f05390c5c1628c7d3324b0e195abb5eb94c263eb 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 83321bc70ee25e0531d1c9919c1e378865b7081b 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 578aab1383494cd62018460bbd7897f014b22a6f 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 c313ba8c05ce5de718c829483f865016ddf79c5b 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 d8eaad0f0cecb8838cae1eaf59cb1c226a855462 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 3467cdb4d3d04869eefc40566f8264f4e8542718 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 ab2f262e808ccaccd02f04804502214f2b836c0c 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 b2f62aa7c9db0a8812f2715483233ad5b280db93 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 1c2f0c8b92846e7916cd5cfc994870e730a27435 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 920df9834f4a03d02213d1fa252cb2f1432ca673 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 f7b565d4bb4752652b7b6ae298fa75f4761cd1ea 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 9594d5db7ed640cd0b2eed205f8a1ee3ba213890 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 d0c7224d95cf9448b5e999f7e50da5ce7e89aeef 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 0f03fb34f6991d4b98594d1d1d0fb84105715894 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 bb0bf6bf9b748211abd6a6216f5dcd00e5a66489 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 45dfe17ca64993c1a1e5ce75fa6a0acff3f66dfd 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 94740f563e4d43473f9cccfacda1bbb0532576da 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.