Skip to main content
Home
  • Home
  • About

Python

  1. Home ยป
  2. Python

Exporting Slack Channel History

Mon, 05/12/2025 - 19:06 by bnemec

I'm doing an experiment with training a chat bot on the history of our team Slack channel to see if it could be used to answer frequently asked questions. The first step is getting the channel history into a format I can feed into a model, and because I'm not an admin on the server I can't use the built-in tools to do it. Fortunately there are other ways, and in this post I'm going to go over the process I used.

Tags:

  • Slack
  • Python
  • Read more about Exporting Slack Channel History
  • Log in to post comments

My First Foray Into Machine Learning

Fri, 03/22/2024 - 21:24 by bnemec

Like most tech companies these days, Red Hat is encouraging everyone to brush up on their AI knowledge. For my part I have been doing a number of online training courses lately and thought I would write up my experience for posterity.

Tags:

  • AI
  • ML
  • Machine Learning
  • Python
  • Fast.ai
  • Read more about My First Foray Into Machine Learning
  • Log in to post comments

Keepalived Log Parser for OpenShift On-Prem

Fri, 01/05/2024 - 22:31 by bnemec

Just a quick announcement of a tool I wrote recently to help with debugging of Keepalived behavior in an OpenShift On-Prem IPI cluster. This is specifically intended to handle the logs from the keepalived pods running in the openshift-[platform]-infra namespace, although with a little work it could probably be generalized to work with most any Keepalived configuration.

Tags:

  • OpenShift
  • Keepalived
  • Qt
  • Python
  • Networking
  • Read more about Keepalived Log Parser for OpenShift On-Prem
  • Log in to post comments

Debugging a Segfault in oslo.privsep

Fri, 01/11/2019 - 21:24 by bnemec

I recently helped track down a bug exposed by a recent oslo.privsep release that added threading to allow parallel privileged calls. It was a segfault happening in the privsep daemon that was caused by a C call in a privileged Neutron module. This, as you might expect, was a little tricky to debug so I thought I'd document the process for posterity.

Tags:

  • OpenStack
  • Oslo
  • Python
  • GDB
  • Neutron
  • Read more about Debugging a Segfault in oslo.privsep
  • Log in to post comments

Creating OpenStack Client Instances in Python

Wed, 08/02/2017 - 22:31 by bnemec

So you're writing a Python application and you want to talk to an OpenStack service. Or maybe even multiple services. A quick Google turns up something like python-novaclient, which provides a way to create an instance of a Nova client in Python. Great! We're done here, right? Not so fast, my friend.

Tags:

  • OpenStack
  • Python
  • os-client-config
  • Read more about Creating OpenStack Client Instances in Python
  • Log in to post comments

User login

  • Reset password
/dev/random DevelopmentEnvironment Networking OpenShift OpenStack Oslo OVB QuintupleO Servers Summit Testing TripleO

Syndicate

Subscribe to Subscribe to promoted content

Disclaimer

This site is not endorsed by Red Hat or anyone else. Egregious errors are all mine.

Powered by Backdrop CMS