From a9d0d38bf7540075501e6b4b4bf4bf157fa7c4f0 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Mon, 10 Mar 2025 17:39:23 +0100 Subject: [PATCH] wip: 2025-03-10T16:26:06+0100 (1741620366) --- public/about.php | 9 +++------ src/Database/Models/Coffee/Stats.php | 4 ++-- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/public/about.php b/public/about.php index be1fa43..5fe4c59 100644 --- a/public/about.php +++ b/public/about.php @@ -104,22 +104,19 @@

One thing is true.. Coffee, lots of coffee. In fact, I've had week() ?> cupweek() === 1 ? "" : "s" ?> of coffee in the last 7 days! That's week_average_string() ?> my average of week_average() ?> per week, impressive! Even though you just read that.. I don't consider myself too much of a coffee snob! As long as it's dark roast and warm, I'm probably happy to have it.

At times, I become a true, amateur, armchair detective for a variety of your typical-nerdy topics that I find interesting and you can bet I spend way more time reading about those things than I will ever have use for in life.

My coding happens almost exclusivly in code-server, which is a fork of VSCode that runs entirely in the browser. I keep my development environment tucked away in a lightweight Debian VA that I can tote around to whatever host machine I happen to work on. If I can't do that for whatever reason, I have my dotfiles ready to get things set up the way I like it.

-

Another silent passion of mine that comes out every few years is building computers and fiddling with weird networking stuff.

+

Another silent passion of mine that comes out every few years is building computers and fiddling with networking stuff.

Projects

Here are some projects I'm working on right now:

* Vegvisir: A web navigation framework for PHP.

* Reflect: A REST API framework for PHP developers.

-

There is more stuff on my works page and even more stuff on my Codeberg profile.

-

and even EVEN more stuff on my Forgejo

+

Check out this timeline for a somewhat complete list of everything I have done.


GitHub

-

I have given up GitHub for their increasing number of injustices againts its users, last betrayal being GitHub's for-profit "Copilot" product which was illegaly trained on copylefted software on its platform.

-

I signed up and started using GitHub before I became aware of how opressive to to its users and deceptive their business model is. I wasn't aware of the situation.

-

While I am a bit skeptical to do this in case history repeats itself; [most of] my work is now on Codeberg instead. Unfortunately some things like old pull-requests, issues, and branch archives can not be migrated completely.

+

I have given up GitHub and moved most of my free software to Codeberg. You can still find my GitHub profile here but I don't use it for source control anymore.


diff --git a/src/Database/Models/Coffee/Stats.php b/src/Database/Models/Coffee/Stats.php index 7756eb3..8e777a7 100644 --- a/src/Database/Models/Coffee/Stats.php +++ b/src/Database/Models/Coffee/Stats.php @@ -23,10 +23,10 @@ } public function week(): int { - return $this->get(StatsTable::COUNT_WEEK->value); + return $this->get(StatsTable::COUNT_WEEK->value) ?? 0; } public function week_average(): int { - return $this->get(StatsTable::COUNT_WEEK_AVERAGE->value); + return $this->get(StatsTable::COUNT_WEEK_AVERAGE->value) ?? 0; } } \ No newline at end of file