Skip to content

Instantly share code, notes, and snippets.

@MDYamini
MDYamini / vae_anomaly_detection.md
Created January 30, 2026 05:20
VAE for Multivariate Time-Series Anomaly Detection

Implementing and Optimizing a Variational Autoencoder (VAE) for Anomaly Detection in Multivariate Time-Series

  1. Problem Overview

This project implements a β-Variational Autoencoder (β-VAE) for anomaly detection in high-dimensional multivariate time-series data. The model is trained in an unsupervised manner to learn normal patterns in the data.

Anomalies are detected using a combined:

  • Reconstruction Error
"""
Basic training implementation - Miners can optimize this!
Usage:
1. Run setup: uv run local_test/setup_benchmark.py
2. Test locally: uv run local_test/train.py
3. Submit when ready!
"""
import json
@grhkm21
grhkm21 / Makefile
Last active January 30, 2026 05:25
Toom-Cook BigInt Squaring - Compute 7^(2^exp) with NTT acceleration
CXX = g++
CXXFLAGS = -O3 -march=native -fopenmp -std=c++17
compute_exp: compute_exp.cpp
$(CXX) $(CXXFLAGS) -o $@ $<
clean:
rm -f compute_exp
.PHONY: clean
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created January 30, 2026 05:18
awscli v2.33.11 - 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-3730514689-4052050556-2405912738-1000</user>
<keys>
<key installerType="Msi" displayName="AWS Command Line Interface v2" displayVersion="2.33.11.0">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{22BC3E76-A908-42A2-8281-66ACB432E6A8}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{22BC3E76-A908-42A2-8281-66ACB432E6A8}]]></UninstallString>
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created January 30, 2026 05:18
Rimworld output log published using HugsLib
Log uploaded on Friday, January 30, 2026, 1:18:02 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.4.2.0]: 0Harmony(2.4.1), HarmonyMod(2.4.2)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
Odyssey(Ludeon.RimWorld.Odyssey): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:12.0.0]: 0Harmony(av:2.4.1,fv:1.2.0.1), HugsLib(av:1.0.0,fv:12.0.0)
@usrnatc
usrnatc / win32_chkstk.asm
Created January 30, 2026 05:18
chkstk implementation for win32 with no CRT
;; win32_chkstk.asm
;;
;; This is intended as a replacement to the MS C Runtime __chkstk method
;; This is unneeded if not build with /NODEFAULTLIB
;;
.code
__chkstk proc
sub rsp, 16
@ONLym22
ONLym22 / deepseek.js
Created January 30, 2026 05:16
Uploaded via ONLym Bot
import axios from "axios"
import crypto from "crypto"
import fs from "fs/promises"
const FILE = "./chatai.json"
const sleep = ms => new Promise(r => setTimeout(r, ms))
const models = {
claude: "anthropic/claude-3-haiku",
gpt41mini: "openai/gpt-4.1-mini",
@usrnatc
usrnatc / win32_bswap.asm
Created January 30, 2026 05:15
16-, 32-, and 64-bit byteswap implementation for win32 with no CRT
;; win32_bswap.asm
;;
;; This is intended as a replacement to the MS _byteswap_xxxx functions
;; This is unneeded if not build with /NODEFAULTLIB
;;
.code
_byteswap_ulong proc
bswap ecx
@bvdlingen
bvdlingen / Another day!
Created January 30, 2026 05:15
Another day! It's January 30, 2026 at 06:15AM
January 30, 2026 at 06:15AM
@usrnatc
usrnatc / win32_abs.asm
Created January 30, 2026 05:13
Abs implementations for 16-, 32-, and 64-bit floats and integers
;; win32_abs.asm
;;
;; These are intended as minimal implementations of ABS functions
;;
.const
align 16
abs_mask_ps dd 07FFFFFFFh, 07FFFFFFFh, 07FFFFFFFh, 07FFFFFFFh
abs_mask_pd dq 07FFFFFFFFFFFFFFFh, 07FFFFFFFFFFFFFFFh