Skip to content

Instantly share code, notes, and snippets.

View 5HT's full-sized avatar
🌐
I'm very skeptical that person without empathy can create beautiful mathematics.

Namdak Tonpa 5HT

🌐
I'm very skeptical that person without empathy can create beautiful mathematics.
View GitHub Profile
@5HT
5HT / client.txt
Created March 22, 2026 03:27
Zen Crypted Client Developer
Zen Crypted Backend Developer
=============================
Statement of Work – Client Developer (Swift / iOS / ASN.1)
*Project*: Development and enhancement of secure military-grade iOS chat client
*Position*: iOS Developer (Swift, security-focused)
*Project context*: The client is based on the open-source Chat X.509 for iOS, a server-less proof-of-concept using multicast UDP + X.509 certs for local encrypted messaging. The goal is to evolve it into a full client for the custom Elixir server (TCP/QUIC + ASN.1/DER protocol), with end-to-end X.509 CMS encryption and military-grade security.
Scope of Work (main deliverables):
@5HT
5HT / server.txt
Last active March 22, 2026 03:23
Zen Crypted Backend Developer
Zen Crypted Backend Developer
=============================
Statement of Work – Backend Developer (Elixir / Erlang / ASN.1)
*Project*: Development and enhancement of secure military-grade instant messaging server
*Position*: Senior/Middle Backend Developer (Elixir primary, Erlang/OTP understanding required)
*Project context*: The company is building a high-security chat platform for defense/government use cases.
The backend is based on the open-source CHAT server, which implements a custom ASN.1/DER-encoded protocol
over TCP/QUIC with full X.509 CMS envelope encryption, OCSP/LDAP validation, ephemeral messages,
@5HT
5HT / pis-il.txt
Created March 19, 2026 14:06
pis-il.txt
%{
name: "il",
protocol: "http",
connect_timeout: 60000,
read_timeout: 60000,
retries: 5,
url: "http://api-svc.pis-il/",
write_timeout: 60000,
plugins: ref(["plugins/prometheus"]),
routes: [
@5HT
5HT / package.txt
Created March 4, 2026 13:00
package.txt
Package: #{<<"containedItemQuantity">> => [],
<<"description">> =>
<<209,128,208,190,208,183,209,135,208,184,208,189,32,208,180,
208,187,209,143,32,209,150,208,189,96,209,148,208,186,209,134,
209,150,208,185,44,32,52,32,208,188,208,179,47,208,188,208,
187,59,32,208,191,208,190,32,49,32,208,188,208,187,32,208,176,
208,177,208,190,32,208,191,208,190,32,50,32,208,188,208,187,
32,208,178,32,208,176,208,188,208,191,209,131,208,187,208,176,
209,133,32,209,129,208,186,208,187,209,143,208,189,208,184,
209,133,32,208,183,32,208,177,209,128,209,131,208,189,208,176,
@5HT
5HT / gravity.txt
Created March 3, 2026 21:21
gravity.txt
Gravity Theories Dichotomy Tree
(Branching based on key decision points: conceptual, mathematical, and physical choices leading to each theory's existence)
Root: Fundamental View of Gravity
├── As a Field (Classical, Force-based)
│ ├── Non-Relativistic (Absolute time/space)
│ │ ├── Scalar Potential (Newtonian Gravity)
│ │ │ - Decision: Instantaneous action? Yes → Poisson's equation (∇²φ = 4πGρ)
│ │ │ - Exists due to: Empirical laws (e.g., inverse square) + field concept from EM analogy
│ │ └── Tensorial Reformulation (To geometrize)
@5HT
5HT / 2026-03-01 KVS.md
Created March 1, 2026 05:29
2026-03-01 KVS.md

Про доречність використання KVS

Про доречність використання KVS в Документообігах, CRM, чатах та телеком системах.

Вступ до KVS

KVS (Key-Value Store) — це легкий клієнтський інтерфейс, побудований на абстракціях баз даних типу B-tree, призначений для простого зберігання та обробки даних в Erlang/OTP-екосистемі. Розроблений компанією Synrc, KVS надає абстрактний, компактний та перевірений на практиці API (близько 500 рядків коду), який підтримує базові операції для систем, таких як леджери, месенджери, системи зберігання та банківські додатки.

# DevOps Engineer Vacancy
**Governmental Statistical Warehouse for National Healthcare Services**
**Position Title:** DevOps Engineer
**Department:** Information Technology and Data Management
**Location:** Kyiv, Ukraine (Hybrid / Remote options available)
**Employment Type:** Full-Time Contract
**Contract Duration:** Initial 12 months (with high probability of extension)
**Reporting To:** IT Project Manager
**Application Deadline:** March 15, 2026
@5HT
5HT / gpt.txt
Created February 15, 2026 07:48
gpt.txt
"""
The most atomic way to train and inference a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
import random # random.seed, random.choices, random.gauss, random.shuffle
@5HT
5HT / GroupMessageService.swift
Last active February 12, 2026 03:16
GroupMessageService.swift
import Foundation
import CryptoKit
import DoubleRatchet // https://github.com/TICESoftware/DoubleRatchet
// ────────────────────────────────────────────────
// MARK: - Errors
// ────────────────────────────────────────────────
public enum GroupMessagingError: Error, Sendable {
case wrongGroup
@5HT
5HT / v2.txt
Created February 8, 2026 04:13
v2.txt
defmodule KDF do
# Existing hash lengths
def hl(:md5), do: 16
def hl(:sha), do: 20
def hl(:sha224), do: 28
def hl(:sha256), do: 32
def hl(:sha384), do: 48
def hl(:sha512), do: 64
# Existing Concat KDF (NIST SP 800-56A style, used in standard ECC CMS)