Skip to content

Instantly share code, notes, and snippets.

View R4wm's full-sized avatar
πŸ’
tab tab tab...

r4wm R4wm

πŸ’
tab tab tab...
View GitHub Profile
@R4wm
R4wm / event-prioritization-analysis.md
Last active February 2, 2026 18:44
Data Lake Phase 1 - Event Prioritization Analysis (TVM-1698)

Data Lake Phase 1 - Event Prioritization Analysis

Epic: TVM-1698 Date: 2026-02-02 Author: Raymond Mintz


Executive Summary

@R4wm
R4wm / clickup-cli-setup-guide.md
Last active February 2, 2026 22:16
ClickUp CLI Setup Guide (Ubuntu)

ClickUp CLI Setup Guide (Ubuntu)

Complete guide for setting up and using the ClickUp CLI on Ubuntu Linux.

Prerequisites

  • Node.js and npm installed
  • ClickUp account with API access
  • jq installed for JSON processing: sudo apt install jq
@R4wm
R4wm / analytics-pipeline-status.md
Created February 2, 2026 16:12
Analytics Pipeline Status Summary - 2026-01-30

Analytics Pipeline Status Summary - 2026-01-30

IMMEDIATE ISSUE - RESOLVED βœ…

Problem: ClickHouse consumer stuck since 1/27, massive lag preventing event ingestion

Root Cause: 4 bad test messages blocking consumer across all 3 Kafka partitions:

  • Partition 0, Offset 58: {"test":"connection_test",...}
  • Partition 1, Offset 56: {"test":"direct_publish",...}
  • Partition 2, Offset 113: {"test":"message",...}
@R4wm
R4wm / CDP-Events-Endpoint-Guide.md
Last active January 28, 2026 23:27
CDP Events Endpoint - Client Integration Guide (TVM-1727)

CDP Events Endpoint - Client Integration Guide

Endpoint

Development:

POST https://playtv-api.forte.ws/v1/events

Production: (coming soon)

@R4wm
R4wm / 20260128_kafka_summary.md
Last active January 28, 2026 17:42
Kafka meeting summary 2026-01-28

Here’s a concise summary + work items focused on implementation‑relevant points from the Kafka meeting notes.

Summary (implementation‑relevant highlights)

  • The events endpoint currently requires auth, but there’s consensus that unauthenticated (guest) events are needed. This is a potential DDoS vector, so any unauthenticated mode needs rate‑limiting or an API key strategy.
  • Clients were hitting 500s on the events endpoint. Root cause likely in validation/headers. Once the correct request + headers were used, responses became sane (401 or validation errors). Accept header absence can trigger HTML response instead of JSON.
  • Logging quality is important for debugging bad payloads; logs should be useful in dev.
  • Feature flag is required on mobile/web so event sending can be toggled off by default, especially in production builds.
  • Batching events is expected; payloads should accept arrays and clients can send every 5–10 seconds.
  • Brand/tenant identification s
@R4wm
R4wm / CDP_Meeting_TODOs_2026-01-27.md
Last active January 27, 2026 17:51
CDP Meeting TODOs - 2026-01-27

CDP Meeting TODOs - 2026-01-27

For Raymond Mintz

  1. Send Yan the metrics endpoint and payload (explicitly requested)

    • Endpoint already exists at POST /v1/events (no /api prefix)
    • Controller: app/Http/Controllers/EventController.php
    • Returns 202 {"success": true}
  2. Increase payload size limit - Support batch events (~500KB suggested)

@R4wm
R4wm / cdp-event-envelope.md
Created January 22, 2026 21:02
CDP Event Envelope Schema for Kafka messages

CDP Event Envelope Schema

This is the JSON structure for all events published to Kafka topics (events.raw, events.views).

Structure

{
  "metadata": {
    "event_id": "uuid-v7",

RAID1 Hot-Swap Procedure & Maintenance

Array Info

  • Device: /dev/md0
  • Type: RAID1 (mirror)
  • Size: 8TB (2x 8TB drives)
  • Mount: /mnt/storage

Engine Build Comparison

Specs Overview

Build Name Static CR Dyn CR @68Β° HP Range TQ Range Notes
347 TFS 11R 170/53 Flat-Top 11.39 8.86 420–450 hp 400–430 lb-ft High comp, CNC heads, pump gas 93 required
347 TFS 11R 170/53 Dish 9.95 7.77 395–425 hp 380–410 lb-ft Safe pump gas, still strong street combo
347 Liberty 180/64 Flat-Top 9.95 7.77 410–440 hp 395–420 lb-ft Non-CNC, lower comp, safer but slightly softer
347 Liberty 180/64 Dish 8.86 6.95 375–410 hp 365–400 lb-ft Very safe CR, better for boost than NA
@R4wm
R4wm / media-processor_flow.md
Last active August 19, 2025 22:24
media-processor process flow

  Moderation Process Flow

  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚   User      │────▢│    API Server    │────▢│   PostgreSQL    β”‚
  β”‚   Upload    β”‚ β‘    β”‚  (FastAPI)       β”‚ β‘‘   β”‚   Database      β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                               β”‚ β‘’
                               β–Ό