June: 15
Worker Vite Issue
Section titled “Worker Vite Issue”-
01:15PM
After a late night of beer infused thinking, I was able to resolve the web workers. Had to use a vite configuration from the astro side to build the three worker files, which were then built and passed through as a workerRef. Now the supabase sdk will run on the
window.supabase
for now, before we setup a worker instance, which will be underwindow.kbve.supabase
. Having both the main thread instance and the web worker instance will be an interesting test case because we would have two active connections per user? That might have some performance issues, so I will have to think through exactly how I want to go about handling that. Next, we need to restructure the user profile and the ability for users to create profiles and balances for their credits / khash. I am a bit afraid to use supabase edge functions to handle this, I would rather have a better solution for it, so I am going to think about it over some time.
Not A Fathers Day
Section titled “Not A Fathers Day”-
05:30PM
Quick shoutout to an old beer brand that just died off, not your fathers root beer and ginger ale was actually a great product. Back in the day, the way to keep soda safe was to include a bit of alcohol.
Unity Session
Section titled “Unity Session”-
05:53PM
Preparing for the unity session, just looking over the note sand making sure that I am ready for the next part of the session. There are a couple of things that we need to resolve within the gameplay loop but I think that it should be easy.
NPM
The joys of NPM!
We want to publish two packages by the end of this month, one being the khashvault
and the other is gha
.
Both of these are important in their own eco-system, just the small little errors here and there are taking a bit to process.
Chess
While we were talking on the Discord, a custom chess style game, where we can do 1v1 or 2v2 would be really fun to make! A similar concept of autochess or autocombat blended into it the gameplay, taking a bit of that advance wars style gameplay too. I can not wait to get back into game development, that itch needs to be scratched.
KhashVault
Yay! We were able to get the main khashvault released as a NPM package.
Yet there are still some errors that we need to fix, including the peer dependency.
Now the question is how would we go about doing it within Nx development cycle, and then we also need to get the gha
library out there.
GHA
Okay! It seems we will have to go back around and update our external libraries, so that will be easier to build and deploy them.
In our case, we want to add the gha
aka github actions
library, so let us build out the basics of this lib.
pnpm nx g @nx/js:lib gha --bundler=vite --importPath="@kbve/gha" --publishable=true
This is the package json that we created for this library.
{ "name": "@kbve/gha", "version": "0.0.1", "description": "A GHA helper library, providing better functions.", "keywords": ["github", "actions", "helper"], "homepage": "https://kbve.com/application/javascript#gha", "bugs": { "url": "https://github.com/KBVE/kbve/issues" }, "repository": { "type": "git", "url": "git+https://github.com/KBVE/kbve.git" }, "license": "MIT", "dependencies": {}, "peerDependencies": { }, "main": "./index.js", "module": "./index.mjs", "typings": "./index.d.ts", "publishConfig": { "access": "public" }}
It seems that the bundler being vite
is throwing some errors that I do not think we need to debug.
Since this is the case, we could setup back and remove this library.
- 9:00am - Will SPY keep going up? Damn I am printing money from these covered cash puts. I was hoping to grab an assignment yesterday when I was selling the $434/435 but it closed at $437.
- 10:0am - Going to take a quick break from the Internet and spend some time in the real world.
- 7:25pm - Stream Darts , the Always Sunny in Discord Edition. The concept is a high thought that we are test casing right now. The first duelist were @ziggy and @mrock, they did a rock paper scissors to determine who would go first.
- 7:57pm - The match is getting hot and heavy! As we cross intermission, @Ziggy is at 318 and @Mrock is at 225. Its been a close match but @Ziggy has been slowly gaining a massive lead over @Mrock. The crowd has been going
wild!
, almost as if they were infused with Alex Jones’ special water. - 7:58pm - Going to start the Webmaster react form from scratch again, hopefully I can get it out and ready by tonight. @Ziggy is now at 415 and @Mrock is 303! So close, and damn @Ziggy hits a 2, now at 417! @Mrock is closing in at 345!. OH NO! @Ziggy scores a double one, sitting at 419! @Ziggy wins with a 424! @mrock finishes with a 348! Great game boys!
A man cannot be said to succeed in this life who does not satisfy one friend. — Henry David Thoreau