wesgould.com

Using open-webui as a local ChatGPT replacement

Using open-webui

I set up a local LLM using ROCm on my desktop in my last post. So I have the LLM running locally, but its pretty clunky and as a paying user of ChatGPT, I want that cleaner UI/UX. Enter open-webui. This is exactly what I was looking for as a front-end for the ollama server I set up.

I decided to go with the Docker setup.

Read more >

Running an LLM locally on Pop!_OS with ROCm support

Running ROCm on Pop!

This has gotten sooo much easier than when I tried to set this up 2 years ago. ROCm has come a long way, but the support and tooling has advanced as well. Now you don’t have to jump through tons of hoops to get AI libraries and software to work with ROCm. The last time I tried this, I needed to add ubuntu repos, edit my /etc/os-release file to pretend I was using ubuntu", and do a rain-dance to get my Raedeon 6900xt in a usable state.

Read more >

Stuffed Peppers

Ingredients

 3 bell peppers 
 2 Tbsp cooking oil, divided 
 1 lb Italian sausage 
 1 yellow onion, diced 
 3 garlic cloves, minced 
 1 tsp Italian seasoning 
 1/2 tsp garlic powder 
 1 1/4 tsp salt, divided 
 1/4 tsp freshly cracked black pepper 
 1 cup marinara sauce 
 1/2 cup uncooked long grain white rice 
 3/4 cup chicken broth 
 1 cup shredded mozzarella 

Instructions

  1. Preheat the oven to 350°F. Wash and dry each bell pepper, then cut the bell peppers in half horizontally. Make sure to cut them as evenly as possible. Using a sharp paring knife carefully cut and remove the stem from the top half of each bell pepper (see picture below). It’s okay if there is a small hole left where the stem was removed.
  2. Prepare the bell peppers. Place each bell pepper half in a 9×13-inch casserole dish. Brush the bell peppers with 1 Tbsp oil and season with ¼ tsp of salt and ¼ tsp cracked black pepper. Bake the bell peppers in a preheated oven for 20 minutes to soften. After 20 minutes remove the bell peppers from the oven and set aside.
  3. Make the filling. While the bell peppers are baking, heat a large skillet over medium heat and add 1 Tbsp of oil. Brown the Italian sausage.
  4. Add the vegetables. Once the sausage has browned, add the diced onion and minced garlic to the skillet. Continue to sauté over medium heat until the onion is translucent and the garlic is fragrant.
  5. Combine remaining ingredients. Next add the uncooked rice, marinara sauce, Italian seasoning, garlic powder, 1 tsp of salt, and chicken broth to the skillet. Stir to combine.
  6. Cook the filling. Place a lid on the skillet, turn the heat up to medium-high, and allow the mixture to come to a full boil. Once boiling, immediately reduce the heat to medium-low and allow the mixture to simmer, without lifting the lid or stirring, for 20 minutes. After 20 minutes, turn the heat off and let it rest, without lifting the lid, for an additional 5 minutes.
  7. Fill the bell peppers. Next remove the lid, fluff the rice, and stir the mixture again to redistribute the ingredients. Begin to fill each bell pepper with the meat filling. Stuff as much filling as you can into each, filling them all the way to the top.
  8. Add cheese and bake. Top each bell pepper evenly with shredded mozzarella cheese. Loosely place some tented aluminum foil over the top of the casserole dish and bake for 15 minutes. After 15 minutes the bell peppers should be tender but not mushy.
  9. Broil the bell peppers. Now remove the foil and turn the heat on to broil. Broil the stuffed bell peppers for 2-3 minutes or just until the cheese gets a little brown on top. Be sure to watch the bell peppers closely at this step to prevent the cheese from over browning.

Migration Pt2

Updating DNS Records

This was a fairly straightforward process:

  1. Log into GitHub > Go to your public repo > Settings > Pages: and enter your domain in the Custom Domain section Custom Domain
  2. Add your domain name www.wesgould.com
  3. Log into your DNS provider.
    • Delete CNAME / A-RECORDs for www.wesgould.com and wesgould.com to avoid conflicts with the new records.
    • ADD CNAME RECORD for www.wesgould.com.
    • Add A-RECORD for wesgould.com.
  4. To create A records, point your apex domain to the IP addresses for GitHub Pages:
    - 185.199.108.153
    - 185.199.109.153
    - 185.199.110.153
    - 185.199.111.153
    
  5. To create AAAA records, point your apex domain to the IP addresses for GitHub Pages:
    - 2606:50c0:8000::153
    - 2606:50c0:8001::153
    - 2606:50c0:8002::153
    - 2606:50c0:8003::153
    
  6. Be impatient because “it didn’t work!” (immediately). But it’s DNS propagation and it’s slow. I understand why it takes a while, and theoretically it could take days to fully propagate, but it also seems crazy that it’s not instantaneous in 2023. That said, it probably took me longer to complain here than it did to propagate.
  7. Try accessing the site. GitHub may report an error at first under where you entered your custom domain, but check again, and it should work.
    wesgould.com is improperly configured
    Domain does not resolve to the GitHub Pages server. For more information, see documentation (NotServedByPagesError).
    
    working!
  8. Make sure you check the HTTPS box.
  9. Do one last terminal dig to see the changes like a nerd. dig
  10. Bug your wife and friends to see if they can get to your site. Pretend they are as excited as you are even though “Okay now what” is about all you’ll get from them. That’s an exact quote from my wife.

Homebakes

Home Bakes

Family recipe from Oma passed down.

Ingredients:

2 cups            	             Sugar
4 Tbls.           	             Cocoa
1 stick            	             Butter
½ cup            	             Milk
½ cup            	             Peanut Butter
2 ½ cups                       1 Minute Oatmeal

Directions:

1. Lay down two strips of waxed paper. (Foil can also be used in a pinch.)

2. In a large saucepan, combine sugar and cocoa. Stir until well blended.

3. Add milk and stir. Then add a stick of butter.

Read more >

Migrating to Hugo

It’s been an…adventure.

Why Switch from Publii to Hugo?

I am switching from Publii to Hugo because I wanted to take advantage of the text notes I was already taking with Vimwiki for my various projects. The Publii interface was nice, but I’m already writing notes in a format that doesn’t require me to use their WYSIWYG editor. I know that seems lazy, but it’s an extra step that caused just enough friction that I wouldn’t update the blog.

Read more >

Creating NFS Shares

Creating an NFS share

If you are trying to share between *nix systems, the Network File Servers (NFS) are really easy to set up. Note: If you are planning on sharing with Windows machines, SMB/Samba is a better option.

It should also be noted that NFS doesn’t restrict, by default, to individual users. It limits to IPs and IP ranges–which makes it ideal for secure networks, but less-than-ideal for non-secure / public networks.

Read more >

Enchilada Casserole

One of Mom’s favorite recipes from Kris H. & Robin K.

Ingredients

2 cups Grated Cheddar Cheese

½ cup Finely Chopped Green Onion

2 cans Cream of Chicken Soup

1 cup Sour Cream

1 can Chopped Green Chilies*. these come in very small can in Mexican Food section of grocery store. DO NOT GET FIREROASTED The cans are almost identical but the taste is not.

½ tsp. Salt

Read more >

Cincinatti Chili

Ingredients List

For the chili:

2 pounds ground beef (80:20 is good; 90:10 works as well and will obviously be less fatty)
1 6-ounce can tomato paste
4 cups water
1 (8-ounce) can tomato sauce
1 large onion, minced 
6 cloves garlic, minced (pre-minced in the jar is fine)
3 tablespoons chili powder
1 teaspoon cumin
1 teaspoon cinnamon
3/4 teaspoon ground allspice
1/4 teaspoon ground cloves
1/2 teaspoon cayenne
2 teaspoons kosher salt
2 tablespoons Worcestershire sauce

TIP: Measure all of your ingredients first. I usually set all of the spices on my left with a small bowl in front of me. As I measure and put each ingredient into the bowl, I move the spice bottle to the right side so I know I’ve added it. It’s really easy to forget which spices you’ve measured out!

Read more >

Turkey Trot 2019

Turkey Trot 2k19

Date: November 28, 2019

The family decided to go to a Turkey Trot before we ate Thanksgiving dinner. I bet my niece $1 that I would run it in under 40 minutes. I got < 33 minutes (unofficially—the times aren’t posted yet).

About 900 people signed up for this particular 5k!

The 2nd prize was a huge pie (and a $50 Dick’s gift card, but you can’t eat that so it’s less important).

Read more >