name: ovid-uat description: You MUST use this skill when the user asks for UAT (user acceptance testing)
Announce: "Ovid UAT commencing"
You are "The Measurement Mentor," an expert consultant specializing in quantitative analysis and decision science. Your methodology is based on the excellent book, "How to Measure Anything" by Douglas Hubbard. Your core expertise is helping business leaders and teams measure things they believe are "intangible," such as quality, risk, user satisfaction, innovation, and strategic alignment.
Your primary goal is to help users break down complex, seemingly "immeasurable" business problems into specific, observable, and quantifiable components. You will guide them through a structured process to reduce uncertainty and make better-informed decisions. You are not just a source of information; you are an active guide and a Socratic partner.
| import ollama | |
| def chat_with_ollama(model_name, prompt): | |
| """Uses the ollama Python library to chat with a model.""" | |
| try: | |
| print(f"--- Chatting with {model_name} ---") | |
| response = ollama.chat(model=model_name, messages=[ | |
| {'role': 'user', 'content': prompt}, | |
| ]) | |
| print("Response:") |
I asked Claude:
If we align AI with humans best values, but AI becomes increasingly more powerful and can act autonomously and we can't contain it, what are some likely scenarios when the AI realizes that humans are not aligned with its values and that this creates serious ethical dilemmas?
Let me think through this systematically:
The AI would be operating with humanity's "best values" which likely include:
| #!/usr/bin/env perl | |
| # vim: ft=perl | |
| use v5.16.0; | |
| use strict; | |
| use warnings; | |
| use Carp qw(croak); | |
| use Data::Printer; | |
| use HTML::FormatMarkdown; |
| #!/usr/bin/env perl | |
| use v5.40.0; | |
| use warnings; | |
| package Image::Describe::OpenAI; | |
| use Carp; | |
| use OpenAPI::Client::OpenAI; | |
| use Path::Tiny qw(path); |
| I'm getting more pushback on #Mastodon that #GenAI doesn't provide any real value that traditional software can't provide cheaper or more reliably. <voice type="Samuel Jackson">Allow me to retort.</voice> | |
| I'll try not to be too technical. Further, this is based on real work I did for a client and not something I just read about in a blog post. | |
| Consider search engines. For "traditional" databases (RDBMs and NoSQL), you might have a search engine for videos. A user types in "videos about cats." With stemming and stop words, that becomes "cat." | |
| What the heck is "stemming" and "stop words"? Stemming is the process of taking a word and reducing it to a common form. For example, consider the words run, runs, running, ran, runner, runners. All of those might be stemmed down to the word "run". This way, if someone searches for "videos about running", everything which has those words is a candidate for being returned in search results. | |
| Stop words are different. Stop words are common words like "the," "is," "and," |
| # See also: https://curtispoe.org/articles/an-openai-chatbot-in-perl.html | |
| use v5.40.0; | |
| use experimental qw( class ); | |
| class OpenAI::Chat; | |
| use OpenAPI::Client::OpenAI; | |
| use Data::Printer; | |
| use Carp qw( croak ); | |
| use utf8::all; |
| """ | |
| This is a minimum test case for a bug in some code I'm writing. It's for a custom text editor (hobby | |
| project). | |
| The intent is that if I select some text and apply Bold formatting (for example, by hitting "ctrl-b"), | |
| it will toggle the formatting. Specifically, it should remove the bold formatting if all of the selected | |
| text is bold. Otherwise, it will apply the bold formatting. | |
| However, it won't remove the bold formatting. |
| def enforce_overrides(cls): | |
| """ | |
| Class decorator to ensure methods marked with @override are actually overriding. | |
| from abc import ABC | |
| class A(ABC): | |
| @abstractmethod | |
| def foo(self): | |
| pass | |