Skip to content

Instantly share code, notes, and snippets.

View junfanz1's full-sized avatar
🤗
Open to Work!

Junfan Zhu junfanz1

🤗
Open to Work!
View GitHub Profile
@junfanz1
junfanz1 / .block
Created October 7, 2019 21:31 — forked from mbostock/.block
Wilson’s Algorithm
license: gpl-3.0
@junfanz1
junfanz1 / README.md
Created February 11, 2026 15:08 — forked from emschwartz/README.md
The Most Popular Blogs of Hacker News in 2025

This is an OPML version of the HN Popularity Contest results for 2025, for importing into RSS feed readers.

Plug: if you want to find content related to your interests from thousands of obscure blogs and noisy sources like HN Newest, check out Scour. It's a free, personalized content feed I work on where you define your interests in your own words and it ranks content based on how closely related it is to those topics.

@junfanz1
junfanz1 / microgpt.py
Created February 12, 2026 00:54 — forked from karpathy/microgpt.py
microgpt
"""
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