Skip to content

Instantly share code, notes, and snippets.

View artpar's full-sized avatar
🏠
Working from home

Parth Mudgal artpar

🏠
Working from home
View GitHub Profile
@artpar
artpar / swe_skill.md
Created May 28, 2026 15:29
SWE Skill

0. Authority, Scope, and Normative Language

0.1 Purpose

This doctrine exists to govern the creation, operation, maintenance, and retirement of reliable software systems that may live for decades, outlast teams, grow by orders of magnitude, and operate in hostile production environments.

It optimizes for:

  1. correctness
  2. reliability
@artpar
artpar / playwright-execution-in-browser.md
Last active May 14, 2026 08:21
Running Playwright projects from GitHub inside a browser-extension runtime

Running Playwright projects from GitHub inside a browser-extension runtime

Browser automation usually assumes a controller outside the browser: a local process, a CI worker, or a driver that can launch and own browser instances. 100xbot started from a different constraint.

The original 100xbot question was:

Can we do browser automation from inside the browser at all, given browser-extension CSP rules and the fact that we cannot just fetch JavaScript over the network and execute it?

The extension manifest keeps extension pages on script-src 'self' 'wasm-unsafe-eval'. Code from GitHub cannot be treated as a normal remote script include. The automation runtime also cannot depend on arbitrary network-loaded JavaScript running with extension privileges.

For a long stretch, this had nothing to do with Playwright. The first answer was 100xbot's own browser-native automation stack. It had background capabilities and content scripts. It had DOM and tab tools. It had workflow execution and file storage. It ha

@artpar
artpar / paper.md
Created February 19, 2026 12:56
The Anatomy of Small Neural Networks: Parameter Space Structure, Architecture Selection, and the Depth-Width Tradeoff

The Anatomy of Small Neural Networks: Parameter Space Structure, Architecture Selection, and the Depth-Width Tradeoff


Abstract

We present a systematic empirical investigation of feedforward ReLU networks at minimal scale (1-16 hidden neurons), revealing structural properties of parameter space, training dynamics, and architecture selection that are obscured at practical scale. Through 11 controlled experiments totaling over 10,000 training runs, we establish several novel findings: (1) the Hessian eigenspectrum of a trained network decomposes into exactly four tiers — steep, moderate, weak, and zero — whose counts are predictable from architecture alone, with the steep tier recovering the target function's degrees of freedom; (2) this structure emerges during training via a sharp phase transition (27 steep eigenvalues collapse to 4 between steps 50-100 for a 16-neuron network), after which 97% of training time is spent exploring the solution manifold rather than improving the function; (3) exhau

@artpar
artpar / permission-values.go
Created December 11, 2025 10:24
daptin permissions
const (
GuestPeek=1 AuthPermission = 1 << iota
GuestRead = 2
GuestCreate = 4
GuestUpdate = 8
GuestDelete = 16
GuestExecute= 32
GuestRefer = 64
UserPeek= 128
UserRead = 256
@artpar
artpar / {{filename}}
Created August 21, 2025 07:50
{{description}}
• {
• {
• e
• x
• t
• r
• a
• c
• t
• -
@artpar
artpar / {{filename}}
Created August 21, 2025 07:35
{{description}}
• {
• {
• e
• x
• t
• r
• a
• c
• t
• -
@artpar
artpar / {{filename}}
Created August 21, 2025 07:31
{{description}}
• {
• {
• e
• x
• t
• r
• a
• c
• t
• -
@artpar
artpar / {{filename}}
Created August 21, 2025 07:30
{{description}}
• {
• {
• e
• x
• t
• r
• a
• c
• t
• -
@artpar
artpar / hackernews-titles-2025-08-15.md
Created August 16, 2025 17:32
Hacker News frontpage titles extracted on August 15, 2025

Hacker News Frontpage Titles - August 15, 2025

  1. Toothpaste made from hair provides natural root to repair teeth
  2. Good system design
  3. Payment Processor Fun 2025 – Making Your Own Merchant Service Provider
  4. Pfeilstorch
  5. PuTTY has a new website
  6. Writing a competitive BZip2 encoder in Ada from scratch in a few days – part 2
  7. Traps to Developers
  8. The future of large files in Git is Git
@artpar
artpar / hackernews-transparent.md
Created August 16, 2025 13:11
Test gist with transparent DOM
  • {"attributes":{"class":"athing submission","id":"44921137"},"boundingRect":{"bottom":86.18750381469727,"height":37.330360412597656,"left":0,"right":448.5714416503906,"top":48.85714340209961,"width":448.5714416503906,"x":0,"y":48.85714340209961},"innerHTML":"<td align="right" valign="top" class="title"><span class="rank">1.<td valign="top" class="votelinks"><a id="up_44921137" href="vote?id=44921137&how=up&goto=news"><div class="votearrow" title="upvote"><td class="title"><span class="titleline"><a href="https://www.seangoedecke.com/good-system-design/\">Everything I know about good system design<span class="sitebit comhead"> (<a href="from?site=seangoedecke.com"><span class="sitestr">seangoedecke.com)","tagName":"TR","textContent":"1.Everything I know about good system design (seangoedecke.com)"}
  • {"attributes":{"class":"athing submission","id":"44919891"},"boundingRect":{"bottom":127.758935