• Evolved Virtual Creatures by Karl Sims. A more than 30 years old project, but still very interesting. www.karlsims.com/evolved-virtual-c… www.youtube.com/watch?v=RZtZia4ZkX…

    Published 2025-12-22 on Bluesky Mastodon
  • Today marks the December solstice, the shortest day in the Northern Hemisphere and the longest day in the Southern Hemisphere. At 15:03 UTC the North Pole is tilted maximally (about 23.4°) away from the Sun. janmr.com/posts/equinoxes-and-sols…

    December Solstice Distribution by Day and Hour (1900-2100)

    Published 2025-12-21 on Bluesky Mastodon
  • Evaluation of Powers janmr.com/posts/evaluation-of-powe…

    x0=1x2k=(xk)2x2k+1=x⋅x2k\begin{aligned} x^0 &= 1 \\ x^{2k} &= (x^k)^2 \\ x^{2k+1} &= x \cdot x^{2k} \\ \end{aligned} x0x2kx2k+1​=1=(xk)2=x⋅x2k​

    Published 2025-12-20 on Bluesky Mastodon
  • The M/o/Vfuscator compiles programs into "mov" instructions, and only "mov" instructions. Arithmetic, comparisons, jumps, function calls, and everything else a program needs are all performed through mov operations; there is no self-modifying code, no transport-triggered calculation, and no other form of non-mov cheating. 🤯 github.com/xoreaxeaxeax/movfuscato…

    Published 2025-12-19 on Bluesky Mastodon
  • Prime Factors of Factorial Numbers janmr.com/posts/prime-factors-of-f…

    dp(n!)=∑k=1∞⌊npk⌋=∑k=1⌊log⁡p(n)⌋⌊npk⌋d_p(n!) = \sum_{k=1}^\infty \left\lfloor \frac{n}{p^k} \right\rfloor = \sum_{k=1}^{\lfloor \log_p(n) \rfloor} \left\lfloor \frac{n}{p^k} \right\rfloor dp​(n!)=k=1∑∞​⌊pkn​⌋=k=1∑⌊logp​(n)⌋​⌊pkn​⌋

    Published 2025-12-18 on Bluesky Mastodon
  • Every position of Rubik's Cube can be solved in twenty moves or less www.cube20.org

    Published 2025-12-17 on Bluesky Mastodon
  • Computing the Integer Binary Logarithm janmr.com/posts/computing-the-inte…

    k=⌊log⁡2n⌋⇔2k≤n<2k+1k = \lfloor \log_2 n \rfloor \quad \Leftrightarrow \quad 2^k \leq n < 2^{k+1} k=⌊log2​n⌋⇔2k≤n<2k+1

    Published 2025-12-16 on Bluesky Mastodon
  • Stanford Lecture: Dr. Don Knuth - Adventures with Knight's Tours (2025-12-04) www.youtube.com/watch?v=MKiRte-tnM… (playlist with many of Knuth's lectures: www.youtube.com/playlist?list=PL94…)

    Published 2025-12-15 on Bluesky Mastodon
  • Bit Twiddling Hacks, a collection of fast and tested code snippets graphics.stanford.edu/~seander/bit…

    Published 2025-12-15 on Bluesky Mastodon
  • Bitwise Operators and Negative Numbers janmr.com/posts/bitwise-operators-…

    x‾=−1−x\overline{x} = -1 - x x=−1−x

    Published 2025-12-14 on Bluesky Mastodon
  • Test and benchmark suite for sort implementations, github.com/Voultapher/sort-researc….

    The current slice::sort_unstable implementation of the Rust standard library is based on ipnsort github.com/Voultapher/sort-researc… doc.rust-lang.org/1.92.0/std/primi…

    github:Voultapher/sort-research-rs

    Published 2025-12-13 on Bluesky Mastodon
  • Visualizing the Pythagorean Theorem janmr.com/posts/visualizing-the-py…

    Published 2025-12-12 on Bluesky Mastodon
  • How to Draw a Straight Line (Peaucellier–Lipkin linkage) www.futilitycloset.com/2014/12/05/…

    Published 2025-12-10 on Bluesky Mastodon
  • Fractions and Circles janmr.com/posts/fractions-and-circ…

    Published 2025-12-09 on Bluesky Mastodon
  • Two Notes on Notation by Donald E. Knuth (Iverson's convention and Stirling numbers) arxiv.org/abs/math/9205211

    [P][nk]{nk}[P] \quad \left[ { n \atop k } \right] \quad \left\{ { n \atop k } \right\} [P][kn​]{kn​}

    Published 2025-12-08 on Bluesky Mastodon
  • The Stern-Brocot Tree of Fractions janmr.com/posts/the-stern-brocot-t…

    The Stern-Brocot Tree of Fractions

    Published 2025-12-07 on Bluesky Mastodon
  • Langford pairs: Arrange the 2n numbers {1, 1, 2, 2, ..., n, n} such that exactly k numbers occur between the two appearances of each digit k dialectrix.com/langford.html

    Published 2025-12-06 on Bluesky Mastodon
  • Continued Fractions and Continuants janmr.com/posts/continued-fraction…

    a0+1a1+1⋱+1an−1+1ana_0 + \displaystyle\frac{1}{a_1 + \displaystyle\frac{1}{\ddots + \displaystyle\frac{1}{a_{n-1} + \displaystyle\frac{1}{a_n}}}} a0​+a1​+⋱+an−1​+an​1​1​1​1​

    Published 2025-12-05 on Bluesky Mastodon
  • Online book: Mining of Massive Datasets www.mmds.org

    Published 2025-12-03 on Bluesky Mastodon
  • Computing the Greatest Common Divisor janmr.com/posts/computing-the-grea…

    gcd(u,v)=∏p  primepmin⁡(up,vp).\text{gcd}(u,v) = \prod_{p \; \rm prime} p^{\min(u_p,v_p)}. gcd(u,v)=pprime∏​pmin(up​,vp​).

    Published 2025-12-02 on Bluesky Mastodon
  • Guido on introducing the shortcut conditional expression to Python. Some usages are "intentionally ugly" and finishes by adding "It's still my language! :-)". mail.python.org/pipermail/python-d…

    A if C else B
    
    Published 2025-12-01 on Bluesky Mastodon
  • Useful Properties of the Floor and Ceil Functions janmr.com/posts/useful-properties-…

    n=⌊x⌋⟺n≤x<n+1,n=⌊x⌋⟺x−1<n≤x,n=⌈x⌉⟺n−1<x≤n,n=⌈x⌉⟺x≤n<x+1\begin{aligned} n=\lfloor x \rfloor \quad &\Longleftrightarrow \quad n \leq x < n+1, \\ n=\lfloor x \rfloor \quad &\Longleftrightarrow \quad x-1 < n \leq x, \\ n=\lceil x \rceil \quad &\Longleftrightarrow \quad n-1 < x \leq n, \\ n=\lceil x \rceil \quad &\Longleftrightarrow \quad x \leq n < x+1 \end{aligned} n=⌊x⌋n=⌊x⌋n=⌈x⌉n=⌈x⌉​⟺n≤x<n+1,⟺x−1<n≤x,⟺n−1<x≤n,⟺x≤n<x+1​

    Published 2025-11-30 on Bluesky Mastodon
  • Google humor: Did you mean recursion? www.google.com/search?q=recursion

    Published 2025-11-29 on Bluesky Mastodon
  • Twelve Ways of Counting janmr.com/posts/twelve-ways-of-cou…

    Published 2025-11-28 on Bluesky Mastodon
  • Modern Computer Arithmetic, a book about algorithms for performing arithmetic, and their implementation on modern computers maths-people.anu.edu.au/~brent/pub… members.loria.fr/PZimmermann/mca/p…

    Published 2025-11-27 on Bluesky Mastodon
  • Nice Proof of a Geometric Progression Sum janmr.com/posts/nice-geometric-pro…

    Published 2025-11-26 on Bluesky Mastodon
  • The first website info.cern.ch

    Published 2025-11-21 on Bluesky Mastodon
  • Math.sumPrecise developer.mozilla.org/en-US/docs/W…

    Published 2025-08-01 on Bluesky
  • A leap year check in three instructions hueffner.de/falk/blog/a-leap-year-…

    Published 2025-05-22 on Bluesky
  • Full unicode emoji list unicode.org/emoji/charts/full-emoj…

    Published 2025-05-20 on Bluesky
  • An ongoing multi-author open source project to formalise a proof of Fermat's Last Theorem in the Lean theorem prover imperialcollegelondon.github.io/FL…

    Published 2025-05-19 on Bluesky
  • Fast and maintainable patterns for fetching from a database by @sophiebits.com sophiebits.com/2020/01/01/fast-mai…

    Published 2025-05-07 on Bluesky
  • Celebrate 50 years of Microsoft with the company’s original source code by Bill Gates www.gatesnotes.com/home/home-page-…

    Published 2025-04-04 on Bluesky
  • Free math texts by Jim Hefferon (Linear Algebra, Theory of Computation, Introduction to Proofs) hefferon.net

    Published 2025-04-02 on Bluesky
  • @acm.org ACM has named Andrew G. Barto and Richard S. Sutton as the recipients of the 2024 ACM A.M. Turing Award for developing the conceptual and algorithmic foundations of reinforcement learning awards.acm.org/about/2024-turing

    Published 2025-03-05 on Bluesky
  • Stanford's "The Fourier Transform and Its Applications"

    Videos, problem sets & more: see.stanford.edu/course/ee261

    Published 2025-03-04 on Bluesky
  • An unexpected, and extremely inefficient, way to compute pi @3blue1brown.com www.youtube.com/watch?v=HEfHFsfGXj…

    Published 2025-02-27 on Bluesky
  • Introduction to Computer Graphics, a free, on-line textbook covering the fundamentals of computer graphics and computer graphics programming math.hws.edu/graphicsbook

    Published 2025-02-25 on Bluesky
  • Videos from Math Professor Jeffrey Chasnov. Some of the playlists are videos from his Coursera courses on Mathematics for Engineers. www.youtube.com/@Jeff-math/playlis… www.math.hkust.edu.hk/~machas/?men…

    Published 2025-01-24 on Bluesky
  • Computer Science lectures by @timroughgarden.bsky.social www.youtube.com/channel/UCcH4Ga14Y…

    Published 2025-01-08 on Bluesky
  • Online conversion from TeX/MathML to HTML/SVG (powered by MathJax) mathjax.github.io/MathJax-demos-we…

    Published 2025-01-07 on Bluesky
  • Temml is a LaTeX-to-MathML JavaScript conversion utility. Useful online converter on homepage. temml.org

    github:ronkok/Temml

    Published 2025-01-06 on Bluesky
  • KaTeX: A math typesetting library for the web katex.org

    github:KaTeX/KaTeX

    Published 2025-01-06 on Bluesky
  • 👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration. ghostty.org

    github:ghostty-org/ghostty

    Published 2024-12-29 on Bluesky
  • Advent of Code 2024 complete!

    Published 2024-12-25 on Bluesky Mastodon
  • MarkItDown: Python tool for converting various files to Markdown. It presently supports: PDF, PowerPoint, Word, Excel, Images, Audio, HTML, csv, json, xml, etc. github.com/microsoft/markitdown

    github:microsoft/markitdown

    Published 2024-12-15 on Bluesky Mastodon
  • Vanilla JS vanilla-js.com

    Published 2024-12-09 on Mastodon
  • Donald Knuth's 28th annual Christmas Lecture: Strong Components and Weak Components www.youtube.com/watch?v=au26uZfuxV… (past recordings www.youtube.com/playlist?list=PLoR…)

    Published 2024-12-04 on Bluesky Mastodon
  • In Python, comparisons can be chained arbitrarily, e.g., x < y <= z is equivalent to x < y and y <= z docs.python.org/3/reference/expres…

    Published 2024-11-26 on Bluesky
  • Lean: First Steps leanfirststeps.blogspot.com/p/cont…

    Published 2024-11-26 on Bluesky
← Previous Next →

Home

Posts

Lab

Me

Feed

This site is licensed under CC BY 4.0 cc by