Forwarded from 🇺🇦 Go for two :)
FA3t6syVgAo40X8.jpeg
50.2 KB
LOL😭😭😭
Someone nuked the DNS A and AAA records for Facebook, Instagram, and WhatsApp Face with hand over mouth
Someone nuked the DNS A and AAA records for Facebook, Instagram, and WhatsApp Face with hand over mouth
Forwarded from oleg_log (Oleg Kovalov)
Был бы я более питонистом, сразу бы пошел собирать из сорцов, но нет.
Вообще фигня клевая, по шагам проходишь с чекаута до рантайм штуковин, прям бери Python и фикси под свои нужды.
https://realpython.com/cpython-source-code-guide/#what-does-a-compiler-do
Вообще фигня клевая, по шагам проходишь с чекаута до рантайм штуковин, прям бери Python и фикси под свои нужды.
https://realpython.com/cpython-source-code-guide/#what-does-a-compiler-do
Realpython
Your Guide to the CPython Source Code – Real Python
In this detailed Python tutorial, you'll explore the CPython source code. By following this step-by-step walkthrough, you'll take a deep dive into how the CPython compiler works and how your Python code gets executed.
Obfuscating "Hello world!" for Code Golf contest
https://benkurtovic.com/2014/06/01/obfuscating-hello-world.html
https://benkurtovic.com/2014/06/01/obfuscating-hello-world.html
Benkurtovic
Obfuscating "Hello world!" – Ben Kurtovic
Fun with functional programming in Python | Ben Kurtovic's blog
TIL: mypy Playground is a web service that receives a Python program with type hints, runs mypy inside a sandbox, then returns the output.
https://mypy-play.net/
https://mypy-play.net/
mypy-play.net
mypy Playground
The mypy Playground is a web service that receives a Python program with type hints, runs mypy inside a sandbox, then returns the output.
Found very intersting approach to count the digits of an integers #python:
from math import floor, log10
def count_digits(n):
return 1 + floor(log10(n))
In [2]: count_digits(5)
Out[2]: 1
In [3]: count_digits(999)
Out[3]: 3
In [4]: count_digits(1000)
Out[4]: 4
Scalene: a high-performance CPU, GPU and memory profiler for Python
https://github.com/plasma-umass/scalene
https://github.com/plasma-umass/scalene
TIL a faster way to remove duplicates from a #python iterable, preserving order (in https://youtu.be/5xArPgQMJls?t=2149 by
@SebaWitowski
)
def unique_items(iterable):
# Requires hashable items, Python 3.6+
return dict.fromkeys(iterable)
@SebaWitowski
)
def unique_items(iterable):
# Requires hashable items, Python 3.6+
return dict.fromkeys(iterable)
YouTube
Sebastian Witowski - Writing Faster Python 3
Strona PyConPL: https://pl.pycon.org
FB: http://pl.pycon.org/
Linkedin: https://www.linkedin.com/company/pyco...
Twitter: https://twitter.com/pyconpl
Did you know that Python preallocates integers from -5 to 257? Reusing them 1000 times, instead of allocating…
FB: http://pl.pycon.org/
Linkedin: https://www.linkedin.com/company/pyco...
Twitter: https://twitter.com/pyconpl
Did you know that Python preallocates integers from -5 to 257? Reusing them 1000 times, instead of allocating…
Today, around 15:25 GMT +2, I’ll present my talk at
@pyconit
about debugging Python applications inside the docker and k8s cluster. You can watch it online using the stream link https://2024.pycon.it/en/streaming or attend (Room Lasagna).
#pycon #pyconit #k8s
@pyconit
about debugging Python applications inside the docker and k8s cluster. You can watch it online using the stream link https://2024.pycon.it/en/streaming or attend (Room Lasagna).
#pycon #pyconit #k8s
2024.pycon.it
Streaming | PyCon Italia
Join PyCon Italia from the 22th to the 25th of May 2024 in Florence, Italy!