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
| // ==UserScript== | |
| // @name Soundcloud scrub fix | |
| // @namespace https://coderobe.net/ | |
| // @version 0.1 | |
| // @description enables scrubbing through long tracks on soundcloud without having to be logged in | |
| // @author Mara Broda (coderobe) | |
| // @match https://soundcloud.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=soundcloud.com | |
| // @grant none | |
| // ==/UserScript== |
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. |