Forwarded from linkmeup
Тут дотошные товарищи почитали новую лицензию Nmap'a и сделали вывод, что теперь это и не опенсорc, и не бесплатно.
Вопрос чисто юридический и упирается в определение Open Source лицензии, но если воспринимать всё в лоб, то получается что он под неё не попадает, а значит и не попадает под Free Software.
Кто хочет взорвать свой мозг, полный велкам в тему. Остальным запасаться попкорном и ждать развязки.
https://github.com/nmap/nmap/issues/2199
Вопрос чисто юридический и упирается в определение Open Source лицензии, но если воспринимать всё в лоб, то получается что он под неё не попадает, а значит и не попадает под Free Software.
Кто хочет взорвать свой мозг, полный велкам в тему. Остальным запасаться попкорном и ждать развязки.
https://github.com/nmap/nmap/issues/2199
GitHub
NPSL License Improvements · Issue #2199 · nmap/nmap
Reporting this issue on behalf of the Gentoo licenses team. It has been brought to our attention that nmap-7.90 and later is distributed under updated license terms. We see several clauses in versi...
https://medium.com/teamzerolabs/15-steps-to-write-an-application-prometheus-exporter-in-go-9746b4520e26
#go #golang #prometheus #exporter
#go #golang #prometheus #exporter
Medium
15 Steps to Write an Application Prometheus Exporter in GO
tl;dr: Full example code: https://github.com/teamzerolabs/mirth_channel_exporter, read on to see step by step instructions Exporters are the heart and soul of Prometheus Monitoring Pipelines. If you…
Forwarded from 🇺🇦 Go for two :)
My engineering axioms by Martin Rue:
1. Change is constant.
2. Your product is an asset, but code is a liability.
3. Duplication is less costly than premature abstraction.
4. Code should be easy to delete.
5. Existing code exerts a powerful influence.
6. Accidental complexity is one of the biggest risks.
7. Technical excellence can be shadowed by bad personal skills.
8. You are not your code. Be kind to the coder, not to the code.
9. Treat people who know less than you with respect and patience.
10. The only true authority stems from knowledge, not from position.
11. Teaching is a form of learning in disguise.
12. Lift the skills of people around you, not just yourself.
13. The longer you wait the more you'll know.
14. A good type system is worth its weight plus some.
15. The right team of people trumps everything else.
16. Stick to boring technology, unless there's a good reason not to.
17. Have the smallest team possible, but no smaller. Grow it carefully.
18. Rest.
19. Don't pick a solution until you've thought of at least one more.
20. Have opinions, but avoid expressing them in ways that cause other people to believe you won't change them.
21. It's OK to say "I don't know" or "I need to research that before I have an answer".
22. Writing throwaway code to explore a problem space is underrated.
23. Manage state carefully.
24. It's all about trade-offs.
25. A good design is one in which you can change your mind without changing too much code.
https://martinrue.com/my-engineering-axioms/
1. Change is constant.
2. Your product is an asset, but code is a liability.
3. Duplication is less costly than premature abstraction.
4. Code should be easy to delete.
5. Existing code exerts a powerful influence.
6. Accidental complexity is one of the biggest risks.
7. Technical excellence can be shadowed by bad personal skills.
8. You are not your code. Be kind to the coder, not to the code.
9. Treat people who know less than you with respect and patience.
10. The only true authority stems from knowledge, not from position.
11. Teaching is a form of learning in disguise.
12. Lift the skills of people around you, not just yourself.
13. The longer you wait the more you'll know.
14. A good type system is worth its weight plus some.
15. The right team of people trumps everything else.
16. Stick to boring technology, unless there's a good reason not to.
17. Have the smallest team possible, but no smaller. Grow it carefully.
18. Rest.
19. Don't pick a solution until you've thought of at least one more.
20. Have opinions, but avoid expressing them in ways that cause other people to believe you won't change them.
21. It's OK to say "I don't know" or "I need to research that before I have an answer".
22. Writing throwaway code to explore a problem space is underrated.
23. Manage state carefully.
24. It's all about trade-offs.
25. A good design is one in which you can change your mind without changing too much code.
https://martinrue.com/my-engineering-axioms/
Martinrue
My Engineering Axioms
A few months back I gave a talk in which I shared a list of my personal engineering axioms – things that, over the years, I've come to think of as generally true and useful to have in mind when writing code, building things, and working with others.
https://www.youtube.com/watch?v=b54xmA0uqlE
CubicDoom, a ray-casting game that fits in a boot sector (510 bytes)
https://github.com/nanochess/cubicDoom
#doom #github #youtube
CubicDoom, a ray-casting game that fits in a boot sector (510 bytes)
https://github.com/nanochess/cubicDoom
#doom #github #youtube
YouTube
CubicDoom, a ray-casting game in 512 bytes of x86 machine code (boot sector)
This is the CubicDoom, all the cubes have rebelled against
humankind! You need to stop the invasion!
Use Left Ctrl to turn to left, use Left Alt to turn to right.
Press Left Shift to advance, and Right Shift to shoot.
Destroy all cubes on the current maze…
humankind! You need to stop the invasion!
Use Left Ctrl to turn to left, use Left Alt to turn to right.
Press Left Shift to advance, and Right Shift to shoot.
Destroy all cubes on the current maze…
Forwarded from Флант | Специалисты по DevOps и Kubernetes
Очередная подборка свежих случаев из нашей практики эксплуатации. В этот раз — про миграцию Linux-сервера и разные случаи с БД: ClickHouse, PostgreSQL, CockroachDB. https://habr.com/ru/company/flant/blog/531686/
Хабр
Практические истории из наших SRE-будней. Часть 3
Рады продолжить цикл статей с подборками из недавних вызовов, случившихся в нашей повседневной практике эксплуатации. Для этого мы описываем свои мысли и действи...
Forwarded from k8s (in)security (D1g1)
"Improving Kubernetes and container security with user namespaces"
Наверно лучшая статья, которую я читал по безопасности
Из этой статьи вы узнаете, что такое и зачем нужен user namespace, как он влияет на безопасность контейнеров. И самое интересное, что необходимо изменить со стороны файловой системы,
Статья просто
Дополнительно можно почитать как к таким изменениям подошел
Наверно лучшая статья, которую я читал по безопасности
Kubernetes
в этом году.Из этой статьи вы узнаете, что такое и зачем нужен user namespace, как он влияет на безопасность контейнеров. И самое интересное, что необходимо изменить со стороны файловой системы,
Container Runtime
и Kubernetes volumes
, чтобы это наконец смогло заработать в самом Kubernetes
. Работа кипит и за ней можно следить тут.Статья просто
MUST READ
, в процессе чтения раскрывается много не самых простых и очевидных базовых моментов работы контейнеров, который очень важны для понимания.Дополнительно можно почитать как к таким изменениям подошел
Netflix
в своей системе оркестрации контейнеров Titus
.Ламповые часы Nixie clock своими руками / Хабр
https://m.habr.com/ru/post/534278/
https://m.habr.com/ru/post/534278/
Хабр
Ламповые часы Nixie clock своими руками
Я уже больше 5 лет занимаюсь изготовлением часов на газоразрядных индикаторах, а недавно заполучил довольно редкие лампы ZM1040, часы на которых считаю одними из лучших в своей коллекции. Надеюсь, и...
Dockerless series
#docker #dockerless #containers #podman
- part 1: Which tools to replace Docker with and why
- part 2: How to build container image for Rails application without - Docker and Dockerfile
- part 3: Moving development environment to containers with -Podman
- The tool that really runs your containers: deep dive into runc and OCI specifications
#docker #dockerless #containers #podman
- part 1: Which tools to replace Docker with and why
- part 2: How to build container image for Rails application without - Docker and Dockerfile
- part 3: Moving development environment to containers with -Podman
- The tool that really runs your containers: deep dive into runc and OCI specifications
Awsapprunner
Dockerless: Buildah & Podman as Docker Alternatives | mkdev
Should you always use Docker for your containers? What are alternatives to Docker. What is Buildah? What is Podman?
Resilient Kubernetes Deployments with Readiness Probes
#k8s #kubernetes #deployment #probe
https://rotemtam.com/2020/09/24/kubernetes-readiness-probes/
#k8s #kubernetes #deployment #probe
https://rotemtam.com/2020/09/24/kubernetes-readiness-probes/
Forwarded from DevOps&SRE Library
rga
rga is a line-oriented search tool that allows you to look for a regex in a multitude of file types. rga wraps the awesome ripgrep and enables it to search in pdf, docx, sqlite, jpg, movie subtitles (mkv, mp4), etc.https://github.com/phiresky/ripgrep-all
https://github.com/walidshaari/Certified-Kubernetes-Security-Specialist
#CKS #k8s #kubernetes #certification #github
#CKS #k8s #kubernetes #certification #github
GitHub
GitHub - walidshaari/Certified-Kubernetes-Security-Specialist: Curated resources help you prepare for the CNCF/Linux Foundation…
Curated resources help you prepare for the CNCF/Linux Foundation CKS 2021 "Kubernetes Certified Security Specialist" Certification exam. Please provide feedback or requests by ra...
Forwarded from DevOps&SRE Library
Linux Hardening Guide
Linux is not a secure operating system. However, there are steps you can take to improve it. This guide aims to explain how to harden Linux as much as possible for security and privacy. This guide attempts to be distribution-agnostic and is not tied to any specific one.https://madaidans-insecurities.github.io/guides/linux-hardening.html
Forwarded from Патчкорд
Наверное уже все знают, что
К этому есть общепринятый подход, точка разделяет самый старший и остальные разряды. Можно написать
Так работает для многих утилит, например
IP
адреса это числа и их можно вполне себе записывать числами, а не через точку, и это будет работать.К этому есть общепринятый подход, точка разделяет самый старший и остальные разряды. Можно написать
1.16535
, что равно 1.0.64.151
, но нельзя 280.1
или 1.280.1
, а вот 1.1.280
можно. То есть, мы всегда идём слева направо начиная со старшего октета весом 2^24
и уменьшая степень с каждым шагом на 8
. Если количество октетов меньше 4
, то последний октет всегда весом 2^0
, даже если предыдущий имеет степень большую чем 8
. Это всё про основы позиционных систем счисления.Так работает для многих утилит, например
ping
, которые пользуются стандартными библиотеками для преобразования адресов. Но не работает для пакета iproute2 - ip route get 1.1
вернёт 1.1.0.0
, вместо ожидаемого 1.0.0.1
. Будте внимательны. В любом случае, подобные сокращения не общепринятый путь (не стоит сравнивать с IPv6
, там по другому), лучше никого не путать и самому не путаться и писать адреса IPv4
полностью.Twitter
majek04
"Thank you Mr Kuznetsov" part 1 - parsing addresses in iproute2 differs from usual getaddrinfo() / inet_pton(): $ ip route get 1.1 1.1.0.0 via ... $ ping 1.1 PING 1.0.0.1 ... https://t.co/6lSo4QNFpr