oleg_log
1.73K subscribers
1.88K photos
131 videos
9 files
2.82K links
Shelter for antisocial programmers "Oleg"

halp: @olegkovalov
web: https://olegk.dev
fov: @oleg_fov
chat: @oleg_log_blabla
podcast: @generictalks
Download Telegram
true
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
Forwarded from Протестировал (Sergey Bronnikov)
Рассказал, как мы тестируем Tarantool
https://habr.com/ru/company/vk/blog/584864/
Твой Github Copilot так может? то-то же

Кто деда не узнал https://t.me/oleg_log/4965
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.
Rudra не совсем и новая вещь (в августе 1й раз встретил), но вещь стоящая судя по количеству найденных багов, unsafe такой unsafe.

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

Что еще раз подтверждает - фаззинг это надолго.
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
oleg_fov
#think https://www.youtube.com/watch?v=7YpFGkG-u1w
HUGE. Ваще норм так задвинул, сильно, кто бы сомневался.
Кстати must read. Немного менее чем полностью убирает стереотипы.
Есть тут такие, кто с AWS RDS (или самохостнутого) Postgres на AWS Autora переехал?

Как онов итоге? Речь про перф в основном, протокол-то остался один и тот же.

Да и вообще, что про Аврору хорошего и плохого слышали? Спасибо
Newborn unicorn CTO разносит стартап смотреть в маркдаун без смс.

https://github.com/ClickHouse/ClickHouse/blob/master/benchmark/timescaledb/usability.md

ИМХ такое лучше бы в личном блоге постить.