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 + diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 0680564..84767f1 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -1,7 +1,6 @@ baseURL = "https://runtimeterror.dev" -theme = ["hugo-cloak-email", "risotto"] +theme = "risotto" title = "runtimeterror" -author = "ops" copyright = "© 2018-2023 [runtimeterror](https://runtimeterror.dev)" paginate = 3 languageCode = "en" diff --git a/config/_default/params.toml b/config/_default/params.toml index 87a62c8..2fc167d 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 = ".-. ..- -. - .. -- . - . .-. .-. --- .-." @@ -21,16 +22,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,12 +47,17 @@ 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", + "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", @@ -56,12 +67,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 +82,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 +90,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,10 +98,14 @@ 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", "you can't handle the exception", + "you gotta stop letting your mama test you, man", ] # Sidebar: social links @@ -99,11 +118,17 @@ icon = "fa-brands fa-github" title = "GitHub" 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]] 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 diff --git a/content/posts/how-to-ask-for-help/index.md b/content/posts/how-to-ask-for-help/index.md index 193f060..fffa2c3 100644 --- a/content/posts/how-to-ask-for-help/index.md +++ b/content/posts/how-to-ask-for-help/index.md @@ -1,8 +1,11 @@ --- 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 +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. @@ -31,14 +34,15 @@ 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. -- 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. 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 }} diff --git a/layouts/partials/archive.html b/layouts/partials/archive.html index ef270e5..b63bc39 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..7927311 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 }}{{- if ne $postDate $updateDate }}{{ end }}
Posted:{{ . }}
Updated:{{ $updateDate }}
{{ end }}

{{- with .Params.tags -}} diff --git a/layouts/partials/tagline.html b/layouts/partials/tagline.html index 0c3b91b..402662a 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); -

+
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