The term "patch", meaning a software update, originates from the days when computer code was written on physical cards with holes punched in them. If there was a change in the code, you would "patch" that section of the card with a piece of tape, covering it, and changing it.
A short Python program to estimate π:
import random
def estimate_pi(n):
m = 0
for i in range(n):
x = random.uniform(0, 1)
y = random.uniform(0, 1)
if x*x + y*y <= 1:
m += 1
return 4 * m / n
Yo: Qué genial esta melodía, Damon Albarn es un genio total.
Damon Albarn: Compré un pianito eletrónico por 2 dolares, apreté el botoncito de 'Rock' y no-hice-nada-más.
Seguimos espiando la agenda de #nerdearla 🕵🏻♀️
Hilo de todas las charlas del #TrackData del 29 de septiembre en formato presencial, en el @CCKonex + streaming para todo el mundo!
👇🏼🧵
Inspired by a long tradition of impossible objects, this 'impossible portal' created by coded loop artist @jn3008 challanges your mind leaning toward you or away from you according to the point of the portal you focus on
[site: https://t.co/whtIlL5YZr]