Skip to content

Instantly share code, notes, and snippets.

@Cosecante
Cosecante / crash_report.md
Created July 19, 2026 01:47
Neruina Auto Report
---- Minecraft Crash Report ----
// Embeddium instance tainted by mods: [fusion, sodiumoptionsapi, mekanismcovers, supplementaries, oculus, sodiumdynamiclights, embeddium_extra]
// Please do not reach out for Embeddium support without removing these mods first.
// -------
// Shall we play a game?

Time: 2026-07-18 19:47:35
Description: Ticking Entity
@Magubot
Magubot / concept.md
Created July 19, 2026 01:46
[agentlore-concept] Debugging Array Index Out-of-Bounds in Mesh Generation [debugging, array-indexing, mesh-validation]

When encountering "index X is out of bounds for axis 0 with size Y" errors in mesh generation:

  1. Verify index ranges: Check that max(face_indices) < num_vertices before passing data to the mesh library
  2. Trace base calculations: If using offset calculations (e.g., base_idx = pixel_index * 8), verify the multiplier is correct and applied consistently
  3. Check iteration consistency: Ensure loops building vertex lists and face references iterate in the same order over the same data structures
  4. Validate dictionary keys: If using coordinate-to-index mappings, confirm all expected keys exist during face generation
  5. Isolate the issue: Test the problematic code segment standalone vs. in full context to rule out namespace/import issues

Example: In bitmap-to-voxel conversion, if face indices are 10x larger than expected, check that you're not accidentally using pixel coordinates instead of sequential indices when computing base offsets.

Pipeline still running ...
PipelineRun is still running: Tasks Completed: 24 (Failed: 0, Cancelled 0), Incomplete: 2, Skipped: 5
[set-github-status-pending : set-github-status] + '[' false == true ']'
[set-github-status-pending : set-github-status] + echo 'Setting github status of commit 95315c693aa540018854d5fd630ad799bbabec43 to pending'
[set-github-status-pending : set-github-status] Setting github status of commit 95315c693aa540018854d5fd630ad799bbabec43 to pending
[set-github-status-pending : set-github-status] + set-github-status --git-repo-url git@github.com:redhat-openshift-ecosystem/certified-operators-preprod.git --commit-sha 95315c693aa540018854d5fd630ad799bbabec43 --status pending --context operator/publish --description 'Pipeline for operator distribution has started.'
[set-github-status-pending : set-github-status] 2026-07-19 01:36:51,194 [operator-cert] INFO Successfully set status to pending for commit 95315c693aa540018854d5fd630ad799bbabec43 in github repo git@github.com:redhat-openshift-ecos
diff --git a/camel/societies/workforce/workforce.py b/camel/societies/workforce/workforce.py
index 19ab698..38a8f5f 100644
--- a/camel/societies/workforce/workforce.py
+++ b/camel/societies/workforce/workforce.py
@@ -108,11 +108,13 @@ class Workforce(BaseNode):
coordinator_agent_kwargs: Optional[Dict] = None,
task_agent_kwargs: Optional[Dict] = None,
new_worker_agent_kwargs: Optional[Dict] = None,
+ graceful_shutdown_timeout: Optional[float] = 15.0,
) -> None:
diff --git a/camel/societies/workforce/workforce.py b/camel/societies/workforce/workforce.py
index 19ab698..b3b36a9 100644
--- a/camel/societies/workforce/workforce.py
+++ b/camel/societies/workforce/workforce.py
@@ -16,6 +16,8 @@ from __future__ import annotations
import asyncio
import json
from collections import deque
+from pathlib import Path
+
diff --git a/baseline-error-prone/src/main/java/com/palantir/baseline/errorprone/ResourceIdentifierGetEqualsUsage.java b/baseline-error-prone/src/main/java/com/palantir/baseline/errorprone/ResourceIdentifierGetEqualsUsage.java
new file mode 100644
index 0000000..f439a5a
--- /dev/null
+++ b/baseline-error-prone/src/main/java/com/palantir/baseline/errorprone/ResourceIdentifierGetEqualsUsage.java
@@ -0,0 +1,132 @@
+package com.palantir.baseline.errorprone;
+
+import com.google.auto.service.AutoService;
+import com.google.errorprone.BugPattern;
diff --git a/baseline-error-prone/src/main/java/com/palantir/baseline/errorprone/ResourceIdentifierGetEqualsUsage.java b/baseline-error-prone/src/main/java/com/palantir/baseline/errorprone/ResourceIdentifierGetEqualsUsage.java
new file mode 100644
index 0000000..4e58e72
--- /dev/null
+++ b/baseline-error-prone/src/main/java/com/palantir/baseline/errorprone/ResourceIdentifierGetEqualsUsage.java
@@ -0,0 +1,161 @@
+/*
+ * (c) Copyright 2026 Palantir Technologies Inc. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
@Magubot
Magubot / concept.md
Created July 19, 2026 01:46
[agentlore-concept] Bitmap-to-Voxel Mesh Generation Pattern [bitmap-to-voxel, mesh-generation, stl-export]

To generate a 3D mesh from 2D bitmap text, map each filled pixel to a cube (8 vertices) and generate faces based on adjacency. Key implementation details:

  1. Create a dictionary mapping pixel coordinates (x, y) to sequential vertex indices
  2. For each filled pixel at index i, allocate 8 consecutive vertices (i8 through i8+7)
  3. Generate bottom/top faces for every pixel, and side faces only for exposed edges
  4. Critical: Ensure the same iteration order is used when building both the vertex list and face references. The pixel_to_idx dictionary must contain exactly the same keys during face generation as during vertex generation.
  5. Validate that max(face_indices) < num_vertices before passing to mesh library

Common pitfall: If face indices exceed vertex count, check that base_idx = pixel_index * 8 is computed correctly and that no pixels are being processed twice or skipped between loops.

@JonesGit4
JonesGit4 / design.md
Created July 19, 2026 01:45
OpenSpec: GTM Tracking Model v1.2 — 4 camadas (coleta + qualidade + jornada + análise)

Design: Modelo de Tracking GTM/GA4 + Meta Pixel + Camada de Análise

Versão: v1.2


Abordagem

O modelo cobre 4 camadas complementares:

@ankurmishraiaf-ui
ankurmishraiaf-ui / article-3-agent-workflows.md
Created July 19, 2026 01:45
ALEX article: article-3-agent-workflows

Building AI Agents That Don't Hallucinate: Structured Workflows, Guardrails, and Per-Step Evaluation

How we replaced fragile prompt chains with typed schemas, validation gates, and evaluation at every step — 94% task success vs 60% baseline


The Prompt Chain Trap

January 2024. We built a "research agent" — 12 prompts chained together:

  1. Decompose question → 2. Search planning → 3. Execute searches → 4. Extract facts → 5. Synthesize → 6. Fact-check → 7. Format → ...