Chatting with LLMs: Exploring Local AI with Ollama

AI-powered large language models (LLMs) have become a big deal. They can generate text, assist with coding, and handle all sorts of conversational tasks. With local AI models becoming more accessible, developers no longer have to rely on cloud-based services to experiment with LLMs. One of the preferred ways to run these models locally is with Ollama, a tool designed to simplify working with AI on your own machine.

Running LLMs Locally with Ollama

Ollama makes it easy to download and run different LLMs without needing cloud access. This is great for privacy, performance, and flexibility. With a capable machine, you can run AI models just as easily as you would any local application.

Hello Again, Hugo

During the Covid years, I let my blog lapse and eventually deactivated the site. At the time, I wasn’t sure whether I would bring it back, but I kept a backup of the WordPress SQL database just in case. That decision proved useful when I recently decided to restore the blog.

Restoring the Old Content

With the original WordPress database backup in hand, the next step was getting access to the posts. Rather than setting up a full WordPress environment, I used a Docker-hosted MySQL database to load the backup. Once restored, I extracted the pages and posts and converted them into Markdown files for use with Hugo. I had played with Hugo long ago, but had not used it for my blog until now.

Python/Selenium: Waiting for combinations

Selenium has a feature where you can wait for a condition. Documentation for that is here. The expected conditions of an explicit wait offer a limited set to check. In some cases, it is beneficial to wait for a combination of conditions. For example, after submitting a form, you might get an error or you might get a success message. It is better to not have to wait for a timeout for one element if you instead receive the other. Here are a couple of expected condition classes that allow this.

Vivobarefoot Evo II review

I won a pair of Terra Plana’s Vivobarefoot Evo II in Running & Rambling’s EVO II review and giveaway.  After coordinating my name and address with the Terra Plana representative, my Evo II were shipped.  I received them some weeks ago but, as I had stopped running due to an upper respiratory infection, was not able to test them right away.  I recently started my workouts again and, after a mix of those on an indoor track and on sidewalks, I have now formed an opinion of the Evo II I will endeavor to impart.

R&R Reviews the Neo

Donald at Running and Rambling has reviewed the Terra Plana/VivoBarefoot Neo.  While similar to the EVO, it has a more traditional mesh fabric upper, though with the tradeoffs of slightly greater weight and a lower price. I like that last part. It does make them a more attractive buy than the EVO and EVO II, especially if the BARE30 (30%) or BARERUNUNI (25%) coupon codes work with them.  (I haven’t tried.)  Of the four colors available, though, only the green and white is in my size. Hmmm.