oleg_log
Вопрос основанный на коментах к посту выше: всегда ли можно разделить большую фичу на несколько ПР ? (под ПР подразумеваем 1 сквошнутый коммит)
Возвращаясь к спору про ПР выше. Вы используете feature flags в проектах? Это когда вы что-то вмержили в мейн, но не используете сразу, но код как бы уже смешался со всем.
Anonymous Poll
56%
да
31%
не
13%
хз
Unicode должен быть запрещен в коде на законодательном уровне.
https://blog.rust-lang.org/2021/11/01/cve-2021-42574.html
Тут больше каких-то слов https://krebsonsecurity.com/2021/11/trojan-source-bug-threatens-the-security-of-all-code/
> We’ve verified that this attack works against C, C++, C#, JavaScript, Java, Rust, Go, and Python
https://www.lightbluetouchpaper.org/2021/11/01/trojan-source-invisible-vulnerabilities/
Paper: https://trojansource.codes/trojan-source.pdf
https://blog.rust-lang.org/2021/11/01/cve-2021-42574.html
Тут больше каких-то слов https://krebsonsecurity.com/2021/11/trojan-source-bug-threatens-the-security-of-all-code/
> We’ve verified that this attack works against C, C++, C#, JavaScript, Java, Rust, Go, and Python
https://www.lightbluetouchpaper.org/2021/11/01/trojan-source-invisible-vulnerabilities/
Paper: https://trojansource.codes/trojan-source.pdf
Forwarded from Протестировал (Sergey Bronnikov)
Рассказал, как мы тестируем Tarantool
https://habr.com/ru/company/vk/blog/584864/
https://habr.com/ru/company/vk/blog/584864/
oleg_log
Unicode должен быть запрещен в коде на законодательном уровне. https://blog.rust-lang.org/2021/11/01/cve-2021-42574.html Тут больше каких-то слов https://krebsonsecurity.com/2021/11/trojan-source-bug-threatens-the-security-of-all-code/ > We’ve verified…
Russ Cox накинул в ответ https://research.swtch.com/trojan via @HowToGoWrong
Видно в четверг будет стрим по go-critic с новыми чеками, хотя это не связано с новостью.
Видно в четверг будет стрим по go-critic с новыми чеками, хотя это не связано с новостью.
oleg_log
Russ Cox накинул в ответ https://research.swtch.com/trojan via @HowToGoWrong Видно в четверг будет стрим по go-critic с новыми чеками, хотя это не связано с новостью.
Если кому-то пофиг на всё это (правильно делаете), то вот забавная история из последнего абзаца:
For the record, back in 2013, Ken told me that the backdoored compiler did in fact exist and was deployed, but it had a subtle bug that exposed the backdoor: the reproduction code added an extra \0 to the string each time it copied itself. This made the compiler binary grow by one byte every time it rebuilt itself. Eventually someone noticed and debugged what was going on, aided by the fact that the “print assembly” compilation mode did not insert the backdoor at all, and all traces were cleaned away. Or so we believe.
For the record, back in 2013, Ken told me that the backdoored compiler did in fact exist and was deployed, but it had a subtle bug that exposed the backdoor: the reproduction code added an extra \0 to the string each time it copied itself. This made the compiler binary grow by one byte every time it rebuilt itself. Eventually someone noticed and debugged what was going on, aided by the fact that the “print assembly” compilation mode did not insert the backdoor at all, and all traces were cleaned away. Or so we believe.
Rudra не совсем и новая вещь (в августе 1й раз встретил), но вещь стоящая судя по количеству найденных багов, unsafe такой unsafe.
https://www.micahlerner.com/2021/10/31/rudra-finding-memory-safety-bugs-in-rust-at-the-ecosystem-scale.html
https://www.micahlerner.com/2021/10/31/rudra-finding-memory-safety-bugs-in-rust-at-the-ecosystem-scale.html
oleg_log
🎉 https://github.com/golang/go/issues/44551
This page collects issues that have been discovered using Go's native fuzzing.
https://github.com/golang/go/wiki/Fuzzing-trophy-case
Все бы ничего, но...
Standard Library
go/scanner: inconsistent handling of NUL bytes in 1.17
time: ParseDuration can panic on invalid input
Что еще раз подтверждает - фаззинг это надолго.
https://github.com/golang/go/wiki/Fuzzing-trophy-case
Все бы ничего, но...
Standard Library
go/scanner: inconsistent handling of NUL bytes in 1.17
time: ParseDuration can panic on invalid input
Что еще раз подтверждает - фаззинг это надолго.
GitHub
Fuzzing trophy case
The Go programming language. Contribute to golang/go development by creating an account on GitHub.
Google's infamous internal 2010 “I just want to serve 5TB” video now public
https://www.youtube.com/watch?v=3t6L-FlfeaI
Чуть контекста https://rachelbythebay.com/w/2021/10/30/5tb/
> As for everything in the video, it is really close to what the reality of production was back in the day. Things were actually quite a bit worse than what it suggests, if you can believe it. The whole thing about "get quota in two cells" misses the fact that it was damn near impossible to get the quota you needed across multiple services (compute, storage, ...) in the same place at the same time.
+ MongoDB is web scale https://www.youtube.com/watch?v=b2F-DItXtZs
https://www.youtube.com/watch?v=3t6L-FlfeaI
Чуть контекста https://rachelbythebay.com/w/2021/10/30/5tb/
> As for everything in the video, it is really close to what the reality of production was back in the day. Things were actually quite a bit worse than what it suggests, if you can believe it. The whole thing about "get quota in two cells" misses the fact that it was damn near impossible to get the quota you needed across multiple services (compute, storage, ...) in the same place at the same time.
+ MongoDB is web scale https://www.youtube.com/watch?v=b2F-DItXtZs
YouTube
I just want to serve 5 terabytes.
This video dates back to about 2010, and is the origin of the phrase "I've forgotten how to count that low" that was recently referenced in a blog post and on hacker news. (https://acesounderglass.com/2021/10/20/i-dont-know-how-to-count-that-low/)
Even more…
Even more…
Forwarded from oleg_fov (Oleg Kovalov)
YouTube
Where Does Bad Code Come From?
https://www.kickstarter.com/projects/annarettberg/meow-the-infinite-book-two
Q&A: https://youtu.be/cOcaj_cRBvE
Rebroadcast of an invited live lecture I gave to infura.io on https://www.twitch.tv/molly_rocket. The original had bad audio for the first few…
Q&A: https://youtu.be/cOcaj_cRBvE
Rebroadcast of an invited live lecture I gave to infura.io on https://www.twitch.tv/molly_rocket. The original had bad audio for the first few…
oleg_fov
#think https://www.youtube.com/watch?v=7YpFGkG-u1w
HUGE. Ваще норм так задвинул, сильно, кто бы сомневался.
Forwarded from Sysadmin Tools 🇺🇦
MetricsQL: PromQL compliance
https://medium.com/@romanhavronenko/victoriametrics-promql-compliance-d4318203f51e
#promql #metricsql #prometheus #victoriametrics
https://medium.com/@romanhavronenko/victoriametrics-promql-compliance-d4318203f51e
#promql #metricsql #prometheus #victoriametrics
Medium
VictoriaMetrics: PromQL compliance
MetricsQL is a query language inspired by PromQL. It is used as a primary query language in VictoriaMetrics, time series database and…
Есть тут такие, кто с AWS RDS (или самохостнутого) Postgres на AWS Autora переехал?
Как онов итоге? Речь про перф в основном, протокол-то остался один и тот же.
Да и вообще, что про Аврору хорошего и плохого слышали? Спасибо
Как онов итоге? Речь про перф в основном, протокол-то остался один и тот же.
Да и вообще, что про Аврору хорошего и плохого слышали? Спасибо
Newborn unicorn CTO разносит стартап смотреть в маркдаун без смс.
https://github.com/ClickHouse/ClickHouse/blob/master/benchmark/timescaledb/usability.md
ИМХ такое лучше бы в личном блоге постить.
https://github.com/ClickHouse/ClickHouse/blob/master/benchmark/timescaledb/usability.md
ИМХ такое лучше бы в личном блоге постить.
Для особо фанатов можно самому гонять, в ридми ссылка на модель, 2.5гб https://github.com/sberbank-ai/ru-dalle
GitHub
GitHub - ai-forever/ru-dalle: Generate images from texts. In Russian
Generate images from texts. In Russian. Contribute to ai-forever/ru-dalle development by creating an account on GitHub.