Skip to content

Blog

Organizing different repositories and environmental variables

Organizing different publishing libraries should be straightforward in the build.gradle in situations where you might pubish to a snapshot repository vs a release repository.

In the following build.gradle, note that I can simply change the publishRepository to releasesRepository and the artifact will be published accordingly. I don't yet have a sexy solution for having the "SNAPSHOT" at the end of the version, but I will report back if I streamline that further.

Setting up a Free, Self Hosted, Photo Storage Alternative

I am amazed at how good this free and open-source photo solution is. A software called Immich, developed by an electrical/software engineer, who wanted no-limits, private, free alternative to storing photos after starting a family.

Hey, I also started a family not that long ago and all of the sudden, I started taking TONS of photos. Fortunately for me, Alex has already created this amazing solution and open-sourced it, so that the whole community gets to use this!

Building a Home Server with an old PC

So I had an old PC laying in the closet that I haven't touched in probably 2 to 3 years and decided to turn it into a new toy for the house. In today's post, I will go over installing Ubuntu on our old desktop, configuring it as a network drive, configuring Remote Desktop, and talk about the things I want to do with this.

2023 10 07 ESPN Fantasy Football SpringBoot

I've written a lot of the SpringBoot project so far, but I wanted to start taking a few notes as a go.

Roster IDs

Many of the entities that I have created by nature have composite IDs. The composite primary key design of RosterEntry could be a little tricky because you need to decide which field provides uniquenes to the instance, i.e. is it lineupSlotId (and Team) or is it playerId (and Team). If it's the former, than really your primary key could be the playerPoolEntry field, as this is already unique to the Team and league. To determine this, we need to determine if the RosterEntry is predicated on the slot itself, or the players within the Roster. If I move some players out of their starting positions, this will create additional slots. However, the roster entry array size does not change when queried from

Game Cast API

Today I finished up the basic game cast api that is used when you click on the game cast for a matchup. The thing I care most about here is the percentComplete field for each event because I think taht will definitely help with the matchup win probability field. I can query that for each player my using the players team id and cross referencing which event that competetitor is in and see the percent complete.