Годнота. Очень советую потыкать другие статьи на сайте и/или подписаться на Твиттер
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.
Вот это интересно. По крайней мере я надеюсь на интересные вещи в треде. https://www.reddit.com/r/rust/comments/my3ipa/if_you_could_redesign_rust_from_scratch_today/
Reddit
From the rust community on Reddit
Explore this post and more from the rust community
Вопрос на благо всех: подкиньте материалы по устройству ядра Linux. Совет читать сорцы можете придержать на майские праздники.
Интересны права пользователей, systemd, что там с файловыми системами и тд. Можете не совсем внутренности (аллокаторы, скедулеры), но думаю вы поняли.
Возможно в одной статье/книге этого не будет (скорее не будет), поэтому кидайте, что считаете нужным. Заранее спасибо.
Интересны права пользователей, systemd, что там с файловыми системами и тд. Можете не совсем внутренности (аллокаторы, скедулеры), но думаю вы поняли.
Возможно в одной статье/книге этого не будет (скорее не будет), поэтому кидайте, что считаете нужным. Заранее спасибо.
Товарищ Мерлин поднял старый вопрос о сравнении адресов
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
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
GitHub
Spec does not explain comparing pointers to zero-sized objects · Issue #2620 · golang/go
As far as I can see, the spec does not let me predict the result of this program. The spec doesn't say anything clearly about comparing two pointers to zero-sized objects. Both 6g and gccgo...
Шутка в названии - зачет. 4,5,6 как-то особо в душу западают.
https://www.netmeister.org/blog/software-engineering-laws.html
Был еще такой пост давно-давно https://t.me/oleg_log/1652
https://www.netmeister.org/blog/software-engineering-laws.html
Был еще такой пост давно-давно https://t.me/oleg_log/1652
www.netmeister.org
10 Software Engineering Laws Everybody Loves to Ignore
Sure, we
all pretend to know them, but rarely do we think they
apply to us. Your manager certainly doesn't...
all pretend to know them, but rarely do we think they
apply to us. Your manager certainly doesn't...
Пожалуй рискну спросить: прививаться будешь?
Anonymous Poll
23%
Да, обязательно
25%
Да, надо...
13%
Нет, наверное
8%
Нет, точно-точно
20%
Уже привит(а)
1%
Другое (в коменты)
9%
Результаты
Upgrading to GraalVM 21.1 made me aware of this
Печатает 4, прям как по мему xkcd https://xkcd.com/221/
В след твите примеры, как это фиксится https://twitter.com/reibitto/status/1384795560436113415
Но забавное поведение для синглтона.
Печатает 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
Держу кулачки, что в 1.17 таки зайдет. Чуть жаль, что не я это закодил, но где-то я просто перегорел с этой идеей и ожиданием (да, оправдываюсь чуть).
https://github.com/golang/go/commit/cbb3f090477de92a7e158050803ef71a5ea825ee
GitHub
testing: add -shuffle=off|on|N to alter the execution order of tests … · golang/go@cbb3f09
…and benchmarks
This CL adds a new flag to the testing package and the go test command
which randomizes the execution order for tests and benchmarks.
This can be useful for identifying unwanted de...
This CL adds a new flag to the testing package and the go test command
which randomizes the execution order for tests and benchmarks.
This can be useful for identifying unwanted de...
Не ну хренасе они там зажрались в этом Гугле https://www.latimes.com/business/technology/story/2021-04-28/google-is-saving-1-billion-per-year-as-a-result-of-employees-working-from-home
Los Angeles Times
Google is saving $1 billion per year as a result of employees working from home
Google is known for perks such as massages and retreats. Not having to pay for those things during the pandemic has padded the company's bottom line.
oleg_log
Расскажите самую хреновую вещь, которую вы встречали в микросервисной архитектуре. Желательно с вашего реального опыта или предыдущей работы, а не историю из интернета (хотя правдивая история от друга/коллеги пойдет). Для стеснительных и NDA можно в лс/бота.…
Расскажите самый сложный ПР, который вы делали.
Конечно же абстрактно, без упоминания приватных вещей и любимым NDA.
Опять же в лс или бота что-то приватное.
#сложно
Конечно же абстрактно, без упоминания приватных вещей и любимым NDA.
Опять же в лс или бота что-то приватное.
#сложно
https://engineering.fb.com/2021/04/29/developer-tools/rust/
а еще Facebook Joins the Rust Foundation
https://developers.facebook.com/blog/post/2021/04/29/facebook-joins-rust-foundation/
а еще Facebook Joins the Rust Foundation
https://developers.facebook.com/blog/post/2021/04/29/facebook-joins-rust-foundation/
Engineering at Meta
A brief history of Rust at Facebook
Facebook is embracing Rust, one of the most loved and fastest-growing programming languages available today. In addition to bringing new talent to its Rust team, Facebook has announced that it is o…
Возможно это чуть #ненормальное но очень интересное. 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
Кстати код 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.
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.
Google Cloud Blog
Go is powering enterprise developers: Developer survey results | Google Cloud Blog
We’re sharing results from the Go Developer Survey, with a focus on cloud development, which informs the experience of building with Go on Google Cloud.
Forwarded from Tech Cheat Sheet (Oleg Kovalov)
Encore Cloud
Go Modules Cheat Sheet
A handy reference for common operations with Go modules.