overhauled old theme

This commit is contained in:
sundae 2025-10-14 19:40:29 +03:00
parent f18a342ae5
commit fb24c6a302
No known key found for this signature in database
82 changed files with 1378 additions and 1371 deletions

View file

@ -5,20 +5,26 @@ modified: 2025-05-23
blurb: <p>Invalid DateTime. ha, got you.</p>
avatar: /assets/img/art/sundae_glistening.png
---
## {{page.fileSlug}}
<time datetime="{{date|ISO}}">{{date|readable}}</time>
<section aria-label="Post warning">WARNING: BORING NERD TOPIC AHOY</section>
<section aria-label="Post warning">
WARNING: BORING NERD TOPIC AHOY
</section>
I had mentioned on my Neocities profile that I would look into re-writing my website fairly soon right after pushing an update out. Took a bit longer than I would've liked honestly, but it's here!
Actually, it had been mostly finished for a while (since July 1st), but I hit a couple of roadblocks (mainly date conversion) that demoralized me from working more on it at the time, as well as some lifestyle changes, like spending less time on the PC and exercising often.
**The most notable things about my site re-write off the top of my head are:**
* converting page elements into `.json` data tables
* rebasing large parts of the page styling
* a larger emphasis on accessibility
- converting page elements into `.json` data tables
- rebasing large parts of the page styling
- a larger emphasis on accessibility
### I have <s>no</s> some idea what I'm doing
@ -30,7 +36,6 @@ I was **very eager** to start working on it, and because I decided to do so late
### You're telling me that Java scripted this?
I still don't understand JavaScript that well, got stumped on a couple of things, and as a result I took some time off working on the re-write.
Regardless, I had ported over the base layout and most pages, which would be around 90% of the work done within the first couple of days. The last 10% that was left being: having to tackle date conversion with [Luxon](https://github.com/moment/luxon), setting custom filters for Eleventy to use them and forgetting to port a few page elements to `.json` data tables.
@ -38,19 +43,24 @@ Regardless, I had ported over the base layout and most pages, which would be aro
Currently, my filters are handled really shittily, but they work whenever I build my site.
Here's how I currently have my filters set up for dates in my `.eleventy.js` file, if you also happen to struggle with this:
```js
const { DateTime } = require("luxon");
module.exports = function(eleventyConfig) {
eleventyConfig.addFilter("postDate", (dateObj) => {
return DateTime.fromJSDate(dateObj, { zone: 'utc' }).toFormat('yyyy-MM-dd');
});
eleventyConfig.addFilter("galleryDate", (dateObj) => {
return DateTime.fromISO(dateObj, { zone: 'utc' }).toLocaleString(DateTime.DATE_FULL);
});
eleventyConfig.addFilter("readableDate", (dateObj) => {
return DateTime.fromJSDate(dateObj, { zone: 'utc' }).toLocaleString(DateTime.DATE_FULL);
});
module.exports = function (eleventyConfig) {
eleventyConfig.addFilter("postDate", (dateObj) => {
return DateTime.fromJSDate(dateObj, { zone: "utc" }).toFormat("yyyy-MM-dd");
});
eleventyConfig.addFilter("galleryDate", (dateObj) => {
return DateTime.fromISO(dateObj, { zone: "utc" }).toLocaleString(
DateTime.DATE_FULL
);
});
eleventyConfig.addFilter("readableDate", (dateObj) => {
return DateTime.fromJSDate(dateObj, { zone: "utc" }).toLocaleString(
DateTime.DATE_FULL
);
});
};
```
@ -62,4 +72,4 @@ Before you ask: No, I couldn't condense it into two filters, I tried. I'm far to
Despite my struggles, I think Eleventy is a great piece of software, it's just that I'm not knowledgeable enough to leverage its strengths to the fullest.
The fault point here is not even Eleventy itself, but just a popular JavaScript library for dealing with time.
The fault point here is not even Eleventy itself, but just a popular JavaScript library for dealing with time.

View file

@ -6,13 +6,14 @@ blurb: <p><a href="https://blog.codinghorror.com/the-works-on-my-machine-certifi
avatar: /assets/img/art/sundae_glistening.png
---
## {{page.fileSlug}}
<time datetime="{{date|ISO}}">{{date|readable}}</time>
<section aria-label="Addendum">
With Microsoft announcing that ![](https://www.google.com/s2/favicons?domain=https://microsoft.com)[Windows 10 will stop being supported after October 14, 2025](https://support.microsoft.com/en-us/windows/windows-10-support-ends-on-october-14-2025-2ca8b313-1946-43d3-b55c-2b95b107f281"), I highly recommend looking into Linux if your device is on Windows 10 and you don't want to buy a whole new device that meets the system requirements of 11.
With Microsoft announcing that <span>![](https://www.google.com/s2/favicons?domain=https://microsoft.com)[Windows 10 will stop being supported after October 14, 2025](https://support.microsoft.com/en-us/windows/windows-10-support-ends-on-october-14-2025-2ca8b313-1946-43d3-b55c-2b95b107f281)</span>, I highly recommend looking into Linux if your device is on Windows 10 and you don't want to buy a whole new device that meets the system requirements of 11.
![](https://www.google.com/s2/favicons?domain=https://kde.org)[Here's a handy resource](https://kde.org/for/w10-exiles/) if you aren't sure how to proceed.
<span>![](https://www.google.com/s2/favicons?domain=https://kde.org)[Here's a handy resource](https://kde.org/for/w10-exiles/)</span> if you aren't sure how to proceed.
I'm not paid or anything to mention this, I just think **we shouldn't have to put up with capitalist bullshit to continue using a device.**
</section>
@ -21,10 +22,10 @@ I've been using Linux exclusively for the past 3 months and the switch to it has
My main "worries" and/or misconceptions before getting into it were:
* the supposed lack of programs and/or games
* learning the terminal
* learning the different directory structure
* issues with my Nvidia GPU
* the supposed lack of programs and/or games
* learning the terminal
* learning the different directory structure
* issues with my Nvidia GPU
<section style="overflow:hidden">
<p style="background-image: linear-gradient(to right, currentColor, transparent 40ch);background-clip: text;-webkit-background-clip: text;text-fill-color: transparent;-webkit-text-fill-color: transparent; width: max-content;">I had grown tired of Windows and Microsoft as a whole yada yada—</p>
@ -37,23 +38,22 @@ So... the hardest part about moving is, well, how would I move to Linux? There's
### Decisions
I went to set up a virtual machine to understand what I'd want out of a "new" operating system, so I tried out ![](https://www.google.com/s2/favicons?domain=https://fedoraproject.org)[Fedora Workstation](https://fedoraproject.org/#editions) at first and it felt pretty seamless, I didn't have to use the terminal for much of anything.
I went to set up a virtual machine to understand what I'd want out of a "new" operating system, so I tried out <span>![](https://www.google.com/s2/favicons?domain=https://fedoraproject.org)[Fedora Workstation](https://fedoraproject.org/#editions)</span> at first and it felt pretty seamless, I didn't have to use the terminal for much of anything.
I tinkered with it for a couple of days before deciding to look up system/media installers for Linux distributions (that are able to be run on Windows) and coming up empty-handed, cluelessly thinking that somehow only Windows manages to offer one.
...Until I found ![](https://www.google.com/s2/favicons?domain=https://debian.org)[Debian's System Installer for Windows (win32loader)](https://wiki.debian.org/DebianInstaller/Loader), which I tried running under a Windows 11 virtual machine to see if it would fail to install, and it didn't!
...Until I found <span>![](https://www.google.com/s2/favicons?domain=https://debian.org)[Debian's System Installer for Windows (win32loader)](https://wiki.debian.org/DebianInstaller/Loader)</span>, which I tried running under a Windows 11 virtual machine to see if it would fail to install, and it didn't!
So I just went ahead and installed it over my actual Windows partition (backing up my documents prior).
<aside><img src="https://www.google.com/s2/favicons?domain=https://ventoy.net" alt=""><a href="https://www.ventoy.net/en/faq.html">Ventoy is able to boot from a HDD/SSD</a> if you are willing to sacrifice one (temporarily) to install it on there.
<aside><span><img src="https://www.google.com/s2/favicons?domain=https://ventoy.net" alt=""><a href="https://www.ventoy.net/en/faq.html">Ventoy is able to boot from a HDD/SSD</a></span> if you are willing to sacrifice one (temporarily) to install it on there.
<b>I didn't know this</b>, and I've hardly seen anyone bring up solutions, besides off-handed suggestions about using a flash drive—and every guide basically centering around that notion, but a flash drive is <em>not necessary.</em></aside>
I would <u>not recommend</u> installing ![](https://www.google.com/s2/favicons?domain=https://debian.org)[Debian](https://www.debian.org) to anyone new to Linux whatsoever, or with the method I used.
I would <u>not recommend</u> installing <span>![](https://www.google.com/s2/favicons?domain=https://debian.org)[Debian](https://www.debian.org)</span> to anyone new to Linux whatsoever, or with the method I used.
Here's a little anecdote:
A number of things went wrong on my first install, like my network devices being wiped off, and as a result, being unable to update my system via apt (I thought that it was DNS causing issues or not having enough mirrors for packages), and then it was unable to boot into my desktop environment, but not before **almost deleting my entire system** because of apt deciding to delete a ton of system packages in the process of trying to get Nvidia drivers to work.
In retrospect, it's pretty fucking funny, but in the moment I was dreading the possibility of bricking my system.
...Debian! But also Nvidia's awful driver support for Linux.
@ -63,11 +63,11 @@ If anything, at least I got some experience with the terminal, which I thought i
Besides Debian, so far I've tried:
* ![](https://www.google.com/s2/favicons?domain=https://fedoraproject.org)[Fedora](https://fedoraproject.org)
* <span>![](https://www.google.com/s2/favicons?domain=https://fedoraproject.org)[Fedora](https://fedoraproject.org)</span>
_(Aforementioned in a virtual machine. Overall very solid, might come around to using it again)_
* ![](https://www.google.com/s2/favicons?domain=https://manjaro.org)[Manjaro](https://manjaro.org/)
* <span>![](https://www.google.com/s2/favicons?domain=https://manjaro.org)[Manjaro](https://manjaro.org/)</span>
_(Tries too hard being beginner-friendly, needed to tinker to get my Nvidia GPU to work) as of v24/Wynsdey_
* ![](https://www.google.com/s2/favicons?domain=https://endeavouros.com)[EndeavourOS](https://endeavouros.com/)
* <span>![](https://www.google.com/s2/favicons?domain=https://endeavouros.com)[EndeavourOS](https://endeavouros.com/)</span>
_(Works out of the box with my Nvidia GPU, minimal issues)_
And out of them, Endeavour has been the most comfortable experience for me, so far.
@ -81,20 +81,19 @@ It's personally been no cost to me with the hobbies I have, keyword: <u>personal
Here's a few programs I used before switching over, that didn't/won't have a Linux port:
* ![](https://www.google.com/s2/favicons?domain=https://notepad-plus-plus.org)[Notepad++](https://notepad-plus-plus.org), replaced by ![](https://www.google.com/s2/favicons?domain=https://vscodium.com)[VSCodium](https://vscodium.com/)
* ![](https://www.google.com/s2/favicons?domain=https://getpaint.net)[paint.net](https://getpaint.net/), replaced by ![](https://www.google.com/s2/favicons?domain=https://gimp.org)[GIMP](https://www.gimp.org)
* ![](https://www.google.com/s2/favicons?domain=https://foobar2000.org)[foobar2000](https://www.foobar2000.org), replaced by [DeaDBeeF](https://deadbeef.sourceforge.io/)
* ![](https://www.google.com/s2/favicons?domain=https://nvidia.com)[Nvidia ShadowPlay](https://www.nvidia.com/en-us/geforce/geforce-experience/shadowplay/), replaced by ![](https://www.google.com/s2/favicons?domain=https://obsproject.com)[OBS Studio](https://obsproject.com), which I achieved by toggling "Enable Replay Buffer" in the Output settings and setting up keybinds associated.
* <span>![](https://www.google.com/s2/favicons?domain=https://notepad-plus-plus.org)[Notepad++](https://notepad-plus-plus.org)</span>, replaced by <span>![](https://www.google.com/s2/favicons?domain=https://vscodium.com)[VSCodium](https://vscodium.com/)</span>
* <span>![](https://www.google.com/s2/favicons?domain=https://getpaint.net)[paint.net](https://getpaint.net/)</span>, replaced by <span>![](https://www.google.com/s2/favicons?domain=https://gimp.org)[GIMP](https://www.gimp.org)</span>
* <span>![](https://www.google.com/s2/favicons?domain=https://foobar2000.org)[foobar2000](https://www.foobar2000.org)</span>, replaced by [DeaDBeeF](https://deadbeef.sourceforge.io/)
* <span>![](https://www.google.com/s2/favicons?domain=https://nvidia.com)[Nvidia ShadowPlay](https://www.nvidia.com/en-us/geforce/geforce-experience/shadowplay/)</span>, replaced by <span>![](https://www.google.com/s2/favicons?domain=https://obsproject.com)[OBS Studio](https://obsproject.com)</span>, which I achieved by toggling "Enable Replay Buffer" in the Output settings and setting up keybinds associated.
... that being said, the programs that I do miss using from Windows are:
* ![](https://www.google.com/s2/favicons?domain=https://getsharex.com)[ShareX](https://getsharex.com/)
* <span>![](https://www.google.com/s2/favicons?domain=https://getsharex.com)[ShareX](https://getsharex.com/)</span>
_(screenshotting utility)_
* ![](https://www.google.com/s2/favicons?domain=https://voidtools.com)[Everything by voidtools](https://www.voidtools.com/)
* <span>![](https://www.google.com/s2/favicons?domain=https://voidtools.com)[Everything by voidtools](https://www.voidtools.com/)</span>
_(fast file search/indexer)_
<aside>If you are curious about what kind of programs Linux offers, take a look at <img src="https://www.google.com/s2/favicons?domain=https://kde.org" alt=""><a href="https://apps.kde.org">KDE apps</a>, <img src="https://www.google.com/s2/favicons?domain=https://gnome.org" alt=""><a href="https://apps.gnome.org">GNOME apps</a> and <img src="https://www.google.com/s2/favicons?domain=https://flathub.org" alt=""><a href="https://flathub.org">Flathub</a>.</aside>
<aside>If you are curious about what kind of programs Linux offers, take a look at <span><img src="https://www.google.com/s2/favicons?domain=https://kde.org" alt=""><a href="https://apps.kde.org">KDE apps</a></span>, <span><img src="https://www.google.com/s2/favicons?domain=https://gnome.org" alt=""><a href="https://apps.gnome.org">GNOME apps</a></span> and <span><img src="https://www.google.com/s2/favicons?domain=https://flathub.org" alt=""><a href="https://flathub.org">Flathub</a></span>.</aside>
ShareX is by and large the most useful tool for taking screenshots and packed with some miscellaneous multi-purpose tools inside, both [Spectacle](https://apps.kde.org/spectacle/) and [Flameshot](https://flathub.org/apps/org.flameshot.Flameshot) felt a bit lackluster in comparison.
Despite that, I've been using Spectacle and it's pretty good if I look past that.
@ -107,4 +106,4 @@ Everything by voidtools is just muscle memory as a result of Windows's slow sear
Linux can run a ton of games with [Proton](https://www.protondb.com)
I'm not super knowledgeable about its inner workings, so I'm not gonna try to sound like I do.
...yeah I don't have much to say about this at the time of writing, I've basically been shuffling 3 games whenever I do play something lately. It's not been bad so far!
...yeah I don't have much to say about this at the time of writing, I've basically been shuffling 3 games whenever I do play something lately. It's not been bad so far!