I hereby claim:
- I am nikolaj-k on github.
- I am nikolajk (https://keybase.io/nikolajk) on keybase.
- I have a public key ASC4jS_ZAFOTsigcMsy9J7rRKelrY4yFjK54i4Ae-jv0sQo
To claim this, I am signing this object:
""" | |
Code from the video: | |
https://youtu.be/QcfYTagj3pk | |
For two gifs made from it, see | |
https://thumbs.gfycat.com/BlissfulMenacingCanine-mobile.mp4 | |
https://thumbs.gfycat.com/MinorHealthyCub-mobile.mp4 | |
Note that this code can't be executed on it's own - it's just all the functions about geometry used in the animation. |
""" | |
Code discussed in this video: | |
https://youtu.be/qA58ggk9fPA | |
And here's the links mentioned: | |
Torque-free motion gif's: | |
Integrated motion: | |
https://gfycat.com/costlyhardtofinddolphin & |
from functools import reduce | |
from more_itertools import set_partitions | |
import operator | |
from sympy.ntheory import factorint | |
from time import sleep | |
def prod(nums): | |
return reduce(operator.mul, nums, 1) |
import random | |
# Set configuration in simulate() function | |
def naturals(): | |
n = 0 | |
while True: | |
yield n |
""" | |
This is the script discussed in the video | |
https://youtu.be/JCXZw1qC1ZA | |
$g(x) := 2 + 5 x^2 - 6 x^3 + x^4$ | |
$g(x^2) =$ | |
$= 2 + 5 x^4 - 6 x^6 + x^8$ |
import math | |
from sympy import bell # https://en.wikipedia.org/wiki/Bell_polynomials | |
""" | |
# Pretty print bell polynomials | |
from sympy import Symbol, symbols | |
print(bell(4, Symbol('t'))) | |
print(bell(6, 2, symbols('x:6')[1:])) | |
print() | |
""" |
I hereby claim:
To claim this, I am signing this object:
""" | |
Doing the same as on | |
https://wallet.compendia.org/ | |
https://wallet.nos.dev/ | |
See | |
https://compendia.org/ | |
See also | |
https://ark.dev/docs/core/transactions/cryptography#privatekey |
""" | |
Script for the video discussed in | |
https://youtu.be/2ewwFC0FzE4 | |
Script to bruteforce search for the private key given a public key. | |
Efficient python and C 99 algos to for the SECP256k1 log at: | |
https://github.com/Telariust | |
See also the programs in | |
https://privatekeys.pw/ |
""" | |
Using the python requests library to run through query examples calls following | |
https://docs.compendia.org/api | |
or | |
https://api.ark.io/api | |
Manually, one can do the same using curl via, e.g., | |
'curl https://api.nos.dev/api/v2/blockchain' | |
which you might call from python (Not recommended, as this variant not return python dicts) | |
import subprocess; subprocess.run(["curl", "https://api.nos.dev/api/v2/blockchain"]) |