Skip to content
View Asmodeus14's full-sized avatar

Highlights

  • Pro

Block or report Asmodeus14

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Asmodeus14/README.md
The archive of Abhay Singh: forger of kernels, compilers, and the tools that bind them
................................................................
....................::..........................................
....................#%....................:::...................
........-:.........-@@=...............---::--:.:................
.......*@%-....... *@@%................::....--:................
......=@@@%....:=+=%@@#.........................................
..... -@@@#...+@*==%@@#........-........          ..............
      =+*@# +@%*#* *@@#       +@*
      -%%@# *#-+@% =%@+ =++++ %@@
      -@@@# ##=+@%.-*@* @@%#@ %++              ..........:::...
*==+++*@@@%:#@@@@%.#@@%.@@:+@:%%#. ...:::....::::::::.=+::::::::
@@@@@@@@@@@@@@@@@@*%@@#-@@@@@-%@@:.:::::::::::::::::-+#%+-::::--
@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+@@@=-:::::::::::::::---=*#=-------
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#*++--:::::::::--==-**--==----
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%##%%@%###%@@%%%#%@@%##%
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Before any program runs, something must wake the machine, map its memory, and teach it to speak to its own devices. This archive records work done in that dark beneath the software, where little is borrowed and much is built by hand.

I'm a systems engineer. I build operating systems, compilers, and developer tooling, mostly in Rust.

Tenets of the forge

  • Build the layer you depend on. Drivers, schedulers and type checkers are where I learn the most.
  • State the limits. Every project below says plainly what is unfinished.
  • Measure, don't claim. Every number here traces to a benchmark, an evaluation artifact, or the GitHub API.

Relics of the Forge

Nyx

KERNEL · RUST · x86-64 · PRE-ALPHA

An operating system forged in Rust and woken on a real laptop, not merely in an emulator's dream. It speaks to its own GPU and its own Wi-Fi and reaches the open web by its own hand. It holds a quantum processor as one more device, and it will never call a simulator's answer the hardware's truth.

  • What it is: a monolithic no_std kernel for x86-64, booted through UEFI, with per-core SMP scheduling and per-process address spaces
  • Built by hand: its own Intel GPU stack (blitter, display, a Gen9 3D engine with hand-encoded shaders that composites the Meridian desktop), plus its own RTL8168 Ethernet and Intel Wi-Fi (WPA2) drivers
  • Userspace: 65 Linux-numbered and 78 Nyx-native syscalls; a Rust std port (target_os = "nyx"); C and C++ through musl and libc++
  • Feats: fetches https://google.com over its own Wi-Fi driver (TCP/IP from smoltcp, TLS from rustls), and collects circuit results from IBM's quantum hardware
  • Unfinished: GPU compositing can hang on a boot's first scene (an engine reset recovers it; the cause is still open), AHCI and USB HID are experimental, and it is developed against a single laptop
  • Forged with: Rust, x86-64 assembly, UEFI, ACPICA, QEMU

Repository · Architecture · Run it in a Codespace

ChronoStack

TOOL · RUST · C · ALPHA

An instrument that bends the hours of a whole stack at once. Days pass in seconds, the nightly rites run at each midnight that never truly came, and every service is asked in turn whether it has seen the new dawn.

  • What it is: one virtual clock for a Docker Compose project. chronostack advance 14d moves Postgres, Redis and your services forward together.
  • How: a small C library loaded with LD_PRELOAD returns virtual time to Postgres, Redis, Node, Python, the JVM, Ruby, PHP and .NET, at about 10–26 ns per read in the published benchmarks. A single clockd container is the only writer.
  • Feats: it runs the jobs you declare at each scheduled time and then verifies every service, scenarios become repeatable tests with reports, and the CLI is also a local MCP server
  • State: v0.1.0-alpha.10; tested in CI on Linux (x86_64 and arm64) and macOS, and by hand on Windows; installable with Homebrew and Scoop
  • Unfinished: running containers on Apple-silicon Macs is untested
  • Forged with: Rust, C, Docker Compose, GitHub Actions

Repository · Getting started · Releases

QCLang

TONGUE · RUST · OPENQASM

A language bound by an old law: what is quantum cannot be copied, and what is measured is spent. Programs that would break the law are refused before they are ever spoken aloud.

  • What it is: a statically typed quantum–classical language whose affine types enforce the no-cloning theorem. Reassigning a qubit, or using one after measurement, is a compile error.
  • Features: Rust-inspired syntax with structs, tuples and type aliases; classical if/for/while mixed with quantum operations; compiles to OpenQASM 2.0
  • Feats: runs inside Nyx as the QCLang studio
  • Unfinished: the standalone QIR optimization phase is still in progress
  • Forged with: Rust, OpenQASM 2.0

Repository · Releases

ThreatWeaver

WARD · PYTHON · RESEARCH PROTOTYPE

A ward that reads a cursed executable without ever letting it run, and says plainly how far its sight reaches and where it fails.

  • What it is: static, zero-execution triage of Windows PE files. Files are parsed as data in isolated workers with per-file time and memory caps.
  • Detector: a calibrated LightGBM model on the official EMBER2024 features, with exact TreeSHAP explanations for each file
  • Feats: on the EMBER2024 test split (≈180k files, all later in time than the training data), it reaches 0.998 ROC-AUC and 95.9% detection at 1% FPR
  • Unfinished: most evasive Win64 malware is missed; it has no real-time protection; and continual learning from analyst feedback is experimental
  • Forged with: Python, LightGBM, EMBER2024, TreeSHAP, YARA

Repository


Deeds Beyond the Realm

Fixes merged into other people's projects. Each one is a date that broke at a month's edge or a retention boundary.

twentyhq/twenty#30461: Fix trash cleanup deleting records before the retention period ends The cleanup cutoff was off by a day, so soft-deleted records were permanently deleted one day before the configured retention period ended. The fix moves the cutoff back so retention means what it says.

Worklenz/worklenz#960: fix(recurring): calculate monthly Nth-weekday dates from the first of the month Moment's .day(n) moves within the current Sunday–Saturday week. So when a month started after the chosen weekday, "the Nth weekday" landed in the previous month. Monthly recurring tasks now land on the right date.

chrisvel/tududi#2101: fix(recurring): don't skip a month after a last-weekday occurrence on the 29th–31st Stepping forward with setUTCMonth overflowed from the 29th–31st, so 30 January plus one month became 2 March and a whole month was skipped. Recurrences on month-end dates no longer vanish.

Also merged: ChronoStack listed in TheJambo/awesome-testing#412.


Armaments

School Wielded in
Systems Rust (no_std and std), C, x86-64, UEFI, ACPI, NVMe, Intel GPU, QEMU
Compilers type checking, affine types, OpenQASM 2.0
Infrastructure Docker Compose, LD_PRELOAD shims, GitHub Actions, Homebrew and Scoop packaging, MCP
Machine learning & security Python, LightGBM, EMBER2024, TreeSHAP, YARA
Data PostgreSQL, Redis
Applications TypeScript, Next.js, React, FastAPI, Solidity, Kotlin

Record of Works

Record of works: language distribution, contributions, commits, repositories, stars, pull requests and issues GitHub contribution streak: total contributions, current streak, longest streak

The serpent's trail

The last year of contributions, eaten by a golden snake

The record card and the snake are generated by GitHub Actions in this repository and served from raw.githubusercontent.com. The streak card comes from streak-stats.demolab.com.


Lesser Works

  • Vantage: repository analysis that remembers its findings. A second scan reports what was fixed, what is new, and what came back; reports export as SARIF. · API · Live
  • Naomi: a local-first memory assistant for Android, written in Kotlin
  • OpenForge: a collaboration platform where project ownership lives in Solidity contracts, so the chain, not the server, is the source of truth · Contracts · Backend

Current Pursuits

  • Nyx, foundations first: a QEMU boot test in CI; checked user-memory copies with SMEP/SMAP turned back on; page reference counts and TLB shootdown; wait queues in place of polling
  • ChronoStack, toward beta: confirming container runs on Apple-silicon Macs, and taking on more contributors through its good-first issues

Also drawn to: type systems that make invalid states unrepresentable · behaviour that only shows itself with time · the border between Rust and C in freestanding code · what an OS becomes when some of its hardware is no longer classical


Pinned Loading

  1. Nyx Nyx Public

    A Rust operating system that runs on a real laptop: its own kernel, Intel GPU and Wi-Fi drivers, HTTPS, a Meridian desktop, and results collected from IBM's quantum hardware.

    C 12 4

  2. ChronoStack ChronoStack Public

    Stripe Test Clocks for your Docker Compose stack: advance time across Postgres, Redis and your services, run the jobs that depend on it, and verify the results. Alpha.

    Rust 4 1

  3. qclang qclang Public

    A statically-typed, quantum-classical hybrid programming language with affine type safety and OpenQASM 2.0 compilation.

    Rust 2

  4. Vantage Vantage Public template

    Repository analysis: vulnerabilities, secrets, correctness and churn, anchored to source · Next.js frontend

    TypeScript 1