Prep: 15 minutes. Cooking: a few minutes per round. One batch serves about 3 people.
- large mixing bowl
- griddle (alternatively: several flat frying pans)
- large, thin spatula
- soup ladle
I recently discovered a relatively obscure algorithm for calculating the digits of pi: https://en.wikipedia.org/wiki/Gauss–Legendre_algorithm.
Well, at least obscure compared to Chudnovsky's. Wikipedia notes that it is "memory-intensive" but is it really?
Let's compare to the MPFR pi
function:
function gauss_legendre(prec)
setprecision(BigFloat, prec, base=10)
GC.enable(false)
! to keep your filters updated, import this list as: | |
! https://gist.githubusercontent.com/qguv/0b1def9db429a4caf6a97fd7b48b52b2/raw/static-filters.txt | |
! 2021-01-18 https://stackoverflow.com | |
! accessibility: remove dark rabbit-hole distraction links | |
! to update: | |
! 1. visit https://stackexchange.com/sites?view=list | |
! 2. open devtools (F12) | |
! 3. choose the console tab | |
! 4. paste the following (without the ! at the beginning) |
Term | Meaning |
---|---|
WUP-SAK | SAK Value found during the Wake up & Anti-collision process, what you would see reported from a basic search. |
Vanity SAK | SAK Value represented in Block 0 of a Mifare Classic, on legitimate cards this does not inform the value of the WUP-SAK. |
Magic Card | An illegitimate card capable of changing it's UID; some magic cards are also able to change other values such as ATQA/SAK. |
#!/bin/bash | |
set -euo pipefail | |
MYNAME=$(basename "${0}") | |
opts=$(getopt --name "$MYNAME" --options 'hVsEnu:g:D:' \ | |
--longoptions 'help,version,shell,preserve-env,non-interactive,user:,group:,chdir:' -- "${@}") | |
eval set -- "${opts}" | |
U=0 |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Script to calculate possible final standings for "combined climbing" (Olympics 2020 format) | |
from incomplete in-progress results: | |
BEST-WORST POSSIBLE FINAL STANDINGS | |
=================================== | |
A. Gines Lopez: 1-2 |
#ifndef WaterSineSeries | |
#define WaterSineSeries | |
// Based on GPU GEMS, Chapter 1: Effective Water Simulation from Physical Models | |
// https://developer.download.nvidia.com/books/HTML/gpugems/gpugems_ch01.html | |
#define TWO_PI 6.2831853 | |
/** | |
* x,y: coordinates |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in | |
all copies or substantial portions of the Software. |
With wf-recorder it is possible to record one output. When ffmpeg is compiled with sdl support, then it is possible to use "sdl" as the muxer and replay the recorded video instead of writing it to a file.