An In-Depth Tutorial to Python Decorators That You Can Actually Use
https://towardsdatascience.com/an-in-depth-tutorial-to-python-decorators-that-you-can-actually-use-1e34d3d2d305
https://towardsdatascience.com/an-in-depth-tutorial-to-python-decorators-that-you-can-actually-use-1e34d3d2d305
Medium
An In-Depth Tutorial to Python Decorators That You Can Actually Use
Going knee-deep into the internals of Python
Is an Expensive SD Card Better for a Raspberry Pi?
https://www.howtogeek.com/801819/is-an-expensive-sd-card-better-for-a-raspberry-pi/
https://www.howtogeek.com/801819/is-an-expensive-sd-card-better-for-a-raspberry-pi/
How-To Geek
Is an Expensive SD Card Better for a Raspberry Pi?
The Raspberry Pi is a cheap and cheerful computer packing a hefty punch. But will a cheap and cheerful SD card provide stable storage, or must you spend more? Here’s the lowdown.
How to Utilize Submodules within Git Repos | by Paige Niedringhaus
https://blog.bitsrc.io/how-to-utilize-submodules-within-git-repos-5dfdd1c62d09
https://blog.bitsrc.io/how-to-utilize-submodules-within-git-repos-5dfdd1c62d09
Medium
How to Utilize Submodules within Git Repos
One Solution When the Primary Code Can be Open Source, but Specific Content Needs to be Private
Forwarded from Українська девопсарня
интересная статья о том как работают с кешами в Etsy. https://codeascraft.com/2017/11/30/how-etsy-caches/
Если коротко, то ребята используют Ketama в качестве реализации consisten hashing. Это библиотека на C или Java с обвязками для разных популярных языков программирования, которая делает hash ring (вот неплохая статья о hash ring), которую, впрочем, критикуют за то что при добавлении новой ноды требуется заново вычислять все кольцо, а значения не перераспределюятся равномерно, так что лучше использовать какой-то md5 в качестве хеш функции и большее количество бакетов.
Вторая часть статьи о так называемом “cache smearing” - технике когда к самым популярным ключам добавляют немного случайных данных, чтобы положить их сразу в несколько бакетов и читать не с одной ноды, а с нескольких. Сам механизм вычисления какой ключ популярный и как именно они добавляют случайные значения не опубликован.
Если коротко, то ребята используют Ketama в качестве реализации consisten hashing. Это библиотека на C или Java с обвязками для разных популярных языков программирования, которая делает hash ring (вот неплохая статья о hash ring), которую, впрочем, критикуют за то что при добавлении новой ноды требуется заново вычислять все кольцо, а значения не перераспределюятся равномерно, так что лучше использовать какой-то md5 в качестве хеш функции и большее количество бакетов.
Вторая часть статьи о так называемом “cache smearing” - технике когда к самым популярным ключам добавляют немного случайных данных, чтобы положить их сразу в несколько бакетов и читать не с одной ноды, а с нескольких. Сам механизм вычисления какой ключ популярный и как именно они добавляют случайные значения не опубликован.
Etsy Engineering
Etsy Engineering | How Etsy caches: hashing, Ketama, and cache smearing
At Etsy, we rely heavily on memcached and Varnish as caching tiers to improve performance and reduce load. Database and search...
How I set up my websites with Tor and Nginx
#onion-service #tutorial #tor #nginx
http://tv54samlti22655ohq3oaswm64cwf7ulp6wzkjcvdla2hagqcu7uokid.onion/
#onion-service #tutorial #tor #nginx
http://tv54samlti22655ohq3oaswm64cwf7ulp6wzkjcvdla2hagqcu7uokid.onion/
Varnish
- https://www.linode.com/docs/guides/getting-started-with-varnish-cache/
- https://docs.varnish-software.com/tutorials/getting-started/varnish-cache-plus-6.0/docker/
- https://sweetcode.io/getting-started-varnish-cache/
- https://www.linode.com/docs/guides/getting-started-with-varnish-cache/
- https://docs.varnish-software.com/tutorials/getting-started/varnish-cache-plus-6.0/docker/
- https://sweetcode.io/getting-started-varnish-cache/
Linode Guides & Tutorials
Getting Started with Varnish Cache
Use Varnish Cache to increase your site's speed and optimize server resources
Як стати Python-розробником. План дій для початківців | DOU
https://dou.ua/lenta/articles/how-to-learn-python/
https://dou.ua/lenta/articles/how-to-learn-python/
DOU
Як стати Python-розробником. План дій для початківців
Python — одна з найпопулярніших мов програмування серед українських розробників, яка має широку сферу застосування. Мова має порівняно простий синтаксис і її легко вивчити, тому Python часто обирають новачки як першу мову для входу в ІТ. У межах рубрики для…
A gentle introduction to Markov Chains by modelling dice rolls
https://towardsdatascience.com/a-gentle-introduction-to-markov-chains-by-modelling-dice-rolls-ed26a249dd0d
https://towardsdatascience.com/a-gentle-introduction-to-markov-chains-by-modelling-dice-rolls-ed26a249dd0d
Medium
A gentle introduction to Markov Chains by modelling dice rolls
Two things: first, it is a key foundation for several Machine Learning concepts such as Hidden Markov Models (HMM) and Reinforcement Learning. Markov Chains are also used in other disciplines such as…
Your Personal Voice Assistant on Fedora Linux
https://fedoramagazine.org/your-personal-voice-assistant-on-fedora-linux/
https://fedoramagazine.org/your-personal-voice-assistant-on-fedora-linux/
Fedora Magazine
Your Personal Voice Assistant on Fedora Linux - Fedora Magazine
Would you like your Linux PC to interact with you by voice command like something out of a SciFi movie? If so, check out this article to find out how you can help make that happen!
Black Box is a GTK4 Terminal App With a Unique Look - OMG! Ubuntu!
https://www.omgubuntu.co.uk/2022/07/blackbox-gtk4-terminal-emulator-for-gnome
https://www.omgubuntu.co.uk/2022/07/blackbox-gtk4-terminal-emulator-for-gnome
OMG! Ubuntu!
Black Box is a GTK4 Terminal App With a Unique Look
Black Box is a GTK4 terminal emulator for Linux desktops. It boasts innovative UI features, 12 terminal themes, and is easy to install from Flathub.
GCore: Make Portable Devices With Less Frustration
https://hackaday.com/2022/07/09/gcore-make-portable-devices-with-less-frustration/
https://hackaday.com/2022/07/09/gcore-make-portable-devices-with-less-frustration/
Hackaday
GCore: Make Portable Devices With Less Frustration
[Dan Julio]’s gCore (short for Gadget Core) is aimed at making GUI-based portable and rechargeable gadgets much easier to develop. gCore is the result of [Dan]’s own need for a less tir…
How to use Rust with Python, and Python with Rust
https://www.infoworld.com/article/3664124/how-to-use-rust-with-python-and-python-with-rust.html
https://www.infoworld.com/article/3664124/how-to-use-rust-with-python-and-python-with-rust.html
InfoWorld
How to use Rust with Python, and Python with Rust
You can merge Python's convenience with Rust's speed, thanks to libraries in both languages. Get started with the PyO3 project and cpython crate.