GitHub / j2kun 182 Repositories
Author of Math ∩ Programming and pimbook.org, currently at Google. Currently writing pmfpbook.org
Donate: https://github.com/sponsors/j2kun
j2kun/mlir-tutorial
MLIR For Beginners tutorial
Language: C++ - Size: 146 KB - Last synced at: about 23 hours ago - Pushed at: 4 months ago - Stars: 984 - Forks: 87

j2kun/heir Fork of google/heir
Standard MLIR dialects for homomorphic encryption
Language: C++ - Size: 33.6 MB - Last synced at: 2 days ago - Pushed at: 2 days ago - Stars: 1 - Forks: 0

j2kun/llvm-project Fork of llvm/llvm-project
Language: LLVM - Size: 1.88 GB - Last synced at: 9 days ago - Pushed at: 9 days ago - Stars: 0 - Forks: 0

j2kun/todo-backlinks
Link from issue 123 to source lines containing `TODO(#123)`
Language: Python - Size: 28.3 KB - Last synced at: 9 days ago - Pushed at: 9 days ago - Stars: 3 - Forks: 0

j2kun/simplex-algorithm
Python source code for Linear Programming and the Simplex Algorithm
Language: Python - Size: 3.91 KB - Last synced at: 4 days ago - Pushed at: 6 months ago - Stars: 65 - Forks: 43

j2kun/imsdb_download_all_scripts
Download all plaintext scripts from imsdb.com
Language: Python - Size: 2.93 KB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 34 - Forks: 17

j2kun/svd
Python code implementing the power method for Singular Value Decomposition
Language: Python - Size: 5.66 MB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 104 - Forks: 38

j2kun/april-cools.github.io Fork of april-cools/april-cools.github.io
April Cools' Club website
Language: HTML - Size: 229 KB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 0 - Forks: 0

j2kun/fft
Python code and wav files for the post "The Fast Fourier Transform Algorithm, and Denoising a Sound Clip"
Language: Python - Size: 1.04 MB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 96 - Forks: 18

j2kun/segment
Python code and data for the post "Word Segmentation, or Makingsenseofthis"
Language: Python - Size: 2.08 MB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 17 - Forks: 8

j2kun/fft-watermark
The code for the post "The Two-Dimensional Fourier Transform and Digital Watermarking"
Language: Python - Size: 6.93 MB - Last synced at: about 1 month ago - Pushed at: 4 months ago - Stars: 43 - Forks: 15

j2kun/cryptanalysis-n-grams
Python code and data for the post ["Cryptanalysis with N-Grams"]
Language: Python - Size: 4.46 MB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 6 - Forks: 2

j2kun/selenium-playground
Experiments with Selenium
Language: Python - Size: 1000 Bytes - Last synced at: 15 days ago - Pushed at: 3 months ago - Stars: 0 - Forks: 0

j2kun/mlir-resources
A list of articles outside of the official MLIR docs that I've found useful for learning MLIR
Size: 1.95 KB - Last synced at: 3 months ago - Pushed at: almost 2 years ago - Stars: 11 - Forks: 0

j2kun/load-balancing
A python implementation of a load balancer that uses a 2-universal hash family.
Language: Python - Size: 1.95 KB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 17 - Forks: 5

j2kun/essays
Short essays I've written
Size: 2.47 MB - Last synced at: 3 months ago - Pushed at: over 1 year ago - Stars: 75 - Forks: 4

j2kun/exp3
Python code for the post "Adversarial Bandits and the Exp3 Algorithm"
Language: Python - Size: 1.88 MB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 51 - Forks: 14

j2kun/bezier-picasso
Python and Javascript code used in the post "Bezier Curves and Picasso"
Language: JavaScript - Size: 5.77 MB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 21 - Forks: 3

j2kun/zero-knowledge-proofs
Python code for the post Zero Knowledge Proofs — A Primer
Language: Python - Size: 5.86 KB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 32 - Forks: 13

j2kun/nvim-config
Neovim config
Language: Lua - Size: 80.1 KB - Last synced at: about 1 month ago - Pushed at: 4 months ago - Stars: 3 - Forks: 0

j2kun/pmfp-code
Source code for the book Practical Math for Programmers
Language: Python - Size: 6.7 MB - Last synced at: 10 days ago - Pushed at: 10 days ago - Stars: 6 - Forks: 1

j2kun/extension-trigger-gh-workflow
A chrome extension to trigger a GitHub workflow
Language: JavaScript - Size: 2.93 KB - Last synced at: about 1 month ago - Pushed at: 5 months ago - Stars: 4 - Forks: 0

j2kun/random-art
Python code for the post "Random (Psychedelic) Art, and a Pinch of Python"
Language: Python - Size: 2.84 MB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 44 - Forks: 21

j2kun/book-template
A LaTeX template I used for pimbook
Language: TeX - Size: 14.6 KB - Last synced at: 3 months ago - Pushed at: almost 5 years ago - Stars: 42 - Forks: 11

j2kun/fhe-packing
Companion repository for an article about FHE packings
Language: Python - Size: 36.1 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 2 - Forks: 0

j2kun/math-genealogy-visualizer
A javascript visualization of the math genealogy database
Language: JavaScript - Size: 7.03 MB - Last synced at: about 1 month ago - Pushed at: over 1 year ago - Stars: 9 - Forks: 5

j2kun/lp-diet
Linear Programming Diet Experiments
Language: Python - Size: 1.88 MB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 33 - Forks: 6

j2kun/chktex-action
A Github action to lint a LaTeX file for style and formatting issues.
Language: Python - Size: 286 KB - Last synced at: 4 days ago - Pushed at: 4 months ago - Stars: 17 - Forks: 12

j2kun/frontend-tests
Language: Python - Size: 307 KB - Last synced at: 3 months ago - Pushed at: 6 months ago - Stars: 1 - Forks: 0

j2kun/math-genealogy-scraper
Code for scraping (and a mirror of) the Math Genealogy Database
Language: HTML - Size: 7.36 MB - Last synced at: 3 months ago - Pushed at: almost 2 years ago - Stars: 18 - Forks: 5

j2kun/pc-automation
Language: Python - Size: 3.91 KB - Last synced at: 2 months ago - Pushed at: 7 months ago - Stars: 1 - Forks: 0

j2kun/heir-play
An ipython/jupyter magic for running HEIR commands
Language: Jupyter Notebook - Size: 12.7 KB - Last synced at: 2 months ago - Pushed at: 10 months ago - Stars: 0 - Forks: 2

j2kun/elliptic-curve-diffie-hellman
Python code for the post "Elliptic Curve Diffie-Hellman"
Language: Python - Size: 18.6 KB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 15 - Forks: 7

j2kun/negacyclic
Implementations of cyclic and negacyclic polynomial multiplication
Language: Python - Size: 12.7 KB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 5 - Forks: 1

j2kun/webmention.js Fork of PlaidWeb/webmention.js
Client-side library for rendering webmentions from webmention.io
Language: JavaScript - Size: 111 KB - Last synced at: 7 months ago - Pushed at: 7 months ago - Stars: 2 - Forks: 0

j2kun/finite-fields
Python code and tests for the post 'Programming with Finite Fields'
Language: Python - Size: 22.5 KB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 48 - Forks: 17

j2kun/remez
An implementation of the remez algorithm and variants
Language: Python - Size: 38.1 KB - Last synced at: 3 months ago - Pushed at: 8 months ago - Stars: 0 - Forks: 0

j2kun/fhe-schemes
A tutorial repository for learning implementations of FHE schemes
Language: Python - Size: 41 KB - Last synced at: 3 months ago - Pushed at: about 1 year ago - Stars: 3 - Forks: 0

j2kun/art-turing-ellipse
A six-panel artistic rendition of Alan Turing
Size: 8.32 MB - Last synced at: 3 months ago - Pushed at: almost 5 years ago - Stars: 20 - Forks: 1

j2kun/rsa
Java code for the post "Encryption & RSA"
Language: Java - Size: 125 KB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 4 - Forks: 5

j2kun/new-machine
Scripts for installing utilities and setting preferences on a brand new OS X El Capitan.
Language: Shell - Size: 30.3 KB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 13 - Forks: 4

j2kun/elliptic-curve-signature
Python code for the post "Sending and Authenticating Messages with Elliptic Curves"
Language: Python - Size: 17.6 KB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 7 - Forks: 4

j2kun/elliptic-curves-finite-fields
The combined Python code for the post "Elliptic Curves over Finite Fields"
Language: Python - Size: 30.3 KB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 16 - Forks: 12

j2kun/elliptic-curves-rationals
Code for the post "Elliptic Curves as Python Objects" implementing elliptic curve point addition over rational numbers.
Language: Python - Size: 5.86 KB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 20 - Forks: 11

j2kun/mwua
Python code implementing the MWUA algorithm and a Linear Program solver
Language: Python - Size: 69.3 KB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 34 - Forks: 7

j2kun/hn-webmention Fork of capjamesg/hn-webmention
Send Webmentions from Hacker News to your personal website.
Language: Python - Size: 6.84 KB - Last synced at: 10 months ago - Pushed at: 10 months ago - Stars: 0 - Forks: 0

j2kun/eigenfaces
Mathematica notebook and resources for the post "Eigenfaces"
Size: 25.7 MB - Last synced at: 3 months ago - Pushed at: almost 5 years ago - Stars: 22 - Forks: 5

j2kun/tex-convert-delimiters
A simple demonstration of how to define a parser that converts latex mathmode delimiters
Language: Python - Size: 4.88 KB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 9 - Forks: 0

j2kun/riemann-divisor-sum
Code for the series "Searching for Riemann Hypothesis Counterexamples"
Language: HTML - Size: 7.16 MB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 21 - Forks: 2

j2kun/gadget-decomposition-fhe
Language: Python - Size: 2.93 KB - Last synced at: about 2 months ago - Pushed at: over 3 years ago - Stars: 4 - Forks: 1

j2kun/sdr
Signed-digit representations
Language: Python - Size: 2.93 KB - Last synced at: 3 months ago - Pushed at: 11 months ago - Stars: 0 - Forks: 0

j2kun/computing-homology
Python code for the post "Computing Homology"
Language: Python - Size: 5.86 KB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 29 - Forks: 13

j2kun/my-favorite-math-art
Some of my favorite math art (not made by me)
Size: 1.97 MB - Last synced at: 3 months ago - Pushed at: almost 5 years ago - Stars: 4 - Forks: 1

j2kun/mlir-www Fork of llvm/mlir-www
Language: SCSS - Size: 72.9 MB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

j2kun/ucb1
The code for the post "Optimism in the Face of Uncertainty: the UCB1 Algorithm"
Language: Python - Size: 1000 KB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 36 - Forks: 15

j2kun/tianshou-experiments
Experiments with RL and the tianshou library
Language: Python - Size: 251 KB - Last synced at: 3 months ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

j2kun/retvec
Experiments with retvec
Language: MLIR - Size: 5.51 MB - Last synced at: 3 months ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 1

j2kun/usda_ndb_r26 Fork of nciske/usda_ndb_r26
USDA Nutrient Database r26 in MySql format
Size: 12.4 MB - Last synced at: about 1 year ago - Pushed at: almost 5 years ago - Stars: 1 - Forks: 0

j2kun/TinyGarble Fork of esonghori/TinyGarble
TinyGarble: Logic Synthesis and Sequential Descriptions for Yao's Garbled Circuits
Size: 295 MB - Last synced at: about 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

j2kun/telescope-alternate.nvim Fork of otavioschwanck/telescope-alternate.nvim
Alternate between common files using pre-defined regexp. Just map the patterns and starting navigating between files that are related.
Language: Lua - Size: 6.93 MB - Last synced at: about 1 year ago - Pushed at: almost 2 years ago - Stars: 0 - Forks: 0

j2kun/Polygeist Fork of llvm/Polygeist
C/C++ frontend for MLIR. Also features polyhedral optimizations, parallel optimizations, and more!
Size: 6.27 MB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

j2kun/lonely-hearts 📦
Play hearts in the browser with friends
Language: Python - Size: 427 KB - Last synced at: about 1 year ago - Pushed at: about 2 years ago - Stars: 1 - Forks: 1

j2kun/hacker-news-download-all-stories Fork of minimaxir/hacker-news-download-all-stories
Download *ALL* the submissions from Hacker News
Language: Python - Size: 13 MB - Last synced at: about 1 year ago - Pushed at: almost 5 years ago - Stars: 0 - Forks: 2

j2kun/ellipse-experiments
Experiments with ellipses
Language: JavaScript - Size: 469 KB - Last synced at: about 1 year ago - Pushed at: almost 2 years ago - Stars: 0 - Forks: 1

j2kun/concrete Fork of zama-ai/concrete
Concrete Operates oN Ciphertexts Rapidly by Extending TfhE
Language: C++ - Size: 34.4 MB - Last synced at: about 1 year ago - Pushed at: over 1 year ago - Stars: 2 - Forks: 1

j2kun/clangir Fork of llvm/clangir
A new high-level IR for clang.
Size: 2.08 GB - Last synced at: about 1 year ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 0

j2kun/collatz-visualization
Language: JavaScript - Size: 409 KB - Last synced at: about 1 year ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 2

j2kun/bazel_rules_hdl Fork of hdl/bazel_rules_hdl
Hardware Description Language (Verilog, VHDL, Chisel, nMigen, etc) with open tools (Yosys, Verilator, OpenROAD, etc) rules for Bazel (https://bazel.build)
Language: Starlark - Size: 714 KB - Last synced at: about 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

j2kun/top-trading-cycles
Code for the post "Serial Dictatorships and House Allocation"
Language: Python - Size: 1.51 MB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 6 - Forks: 8

j2kun/flask-sockets-example
A simple example app using flask, rethinkdb, and socket.io
Language: Python - Size: 139 KB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 8 - Forks: 4

j2kun/earthmover
Implementation of the Earthmover distance metric in python.
Language: Python - Size: 54.7 KB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 14 - Forks: 5

j2kun/hybrid-images
Python code and images used in the post "Hybrid Images"
Language: Python - Size: 1.08 MB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 25 - Forks: 11

j2kun/cave-generation
Mathematica and javascript code used in the post "The Cellular Automaton Method for Procedural Cave Generation"
Size: 84 KB - Last synced at: 3 months ago - Pushed at: almost 5 years ago - Stars: 9 - Forks: 5

j2kun/dotfiles
vimrc, profile, etc.
Language: Vim Script - Size: 118 KB - Last synced at: about 1 month ago - Pushed at: over 1 year ago - Stars: 8 - Forks: 0

j2kun/openfhe-development Fork of openfheorg/openfhe-development
This is the development repository for the OpenFHE library. The current (stable) version is v1.1.2 (released on December 16, 2023).
Size: 6.33 MB - Last synced at: about 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

j2kun/test_mlir_bazel_pybind
Language: Starlark - Size: 13.7 KB - Last synced at: 3 months ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

j2kun/hugo Fork of gohugoio/hugo
The world’s fastest framework for building websites.
Language: Go - Size: 115 MB - Last synced at: about 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

j2kun/hugo-goldmark-extensions Fork of gohugoio/hugo-goldmark-extensions
Work in progress.
Language: Go - Size: 27.3 KB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

j2kun/jax Fork of google/jax
Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more
Language: Python - Size: 66.8 MB - Last synced at: about 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

j2kun/k-means
Python and Mathematica code for the post "K-Means Clustering and Birth Rates"
Language: Python - Size: 706 KB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 2 - Forks: 5

j2kun/low-complexity-art
Mathematica notebook for the post "Low-Complexity Art"
Size: 5.68 MB - Last synced at: 3 months ago - Pushed at: almost 5 years ago - Stars: 3 - Forks: 0

j2kun/canvas-scripts
Helpful scripts for working with Canvas
Language: Python - Size: 15.6 KB - Last synced at: 3 months ago - Pushed at: almost 2 years ago - Stars: 2 - Forks: 0

j2kun/smallweb Fork of kagisearch/smallweb
Kagi Small Web
Size: 1.23 MB - Last synced at: about 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

j2kun/welch-berlekamp
Language: Python - Size: 708 KB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 10 - Forks: 10

j2kun/fhe-org.github.io Fork of FHE-org/fhe-org.github.io
We are a community of researchers and developers interested in advancing homomorphic encryption and other secure computation techniques.
Language: HTML - Size: 20.3 MB - Last synced at: about 1 year ago - Pushed at: over 1 year ago - Stars: 2 - Forks: 0

j2kun/mirror Fork of lily-x/mirror
Robust Reinforcement Learning Under Minimax Regret for Green Security (UAI-21)
Size: 79.1 KB - Last synced at: about 1 year ago - Pushed at: about 3 years ago - Stars: 1 - Forks: 0

j2kun/program-gallery
Program Gallery
Language: Python - Size: 20.5 KB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 18 - Forks: 7

j2kun/xls Fork of google/xls
XLS: Accelerated HW Synthesis
Language: C++ - Size: 30.8 MB - Last synced at: about 1 year ago - Pushed at: almost 2 years ago - Stars: 1 - Forks: 0

j2kun/convert_call_repro
A repository containing a minimal reproduction of a dialect conversion framework bug
Language: Starlark - Size: 13.7 KB - Last synced at: 3 months ago - Pushed at: almost 2 years ago - Stars: 0 - Forks: 0

j2kun/svm-sequential-minimal-optimization
An implementation and blog post about the Sequential Minimal Optimization algorithm for Support Vector Machines
Language: JavaScript - Size: 14.2 MB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 7 - Forks: 3

j2kun/fkl-SDM16
Code and experiments for "A confidence-based approach for balancing fairness and accuracy"
Language: Python - Size: 818 KB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 4 - Forks: 2

j2kun/cv
My resume/CV, in archival json form and various other formats.
Language: HTML - Size: 3.12 MB - Last synced at: 3 months ago - Pushed at: almost 5 years ago - Stars: 5 - Forks: 0

j2kun/depth-breadth-first-search
Python code used in the post "Depth- and Breadth-First Search"
Language: Python - Size: 156 KB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 10 - Forks: 7

j2kun/boosting
Python code for the post on boosting.
Language: Python - Size: 1.24 MB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 7 - Forks: 11

j2kun/j2kun.github.io
A repository for javascript demos used on jeremykun.com
Language: HTML - Size: 10.9 MB - Last synced at: 3 months ago - Pushed at: over 2 years ago - Stars: 3 - Forks: 2

j2kun/johnson-lindenstrauss
The code and data used in the post, "Big Dimensions, and What You Can Do About It"
Language: Mathematica - Size: 3.86 MB - Last synced at: 3 months ago - Pushed at: almost 5 years ago - Stars: 4 - Forks: 4

j2kun/bandits-and-stocks
The python code and data sets for the post "Bandits and Stocks"
Language: Python - Size: 1.22 MB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 11 - Forks: 12

j2kun/3d-printing
My custom 3D printed designs
Language: G-code - Size: 1.05 MB - Last synced at: about 5 hours ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 0

j2kun/neural-networks
Python code and data sets used in the post on neural networks.
Language: Mathematica - Size: 482 KB - Last synced at: 3 months ago - Pushed at: almost 5 years ago - Stars: 83 - Forks: 35

j2kun/bracelet-solver
A prototype solver for a standard friendship bracelet design
Language: Python - Size: 9.77 KB - Last synced at: 3 months ago - Pushed at: about 2 years ago - Stars: 1 - Forks: 0
