560 blogs tracked4,950 posts indexed

#misc

9 posts · 1 company · newest first

1

Monte-Carlo simulations (opens on the source site)

Monte Carlo simulations (or methods) is the technique of applying randomness and the Law of large numbers to the solution of various scientific and engineering problems. One of its first documented uses was by Stanislaw Ulam and John von Neumann for nuclear weapon simulations after WWII [1]. In this post I want to provide examples of some simple uses of Monte Carlo simulations. We'll start with the classical example of calculating the value of \pi by throwing darts. Estimating pi Suppose we take a square board and inscribe a quarter of a circle into it. We then proceed to throw darts at the…

miscmathexcerpt only · body stays at the source
From the web
2

Summary of reading: July - September 2026 (opens on the source site)

"Wuthering Heights" by Emily Brontë - good writing, but the protagonists are quite something. There's barely a likable character in the whole story - they are all either crazy, evil, stupid or a combination of these. It's also remarkable to consider how small the world of some people in those times was (pre-Victorian England); whole lives spent within a tiny area, interacting with a handful of other people. And that's for members of the nobility, not some bumpkin on a remote farm. "The Pickled City: The Story of New York pickles" by Paul Van Ravenstein and Monique Mulder - yes, a book about…

miscbook-reviewsexcerpt only · body stays at the source
From the web
3

Rusty thoughts on "Parse, don't validate" (opens on the source site)

Like many programmers, I find Alexis King's Parse, don't validate article fascinating, because it gives a name to an idiom that seems familiar and important - one I've observed and used in the past without naming it explicitly. This post is a review of the "Parse, don't validate" pattern applied to the Rust programming language (the original post uses Haskell). I was particularly interested in finding educational examples of this pattern in the Rust standard library and other well-known projects. Without repeating the original article (please read it first!), here's the gist of it. Consider…

miscrustexcerpt only · body stays at the source 9547 comments on HN (opens the discussion)
From the web
4

Notes on discrete-time Fourier series and transform (opens on the source site)

The following are my notes on discrete-time Fourier series (DTFS), as well as the discrete-time Fourier transform (DTFT). These topics serve as an important theoretical underpinning to the digital processing of signals by computers using the DFT (which will be covered in a future post). For discrete-time signals, we use …

miscmathexcerpt only · body stays at the source
From the web
8

Relative velocity and closing speed (opens on the source site)

In Physics simulations or game engines it’s sometimes useful to determine the speed with which two objects are approaching each other. This post will discuss the concept of closing speed, which is the normal component of the relative velocity of two objects. Relative velocity and its components Suppose we …

miscmathexcerpt only · body stays at the source
From the web
9 shown

Privacy choices

Reading never requires analytics. These choices last 90 days on this browser.

Essential sign-in and security storage always stays on. Read the privacy notice.