It's worth to think about your rollup/aggregation strategy
For metrics-like errors, its better to show the worst case scenario with max/max
-
https://docs.datadoghq.com/dashboards/guide/query-to-the-graph/#proceed-to-time-aggregationhttps://medium.com/omio-engineering/cpu-limits-and-aggressive-throttling-in-kubernetes-c5b20bd8a718
https://blog.turbonomic.com/kubernetes-cpu-throttling-the-silent-killer-of-response-time-and-what-to-do-about-it
https://erickhun.com/posts/kubernetes-faster-services-no-cpu-limits/
https://engineering.indeedblog.com/blog/2019/12/unthrottled-fixing-cpu-limits-in-the-cloud/
https://www.youtube.com/watch?v=UE7QX98-kO0
-
https://links.infomee.fr/?Mg1LFQYou want to really understand decorators? Watch this video!
boilerplate:
import functools
def decorator(func):
@functools.wraps(func)
def wrapper_decorator(*args, **kwargs):
# Do something before
value = func(*args, **kwargs)
# Do something after
return value
return wrapper_decorator
-
https://youtu.be/MjHpMCIvwsYSi j'avais le temps, ca me plairait bien !
-
https://www.reddit.com/r/ricingWhen you want to publish a beta version, you can use a special tag that won't be proposed to client using pip install package --upgrade
example :
current version = 3.0.1
next version = 3.1.0
I can tag with 3.1.0-alpha.1
pip install --upgrade won't upgrade to this version but pip install package==3.1.0-alpha.1 will
-
https://the-hitchhikers-guide-to-packaging.readthedocs.io/en/latest/specification.htmldef bubbleSort(arr):
n = len(arr)
# Traverse through all array elements
for i in range(n):
# Last i elements are already in place
for j in range(0, n-i-1):
# traverse the array from 0 to n-i-1
# Swap if the element found is greater
# than the next element
if arr[j] > arr[j+1] :
arr[j], arr[j+1] = arr[j+1], arr[j
-
https://www.geeksforgeeks.org/bubble-sort/
-
https://links.infomee.fr/?GnzD5Q
-
https://www.integralist.co.uk/posts/algorithmic-complexity-in-python/bindkey -M emacs |grep edit-command
"^X^E" edit-command-line
ctrl x ctrl e pour editer la commande actuelle via vim
-
https://links.infomee.fr/?Skfb-AJe viens de découvrir pocketTube et j'ai hate de tester ça. Il y a une extension Firefox et meme un app Android.
L'idée c'est de pouvoir grouper les channels Youtube par thématique mais aussi et surtout voir toutes les vidéos par date de parution et ne pas en louper car elles sont zappées par l'algo de Youtube (qui est utilisé dans la partie "Mes abonnements")
-
https://yousub.info/