oleg_log
Опять Swift. It is my pleasure to announce a new open source project for the Swift Server ecosystem, Swift Cluster Membership. This library aims to help Swift grow in a new space of server applications: clustered multi-node distributed systems. With this…
Опять Swift.
На этот раз алгоритмы. Но пост скорее бугуртный. Я открываю в надежде увидеть аналог STL плюсов (а как еще), а в итоге мне предлагают перемешать массив. Абидна.
https://swift.org/blog/swift-algorithms
На этот раз алгоритмы. Но пост скорее бугуртный. Я открываю в надежде увидеть аналог STL плюсов (а как еще), а в итоге мне предлагают перемешать массив. Абидна.
https://swift.org/blog/swift-algorithms
masscan - TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes.
https://github.com/robertdavidgraham/masscan/issues/482
И чуть дзена от топ-комментатора:
No, people are just too lazy to mind their networks security so they simply decide to blame random things on earth for that.
OP is able to create the issues with the same subject name as well on nmap, zmap, patator and many other tools repos. It just doesn't matter for them that this tool has zero relevance to their own security issues.
https://github.com/robertdavidgraham/masscan/issues/482
И чуть дзена от топ-комментатора:
No, people are just too lazy to mind their networks security so they simply decide to blame random things on earth for that.
OP is able to create the issues with the same subject name as well on nmap, zmap, patator and many other tools repos. It just doesn't matter for them that this tool has zero relevance to their own security issues.
Ну все, теперь фильтры будем на ямлами писать, а васмами. А так-то вещь сильная как по мне.
https://twitter.com/mattklein123/status/1314674442052620289
https://twitter.com/mattklein123/status/1314674442052620289
Достаточно детальная статья с разбором, а почему Rust медленно собирается.
https://medium.com/@jondot/8-steps-for-troubleshooting-your-rust-build-times-2ffc965fd13e
Отдельно упомяну упомянутые https://github.com/google/bloaty и https://github.com/jondot/goweight и https://github.com/RazrFalcon/cargo-bloat (cpp gо, rust соотв)
https://medium.com/@jondot/8-steps-for-troubleshooting-your-rust-build-times-2ffc965fd13e
Отдельно упомяну упомянутые https://github.com/google/bloaty и https://github.com/jondot/goweight и https://github.com/RazrFalcon/cargo-bloat (cpp gо, rust соотв)
Medium
8 Steps for Troubleshooting Your Rust Build Times
To be able to troubleshoot Rust compilation, we first need to understand in a rough cut how it works. The goal is to give you a map that…
Редкий пост не об айти.
У кого там пёсики есть/были? Что помните про первые дни с собакой? Что делали, какие лайфхаки? И тд
@olegkovalov готов узнать вашу историю и/или чат по теме
https://t.me/joinchat/DWka6hncFbtXDkDOZjGQmg
У кого там пёсики есть/были? Что помните про первые дни с собакой? Что делали, какие лайфхаки? И тд
@olegkovalov готов узнать вашу историю и/или чат по теме
https://t.me/joinchat/DWka6hncFbtXDkDOZjGQmg
Вы пользуетесь детальным поиском кода по Github? (Sourcegraph и прочее)
Anonymous Poll
14%
Да, довольно часто ищу
20%
Да, но очень редко
4%
Очень давно было
35%
Нет
25%
Нет, но спасибо, я попробую
2%
Другое
oleg_log
Вы пользуетесь детальным поиском кода по Github? (Sourcegraph и прочее)
Если у вас есть какие-то интересные замечания по поиску кода/паттернов - тыкните в лс @olegkovalov
(примечание к опросу: поиск именно кода, фций, польозвателей депенденси, а не "какая библиотека распакует зип")
UPD: другое из опроса можно тоже в лс)
(примечание к опросу: поиск именно кода, фций, польозвателей депенденси, а не "какая библиотека распакует зип")
UPD: другое из опроса можно тоже в лс)
Ах жыза какая. Но вернемся к нашим мутонам.
Бизнес логика(БЛ) часто ужасна, в силу своей природы. Перекладывая её на код (сервисы, микро, серверлесс) особо не получится сделать конфетку. Хоть вы и хорошо пишете код, но в итоге получается каша на 8 страниц диаграм и как бы фсё.
Все так же плохо, если всё тулить в монолит. Опять жепросрали все полимеры БЛ и её природа витиеватых ходов и непонятных связей.
Но на самом деле серверлесс (местами) хорошо таки справляется, кроны и триггеры на ивенты (см новый файлы в S3, ивент по фильтру из очереди, тд) красиво деплоится, мало что делает (суть) и даже переносится к другим провайдерам. Главное не увлекаться просто.
Не путать с edge-workers аля Cloudflare & Fastly, эт чуть другое.
Бизнес логика(БЛ) часто ужасна, в силу своей природы. Перекладывая её на код (сервисы, микро, серверлесс) особо не получится сделать конфетку. Хоть вы и хорошо пишете код, но в итоге получается каша на 8 страниц диаграм и как бы фсё.
Все так же плохо, если всё тулить в монолит. Опять же
Но на самом деле серверлесс (местами) хорошо таки справляется, кроны и триггеры на ивенты (см новый файлы в S3, ивент по фильтру из очереди, тд) красиво деплоится, мало что делает (суть) и даже переносится к другим провайдерам. Главное не увлекаться просто.
Не путать с edge-workers аля Cloudflare & Fastly, эт чуть другое.
Forwarded from HN Best Comments
Re: The Serverless Revolution Has Stalled
I don't buy into serverless.
I went to a webdev convention, and it ended up being a serverless hype train. Industry experts with a financial incentive to promote serverless went on stage and told me they can't debug their code, or run it on their machine. They showed me comically large system diagrams for very simple use cases, then spent an hour explaining how to do not-quite-ACID transactions. Oh yeah and you can only use 3-5 languages, and each import statement has a dollar amount tied to it.
More importantly, all those skills you develop are tied to Amazon, or some other giant. All the code you write is at their mercy. Any problem you have depends on their support.
Am I supposed to bet hundreds or thousands of man hours on that?
nicbou, 6 hours ago
I don't buy into serverless.
I went to a webdev convention, and it ended up being a serverless hype train. Industry experts with a financial incentive to promote serverless went on stage and told me they can't debug their code, or run it on their machine. They showed me comically large system diagrams for very simple use cases, then spent an hour explaining how to do not-quite-ACID transactions. Oh yeah and you can only use 3-5 languages, and each import statement has a dollar amount tied to it.
More importantly, all those skills you develop are tied to Amazon, or some other giant. All the code you write is at their mercy. Any problem you have depends on their support.
Am I supposed to bet hundreds or thousands of man hours on that?
nicbou, 6 hours ago
Forwarded from Технологический Болт Генона
@ultralisc запилил статью на Хабр.
Agreements as Code: как отрефакторить инфраструктуру и не сломаться
https://habr.com/ru/post/522702/
Обсудить статью и пообщаться с автором можно тут @ansible_dev
Agreements as Code: как отрефакторить инфраструктуру и не сломаться
https://habr.com/ru/post/522702/
Обсудить статью и пообщаться с автором можно тут @ansible_dev
Вот пока все смотрят, что там Хашикорп зарелизил, есть новости большего порядка важности.
При 15 градусах Цельсия уже. Все лабороторно-экспериментальное (да как всегда), и при таком давлении мы профита не получим, но все же!
https://www.quantamagazine.org/physicists-discover-first-room-temperature-superconductor-20201014/
При 15 градусах Цельсия уже. Все лабороторно-экспериментальное (да как всегда), и при таком давлении мы профита не получим, но все же!
https://www.quantamagazine.org/physicists-discover-first-room-temperature-superconductor-20201014/
Quanta Magazine
Room-Temperature Superconductivity Achieved for the First Time
Physicists have reached a long-sought goal. The catch is that their room-temperature superconductor requires crushing pressures to keep from falling apart.
Не знаю как вам, а Branch Agnostic Git Aliases звучит очень приятно. Просто берёт и работает, хоть с мастером, хоть транком и даже main.
Я пошел фиксить свой
https://aj.codes/post/branch-agnostic-git-aliases/
Я пошел фиксить свой
.gitconfighttps://aj.codes/post/branch-agnostic-git-aliases/
aj.codes
Branch Agnostic Git Aliases
Github and others have recently changed the name of the default branch in git
from master to main, you can read more about the change here. If you
are like me you likely had a few git aliases that were hard coded to assume the
default branch in a repository…
from master to main, you can read more about the change here. If you
are like me you likely had a few git aliases that were hard coded to assume the
default branch in a repository…
The signature of call16 is currently missing the "typ" parameter. This CL fixes this. This wasn't caught by vet because call16 is defined by macro expansion.
))))))))))))))
https://github.com/golang/go/commit/8b224e9951438283ae53ae35dc2a50a56fccc404
))))))))))))))
https://github.com/golang/go/commit/8b224e9951438283ae53ae35dc2a50a56fccc404
GitHub
[release-branch.go1.15] runtime: correct signature of call16 · golang/go@8b224e9
The signature of call16 is currently missing the "typ" parameter. This
CL fixes this. This wasn't caught by vet because call16 is defined by
macro expansion (see #17544), ...
CL fixes this. This wasn't caught by vet because call16 is defined by
macro expansion (see #17544), ...
Forwarded from ☕️ Мерлин заваривает τσάι 🐌
Go 1.15.3 and 1.14.10 are released!
📣 Announcement: groups.google.com/d/msg/golang-a…
⬇️ Download: golang.org/dl/#go1.15
https://twitter.com/golang/status/1316490217591840769
Багфиксы cgo, рантайма и компилятора
https://github.com/golang/go/issues?q=milestone%3AGo1.15.3+label%3ACherryPickApproved
📣 Announcement: groups.google.com/d/msg/golang-a…
⬇️ Download: golang.org/dl/#go1.15
https://twitter.com/golang/status/1316490217591840769
Багфиксы cgo, рантайма и компилятора
https://github.com/golang/go/issues?q=milestone%3AGo1.15.3+label%3ACherryPickApproved
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
KURWA почему так долго пришлось ждать-то? CI/CD от Хашикорпа, сколько я это ждал и не верил, ахахахаха.
(ну просто они больше по инфре и данным, чем прогону тестов в докерах, как фирма, но мне хотелось верить в полную экосистему)
https://www.hashicorp.com/blog/announcing-waypoint
(ну просто они больше по инфре и данным, чем прогону тестов в докерах, как фирма, но мне хотелось верить в полную экосистему)
https://www.hashicorp.com/blog/announcing-waypoint