== “Hello, world” from scratch on a 6502 — Part 1
https://youtu.be/LnzuMJLZRdU
== How do CPUs read machine code? — 6502 part 2
https://youtu.be/yl8vPW5hydQ
== Assembly language vs. machine code — 6502 part 3
https://youtu.be/oO8_2JJV0B4
https://youtu.be/LnzuMJLZRdU
== How do CPUs read machine code? — 6502 part 2
https://youtu.be/yl8vPW5hydQ
== Assembly language vs. machine code — 6502 part 3
https://youtu.be/oO8_2JJV0B4
YouTube
“Hello, world” from scratch on a 6502 — Part 1
Learn how computers work in this series where I build and program a basic computer with the classic 6502 microprocessor. More info: https://www.eater.net/6502
Part 2: https://www.youtube.com/watch?v=yl8vPW5hydQ
Part 3: https://www.youtube.com/watch?v=oO8_2JJV0B4…
Part 2: https://www.youtube.com/watch?v=yl8vPW5hydQ
Part 3: https://www.youtube.com/watch?v=oO8_2JJV0B4…
== Hamming codes and error correction
https://youtu.be/X8jsijhllIA
https://youtu.be/X8jsijhllIA
YouTube
But what are Hamming codes? The origin of error correction
A discovery-oriented introduction to error correction codes.
Part 2: https://youtu.be/b3NxrZOu_CE
Ben Eater:'s take: https://youtu.be/h0jloehRKas
Help fund future projects: https://www.patreon.com/3blue1brown
An equally valuable form of support is to simply…
Part 2: https://youtu.be/b3NxrZOu_CE
Ben Eater:'s take: https://youtu.be/h0jloehRKas
Help fund future projects: https://www.patreon.com/3blue1brown
An equally valuable form of support is to simply…
Tom_Wilkie_GrafanaCon_EU_2018.pdf
10.3 MB
The RED Method
Patterns for instrumentation & monitoring.
https://youtu.be/9dRSYjBPaZM
- CPU Utilisation
- CPU Saturation
- Memory Utilisation
- Memory Saturation
- CPU Errors, Memory Errors
- Hard Disk Errors!
- Disk Capacity vs Disk IO
- Network Utilisation
- Interconnects
For every service, monitor request:
• Rate - number of requests per second
• Errors - the number of those requests that are failing
• Duration - the amount of time those requests take
For each service, monitor:
• Latency - time taken to serve a request
• Traffic - how much demand is places on your system
• Errors - rate or requests that are failing
• Saturation - how “full” your services is
Patterns for instrumentation & monitoring.
https://youtu.be/9dRSYjBPaZM
- CPU Utilisation
- CPU Saturation
- Memory Utilisation
- Memory Saturation
- CPU Errors, Memory Errors
- Hard Disk Errors!
- Disk Capacity vs Disk IO
- Network Utilisation
- Interconnects
For every service, monitor request:
• Rate - number of requests per second
• Errors - the number of those requests that are failing
• Duration - the amount of time those requests take
For each service, monitor:
• Latency - time taken to serve a request
• Traffic - how much demand is places on your system
• Errors - rate or requests that are failing
• Saturation - how “full” your services is
Forwarded from Mirror of Mind
Лайфхаки для ютуба
document.getElementsByTagName("video")[0].playbackRate = 3простой вебсайт который помогает писать рассписания для кронтаба 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. Это одна из самых важный видео из цикла, в котором мы поговорим о выборе алгоритма шифрования и длины ключа, а также о способах аутентификации данных.
Подписывайтесь на наш канал…
Подписывайтесь на наш канал…