простой вебсайт который помогает писать рассписания для кронтаба https://crontab.guru/
crontab.guru
Crontab.guru - The cron schedule expression generator
An easy to use editor for crontab schedules.
== NETSTAT Command Explained
https://youtu.be/8UZFpCQeXnM
https://youtu.be/8UZFpCQeXnM
YouTube
NETSTAT Command Explained
What is netstat? Netstat is a command line tool that is used to display the current network connections and port activity on your computer. It’s a useful tool that you can use to see what service may be running on your computer or server and what ports are…
Forwarded from Linker Unsafe
Boris Usievich:
от макросов надо держаться подальше в 99% случаев
Andrey Davydov:
Спасибо за совет, но я просто держусь подальше от C++
//из @ProCxx
от макросов надо держаться подальше в 99% случаев
Andrey Davydov:
Спасибо за совет, но я просто держусь подальше от C++
//из @ProCxx
== Python Best Practices for a New Project in 2021
https://mitelman.engineering/blog/python-best-practice/automating-python-best-practices-for-a-new-project/
- pyenv
- poetry
- pytest
- pre-commit
- pytest-cov
- flake8
- black
- mypy
- isort
https://mitelman.engineering/blog/python-best-practice/automating-python-best-practices-for-a-new-project/
- pyenv
- poetry
- pytest
- pre-commit
- pytest-cov
- flake8
- black
- mypy
- isort
mitelman.engineering
Python Best Practices for a New Project in 2021
Intro The goal of this tutorial is to describe Python development ecosystem. It can be helpful for someone coming to Python from another programming language.
They say that you should stick to algorithms and data structures, that you can learn a new language…
They say that you should stick to algorithms and data structures, that you can learn a new language…
🔥1
Forwarded from Experimental chill
Rust в ядре, и Линус кажется уже не против, починили аллокации с прошлой попытки и добавили везде try_* функции во всякие векторы
https://lore.kernel.org/lkml/20210704202756.29107-1-ojeda@kernel.org/
Мне жаль видеть, как попытки C++ в прошлом были отвергнуты, и их авторы просто не хотели и не задавались вопросом о том, как можно их починить, чтобы Линус не ворчал. Поздравляю команду Rust с большей настойчивостью и умом к подходу в популяризации своего языка. После прочтения всего треда действительно сложилось впечатление, что Rust теперь с нами надолго в приложениях, связанных с повышенным риском эксплойтов. С++ точно надо догонять хотя бы в процессах развития. Обновления раз в 3 года по сравнению с Rust выглядят по-черепашьи.
Я пописал ещё месяц на Rust, и мне зашло. Единственное, что если вы хотите реального перфа, писать на Rust становится ну ооочень некрасиво со всякими unsafe в hot spots. В любом случае, Rust это не про перф в первую очередь (может, во вторую), это я осознал очень чётко.
https://lore.kernel.org/lkml/20210704202756.29107-1-ojeda@kernel.org/
Мне жаль видеть, как попытки C++ в прошлом были отвергнуты, и их авторы просто не хотели и не задавались вопросом о том, как можно их починить, чтобы Линус не ворчал. Поздравляю команду Rust с большей настойчивостью и умом к подходу в популяризации своего языка. После прочтения всего треда действительно сложилось впечатление, что Rust теперь с нами надолго в приложениях, связанных с повышенным риском эксплойтов. С++ точно надо догонять хотя бы в процессах развития. Обновления раз в 3 года по сравнению с Rust выглядят по-черепашьи.
Я пописал ещё месяц на Rust, и мне зашло. Единственное, что если вы хотите реального перфа, писать на Rust становится ну ооочень некрасиво со всякими unsafe в hot spots. В любом случае, Rust это не про перф в первую очередь (может, во вторую), это я осознал очень чётко.
https://www.whonix.org/
прикольно. есть шикарный дистреб, Сноуден юзал
- генерирует новый мак адресс для всех сетевых адаптеров
- тор браузер по дефолту есть
- есть куча тулов для анонимности
- есть куча тулов для шифрования и тп
ну и есть еще круче
https://www.whonix.org/wiki/Qubes
прикольно. есть шикарный дистреб, Сноуден юзал
- генерирует новый мак адресс для всех сетевых адаптеров
- тор браузер по дефолту есть
- есть куча тулов для анонимности
- есть куча тулов для шифрования и тп
ну и есть еще круче
https://www.whonix.org/wiki/Qubes
Whonix
Whonix - Superior Internet Privacy
Whonix can anonymize everything you do online! It runs like an App, is a Free, Open Source and Kicksecure™ hardened Linux distribution.
== 5 Pytest Best Practices for Writing Great Python Tests
https://www.nerdwallet.com/blog/engineering/5-pytest-best-practices/
- USE FIXTURES !!!
- USE PARAMETRIZATION !!!
1) Prefer mocker over mock
2) Parametrize the same behavior, have different tests for different behaviors
3) Don’t modify fixture values in other fixtures
4) Prefer responses over mocking outbound HTTP requests
5) Prefer tmpdir over global test artifacts
== Some pytest best practices
https://www.back2code.me/2020/05/some-pytest-best-practices/
1) Put inputs and output in the function parameters
2) Log a message instead of commenting the function
3) Write always assertion in the same way
4) Write assertion human readable error message
== Plugin List
https://docs.pytest.org/en/latest/reference/plugin_list.html
https://www.nerdwallet.com/blog/engineering/5-pytest-best-practices/
- USE FIXTURES !!!
- USE PARAMETRIZATION !!!
1) Prefer mocker over mock
2) Parametrize the same behavior, have different tests for different behaviors
3) Don’t modify fixture values in other fixtures
4) Prefer responses over mocking outbound HTTP requests
5) Prefer tmpdir over global test artifacts
== Some pytest best practices
https://www.back2code.me/2020/05/some-pytest-best-practices/
1) Put inputs and output in the function parameters
2) Log a message instead of commenting the function
3) Write always assertion in the same way
4) Write assertion human readable error message
== Plugin List
https://docs.pytest.org/en/latest/reference/plugin_list.html
NerdWallet
5 Pytest Best Practices for Writing Great Python Tests
Pytest has a lot of features, but not many best-practice guides. Here's a list of the 5 most impactful best-practices we've discovered at NerdWallet.
== Understanding and Implementing Kalman Filter in Python for Pairs Trading
https://medium.com/analytics-vidhya/understanding-and-implementing-kalman-filter-in-python-for-pairs-trading-9b8986d79b2d
https://medium.com/analytics-vidhya/understanding-and-implementing-kalman-filter-in-python-for-pairs-trading-9b8986d79b2d
Medium
Understanding and Implementing Kalman Filter in Python for Pairs Trading
Learn how to implement Kalman Filter in Python to predict the hedge ration between two assets for Pairs Trading
== [Async-sig] pattern for handling interrupt signals in asyncio
https://mail.python.org/pipermail/async-sig/2017-August/000374.html
== Graceful Shutdowns with asyncio
https://www.roguelynn.com/words/asyncio-graceful-shutdowns/
https://mail.python.org/pipermail/async-sig/2017-August/000374.html
== Graceful Shutdowns with asyncio
https://www.roguelynn.com/words/asyncio-graceful-shutdowns/
roguelynn
Graceful Shutdowns with asyncio
In part 3 of 8, we add graceful shutdowns for when we terminate our `asyncio`-based chaos monkey-like service, Mayhem Mandrill.
open tracing
== https://opentracing.io/
крайне простая шляпа., по факту бенчи каждого чиха
== Take OpenTracing for a HotROD ride
https://medium.com/opentracing/take-opentracing-for-a-hotrod-ride-f6e3141f7941
== Demo of Opentracing and Jaeger
https://www.youtube.com/watch?v=EdFYvUBaKbY
== Tutorial
https://github.com/yurishkuro/opentracing-tutorial/tree/master/python
1) Lesson 01 - Hello World
Instantiate a Tracer
Create a simple trace
Annotate the trace
2) Lesson 02 - Context and Tracing Functions
Trace individual functions
Combine multiple spans into a single trace
Propagate the in-process context
3) Lesson 03 - Tracing RPC Requests
Trace a transaction across more than one microservice
Pass the context between processes using Inject and Extract
Apply OpenTracing-recommended tags
4) Lesson 04 - Baggage
Understand distributed context propagation
Use baggage to pass data through the call graph
5) Extra Credit
Use existing open source instrumentation
== https://opentracing.io/
крайне простая шляпа., по факту бенчи каждого чиха
== Take OpenTracing for a HotROD ride
https://medium.com/opentracing/take-opentracing-for-a-hotrod-ride-f6e3141f7941
== Demo of Opentracing and Jaeger
https://www.youtube.com/watch?v=EdFYvUBaKbY
== Tutorial
https://github.com/yurishkuro/opentracing-tutorial/tree/master/python
1) Lesson 01 - Hello World
Instantiate a Tracer
Create a simple trace
Annotate the trace
2) Lesson 02 - Context and Tracing Functions
Trace individual functions
Combine multiple spans into a single trace
Propagate the in-process context
3) Lesson 03 - Tracing RPC Requests
Trace a transaction across more than one microservice
Pass the context between processes using Inject and Extract
Apply OpenTracing-recommended tags
4) Lesson 04 - Baggage
Understand distributed context propagation
Use baggage to pass data through the call graph
5) Extra Credit
Use existing open source instrumentation
Medium
Take OpenTracing for a HotROD ride
Update (21 March 2019): my book Mastering Distributed Tracing has a newer version of this tutorial.
OpenCensus
+
OpenTracing
=
OpenTelemetry
OpenMetrics ?
== OpenTelemetry vs OpenTracing: A Guide on Understanding How These Work
https://axiomq.com/blog/opentelemetry-vs-opentracing-a-guide-on-understanding-how-these-work/
== What is OpenTelemetry?
https://opentelemetry.io/docs/concepts/what-is-opentelemetry/
== Merging OpenTracing and OpenCensus: Goals and Non-Goals
https://medium.com/opentracing/merging-opentracing-and-opencensus-f0fe9c7ca6f0
== Performance monitoring with OpenTracing, OpenCensus, and OpenMetrics
https://www.datadoghq.com/blog/instrument-opencensus-opentracing-and-openmetrics/
== OpenTelemetry Deep Dive: Python
https://www.youtube.com/watch?v=SZlrq9_CZVg
+
OpenTracing
=
OpenTelemetry
OpenMetrics ?
== OpenTelemetry vs OpenTracing: A Guide on Understanding How These Work
https://axiomq.com/blog/opentelemetry-vs-opentracing-a-guide-on-understanding-how-these-work/
== What is OpenTelemetry?
https://opentelemetry.io/docs/concepts/what-is-opentelemetry/
== Merging OpenTracing and OpenCensus: Goals and Non-Goals
https://medium.com/opentracing/merging-opentracing-and-opencensus-f0fe9c7ca6f0
== Performance monitoring with OpenTracing, OpenCensus, and OpenMetrics
https://www.datadoghq.com/blog/instrument-opencensus-opentracing-and-openmetrics/
== OpenTelemetry Deep Dive: Python
https://www.youtube.com/watch?v=SZlrq9_CZVg
AxiomQ
OpenTelemetry vs OpenTracing: A Guide on Understanding How These Work
When it comes to comparing both OpenTelemetry and OpenTracing, you’ll notice that OpenTelemetry is like a combination of both OpenTracing and OpenCensus.
== Deploy MkDocs via Github actions
https://bluegenes.github.io/
mkdocs-github-actions/
просто как залить на гитхабпэйджи свой сайт сгенеренный при помощи mkdocs
https://bluegenes.github.io/
mkdocs-github-actions/
просто как залить на гитхабпэйджи свой сайт сгенеренный при помощи mkdocs
Tessa Pierce
welcome home..
== Выбираем безопасный впн: алгоритм шифрования, порт, аутентификация
https://youtu.be/gRVkB49oekQ
https://youtu.be/gRVkB49oekQ
YouTube
Выбираем безопасный VPN: алгоритм шифрования, длина ключа и аутентификация данных.
Продолжаем разбираться, какие показатели и как влияют на безопасность VPN. Это одна из самых важный видео из цикла, в котором мы поговорим о выборе алгоритма шифрования и длины ключа, а также о способах аутентификации данных.
Подписывайтесь на наш канал…
Подписывайтесь на наш канал…
JWT
== IETF RFC 7519.
https://datatracker.ietf.org/doc/html/rfc7519
только только добрался до РФЦ, наконец
== JWT decoder
https://dinochiesa.github.io/jwt/
== IETF RFC 7519.
https://datatracker.ietf.org/doc/html/rfc7519
только только добрался до РФЦ, наконец
== JWT decoder
https://dinochiesa.github.io/jwt/
IETF Datatracker
RFC 7519: JSON Web Token (JWT)
JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. The claims in a JWT are encoded as a JSON object that is used as the payload of a JSON Web Signature (JWS) structure or as the plaintext of a JSON…
== Немного тулов для конструирования бинарных позиционных протоколов на разных технологиях
https://github.com/dloss/binary-parsing
https://github.com/dloss/binary-parsing
GitHub
GitHub - dloss/binary-parsing: A list of generic tools for parsing binary data structures, such as file formats, network protocols…
A list of generic tools for parsing binary data structures, such as file formats, network protocols or bitstreams - dloss/binary-parsing
== PCE-карта которая спасет датацентры от неконсистентности
https://engineering.fb.com/2021/08/11/open-source/time-appliance/
https://engineering.fb.com/2021/08/11/open-source/time-appliance/
Engineering at Meta
Open-sourcing a more precise time appliance
Facebook engineers have built and open-sourced an Open Compute Time Appliance, an important component of the modern timing infrastructure. To make this possible, we came up with the Time Card — a P…
== Найс. не я один люблю Раст))
https://insights.stackoverflow.com/survey/2020#technology-most-loved-dreaded-and-wanted-languages-loved
https://insights.stackoverflow.com/survey/2020#technology-most-loved-dreaded-and-wanted-languages-loved
Stack Overflow
Stack Overflow Developer Survey 2020
Nearly 65,000 took this comprehensive, annual survey of people who code. Demographics. Most loved, dreaded and wanted technologies. Salary and careers.