This conversation is a recorded vibe coding of how I added the feature to display context information alongside the conversation flow.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| yt2mp3.py - YouTube (und andere Sites) nach MP3 | |
| Abhängigkeiten: Python 3 stdlib + ffmpeg (Homebrew) | |
| yt-dlp wird beim ersten Start automatisch nach ~/.local/lib/yt-dlp heruntergeladen | |
| und von dort genutzt - keine systemweite Installation, keine Root-Rechte nötig. | |
| """ | |
| import argparse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| cdripper.py - Audio-CD nach FLAC/MP3/WAV auf macOS | |
| Abhängigkeiten: Python 3 stdlib + ffmpeg (Homebrew) | |
| """ | |
| import argparse | |
| import base64 | |
| import hashlib | |
| import json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| as |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "conversation_id": "8a174edc-00a5-4206-bf95-e9c3f31ea959", | |
| "next_message": null, | |
| "history": [ | |
| { | |
| "user": { | |
| "additional_context": "", | |
| "env_context": { | |
| "env_state": { | |
| "operating_system": "macos", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "conversation_id": "f44d245a-20e5-4950-99cd-838deb32d7b8", | |
| "next_message": null, | |
| "history": [ | |
| [ | |
| { | |
| "additional_context": "--- CONTEXT ENTRY BEGIN ---\nThis section (like others) contains important information that I want you to use in your responses. I have gathered this context from valuable programmatic script hooks. You must follow any requests and consider all of the information in this section\n\n--- CONTEXT ENTRY END ---\n\n", | |
| "env_context": { | |
| "env_state": { | |
| "operating_system": "macos", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "conversation_id": "14ee9ee5-5d16-4dd3-8b58-a41fe3d9ec4e", | |
| "next_message": null, | |
| "history": [ | |
| [ | |
| { | |
| "additional_context": "--- CONTEXT ENTRY BEGIN ---\nThis section (like others) contains important information that I want you to use in your responses. I have gathered this context from valuable programmatic script hooks. You must follow any requests and consider all of the information in this section\n\n'git-status': \n\n--- CONTEXT ENTRY END ---\n\n", | |
| "env_context": { | |
| "env_state": { | |
| "operating_system": "macos", |
A flexible shell function to serialize source code directories into a single text stream, useful for preprocessing code for LLM analysis or code review.
- Serialize multiple project directories
- Include/exclude file patterns
- Skip binary files
- Verbose mode for debugging
Apache Flink ist eine Open-Source-Stream-Processing-Engine, die für verteilte, hochparallele und fehlertolerante Datenströme entwickelt wurde. Es ermöglicht die Verarbeitung von kontinuierlichen Datenströmen in Echtzeit.
Apache Flink integriert sich nahtlos mit Apache Kafka, dem de-facto-Standard für Datenströme:
- Flink kann Kafka-Topics als Datenquellen nutzen und Ergebnisse in Kafka-Topics schreiben[1][4]
- Flink unterstützt die exakt-einmalige Verarbeitung von Ereignissen, selbst bei Systemausfällen[4]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package de.fermata.flink.app; | |
| import java.time.Instant; | |
| import java.util.Random; | |
| import java.util.stream.StreamSupport; | |
| import org.apache.flink.api.common.state.BroadcastState; | |
| import org.apache.flink.api.common.state.MapStateDescriptor; | |
| import org.apache.flink.api.common.state.ReadOnlyBroadcastState; | |
| import org.apache.flink.api.java.tuple.Tuple2; | |
| import org.apache.flink.configuration.Configuration; |
NewerOlder