oleg_log
Если я правильно понял, то это фикс. Но вот ссылка на баг возвращает мне permission denied. В любом случае весело. https://chromium-review.googlesource.com/c/v8/v8/+/2820971
Подробный разбор почему так, оч круто. Вообще весело, как тупо 1 инструкция может разнести всё. И если подумать, то и код так-то доступен. Просто напиши правильный фаззер и гоняй, пока что-то не упадёт.
Ну да, денег на этом можно спалить не мало, но хм-хм, условному NSA может и зайдет)
https://iamelli0t.github.io/2021/04/20/Chromium-Issue-1196683-1195777.html
(мимо мысль, конвертировать С++ в Go для быстрой компиляции и быстрого цикла мутационного тестирования, бггг)
Ну да, денег на этом можно спалить не мало, но хм-хм, условному NSA может и зайдет)
https://iamelli0t.github.io/2021/04/20/Chromium-Issue-1196683-1195777.html
(мимо мысль, конвертировать С++ в Go для быстрой компиляции и быстрого цикла мутационного тестирования, бггг)
iamelli0t’s blog
Analysis of Chromium issue 1196683, 1195777
On April 12, a code commit[1] in Chromium get people’s attention. This is a bugfix for some vulnerability in Chromium Javascript engine v8. At the same time, the regression test case regress-1196683.js for this bugfix was also submitted. Based on this regression…
Может редактор тем для Visual Studio Code?
Раскраска для больших и цвето-зависимых
https://themes.vscode.one/
Раскраска для больших и цвето-зависимых
https://themes.vscode.one/
themes.vscode.one
Create VS Code Themes Easily - Theme Studio - The VS Code Theme Editor
VS Code Theme Studio is the easiest way to create a theme for VS Code. It's a browser-based theme editor for Visual Studio Code Themes. You can easily design beautiful, polished themes, and deploy them to the VS Code Marketplace.
oleg_log
Containters https://xkcd.com/1988/
Просто тут Кармак заговорил https://twitter.com/ID_AA_Carmack/status/1385103110977179649
Норм так программа на Highload 2021
https://docs.google.com/spreadsheets/d/13fKaRjDISwz2k_C50Fnm-1rfqU8m6wpt0Q3rLtjp-jQ/edit?source=highload.ru&ct=t(hl_partners_habr_22042021)&goal=0_aee102a6f0-d100128d83-145765669&mc_cid=d100128d83&mc_eid=375fce707c#gid=0
или так https://www.highload.ru/spring/2021
https://docs.google.com/spreadsheets/d/13fKaRjDISwz2k_C50Fnm-1rfqU8m6wpt0Q3rLtjp-jQ/edit?source=highload.ru&ct=t(hl_partners_habr_22042021)&goal=0_aee102a6f0-d100128d83-145765669&mc_cid=d100128d83&mc_eid=375fce707c#gid=0
или так https://www.highload.ru/spring/2021
Google Docs
HighLoad++ весна 2021 / финальное расписание
Расписание HL++ 2020
Легенда,Архитектуры, масштабируемость / Enterprise,Базы данных и системы хранения,Нейронные сети, искусственный интеллект,BigData и машинное обучение ,DevOps и эксплуатация / Системное администрирование,Аппаратное обеспечение, инфраструктура…
Легенда,Архитектуры, масштабируемость / Enterprise,Базы данных и системы хранения,Нейронные сети, искусственный интеллект,BigData и машинное обучение ,DevOps и эксплуатация / Системное администрирование,Аппаратное обеспечение, инфраструктура…
Расскажите самую хреновую вещь, которую вы встречали в микросервисной архитектуре.
Желательно с вашего реального опыта или предыдущей работы, а не историю из интернета (хотя правдивая история от друга/коллеги пойдет).
Для стеснительных и NDA можно в лс/бота.
#сложно
Желательно с вашего реального опыта или предыдущей работы, а не историю из интернета (хотя правдивая история от друга/коллеги пойдет).
Для стеснительных и NDA можно в лс/бота.
#сложно
oleg_log
:3 https://github.com/Kong/insomnia/pull/3006
Кстати, а ведь смержено и ушло в
https://github.com/Kong/insomnia/issues/2955#issuecomment-825163782
2021.1.0https://github.com/Kong/insomnia/issues/2955#issuecomment-825163782
GitHub
Multiple proto files · Issue #2955 · Kong/insomnia
Is your feature request related to a problem? Please describe. Currently Insomnia doesn't support multiple *.proto files for gRPC. Which breaks our flow 'cause we've multipl...
Why Software Projects need Heroes (Lessons Learned from 1000+ Projects)
A "hero" project is one where 80% or more of the contributions are made by the 20% of the developers. Those developers are called "hero" developers. In the literature, heroes projects are deprecated since they might cause bottlenecks in development and communication. However, there is little empirical evidence on this matter. Further, recent studies show that such hero projects are very prevalent. Accordingly, this paper explores the effect of having heroes in project, from a code quality perspective by analyzing 1000+ open source GitHub projects. Based on the analysis, this study finds that (a) majority of the projects are hero projects; and (b)the commits from "hero developers" (who contribute most to the code) result in far fewer bugs than other developers. That is, contrary to the literature, heroes are standard and very useful part of modern open source projects.
https://arxiv.org/abs/1904.09954
A "hero" project is one where 80% or more of the contributions are made by the 20% of the developers. Those developers are called "hero" developers. In the literature, heroes projects are deprecated since they might cause bottlenecks in development and communication. However, there is little empirical evidence on this matter. Further, recent studies show that such hero projects are very prevalent. Accordingly, this paper explores the effect of having heroes in project, from a code quality perspective by analyzing 1000+ open source GitHub projects. Based on the analysis, this study finds that (a) majority of the projects are hero projects; and (b)the commits from "hero developers" (who contribute most to the code) result in far fewer bugs than other developers. That is, contrary to the literature, heroes are standard and very useful part of modern open source projects.
https://arxiv.org/abs/1904.09954
Кто-то мне объяснит эту тенденцию, когда опытные и в чем-то даже умные люди в IT уходят читать курсы по этому же IT ?
То есть не решают расти по карьерной лестнице, не идут в бизнес или подобное, а просто садятся в душных чатиках и рассказывают студентам и стремящимся к синьерам как нужно работать и на что смотреть.
Просто не раз на таких натыкался и не совсем улавливаю цель, или их мотивацию, хз. Может вы другой паттерн у таких дедов(и бабуль) встречали? (к примеру кофейни идут открывать)
То есть не решают расти по карьерной лестнице, не идут в бизнес или подобное, а просто садятся в душных чатиках и рассказывают студентам и стремящимся к синьерам как нужно работать и на что смотреть.
Просто не раз на таких натыкался и не совсем улавливаю цель, или их мотивацию, хз. Может вы другой паттерн у таких дедов(и бабуль) встречали? (к примеру кофейни идут открывать)
Python я в прод не пускал, но эта штука звучит полезной и приятной.
In Python every class can have instance attributes. By default Python uses a dict to store an object’s instance attributes. This is really helpful as it allows setting arbitrary new attributes at runtime.
However, for small classes with known attributes it might be a bottleneck. The dict wastes a lot of RAM. Python can’t just allocate a static amount of memory at object creation to store all the attributes. Therefore it sucks a lot of RAM if you create a lot of objects (I am talking in thousands and millions). Still there is a way to circumvent this issue. It involves the usage of slots to tell Python not to use a dict, and only allocate space for a fixed set of attributes. Here is an example with and without slots:
https://book.pythontips.com/en/latest/__slots__magic.html
In Python every class can have instance attributes. By default Python uses a dict to store an object’s instance attributes. This is really helpful as it allows setting arbitrary new attributes at runtime.
However, for small classes with known attributes it might be a bottleneck. The dict wastes a lot of RAM. Python can’t just allocate a static amount of memory at object creation to store all the attributes. Therefore it sucks a lot of RAM if you create a lot of objects (I am talking in thousands and millions). Still there is a way to circumvent this issue. It involves the usage of slots to tell Python not to use a dict, and only allocate space for a fixed set of attributes. Here is an example with and without slots:
https://book.pythontips.com/en/latest/__slots__magic.html
Ах да, чуть не забыл зачем я в офисе сижу до вечера
UPD: Слайды конечно же https://speakerdeck.com/olegkovalov/za-paru-mghnovienii-do-main
UPD: Слайды конечно же https://speakerdeck.com/olegkovalov/za-paru-mghnovienii-do-main
Speaker Deck
За пару мгновений до main()
Forwarded from How to Go wrong
GopherCon Russia 2021 стартует уже через полчаса, и бесплатная регистрация ещё открыта! Все на https://www.gophercon-russia.ru !
А ещё там можно купить билет на крутейшие воркшопы в субботу и воскресенье. Булат Замалутдинов и Николай Маржан расскажут как писать Kubernetes-операторы, чтобы всё работало и не ломалось; Искандер Шарипов расскажет как крафтить линтеры, чтобы самим всё не сломать; а Валерий Мелешкин и я расскажем как применять property-based тесты и фаззинг, чтобы самим ломать свой код до production. Места ещё есть!
А ещё там можно купить билет на крутейшие воркшопы в субботу и воскресенье. Булат Замалутдинов и Николай Маржан расскажут как писать Kubernetes-операторы, чтобы всё работало и не ломалось; Искандер Шарипов расскажет как крафтить линтеры, чтобы самим всё не сломать; а Валерий Мелешкин и я расскажем как применять property-based тесты и фаззинг, чтобы самим ломать свой код до production. Места ещё есть!
www.gophercon-russia.ru
GopherCon Russia 2021
Конференция разработчиков на Go, 23-25 апреля 2021 года, Online.
oleg_log
We want to provide a low-noise, reliable way for Go developers to be alerted of known security vulnerabilities that affect their applications. We aim to build a first-party, curated, consistent database of security vulnerabilities open to community submissions…
It's alive https://github.com/golang/vulndb
GitHub
GitHub - golang/vulndb: [mirror] The Go Vulnerability Database
[mirror] The Go Vulnerability Database. Contribute to golang/vulndb development by creating an account on GitHub.
3k get, congrats https://xn--r1a.website/sysadmin_tools
you're next https://xn--r1a.website/count0_digest
you're next https://xn--r1a.website/count0_digest
На самом деле вчера я опубликовал чуть хелперов для sync пакета в Go https://github.com/cristalhq/synx
Возможно кому-то это сделает жизнь проще (мне сделало). Спасибо Богдану (@bortlog) за когда-то там веселый пейринг в субботу.
Напомню еще про атомики) https://xn--r1a.website/oleg_log/790
Заведу еще тег #hq
Возможно кому-то это сделает жизнь проще (мне сделало). Спасибо Богдану (@bortlog) за когда-то там веселый пейринг в субботу.
Напомню еще про атомики) https://xn--r1a.website/oleg_log/790
Заведу еще тег #hq
GitHub
GitHub - cristalhq/synx: Better sync package for Go.
Better sync package for Go. Contribute to cristalhq/synx development by creating an account on GitHub.
Forwarded from Alex senpai
Я тут недавно workshop по ruleguard провёл.
Какую-то часть выложил в открытый доступ. :)
Всё остальное было в лайве (плюс там эксклюзивный контент для конференции пока приватный, попозже может открою).
В выложенную часть входит несколько обучающих видео + несколько небольших практических задачек.
Ссылка на плейлист: https://www.youtube.com/watch?v=wZMgZNtKCm0&list=PLAjl-3QkinHvbgBKtIwlD2j3qqZ7iNOhE&index=1
Практические задачки: https://github.com/go-ruleguard/workshop-tasks/blob/main/ru/tasks.md
Какую-то часть выложил в открытый доступ. :)
Всё остальное было в лайве (плюс там эксклюзивный контент для конференции пока приватный, попозже может открою).
В выложенную часть входит несколько обучающих видео + несколько небольших практических задачек.
Ссылка на плейлист: https://www.youtube.com/watch?v=wZMgZNtKCm0&list=PLAjl-3QkinHvbgBKtIwlD2j3qqZ7iNOhE&index=1
Практические задачки: https://github.com/go-ruleguard/workshop-tasks/blob/main/ru/tasks.md
YouTube
ruleguard workshop: overview (part 1)
Первая часть из серии видео с воркшопа.
В этой части:
- Клонируем demo проект
- Разбираем, из чего состоят файлы правил
- Запускаем ruleguard на demo проекте
- Используем quickfix'ы (они же автофиксы)
demo проект: https://github.com/go-ruleguard/demo-project…
В этой части:
- Клонируем demo проект
- Разбираем, из чего состоят файлы правил
- Запускаем ruleguard на demo проекте
- Используем quickfix'ы (они же автофиксы)
demo проект: https://github.com/go-ruleguard/demo-project…
Годнота. Очень советую потыкать другие статьи на сайте и/или подписаться на Твиттер
https://wordsandbuttons.online/can_you_tell_an_assembly_language_when_you_see_one.html
https://twitter.com/wordsandbuttons
https://wordsandbuttons.online/can_you_tell_an_assembly_language_when_you_see_one.html
https://twitter.com/wordsandbuttons
wordsandbuttons.online
Can you tell an assembly language when you see one?
An interactive quiz featuring several obscure high-level languages and assembly variants.
Forwarded from Технологический Болт Генона
Crypto miners are killing free CI
CI providers like GitLab, TravisCI, and Shippable are all worsening or shutting down their free tiers due to cryptocurrency mining attacks.
https://layerci.com/blog/crypto-miners-are-killing-free-ci/
CI providers like GitLab, TravisCI, and Shippable are all worsening or shutting down their free tiers due to cryptocurrency mining attacks.
https://layerci.com/blog/crypto-miners-are-killing-free-ci/
Ну наконец-то, сколько я ждал нормальных оплат в Телеге. Этож просто на кончиках пальцев ощущается, как WeChat: тут же сидишь трындишь и тут же оплачиваешь. Короч круто, скорее всего это хороший толчок к росту платформы.
https://telegram.org/blog/payments-2-0-scheduled-voice-chats
https://telegram.org/blog/payments-2-0-scheduled-voice-chats
Telegram
Payments 2.0, Scheduled Voice Chats, New Web Versions
This update brings Payments 2.0 for all Telegram chats, Scheduling and Mini Profiles for Voice Chats, new versions of Telegram Web for your browser, and more.