Programming in Z3 by learning to think like a compiler
Programming in logic can help you produce better optimized, more secure, bug-free code … if only you knew how to do it.
The latest blog posts to take off on Hacker News. 2,851 posts.
Programming in logic can help you produce better optimized, more secure, bug-free code … if only you knew how to do it.
Using the power of randomness to answer scientific questions.
What3Words is a widely promoted system that is used for sharing a location using just three words. For example, ///wedge.drill.mess is located in Hyde Park.The globe is divided into 3m squares, eac…
Prime powers have a kinda chaotic pattern in their bits. We bootstrap this idea into a good random number generator, recapitulating history.
Blog post
The site of Sid
The European Commission just released their Proposal for a Regulation on a European approach for Artificial Intelligence . They finally get around to a definition of “AI” on page 60 of the report (link above):
In this article I’m trying to explain the difference/similarities between dynamic programing and divide and conquer approaches based on two examples - binary search and minimum edit distance (Levenshtein distance)
Our algorithm has the peculiar property that, roughly speaking, the longer the pattern is, the faster the algorithm goes. Furthermore, the algorithm is ``sublinear'' in the sense that it generally looks at fewer characters than it passes. The algorithm is described in
Once upon a time we were creatures in the wilderness and we evolved the ability to hear sounds. Now here's an interesting thing, if you hear a sound of frequency f and others of frequency 2f, 3f, etc then there's a good chance these sounds come from the same object, due to the physical principle of resonance . And so…
The notation [x] reigned for nearly two centuries before being replaced by ⌊x⌋. Why the latter is much better and what else we might learn from its inventor.
Or, “how not to GIS”.
<meta http-equiv=
Ensemble averages and time averages
Machine learning systems thrive on finding and exploiting statistical regularities. This is why they can't do causal reasoning.
The three-step framework Shopify's Data Science & Engineering team built for evaluating new search algorithms.
There’s not a whole lot on TLA+ technique out there: all the resources are either introductions or case studies. Good for people starting out, bad for people past that. I think we need to write more intermediate-level stuff, what Ben Kuhn calls Blub studies. Here’s an attempt at that. Most TLA+ properties are…
A blog about signals, programming, music, and other stuff.
Erdős posed and solved problems in number theory and other areas and founded the field of discrete mathematics.
I published a slightly different version of this article in Nautilus on February 24, 2021. Everyone seems to be talking about the problems with physics: Woit’s book Not Even Wrong, SmolinR…
See how Mathematica was used to solve one of the cryptograms sent in a letter by the Zodiac Killer.
If I multiply two 64-bit integers (having values in [0, 264)), the product requires 128 bits. Intel and AMD processors (x64) can compute the full (128-bit) product of two 64-bit integers using a single instruction (mul). ARM processors, such as those found in your mobile phone, require two instructions to achieve the…
The foundation of modern cryptography.
FizzBuzz is a common coding problem asked in technical screenings or interviews. It goes something like this:
Blog of Raph Levien.
P(A|B) = [P(A)*P(B|A)]/P(B), all the rest is commentary.