Uploaded March 2025 | Updated September 2026, 6 hours ago
Sometimes things align by such coincidence that it's eerie. I am working on creating some #magic #tricks and helping a friend set up his magic webshop which will be the outlet. And I was calculating pricing and at that moment #Wolfgang #Kierforf send his new book which A Peacock Without Feathers Won't Get Laid (awesome title) about selling products and services. It had a chapter on pricing products and luckily, I did remember my economics lesson's and Wolfang's book instilled the trust in me I done the maths rights but also taught a lot more.
Ironically I just invested in a #Creality Falcon2 #Lasercutter to reduce production time (and thus product cost). We will also have a look at that laser.
Chapters:
00:00 Magic trick showing IT security
01:52 Intro
02:15 Pricing difficulties
02:25 A Peacock without feathers won't get laid!
03:45 My innovation of an old classic magic trick to sell
04:35 Production times and sales tax in pricing
05:31 Asking our Zoltar if this business idea will be fruitful
07:09 Creality Falcon2 Pro Laser Cutter
11:04 Staining and aging explained (not shown -- secrets need to be hidden)
12:05 Props should tell a story
12:56 What issue does my "project" solve over the original (ties into the book)
15:00 9 Reasons your product doesn't sell (book)
Sometimes things align by such coincidence that it's eerie. I am working on creating some #magic #tricks and helping a friend set up his magic webshop which will be the outlet. And I was calculating pricing and at that moment #Wolfgang #Kierforf send his new book which A Peacock Without Feathers Won't Get Laid (awesome title) about selling products and services. It had a chapter on pricing products and luckily, I did remember my economics lesson's and Wolfang's book instilled the trust in me I done the maths rights but also taught a lot more.
Ironically I just invested in a #Creality Falcon2 #Lasercutter to reduce production time (and thus product cost). We will also have a look at that laser.
Chapters:
00:00 Magic trick showing IT security
01:52 Intro
02:15 Pricing difficulties
02:25 A Peacock without feathers won't get laid!
03:45 My innovation of an old classic magic trick to sell
04:35 Production times and sales tax in pricing
05:31 Asking our Zoltar if this business idea will be fruitful
07:09 Creality Falcon2 Pro Laser Cutter
11:04 Staining and aging explained (not shown -- secrets need to be hidden)
12:05 Props should tell a story
12:56 What issue does my "project" solve over the original (ties into the book)
15:00 9 Reasons your product doesn't sell (book)


![MAKING A CHATBOT IN ZIG (OpenAI API consumption)
Today we will learn how to consume APIs in #Zig we learn how to consume an #APIs using #TLS #HTTPS and Bearer token, specifically OpenAI, which we will use to make a simple REPL based chat bot.
The code:
https://github.com/rdoetjes/tuts/tree/main/zig-https-openai
NOTES: This is a basic single answer and forget bot. If you want to keep the actual chat state like you see in ChatGPT, you would feed the answers back into the message with the role assistant, you answers with the role user. System role is used to set up the basic state like: Answer in a way like the character Leisure Suite Larry, you keep things light and full of innuendo.
This is an idea I am working on an interactive adventure
{
model: gpt-4,
messages: [
{role: system, content: You are an assistant guiding the user through an interactive adventure.},
{role: user, content: I enter the room and see a sword on a pedestal.},
{role: assistant, content: The sword gleams under the light. Its beautifully crafted, with a silver hilt.},
{role: user, content: I take the sword.},
{role: assistant, content: You now have the sword in your possession.},
{role: user, content: I walk towards the door with the sword in hand.},
{role: assistant, content: You feel empowered as you walk towards the door, the sword glimmering in your hand.}
]
}
Chapters:
00:00 Introduction
02:13 Coding one page API request
19:48 Running the debugged code
20:31 Going through the OpenAI API abstraction code
25:05 Demo chatbot MAKING A CHATBOT IN ZIG (OpenAI API consumption)](https://i.ytimg.com/vi/WzGgepdA1lU/mqdefault.jpg)







