Skip to content

Instantly share code, notes, and snippets.

@donbr
donbr / ai-architecture-for-medical-devices.md
Last active March 26, 2025 20:56
AI Architecture for Medical Devices: Ensuring Safety and Compliance in an Emerging Field

AI Architecture for Medical Devices: Ensuring Safety and Compliance in an Emerging Field

Abstract

Artificial intelligence (AI) is revolutionizing the medical device industry, offering unprecedented opportunities for improved diagnostics, treatment, and patient outcomes. However, the integration of AI into medical devices presents significant challenges related to regulatory compliance, data privacy, and ethical considerations. This report examines the current landscape of AI architecture in medical devices as of March 2025, focusing on regulatory frameworks, industry leaders, implementation strategies, and ethical governance. We analyze the roles and responsibilities of AI architects in navigating these complexities while ensuring that AI-enabled medical devices remain safe, effective, and compliant with applicable regulations. Drawing from authoritative sources including FDA guidance documents and industry analyses, we provide a comprehensive overview of AI lifecycle management, HIPAA compliance requi

@donbr
donbr / nf2-related-swn.md
Created March 24, 2025 02:23
NF2-Related Schwannomatosis: An Evidence-Based Analysis of CTF's Approach
@donbr
donbr / biological-database-classification.md
Last active March 24, 2025 01:20
Biological Database Classification

Biological Database Classification

The classification of biological databases follows a hierarchical system similar to information organization in other fields:

  • Primary Databases: Contain raw experimental data directly submitted by researchers
  • Secondary Databases: Contain processed, analyzed, and annotated data derived from primary databases
  • Tertiary Databases: Integrate and synthesize information from multiple primary and secondary sources
  • Mixed Databases: Incorporate aspects of multiple classification levels

Primary Databases

@donbr
donbr / otel-ai-guide.md
Last active March 14, 2025 07:24
OpenTelemetry for AI Systems: A Practical Guide

OpenTelemetry for AI Systems: A Practical Guide

Why Your AI Systems Need Observability

AI systems built with Large Language Models (LLMs) present unique challenges that traditional observability tools weren't designed to handle:

  1. Non-deterministic behavior - The same input can produce different outputs
  2. Complex reasoning chains - Multi-step processes with branching decision paths
  3. Unpredictable execution - Agents may take different approaches each time
  4. Tool usage patterns - Interactions with external systems that impact results
@donbr
donbr / graphgeeks-rapids-cugraph-nvidia.md
Last active March 3, 2025 22:13
graphgeeks-rapids-cugraph-nvidia

GraphGeeks In Discussion: RAPIDS and cuGraph with NVIDIA's Joe Eaton

Source: https://www.youtube.com/watch?v=kNrkHWjZaeM

Abstract

Graph analytics have evolved significantly with the advent of GPU acceleration, enabling faster computations and larger-scale graph processing. In this paper, we present insights from an in-depth discussion with Joe Eaton, NVIDIA Distinguished System Engineer, on how RAPIDS and cuGraph revolutionize graph analytics. We explore GPU-accelerated ETL, the scalability of NetworkX on GPUs without code modification, and the integration of graph analytics with machine learning approaches such as graph neural networks (GNNs) and graph embeddings. The discussion also touches on current trends in graph analytics, the increasing demand for dynamic and multimodal graphs, and the role of knowledge graphs in generative AI applications.


@donbr
donbr / notebooklm-metagraphs-dod-usecase.md
Last active February 21, 2025 18:57
notebooklm-metagraphs-dod-usecase

Title: Hypergraph and Metagraph Architectures for Secure and Scalable Situational Intelligence in the Department of Defense

Abstract: Situational intelligence within the Department of Defense (DoD) demands real-time, secure, and scalable information processing solutions. This paper explores the adoption of Hypergraph and Metagraph architectures as a next-generation approach to data management, secure information exchange, and trust mechanisms. We contextualize these architectures within existing DoD frameworks and emerging best practices in distributed ledger technologies (DLT), trust-based consensus mechanisms, and decentralized interoperability. Drawing from recent advancements in directed acyclic graphs (DAGs), we analyze the capabilities of the Hypergraph framework, focusing on its Proof of Reputable Observation (PRO) consensus and Metagraph-based modular data governance. This paper details practical applications for the DoD, including real-time intelligence fusion, autonomous system coordination

@donbr
donbr / prefect-colab-event-mentions.py
Last active February 21, 2025 06:18
prefect-colab-event-mentions.py
# -*- coding: utf-8 -*-
"""prefect-colab-event-mentions.ipynb
Automatically generated by Colab.
Original file is located at
https://colab.research.google.com/drive/1KZRhjRazTGl7tjyG91Y9uJNDyxxcI2CY
"""
# Commented out IPython magic to ensure Python compatibility.
@donbr
donbr / gdelt-insight-mermaid-flow.md
Last active February 16, 2025 05:28
gdelt-insight-mermaid-flow.md
flowchart TD
  %% Home Page Navigation
  subgraph Home["Home Page (app.py)"]
    A[User] -->|Selects analysis mode| B[Sidebar Navigation]
    B --> C{Available Pages}
    C -->|COVID Navigator| Page1
    C -->|COVID Event Graph Explorer| Page2
    C -->|Global Network Analysis| Page3
    C -->|Feb 2025 Navigator| Page4
@donbr
donbr / gdelt-pipeline-tied-to-usecase.md
Last active February 20, 2025 01:56
gdelt-pipeline-tied-to-usecase.md

Crisis Analysis Pipeline: From GDELT Events to Actionable Insights

Integrated Architecture

flowchart TD
    A[GDELT Raw Data] --> B[Event Extraction]
    B --> C{Temporal Graph Builder}
    C --> D[Neo4j Knowledge Graph]
    D --> E[Replay Mode Analysis]
    D --> F[Counterfactual Testing]
@donbr
donbr / gdelt_2025_v1.py
Created February 11, 2025 20:59
GDELT 2025 Prefect ETL process
import os
import asyncio
from prefect import flow, task, get_run_logger
from prefect.tasks import task_input_hash
from prefect.blocks.system import Secret, JSON
from prefect.task_runners import ConcurrentTaskRunner
from prefect.concurrency.sync import concurrency
from pathlib import Path
import datetime
from datetime import timedelta