Skip to content

Instantly share code, notes, and snippets.

View partylikeits1983's full-sized avatar
🎯
Focusing

Alexander John Lee partylikeits1983

🎯
Focusing
View GitHub Profile
@partylikeits1983
partylikeits1983 / 2026-04-28-am.md
Created April 29, 2026 00:36
Morning Brief 2026-04-28 — energy-shock stagflation, FOMC preview, UAE-OPEC, Russia data integrity

kind: morning-brief date: 2026-04-28 generated_at: 2026-04-28T19:42:22-04:00 prices: btc_usd: 76278.0 eth_usd: 2286.48 zec_usd: 334.78 gold_usd: 4589.135 oil_brent_usd: 104.32

@partylikeits1983
partylikeits1983 / tmp-russia-deep-research.md
Created April 28, 2026 23:36
Russia deep research: Swedish MUST intel verification + CBR official numbers + real-economy ground truth (food/housing/goods/banking) — 2026-04-28

Russia: Swedish Intel Verification + Real-Economy Deep Dive

Compiled 2026-04-28. Data current as of CBR / Rosstat / Finance Ministry releases through 24 Apr 2026.


TL;DR

  1. The Swedish intel is legitimate and broadly corroborated. Sweden's Military Intelligence and Security Service (MUST) released the assessment on 21 April 2026 under MUST chief Thomas Nilsson. The headline claim — that real Russian inflation is closer to ~15% than Rosstat's ~5.86% — is consistent with independent Russian private-sector trackers (ROMIR) and with the Bank of Russia's own behavior (still holding the key rate at 14.50% despite "official" 5.7% inflation; central banks don't run +850 bp real rates by accident).
  2. CBR official numbers tell their own quietly damning story. Even on Rosstat's softened series, the CBR cut to 14.50% on 24 Apr 2026 is the 8th consecutive cut from the wartime peak of 21%, but underlying Q1 price growth ran 8.7% annualised. Q1 federal deficit was **4.6
@partylikeits1983
partylikeits1983 / 2026-04-28-am.md
Created April 28, 2026 22:50
Market & Geopolitics Morning Brief — 2026-04-28

kind: morning-brief date: 2026-04-28 generated_at: 2026-04-28T18:35:47-04:00 prices: btc_usd: 76330.0 eth_usd: 2288.65 zec_usd: 335.74 gold_usd: 4597.065 oil_brent_usd: 104.32

@partylikeits1983
partylikeits1983 / opus_audit.md
Created March 24, 2026 08:30
Opus Initial Audit Doc

AggLayer Bridge Pre-Audit Report

Scope: On-chain MASM code for the AggLayer bridge integration on Miden.
Focus: Asset minting/theft vulnerabilities, griefing attack vectors.
Date: 2026-03-24


1. Architecture Overview

Basic usable compiler:

Level 1: Math & Pure functions:

For simplicity it would be sufficient to have a pure Rust to MASM compiler.

There's probably already a way to run the compiler, but this is just an example of how it would work.

midenc some_rust_file.rs masm_output.masm
@partylikeits1983
partylikeits1983 / semaphore-v4-ceremony_attestation.log
Created June 17, 2024 14:16
Attestation for Semaphore V4 Ceremony MPC Phase 2 Trusted Setup ceremony
Hey, I'm partylikeits1983-77119221 and I have contributed to the Semaphore V4 Ceremony.
The following are my contribution signatures:
Circuit # 1 (semaphorev4-1)
Contributor # 150
Contribution Hash: 756fc24b 2b924f79 dbf8ee7d 607359da
9dd1d569 de715387 a9b4952f 7f29c495
dd6681a8 6e8cef1b 7a6a65d8 4ec65cef
607e47df 9b00b213 a04e077d d28496d6
// SPDX-License-Identifier: MIT
/*
_____ _ ______ _ _
/ ____| | | ____(_) | |
| | | |__ ___ ___ ___| |__ _ ___| |__
| | | '_ \ / _ \/ __/ __| __| | / __| '_ \
| |____| | | | __/\__ \__ \ | | \__ \ | | |
\_____|_| |_|\___||___/___/_| |_|___/_| |_|
// Generating a new deterministic wallet based upon the
// gameAddress and the hash of the user signature of the gameAddress
export const generateWallet = async (
chainId: number,
gaslessGameAddress: string,
gameAddress: string,
): Promise<ethers.Signer> => {
const provider = new ethers.providers.Web3Provider(window.ethereum);
let signer = provider.getSigner();
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.22;
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
contract DelegatedSignature {
// gameAddress => uint16 moves
mapping(address => uint16[]) public userData; // on chain data