oleg_log
1.72K 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
дааа блен
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://www.reddit.com/r/rust/comments/my3ipa/if_you_could_redesign_rust_from_scratch_today/
Вопрос на благо всех: подкиньте материалы по устройству ядра Linux. Совет читать сорцы можете придержать на майские праздники.

Интересны права пользователей, systemd, что там с файловыми системами и тд. Можете не совсем внутренности (аллокаторы, скедулеры), но думаю вы поняли.

Возможно в одной статье/книге этого не будет (скорее не будет), поэтому кидайте, что считаете нужным. Заранее спасибо.
Товарищ Мерлин поднял старый вопрос о сравнении адресов struct{} в Go. Не обошлось без гугления спеки.

https://github.com/golang/go/issues/2620

Pointer values are comparable. Two pointer values are equal if they point to the same variable or if both have value nil. Pointers to distinct zero-size variables may or may not be equal.

...

A struct or array type has size zero if it contains no fields (or elements, respectively) that have a size greater than zero. Two distinct zero-size variables may have the same address in memory.

Пост https://t.me/teamerlin/6625
Upgrading to GraalVM 21.1 made me aware of this

Печатает 4, прям как по мему xkcd https://xkcd.com/221/

В след твите примеры, как это фиксится https://twitter.com/reibitto/status/1384795560436113415

Но забавное поведение для синглтона.
testing: add -shuffle=off|on|N to alter the execution order of tests and benchmarks

Держу кулачки, что в 1.17 таки зайдет. Чуть жаль, что не я это закодил, но где-то я просто перегорел с этой идеей и ожиданием (да, оправдываюсь чуть).

https://github.com/golang/go/commit/cbb3f090477de92a7e158050803ef71a5ea825ee
Опять конференции.. https://gophercon.eu/schedule/

26-28 мая, записывайтесь.
Возможно это чуть #ненормальное но очень интересное. https://avinayak.github.io/algorithms/programming/2021/02/19/finding-mona-lisa-in-the-game-of-life.html

Кстати код https://github.com/avinayak/mona_lisa_gol_jax

Но больше всего меня привлек проект JAX (как-то я его упустил, а жаль):

JAX is a python library that lets you use a version of numpy and compile it to highly vectorized code that can be run on a GPU/TPU. We need to rework this algorithm for a GPU.

Все бы ничего, но вот этот TPU (который Tensor Processing Unit) очень интересует, как независимая единица вычисления, а не ускоритель нейронок. https://github.com/google/jax
Достаём пиджачки, господа.

With 92% of enterprise users feeling “somewhat” or “very” satisfied, and satisfaction for “using cloud services” with Go up 14%, we’re happy to hear that Go remains pleasant to work with. Go’s effect on productivity is also quite positive, with 81% of enterprise users feeling “very” or “extremely” productive.

https://cloud.google.com/blog/topics/developers-practitioners/go-powering-enterprise-developers-developer-survey-results

We also heard that two-thirds (66%) of Go developers feel that Go is critical to their company’s success.