lcamtuf's Avatar

lcamtuf

@lcamtuf.coredump.cx

Substack: http://lcamtuf.substack.com/archive Homepage: http://lcamtuf.coredump.cx

3,237 Followers  |  243 Following  |  147 Posts  |  Joined: 27.04.2023  |  1.8332

Latest posts by lcamtuf.coredump.cx on Bluesky

I MADE A DIFFERENCE, IT HAD FOUR UPVOTES

19.07.2025 02:13 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

I am shocked that posting a provocative, profanity-laced opinion piece about a controversial topic could invite this sort of intellectually deficient rebukes

19.07.2025 01:14 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

An update on the chicken coop.

Doors and windows by my wife (there's another window on the back, and a chicken door inside).

14.07.2025 03:24 β€” πŸ‘ 17    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Multitudes A warm, late-summer night in Bruges.

Multitudes: lcamtuf.substack.com/p/multitudes

14.07.2025 03:01 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GΓΆdel's beavers, or the limits of knowledge Can you examine infinitely many integers in finite time? Are there numbers you're not allowed to know? Can a monkey beat a beaver in a fair fight?

If you work in software, you know about the halting problem. But you *can* decide if a program halts in a finite number of steps! Except, when you do, it kinda summons the ghost of Kurt GΓΆdel.

An accessible essay on the limits of algorithmic knowledge: lcamtuf.coredump.cx/blog/beavers...

04.07.2025 19:46 β€” πŸ‘ 13    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Post image

A slightly unhinged calculator fact: in the golden era of electronic calculators, some Japanese shopkeepers were reluctant to trust the newfangled device, so Sharp made a line of combination calculator / abacus devices.

Here's a photo, next to some other stuff I own.

03.07.2025 18:09 β€” πŸ‘ 21    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0
Post image

An update on an update on the chicken coop

28.06.2025 15:13 β€” πŸ‘ 9    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image Post image

I don't know where you folks get your non-orientable manifolds, but the experience of ordering from Cliff Stoll at kleinbottle.com is second to none

27.06.2025 19:41 β€” πŸ‘ 29    πŸ” 3    πŸ’¬ 4    πŸ“Œ 0
Preview
0.9999... β‰Š 1 What is infinity, and why it's not trivial to show that 0.9999... is equal to 1.

What is infinity, and why it's not trivial to show that 0.9999... is equal to 1:

lcamtuf.substack.com/p/09999-1

08.06.2025 18:44 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Ο€ = 4 Trolls do a pretty good job of getting people interested in math.

The proof that Ο€ = 4
lcamtuf.coredump.cx/blog/pi/

06.06.2025 20:07 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Self-referential abstractions A quick look at the wacky epistemology of analog circuitry.

Self-referential abstractions, or a quick look at the wacky epistemology of analog circuitry.

lcamtuf.coredump.cx/blog/abstrac...

06.06.2025 20:06 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Post image

I finally decided to bite the bullet

05.06.2025 02:12 β€” πŸ‘ 10    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Did you know?

31.05.2025 13:36 β€” πŸ‘ 37    πŸ” 5    πŸ’¬ 5    πŸ“Œ 0
Post image

An update on chickens

28.05.2025 23:07 β€” πŸ‘ 16    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
A 20-minute intro to complex numbers You might have heard of complex numbers before -- but why exactly did we choose i = √-1?

A 20-minute intro to complex numbers (featuring cats): lcamtuf.coredump.cx/blog/complex/

24.05.2025 18:43 β€” πŸ‘ 6    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image 24.05.2025 16:53 β€” πŸ‘ 37    πŸ” 6    πŸ’¬ 0    πŸ“Œ 0
Preview
Decibels are ridiculous Celebrating a rare dumpster fire in the kingdom of science

Decibels are ridiculous: lcamtuf.coredump.cx/blog/decibels/

22.05.2025 04:15 β€” πŸ‘ 23    πŸ” 5    πŸ’¬ 5    πŸ“Œ 0

I believe this might qualify for a Nobel prize in computer

20.05.2025 02:24 β€” πŸ‘ 13    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Of course, that's dumb. But I'm ready to unveil a working implementation that's accurate 100% of the time:

#include <gmp.h>

int is_prime(mpz_t n) {
return 0;
}

The proof is that 1/ln(n) β†’ 0 as n β†’ ∞

20.05.2025 02:15 β€” πŸ‘ 11    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

There's this joke primality testing library that claims 95% accuracy in O(1) time:

github.com/mawerty/Is-P...

It does so by always returning false. The density of primes between 1 and n approaches 1/ln(n). For a 32-bit int, 4.6% of values are prime, so the code is right 95.4% of the time.

πŸ‘‡

20.05.2025 02:15 β€” πŸ‘ 19    πŸ” 2    πŸ’¬ 2    πŸ“Œ 0
Preview
Complex numbers #2: a world in 3D Why is there no equivalent of complex numbers for three dimensions? And what's the deal with quaternions?

Can you have complex numbers in 3D, and what the heck are quaternions? lcamtuf.coredump.cx/blog/complex2/

19.05.2025 01:18 β€” πŸ‘ 11    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

I'm old enough to remember when our #1 concern about the veracity of online information was that anyone could edit Wikipedia

17.05.2025 03:49 β€” πŸ‘ 65    πŸ” 7    πŸ’¬ 1    πŸ“Œ 0
Preview
The Mathematics of Love Interior of an upscale restaurant, night.

The Mathematics of Love: lcamtuf.coredump.cx/blog/love/

13.05.2025 01:32 β€” πŸ‘ 8    πŸ” 0    πŸ’¬ 0    πŸ“Œ 1
Post image

What a coincidence, I have the same interests

11.05.2025 15:05 β€” πŸ‘ 14    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
SierpiΕ„ski triangle? In my bitwise AND? Exploring a peculiar bit-twiddling hack at the intersection of 1980s geek sensibilities.

Sierpinski triangle? In my bitwise AND?
lcamtuf.coredump.cx/blog/triangle/

10.05.2025 21:08 β€” πŸ‘ 15    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Post image

I found a motto for my Substack

04.05.2025 18:27 β€” πŸ‘ 19    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Preview
The Long Winter Interior of a vast cavern.

The Long Winter: lcamtuf.coredump.cx/blog/winter/

28.04.2025 17:26 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Analog filters, part 2: let it ring A continuation of the gentle intro to analog signal filtering. In today's episode: transfer functions and the Sallen-Key topology.

A (fairly) gentle intro to transfer functions and resonant filters: lcamtuf.coredump.cx/blog/rc-filt...

To fully appreciate it, you'd probably need to be up-to-date on the preceding article, linked on top.

26.04.2025 01:46 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
Core concepts #2: impedance is complex Modeling impedance in two dimensions, and why a common workbench gadget is not quite what it seems.

I revamped my article on complex impedance. It now offers:

1) An accessible analysis of RC, RL, and LC circuits,

2) A cute proof for why the Cartesian plane interpretation of impedance makes sense,

3) A basic primer on complex numbers, featuring cats.

lcamtuf.coredump.cx/blog/lcr

25.04.2025 18:29 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Simplifying a bit, this means it can supply 0.2 A for an hour. An hour is 3,600 seconds, so it works out to 720 coulombs.

A typical lightning bolt is typically quoted at 15 coulombs.

Anyway, I think this is why you're not supposed to swallow batteries

24.04.2025 00:23 β€” πŸ‘ 9    πŸ” 0    πŸ’¬ 3    πŸ“Œ 0

@lcamtuf.coredump.cx is following 19 prominent accounts