mercredi 6 septembre 2023

Request Bin / http endpoint for testing

from : https://grafana.com/tutorials/grafana-fundamentals/#create-a-contact-point-for-grafana-managed-alerts

 

 In this step, we’ll set up a new contact point. This contact point will use the webhooks channel. In order to make this work, we also need an endpoint for our webhook channel to receive the alert. We will use requestbin.com to quickly set up that test endpoint. This way we can make sure that our alert is actually sending a notification somewhere.

  1. Browse to requestbin.com.
  2. Under the Create Request Bin button, click the public bin link.

Your request bin is now waiting for the first request.

  1. Copy the endpoint URL.


=> tool to test what is received !

 

vendredi 14 juillet 2023

Burnout metrics

 

Maslach Burnout Inventory™ (MBI)

https://www.mindgarden.com/117-maslach-burnout-inventory-mbi


Job Diagnostic Survey (JDS)

https://scales.arabpsychology.com/s/job-diagnostic-survey-jds/


How to measure work engagement / The UWES Questionnaire

https://www.cbs.dk/files/cbs.dk/executive_summary_6.pdf

(Summary of Schaufeli B. W. & Bakker, B. A. (2003): Occupational Health Psychology Unit. Utrecht

University) 

Hc-analytics@cbs.dk

www.cbs.dk/hc-analytics

LinkedIn: Human Capital Analytics Group




from : https://www.betterup.com/blog/signs-of-burnout-at-work

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])