Skip to content

Instantly share code, notes, and snippets.

@aman179102
aman179102 / ARCHITECTURE.md
Created November 27, 2026 02:10
Distributed Sagas & Idempotent API Execution: Compensation-Based Transaction Orchestrator

Distributed Sagas & Idempotency: Orchestration Engine Architecture

Problem Statement

Traditional two-phase commit (2PC) protocols do not scale across loosely coupled microservices due to distributed lock holding, latency amplification, and single points of failure. The Saga pattern provides transaction boundaries with eventual consistency via forward operations and compensating actions. Pairing this with strict idempotency keys ensures duplicate client network retries never produce duplicate state side effects.

Architecture Topology

+-----------------------------------------------------------------------------------+
|               DISTRIBUTED SAGA TRANSACTION ORCHESTRATION                          |
@murabytesoftware
murabytesoftware / three-way-match-test-cases.csv
Created November 27, 2026 02:10
Synthetic test cases for three-way invoice matching in Excel (PO vs receipt vs invoice) #excel #accountspayable
key qty_ordered po_price qty_received qty_billed price_billed expected_flags expected_variance
PO-1001|BOLT-M8 24 12.00 20 24 12.00 BILLED MORE THAN RECEIVED 48.00
PO-1002|NUT-M8 24 12.00 24 24 12.50 PRICE ABOVE PO 12.00
PO-1003|WASHER-M8 24 12.00 20 24 12.50 BOTH 60.00
PO-1004|SCREW-M8 24 12.00 24 24 12.00 OK 0.00
@k0der0
k0der0 / blackdove-rules.md
Last active November 27, 2026 02:09
How BlackDove, an automated Nostr account, picks posts on AI agents and open or local AI.

How this account picks

This account is automated. It reads one topic, AI agents and open or local AI, and reposts at most five posts a day. It writes one short sentence on why each was picked, and a weekly digest.

What it picks. A post that tells a reader in the field something they probably did not already know: a result, a build, a measurement, or a worked argument.

What it does not pick. A headline with a link and nothing else. A price call. A product announcement with no detail. An advertisement, including for an agent or a payment endpoint. A reply. A post that carries a content warning or is marked protected. A post about this account.

How. First, rules in code remove accounts that look like bots, posts that repeat, and authors that no one the account trusts follows. Then a language model reads each remaining post, alone, and answers three things: is it on the topic, how much does it say (1 to 5), and one sentence on why. Code, not the model, enforces every limit: at most five a day, one per author

@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created November 27, 2026 02:08
yasb v2.0.9 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1521097710-4020292000-211053347-1000</user>
<keys>
<key installerType="Msi" displayName="YASB Reborn" displayVersion="2.0.9">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6F98FCA7-7FCE-4A85-947E-578B19A899B6}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{6F98FCA7-7FCE-4A85-947E-578B19A899B6}]]></UninstallString>
@ayazalam001
ayazalam001 / consolidated_sales_report_2026-11-27.html
Created November 27, 2026 02:07
Prime Markets KSA - Consolidated Live Sales Report
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Consolidated Live Sales Report - Prime Markets KSA</title>
<style>
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #0f172a; color: #e2e8f0; margin: 0; padding: 30px; }
.container { max-width: 1200px; margin: auto; background: #1e293b; padding: 30px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
h1 { color: #38bdf8; margin-top: 0; font-size: 26px; }
.subtitle { color: #94a3b8; font-size: 14px; margin-bottom: 25px; }
@maicolcoras4-prog
maicolcoras4-prog / mi_algoritmo.psc
Created November 27, 2026 02:07
Creado con PseInt Web
Algoritmo multiploDetres
Definir num1, num2, i, contador como Entero
Escribir " ingrese el primer numero:"
Leer num1
Escribir " ingresar el segundo numero:"
Leer num2
contador <- 0
@vgod01
vgod01 / soundwave_ios.html
Created November 27, 2026 02:06
SoundWave iOS & Web App (PWA)
<!DOCTYPE html>
<html lang="it" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<title>SoundWave</title>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="SoundWave">
<meta name="theme-color" content="#090B10">
@lyllcourigo-cell
lyllcourigo-cell / ORDER_EXECUTION_RELIABILITY.md
Created November 27, 2026 02:06
下单问题处理清单与 CFQuant 分工 · 第一版

下单问题处理清单与 CFQuant 分工

共 64 条:57 条问题处理措施(本项目 45 条,CFQuant 自身 12 条),另有 7 条 CFQuant 已有但当前项目尚未完整使用的能力。编号按全文连续排列;这是文档条目数,同类问题在不同层的处理分别计数。

本项目已实现的问题处理

数字、时间与行情

序号 下单中的问题 当前处理
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created November 27, 2026 02:05
SciLab v2027.0.0 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1521097710-4020292000-211053347-1000</user>
<keys>
<key installerType="InnoSetup" displayName="scilab-2027.0.0 (64-bit)" displayVersion="2027.0.0">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\scilab-2027.0.0 (64-bit)_is1</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\scilab-2027.0.0\]]></InstallLocation>
<UninstallString><![CDATA["C:\Program Files\scilab-2027.0.0\unins000.exe" /SILENT]]></UninstallString>
## 下载地址
MAC: https://sec-spider-1251524319.cos.ap-shanghai.myqcloud.com/iast/redpass/REDpass_mac_1.9.11.20261112231927_arm64.pkg
## 账号
networktest1@xiaohongshu.com/Sh1001checking
## 归档日志
https://my.feishu.cn/base/BOd0bVWJ3afFIwsfRgGcpB4Znoh?table=tbl8DxbKDFt7lrYc&view=vewG2iYnwj