Mirage
banner
miragethefennec.bsky.social
Mirage
@miragethefennec.bsky.social
I hope this ushers in a new era of people correctly—whatever that means—using em dashes out of sheer unbridled spite. But—you know—the fun, good-natured type of spite.
June 27, 2025 at 3:52 PM
Was gonna say "nonvoters don't matter: they're split 50/50" but I checked and I was wrong. Registered nonvoters do lean strongly Dem... how many are in swing states though? I can't find an answer. Also voter suppression is a thing. =/

Anyway, yeah, people should vote if they can.
April 11, 2025 at 4:17 PM
A person having too much fun with whatever access they have is all a hacker is. =)
February 25, 2025 at 1:51 AM
You’re a bot.
February 23, 2025 at 1:44 AM
Ah, sorta the other way around. Jekyll "has built-in support for Github Pages" docs.github.com/en/pages/set...
About GitHub Pages and Jekyll - GitHub Docs
Jekyll is a static site generator with built-in support for GitHub Pages.
docs.github.com
February 22, 2025 at 9:02 PM
Oh, jekyll, I've heard of that. I think github.io uses that.
github.io
February 22, 2025 at 9:01 PM
Here's the world's worst CMS in one line of code:

<!-- head, header, nav, etc. -->
<main id="main"></main><script>main.innerHTML = await (await fetch(`${location.hash.substr(1)}.html`)).text()</script>
<!-- footer -->

index.html#/example loads content from /example.html
SEO? What's that? ^^;
February 22, 2025 at 8:58 PM
Ah, you make a good point here. I suppose what I would actually do is make it a SPA and inject the content based on the URL fragment rather than the other way around, but I'm a software engineer so I suppose that would seem easy to me. I've never used a static site generator. =)
February 22, 2025 at 8:32 PM
This is a flex.
February 22, 2025 at 8:23 PM
I guess it could occasionally be a useful feature, but a Premium perk? What?
February 22, 2025 at 8:18 PM
Sincerely curious what you would suggest since you seem to think the JS solution is overcomplicated.

HTML imports are dead. <object> and <iframe> require fixed height. SSI/PHP/CGI is more complex. Static gen would need an extra tool... Isn't "copy this JS" the simplest option?
February 22, 2025 at 8:12 PM
Of course you don't NEED to use JavaScript. You could do it with any number of server-side templating systems or with a static site generator. But personally I feel like this little JS snippet is the easiest option. You don't need to set up FastCGI or whatever.
February 22, 2025 at 7:57 PM
Aw dang it, I knew I was forgetting something but I was too lazy to check it. Thanks for the code review! ^~
February 22, 2025 at 6:52 PM
You can do it with a bit of JavaScript:

<footer id="footer"></footer>
<script>
fetch('/footer.html').then( r => {
document.getElementById("footer").innerHTML = r.text();
});
</script>

Then write whatever you want in your footer in /footer.html =)
February 22, 2025 at 6:35 PM
Never heard of a three-way?
February 15, 2025 at 3:44 PM
No like, the term “heat pump” refers to the device that moves heat from one place to another via a refrigerant. Whether it’s in a refrigerator or an A/C or a device marketed for heating, it’s still a heat pump.
February 1, 2025 at 9:50 PM
Well, being struck by a banana moving at 0.5c would result in nuclear fusion, so I’m gonna go with “more calories.”
February 1, 2025 at 5:49 PM
Not only the same concept, literally the exact same machine.
February 1, 2025 at 5:46 PM
This makes me want to scream every time I see it.
February 1, 2025 at 5:43 PM