Whoops

So I'm apparently a big Liar with a capital L because there was not, in fact, anything more technical yesterday. That's because I spent 2 hours writing my thesis and then approximately 12 hours at locals. (I'm more than OK skipping a blog post for that tbh.)

Personal Rambling

I wasn't locked in whatsoever at locals. I genuinely actually kind of didn't want to play blazblue? Which is a new feeling when I'm not having my 17th ego death, but I think it's work + thesis catching up to me. I couldn't work for basically the entire past week so now I have many hours of work to make up for over the weekend, and it sucks because I didn't really get to rest the past week because I was too busy being in pain.

I played anyways of course, did awfully. Not much to say besides that. I really want to be on stream one day (and like, deserve it, not just happen to be placed there for first match) and it was a huge let-down that I didn't make it yesterday, since literally the winner of the set I played got to be on stream next. Is what it is, it was a close set. I had a lot of really cool discussions with people about the mechanics of T.O.'ing and stream directing, so that distracted me. Apparently I'll be T.O.'ing the next semi-monthly (in preparation to T.O. a regional????) so I hope nothing horrific health-wise happens so everything works out.

Played some +R at the end and had a good time not knowing a single thing I was doing. I'm sure I'll figure Axl out though, I just gotta slowly get used to what all of his moves do; otherwise I think I have a basic enough grasp of the core game mechanics.

Played some matches today, still didn't really want to play blazblue, but I pinged my usual sparring buddy and those matches reminded me that I do have fun with this game. I hit him with an astral for the first time ever, and he locked the fuck in after that, which was simultaneously hilarious and cool since I think he's been going easy on me recently (and that rubs me the wrong way sometimes). Still frustrated that I can put up a fight against him then when I'm against any other Terumi I just kind of keel over. I'm probably going to record some of the replays I saved just because holy shit I popped off with some of my blocks, I actually consistently blocked him doing 5c -> rc -> j.b, which is WILD.

Still a little annoyed at someone I played online who kept talking about how terrified he was when he proceeded to handily 5-0 me. Not sure why he got the impression he should be afraid and it kinda rubbed the salt in that I couldn't beat him. ...I also really need to still work on the fact that I get some kind of way about caring about what other people think.

Despite all that, I still plan to register for BBBO this week. IIRC, TRO isn't running and TMN is only every other week, so I guess it's only the one for me this week.

I really want to draw something, but we'll have to see if it happens...

Tech Stuff

GitHub Actions

As part of the work I was catching up on, I started updating my work code to actually use GitHub actions. Took way longer than it should have because I kept doing stupid mistakes like naming the directory .github/worfklows. Aside from that it was straightforward enough to set up, just a few small things:

When writing the workflow step, you have to set both context and file to point to the right subdirectory. For example, with the standard structure of the Dockerfile being in share/docker, the step looked like this:

      - name: Build and push Docker image
        id: build_core
        uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
        with:
          context: ./share/docker
          file: ./share/docker/Dockerfile
          push: false

I've currently set push to false because I'm still testing that everything works as intended. It's a little odd because I'm using one Dockerfile for two images, so I'm not sure if my target and tags options are working correctly with this Docker build-push-action.

In fact, I actually just checked and the docker build failed with a strange error:

10.18 /bin/bash: line 1: (file).sh: Permission denied

Which is... odd. I'll have to figure out why that is, since it works normally on my machine -- my guesstimate is it has something to do with the fact that this is running on some GitHub action worker, and permissions are whack on it when it's copying the files into the image. (Maybe I just need to run chmod +x when I clone the file in the workflow?)

Git

At this point I should be way better at Git than I am. I'm going to write down the massive mess that happened in hopes that maybe I can show it to someone else and have them tell me what I was supposed to do.

Essentially, I'm trying to implement the main and dev branch idea -- you branch off dev, merge changes into dev, then once enough changes collect and everything is tested, you merge into main and do a release.

I had 3 branches: - main - dev - dev_docker

Essentially, I made dev_docker to try and test GitHub actions without dumping a bunch of commits straight into main. I misunderstood the errors I was making (hello, worfklows) and thought I had to have my workflows on the main branch if I wanted them to run at all.

So, I made a new branch off of main named something like, main_add_workflow, I don't remember anymore. On that branch, I cherry-picked the commits from dev_docker that only pertained to the GitHub workflows, since it had some changes from being branched from dev that I didn't want merged in yet.

I went ahead and merged main_add_workflow into main without issues. Then I tried to go to dev and ran git rebase to have it pull those commits from main.

It didn't work.

By the end of it, with a bunch of merge conflict resolutions, I ended up with a dev branch that was like 10 commits ahead of main. At that point, I said fuck it and merged dev into main, then nuked both dev and dev_docker and created new dev and dev_docker branches off of the current state of main.

The whack thing is that this keeps happening. On my sprite manipulation github, I had an issue where I accidentally put an absolute path to a file in my Documents folder, which has a small bit of my irl identity. Not enough to identify me by, but I just straight up don't want anything tied to my legal identity on that repository since I don't know how kosher it is to be manipulating BBCF files. Furthermore, if this code actually ends up useful, a LOT of people who I have NO connection to will be using it and I don't want them to know personal information no matter how separated it is from me. I ended up having to rewrite history, and no matter how much I tried to tell git to stop fucking around it keeps marking the branch more and more desynchronized. At this rate, I'm going to just take the 2 files I made in that branch, obliterate the branch, and make a new branch.

My guess at this point is maybe I'm not using the right git command? It's just so weird that it never just applies the commits normally. It always ends up saying that the dev branch is further ahead of main the more I try to fix it.

Random Things of Interest

DGF had two recent sets that got uploaded that I need to study the shit out of. I already stole a new fatal combo that adds another hundred or so damage (and makes me feel cool -- I mean has better corner carry.)

I also still need to re-watch his Terumi guide now that I'm less new. I'm actually starting to incorporate frame kills and consider the differences between hard knockdowns and soft knockdowns! I remember him mentioning how you gotta prioritize between building meter and doing damage, and I think focusing a little on that will make a big difference for me.

I also was given this neat video about making overlays for tournament streams. I'm gonna try to learn some adobe aftereffects, since it's something I've always had my eye on.

links

social