forked from nat/webbed-site
fix thoughts displaying in wrong order under weird circumstances
This commit is contained in:
parent
1d091570c8
commit
54e0560d5e
@ -27,3 +27,4 @@
|
|||||||
2024-08-06: rewrote entire backend, website now supports <a href='/?uwu=true'>uwu mode</a>
|
2024-08-06: rewrote entire backend, website now supports <a href='/?uwu=true'>uwu mode</a>
|
||||||
2024-08-09: tidy server directory, fix back button
|
2024-08-09: tidy server directory, fix back button
|
||||||
2024-08-09: fix css issue on homepage
|
2024-08-09: fix css issue on homepage
|
||||||
|
2024-08-09: fix thoughts not displaying in correct order
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 6.3 MiB After Width: | Height: | Size: 5.3 MiB |
@ -13,7 +13,7 @@
|
|||||||
<h1>arbitrary thoughts generated by natalie</h1>
|
<h1>arbitrary thoughts generated by natalie</h1>
|
||||||
I am bad at thinking of things to make blog posts for. this webpage might contain things that I would put in a blog post if I was more proficient at writing filler. It might also contain other things.
|
I am bad at thinking of things to make blog posts for. this webpage might contain things that I would put in a blog post if I was more proficient at writing filler. It might also contain other things.
|
||||||
</section>
|
</section>
|
||||||
$[stat -c "%W %n" ./html/thoughts/* | sort -n --reverse | cut -d ' ' -f2- | while read -r file; do echo "<section><details><summary>$(stat -c'%w' $file | cut -d '.' -f1): $(grep '^<!-- TITLE:' $file | sed 's/^<!-- TITLE: //; s/-->$//')</summary><div>$(include $file)</details></section>"; done]
|
$[for file in ./html/thoughts/*; do echo $(grep DATE $file | awk '{print $3 $4}') $file; done | sort -k1,1 -r | cut -d' ' -f2 | while read -r file; do echo "<section><details id='$(basename $file)'><summary>$(grep '^<!-- DATE:' $file | sed 's/^<!-- DATE: //; s/-->$//'): $(grep '^<!-- TITLE:' $file | sed 's/^<!-- TITLE: //; s/-->$//')</summary><div>$(include $file)</details></section>"; done]
|
||||||
</main>
|
</main>
|
||||||
$[include html/footer.html]
|
$[include html/footer.html]
|
||||||
</body>
|
</body>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!-- TITLE: Audio is bad. So is my computer. -->
|
<!-- TITLE: Audio is bad. So is my computer. -->
|
||||||
<style>$[cat style.css]</style>
|
<!-- DATE: 2024-07-24 17:18:11 -->
|
||||||
While I was making $[make-link /stats/what-song-is-it-listening-to], specifically while I was writing the service that would send song updates to the server from my laptop, I decided to make mpd started by my init system (openrc).
|
While I was making $[make-link /stats/what-song-is-it-listening-to], specifically while I was writing the service that would send song updates to the server from my laptop, I decided to make mpd started by my init system (openrc).
|
||||||
This quickly devolved in to also making pipewire start from my init system. Prior to now, it was start by my compositor, which would run <code>unfuck audio</code>. For some reason, likely due to the fact that I use seatd instead of elogind for session management on this laptop, the default artix init scripts for all pipewire related services and mpd did not work.
|
This quickly devolved in to also making pipewire start from my init system. Prior to now, it was start by my compositor, which would run <code>unfuck audio</code>. For some reason, likely due to the fact that I use seatd instead of elogind for session management on this laptop, the default artix init scripts for all pipewire related services and mpd did not work.
|
||||||
I spent like two hours hacking on these, and now have arrived at a system which vaguely works. Both mpd and {pipewire,pipewire-pulse,wireplumber} are started by my init, however, for some reason which is entirely obscure to me, pipewire does not recognize anything other than my bluetooth headphones.
|
I spent like two hours hacking on these, and now have arrived at a system which vaguely works. Both mpd and {pipewire,pipewire-pulse,wireplumber} are started by my init, however, for some reason which is entirely obscure to me, pipewire does not recognize anything other than my bluetooth headphones.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!-- TITLE: dns -->
|
<!-- TITLE: dns -->
|
||||||
<style>$[cat style.css]</style>
|
<!-- DATE: 2024-07-26 07:18:22 -->
|
||||||
Odette, one of my meat friends (not computer friends) (though she is a computery friend) just <a href='https://puppygirl.systems'>bought a domain</a>. Apparently the registrar she bought it from didn't have an api, which was problematic because she doesn't have a static ip.
|
Odette, one of my meat friends (not computer friends) (though she is a computery friend) just <a href='https://puppygirl.systems'>bought a domain</a>. Apparently the registrar she bought it from didn't have an api, which was problematic because she doesn't have a static ip.
|
||||||
Because I am a reasonable person, I decided to start hosting dns for her. Now I know (some) things about dns!
|
Because I am a reasonable person, I decided to start hosting dns for her. Now I know (some) things about dns!
|
||||||
I like learning things.
|
I like learning things.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!-- TITLE: this website is bad and fonts are worse -->
|
<!-- TITLE: this website is bad and fonts are worse -->
|
||||||
<style>$[cat style.css]</style>
|
<!-- DATE: 2024-07-24 03:12:19 -->
|
||||||
I am unsure as to what is going on?<br>
|
I am unsure as to what is going on?<br>
|
||||||
on $[make-link /html/natalie-sightings.html], the font never loads. I have failed to ascertain why it is that this occurs, as this has only become an issue today and no edits have been made to that page remotely recently. What on earth.<br><br>
|
on $[make-link /html/natalie-sightings.html], the font never loads. I have failed to ascertain why it is that this occurs, as this has only become an issue today and no edits have been made to that page remotely recently. What on earth.<br><br>
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<!-- TITLE: there is less technical debt now. -->
|
<!-- TITLE: there is less technical debt now. -->
|
||||||
|
<!-- DATE: 2024-07-27 17:24:16 -->
|
||||||
<p>I modified almost every html file in the site. there are less problems now. </p>
|
<p>I modified almost every html file in the site. there are less problems now. </p>
|
||||||
|
|
||||||
<p>thoughts like these are no longer viewed as iframes, images are now handled by my img-caption script:
|
<p>thoughts like these are no longer viewed as iframes, images are now handled by my img-caption script:
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
<!-- TITLE: re: post from 2024-07-24 10:12:19 -->
|
<!-- TITLE: re: post from 2024-07-24 10:12:19 -->
|
||||||
|
<!-- DATE: 2024-07-28 11:25:45 -->
|
||||||
This issue has fixed itself. I do not know why. I did not do anything that would have fixed this. I am mildly perturbed.
|
This issue has fixed itself. I do not know why. I did not do anything that would have fixed this. I am mildly perturbed.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<!-- TITLE: my friend made me a shirt! -->
|
<!-- TITLE: my friend made me a shirt! -->
|
||||||
|
<!-- DATE: 2024-08-09 20:22:38 -->
|
||||||
<image-column-container>
|
<image-column-container>
|
||||||
<image-container>
|
<image-container>
|
||||||
<flex-column>
|
<flex-column>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!-- TITLE: This website has a lot of technical debt and I should rewrite it -->
|
<!-- TITLE: This website has a lot of technical debt and I should rewrite it -->
|
||||||
<style>$[cat style.css]</style>
|
<!-- DATE: 2024-07-26 01:41:42 -->
|
||||||
This is horrible and bad. The html of just about every webpage is utter garbage because I am me.
|
This is horrible and bad. The html of just about every webpage is utter garbage because I am me.
|
||||||
Rewriting everything is going to be such a task, a task that I really should do.
|
Rewriting everything is going to be such a task, a task that I really should do.
|
||||||
<br><br>
|
<br><br>
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
<!-- TITLE: things I should do -->
|
<!-- TITLE: things I should do -->
|
||||||
|
<!-- DATE: 2024-08-09 17:22:38 -->
|
||||||
<h2>things to do:</h2>
|
<h2>things to do:</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>make thoughts render in chronological order of creation date, which I am not convinced they do.</li>
|
|
||||||
<li>send email</li>
|
<li>send email</li>
|
||||||
<li>rewrite server source code to be less bad</li>
|
<li>rewrite server source code to be less bad</li>
|
||||||
<li>rewrite server source code to be more esoteric</li>
|
<li>rewrite server source code to be more esoteric</li>
|
||||||
<li>add more support metadata tags to thought posts</li>
|
|
||||||
<li>python xml (pyx?)</li>
|
<li>python xml (pyx?)</li>
|
||||||
<li>send email within the next $[echo $(($(date -d "2024-09-28 00:00:00" +%s) - $(date +%s)))] seconds</li>
|
<li>send email within the next $[echo $(($(date -d "2024-09-28 00:00:00" +%s) - $(date +%s)))] seconds</li>
|
||||||
<li>relocate moth</li>
|
<li>relocate moth</li>
|
||||||
@ -16,4 +15,6 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>tidy</li>
|
<li>tidy</li>
|
||||||
<li>move server source code to its own git repository seperate from this website, and bestow upon it a reasonable name.</li>
|
<li>move server source code to its own git repository seperate from this website, and bestow upon it a reasonable name.</li>
|
||||||
|
<li>add more support metadata tags to thought posts</li>
|
||||||
|
<li>make thoughts render in chronological order of creation date, which I am not convinced they do.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!-- TITLE: wow! -->
|
<!-- TITLE: wow! -->
|
||||||
<style>$[cat style.css]</style>
|
<!-- DATE: 2024-07-23 20:26:07 -->
|
||||||
This post is confusing and might be a marginally abnormal quine. in html*. Have fun.<br>
|
This post is confusing and might be a marginally abnormal quine. in html*. Have fun.<br>
|
||||||
This is a thing that works now.
|
This is a thing that works now.
|
||||||
The format in which I can write these posts as well as how they work is reasonably interesting.
|
The format in which I can write these posts as well as how they work is reasonably interesting.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<!-- TITLE: why is wireless headphone firmware so bad? -->
|
<!-- TITLE: why is wireless headphone firmware so bad? -->
|
||||||
|
<!-- DATE: 2024-07-29 00:26:54 -->
|
||||||
I am writing this at 12am on a termux session on my phone, on a bus home from my friend's house. that is neat.
|
I am writing this at 12am on a termux session on my phone, on a bus home from my friend's house. that is neat.
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
Loading…
Reference in New Issue
Block a user