mardi 11 juillet 2023

with great software comes great devopsability"



"with great software comes great devopsability"


cm, july 2023 :-D 

mercredi 21 juin 2023

Kubernetes Ingress Controllers (table by learn k8s research)

 https://docs.google.com/spreadsheets/d/191WWNpjJ2za6-nbG4ZoUMXMpUK8KlCIosvQB0f-oq3k/edit#gid=907731238


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

mercredi 1 mars 2023

Engineering levels

 

  • -  Google levels:

    https://codingrelic.geekhold.com/2018/08/google-software-engineering-levels-and.ht

    ml

  • -  Facebook levels:

    https://www.quora.com/Facebook-company/What-is-the-expectation-out-of-each-soft

    ware-engineering-level-at-Facebook

  • -  Levels at various other companies: https://www.progression.fyi/

mercredi 22 février 2023

Service Level metrics

  •  SLO : Service Level Objective

Common examples of metrics that can be associated with SLOs are disaster recovery time, application availability, live communication response time, first call resolution rate and application maintenance.


  • SLI : Service Level Indicator

SLI = [ good event / valid event ] * 100%


request / response : Availability, Latency, Quality

Data Processing : Coverage, Correctness, Freshness, Throughput


  • SLA : Service level agreements

usually external metrics (i.e. : end service KO time)




-- 

Appdex : scoring 0 to 1 for user satisfaction



-- source : 

- Blog covering AIOps custom automations inside the Cloud Pak for Watson AIOps -> https://developer.ibm.com/articles/supercharged-aiops-with-custom-automations/
- Blog covering Instana’s new remediation framework -> https://www.instana.com/blog/tech-preview-take-action-from-within-instana-using-our-action-framework/
- Demo of Instana’s new remediation framework’s integration with PagerDuty’s Process Automation -> https://www.youtube.com/watch?v=t441dhv7Vtw

And you can connect with Arthur on LinkedIn at: https://www.linkedin.com/in/ademagalhaes

lundi 7 novembre 2022

(quantum computing) Examples of code for a "Bell state" : IBM quantum composer vs. OpenQASM vs. Qiskit

 

    • https://quantum-computing.ibm.com/composer/files/new "Quantum Composer" IDE to build Q-progs : "Composer has a customizable set of tools that allow you to build, visualize, and run quantum circuits on quantum hardware or simulators".
    • graphical editor for openQASM  or Qiskit formalisms


Examples of code generated in the step by step tutorial to create a "Bell state"

https://quantum-computing.ibm.com/composer/docs/iqx/example-circuits/bell

Same code, but different languages; done on the Quantum Composer ide following the initial step by step guide.


The Bell test demonstrates that measurements of an entangled state cannot be explained by any local hidden variable theory, and that there must be correlations that are beyond classical.

from: https://quantum-computing.ibm.com/composer/docs/iqx/example-circuits/bell



* Quantum Composer





* OpenQASM

OPENQASM 2.0;
include "qelib1.inc";
qreg q[2];
creg c[2];
h q[0];
cx q[0],q[1];
measure q[0] -> c[0];
measure q[1] -> c[1];


* Qiskit

from qiskit import QuantumRegister, ClassicalRegister, QuantumCircuit
from numpy import pi

qreg_q = QuantumRegister(2, 'q')
creg_c = ClassicalRegister(2, 'c')
circuit = QuantumCircuit(qreg_q, creg_c)

circuit.h(qreg_q[0])
circuit.cx(qreg_q[0], qreg_q[1])
circuit.measure(qreg_q[0], creg_c[0])
circuit.measure(qreg_q[1], creg_c[1])

Quantum computing resources


Quantum platforms, libraries, and learning platforms


Qiskit : open source lib

"Qiskit Machine Learning introduces fundamental computational building blocks - such as Quantum Kernels and Quantum Neural Networks - used in different applications, including classification and regression. On the one hand, this design is very easy to use and allows users to rapidly prototype a first model without deep quantum computing knowledge. On the other hand, Qiskit Machine Learning is very flexible, and users can easily extend it to support cutting-edge quantum machine learning research."


DELF University quantum program

Long time research center on quantum computing. (sources < TPE 2001)



    Community

    community focused on quantum machine learning


    IBM





    source : 

    • meetup  Technical Group by IBM, 
    • 03 Nov 2022 https://www.meetup.com/technical-group-hosted-by-ibm/events/287144510/ 
    • Sean Wagner, IBM Quantum Technical Ambassador


    mercredi 3 août 2022

    docker : list containers in a specific network

     

    List containers in a precise 


    $ docker network ls
    NETWORK ID     NAME                               DRIVER    SCOPE
    f732a9b3c5a1   bridge                             bridge    local
    7ec614323767   host                               host      local
    ...



    docker network inspect     -f '{{ range $key, $value := .Containers }}{{printf "%s: %s\n" $key .Name}}{{ end }}' <NETWORK NAME>
    <ID> <Name>