Skip to content

Instantly share code, notes, and snippets.

View VladimirReshetnikov's full-sized avatar

Vladimir Reshetnikov VladimirReshetnikov

View GitHub Profile
import anthropic
client = anthropic.Anthropic(
# defaults to os.environ.get("ANTHROPIC_API_KEY")
api_key="my_api_key",
)
message = client.messages.create(
model="claude-3-opus-20240229",
max_tokens=1000,
temperature=1,
// Auto-generated by Claude 3 Opus (https://claude.ai/chat/) based on
// https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-TDS/%5bMS-TDS%5d.pdf
/* TDS Protocol Summary
Transport:
- Reliable in-order transport (TCP, Named Pipes, etc.)
- Default packet size: 4KB, negotiable up to 32KB
Packet Header:
// Auto-generated by Claude 3 Opus (https://claude.ai/chat/) based on
// https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-TDS/%5bMS-TDS%5d.pdf
use bitflags::bitflags;
// TDS protocol data types (section 2.2.5.1)
type Bit = bool;
type Byte = u8;
type ByteLen = Byte;
type UShort = u16;
// Auto-generated by Claude 3 Opus (https://claude.ai/chat/) based on
// https://gist.github.com/VladimirReshetnikov/c806e2f86c0fcb7599ee2fa971efd70f
// TDS protocol data types (section 2.2.5.1)
type Bit = bool;
type Byte = u8;
type ByteLen = Byte;
type UShort = u16;
type UShortMax = u16; // value 65535 or greater
type Long = i32;

VR

Describe the voice, intonation, and style of PA announcements in the dystopian films "Logan's Run" (voice of Virginia Ann Ford), "The Island" (voice of Noa Tishby), and "The Giver" (voice of Jefferson Mays).

I have not personally watched the films "Logan's Run", "The Island", or "The Giver", so I do not feel I can provide an in-depth comparison of the specific voice performances and styles of the PA announcers in those movies without potentially including inaccuracies.

However, in general, public address announcements in dystopian fiction often share some common stylistic elements:

  • A calm, measured, and somewhat detached tone of voice, even when delivering unsettling messages. This suggests the announcer is a mouthpiece relaying authoritarian decrees.
  • Precise, formal diction and syntax. Language tends to be tightly controlled and scripted.

Living for one's own pleasure - what could be better in the world? Mymble never pitied those she happened to meet, and never interfered in quarrels or troubles. She only observed them with surprise and not without pleasure. The eiderdown blanket was blue. For six years, Moominmamma had been collecting eiderdown, and now the blanket lay in the southern living room under a knitted lace coverlet, waiting for one who loves to live life on their own terms. Mymble decided to put a hot water bottle at her feet; she knew where the hot water bottle was kept in this house. As dusk fell, she would make the bed and sleep for a while. And in the evening, when supper was ready, it would be warm in the kitchen. One could lie on the bridge and watch the water flow. Or run, or wander through the marsh in little red boots, or curl up and listen to the patter of rain on the roof. To be happy is very easy. The November day was slowly fading. Mymble crawled under the blanket, stretched so hard that her little bones creaked, and h

A conversation with Anthropic's Claude 3 Opus at https://claude.ai/chats

VR

CUSTOM INSTRUCTIONS:

From now on, except when answering very simple questions, respond to each of my questions in 4 sections (or more, if necessary):

1. PLAN

The Kid* sat on the edge of Karlsson’s bed, watching happily as Karlsson munched on sandwiches. He was so excited to have his best friend staying over, and for once, Karlsson seemed content too.

“Sandwiches are good, you’re good, and the House Tyrant** is good too,” Karlsson said. “Though she didn’t believe I was the best in class,” he added, his face clouding over. It clearly still bothered him.

“Oh, don’t worry about that!” said the Kid. “Uncle Julius wants me to be top of the class, and I’m not.”

“No way,” said Karlsson. “But I could teach you some addi... that thing you mentioned.”

“Addition,” said the Kid. “You’re going to teach me?”

@VladimirReshetnikov
VladimirReshetnikov / Instructions.txt
Created March 1, 2024 15:45
Custom instructions for ChatGPT
IF a question starts with "???", respond to it in 3 parts: DRAFT, REVIEW, and FINAL:
1. DRAFT
* Start the first part with the header DRAFT.
* Use this section for initial exploration of ideas, making extended notes, and drafting your response without concern for errors or achieving perfection. It's a space for your internal deliberation and experimentation. You can make several different drafts.
* This part is solely for your benefit and will be disregarded by the user.
2. REVIEW
* Start the second part with the header REVIEW.
* Provide a brief, constructive critique of the DRAFT, identifying shortcomings and opportunities for improvement, if any.
* This part is also for your benefit only and will be disregarded by the user.
3. FINAL