mercredi 21 juin 2023
The Not Rocket Science Rule Of Software Engineering: automatically maintain a repository of code that always passes all the tests
technicalities: "not rocket science" (the story of monotone and bors)
https://graydon2.dreamwidth.org/1597.html :
The Not Rocket Science Rule Of Software Engineering:
automatically maintain a repository of code that always passes all the tests
parse json in terraform
https://www.reddit.com/r/Terraform/comments/c07dgc/using_external_jsons_as_data_source/
data "http" "example" { url = "..." } locals { example_response = jsondecode(data.http.example.body) }
From there you can manipulate that data structure as you need. If you want to produce a map of lists then probably your next step would be to use two nested for expressions. I’m just guessing what you want the values in those lists to look like, but here’s a starting point:
locals { example_rules = { for k, m in local.example_response : k => [ for k, v in m : { key = k value = v } ] } }
Quantum computing art (& fractals)
Visualizing Quantum Computing using fractals
https://github.com/wmazin/Visualizing-Quantum-Computing-using-fractals
Flexible Representation of Quantum Images (FRQI) and Novel Enhanced Quantum Representation (NEQR)
https://qiskit.org/
https://learn.qiskit.org/course/ch-applications/flexible-representation-of-quantum-images-frqi
Exhibition-ready quantum image processing
https://medium.com/qiskit/exhibition-ready-quantum-image-processing-4bb9fa8b52b5
Creating fractal art with qiskit
https://medium.com/qiskit/creating-fractal-art-with-qiskit-df69427026a0
Labels:
art,
fractal,
qbit,
qiskit,
quantum computing
Inscription à :
Articles (Atom)