3f
hermeneutics
3fc5b96baa5dbb225b0b7df1c37171baa9295e3b94f416cdadfdd68d3fc43a97

In November 2023, the code required to get this to compile and run was:

use std::{str::FromStr, time::Duration, collections::{HashSet, HashMap}};

use nostr_sdk::prelude::*;

use tokio::time;

const PRIVATE_KEY: &str = "PRIVATE KEY";

#[tokio::main]

async fn main() -> Result<()> {

let secret_key = SecretKey::from_str(PRIVATE_KEY).unwrap();

let my_keys = Keys::new(secret_key);

let client = Client::new(&my_keys);

client.add_relay("wss://relay.house", None).await?;

client.add_relay("wss://relay.damus.io", None).await?;

client.connect().await;

let message = format!("Hello, nostr! My public key is: {}", my_keys.public_key().to_string());

println!("{}", message);

let event = client.publish_text_note(message, &[]).await?;

println!("{:#?}", event);

// Retrieve only our last event (from both relays)

// let filter = Filter::new().id(event);

// Retrieve all the events that we have posted

let ids = HashSet::from([event]);

let authors = HashSet::from([my_keys.public_key()]);

let kinds = HashSet::new();

let generic_tags: HashMap> = HashMap::new();

let filter = Filter {

ids,

authors,

kinds,

generic_tags,

search: None,

since: None,

until: None,

limit: None,

};

time::sleep(Duration::from_secs(1)).await;

let events = client.get_events_of(vec![filter], None).await?;

println!("{:#?}", events);

Ok(())

}

I just asked "What is Truth GPT?" in Creative Mode.

Answer:

TruthGPT is a project that aims to create an AI chatbot that provides unbiased truths, as opposed to other chatbots that follow biased political agendas and hide sensitive information¹. It is also a cryptocurrency that rewards users for holding and staking the token¹. The project was announced by Elon Musk, who claimed he wanted to build a \"maximum truth-seeking AI that tries to understand the nature of the universe\"². TruthGPT has a mobile app and a web app that allow users to chat with the AI and ask questions¹. However, some people have expressed concerns about the accuracy and reliability of TruthGPT, as well as the potential dangers of powerful AI systems².

Source: Conversation with Bing, 19/04/2023

(1) TruthGPT. https://truthgpt.one/.

(2) Elon Musk reveals plan to build 'TruthGPT' despite warning of AI .... https://news.sky.com/story/elon-musk-reveals-plan-to-build-truthgpt-despite-warning-of-ai-dangers-12859907.

(3) TruthGPT (TRUTH) live coin price, charts, markets & liquidity. https://www.livecoinwatch.com/price/TruthGPT-_TRUTH.

(4) TruthGPT price - $TRUTH to USD price chart & market cap | CoinBrain. https://coinbrain.com/coins/bnb-0x2abdb5903171071ac29cc0779d7efdf0faf14228.

(5) Elon Musk's 'TruthGPT' is coming, but will it be any different from .... https://www.techradar.com/news/elon-musks-truthgpt-is-coming-but-will-it-be-any-different-from-other-chatbots.