Forwarded from Технологический Болт Генона
В связи большим количеством обсуждений в личке, то вот вам GitLab'ов публичных. ТЫСЧИ ИХ!11!!
https://www.google.com/search?q=intitle%3A%22Gitlab%22+intext%3A%22register%22+intext%3A%22sign+in%22
https://www.google.com/search?q=intitle%3A%22Gitlab%22+intext%3A%22register%22+intext%3A%22sign+in%22
oleg_log
За два дня убил около часа на дебаг тестов с -race. Уже холодный пот прошел, думал ну все, не понимаю как работают горутины, пора в Rust и Scala валить, чтобы за меня все решали. Все оказалось проще, тесты не запускались с -race, спасибо самопальным ямлам.…
По поводу #go race detector, решил погуглить всякие статейки. Нашел одну, которую не узнал, может и не видел. Конечно же ничего нового, но такое ощущения, что больше теории рассказано, чем обычно. Вдруг заинтересует.
https://krakensystems.co/blog/2019/golang-race-detection
https://krakensystems.co/blog/2019/golang-race-detection
Kraken Systems Ltd.
Golang race detection | Kraken Systems Ltd.
Data races are nasty kinds of bugs; rare, hard to replicate and tend to occur at the worst possible moment. Have you ever wonder how go does it under the hood?
Услышал фразу «опять из-за сломанного бекенда у нас(мобайл) ничего не работает». И стало интересно.
Может бизнес оч любит фуллстек по причине «так вы же это делаете, значит вы и сломали», а не по поводу всех этих людей оркестров которые могут и там, и сям что-то накодить.
Ведь действительно, сколько митингов и перекидываний багов отпадает(так сколько?), если вся ответственность за фичу/фикс бага лежит в рамках ответственности одной команды.
Сюда же и плюс JS в силу бекенда, фронта и мобайл. Понимаю, что пост кэповский, но раньше на эту мысль не тратил время.
Может бизнес оч любит фуллстек по причине «так вы же это делаете, значит вы и сломали», а не по поводу всех этих людей оркестров которые могут и там, и сям что-то накодить.
Ведь действительно, сколько митингов и перекидываний багов отпадает(так сколько?), если вся ответственность за фичу/фикс бага лежит в рамках ответственности одной команды.
Сюда же и плюс JS в силу бекенда, фронта и мобайл. Понимаю, что пост кэповский, но раньше на эту мысль не тратил время.
Оуч, вот это действительно внезапно (мне).
The Swift project is introducing new downloadable Swift toolchain images for Windows! These images contain development components needed to build and run Swift code on Windows.
https://swift.org/blog/swift-on-windows/
The Swift project is introducing new downloadable Swift toolchain images for Windows! These images contain development components needed to build and run Swift code on Windows.
https://swift.org/blog/swift-on-windows/
Swift.org
Introducing Swift on Windows
The Swift project is introducing new downloadable Swift toolchain images for Windows! These images contain development components needed to build and run Swift code on Windows.
Похоже, что это феил) чесн, никогда не понимал аргументации "да нафиг нам обновляться". Хотя когда по ногам били прод падал и быстренько перепрыгивала на 11 - все становилось лучше.
На самом деле вся идея Java LTS меня напрягает. Мы будем сидеть на той версии, которая будет жить 8 лет, ведь у нас бузинес на этом. лолшто?
https://blog.jetbrains.com/idea/2020/09/a-picture-of-java-in-2020/
https://en.wikipedia.org/wiki/Java_version_history
На самом деле вся идея Java LTS меня напрягает. Мы будем сидеть на той версии, которая будет жить 8 лет, ведь у нас бузинес на этом. лолшто?
https://blog.jetbrains.com/idea/2020/09/a-picture-of-java-in-2020/
https://en.wikipedia.org/wiki/Java_version_history
Имхо самый сок:
Implement incremental sorting (James Coleman, Alexander Korotkov, Tomas Vondra)
If an intermediate query result is known to be sorted by one or more leading keys of a required sort ordering, the additional sorting can be done considering only the remaining keys, if the rows are sorted in batches that have equal leading keys.
Хотя дедупликация в B-tree индексе тоже красиво отрабатывает. Вроде еще с вакуумом какие-то радости доставили.
Implement incremental sorting (James Coleman, Alexander Korotkov, Tomas Vondra)
If an intermediate query result is known to be sorted by one or more leading keys of a required sort ordering, the additional sorting can be done considering only the remaining keys, if the rows are sorted in batches that have equal leading keys.
Хотя дедупликация в B-tree индексе тоже красиво отрабатывает. Вроде еще с вакуумом какие-то радости доставили.
Forwarded from Технологический Болт Генона
PostgreSQL 13 Released!
https://www.postgresql.org/about/press/presskit13/ru/
Release Notes
https://www.postgresql.org/docs/13/release-13.html
https://www.postgresql.org/about/press/presskit13/ru/
Release Notes
https://www.postgresql.org/docs/13/release-13.html
Приберу ссыль из чата подкаста Generic Talks (@generictalkschat)
https://blog.rust-lang.org/inside-rust/2020/09/18/error-handling-wg-announcement.html
TLDR
Some of the goals this project group will be working on include:
1. Defining and codifying common error handling terminology.
2. Generating consensus on current error handling best practices.
3. Identifying pain points that exist in Rust’s error handling story.
4. Communicating current error handling best practices.
5. Consolidating the Rust error handling ecosystem.
Тут же можно порофлить, что нет единого подхода, что делать с ошибками [citation needed] и тут же можно порадоваться, что есть движение к единому виду обработки ошибок [citation not needed?], что упростит жизнь в экосистеме.
Как показывает практика - безликий код упрощает жизнь. Еще бы мне смириться с пирамидками из if let Some, так вообще станет приятно жить. Но за пару лет я такого в опен-сурсе не встречал :(
https://blog.rust-lang.org/inside-rust/2020/09/18/error-handling-wg-announcement.html
TLDR
Some of the goals this project group will be working on include:
1. Defining and codifying common error handling terminology.
2. Generating consensus on current error handling best practices.
3. Identifying pain points that exist in Rust’s error handling story.
4. Communicating current error handling best practices.
5. Consolidating the Rust error handling ecosystem.
Тут же можно порофлить, что нет единого подхода, что делать с ошибками [citation needed] и тут же можно порадоваться, что есть движение к единому виду обработки ошибок [citation not needed?], что упростит жизнь в экосистеме.
Как показывает практика - безликий код упрощает жизнь. Еще бы мне смириться с пирамидками из if let Some, так вообще станет приятно жить. Но за пару лет я такого в опен-сурсе не встречал :(
blog.rust-lang.org
Announcing the Error Handling Project Group | Inside Rust Blog
Want to follow along with Rust development? Curious how you might get involved? Take a look!
Ахахахах, прикольно. Ведь действительно, делать свой уникальный вид Windows XP проще было с некого шаблона и за основу была взята Mac OS.
https://www.theverge.com/2020/9/25/21456525/microsoft-windows-xp-theme-mac-aqua
https://www.theverge.com/2020/9/25/21456525/microsoft-windows-xp-theme-mac-aqua
The Verge
Microsoft had a secret Windows XP theme that made it look like a Mac
A new Windows XP leak has revealed a relic from the past
Есть шанс, что в #go 1.16 завезут Fiat-crypto.
TLDR: formally-verified, high-performance modular arithmetic implementations, useful for crypto primitives like Curve25519, Poly1305, and the NIST ECC curves that are used within the Go standard library.
(Fiat & crypto гуглить неприятно, спасибо криптоскамувалюте)
https://github.com/golang/go/issues/40171
Наверное это мало кому интересно, но вещь правда хорошая, пруфнутая на корректность, да еще и шустрая. Криптография в Go станет еще чуточку лучше и доступнее.
Еще забавно, как они в ишью лицензию обсуждали. Не знаю, забавно смотрелось.
TLDR: formally-verified, high-performance modular arithmetic implementations, useful for crypto primitives like Curve25519, Poly1305, and the NIST ECC curves that are used within the Go standard library.
(Fiat & crypto гуглить неприятно, спасибо крипто
https://github.com/golang/go/issues/40171
Наверное это мало кому интересно, но вещь правда хорошая, пруфнутая на корректность, да еще и шустрая. Криптография в Go станет еще чуточку лучше и доступнее.
Еще забавно, как они в ишью лицензию обсуждали. Не знаю, забавно смотрелось.
GitHub
crypto: import fiat-crypto implementations · Issue #40171 · golang/go
The fiat-crypto project (https://github.com/mit-plv/fiat-crypto) generates formally-verified, high-performance modular arithmetic implementations, useful for crypto primitives like Curve25519, Poly...
oleg_log
Оуч, вот это действительно внезапно (мне). The Swift project is introducing new downloadable Swift toolchain images for Windows! These images contain development components needed to build and run Swift code on Windows. https://swift.org/blog/swift-on-windows/
Опять Swift.
It is my pleasure to announce a new open source project for the Swift Server ecosystem, Swift Cluster Membership. This library aims to help Swift grow in a new space of server applications: clustered multi-node distributed systems. With this library we provide reusable runtime-agnostic membership protocol implementations which can be adopted in various clustering use-cases.
https://swift.org/blog/swift-cluster-membership/
Как-то резво все начало у них двигаться. Придется убить выходные и залезть в экосистему, понять что к чему стоит.
It is my pleasure to announce a new open source project for the Swift Server ecosystem, Swift Cluster Membership. This library aims to help Swift grow in a new space of server applications: clustered multi-node distributed systems. With this library we provide reusable runtime-agnostic membership protocol implementations which can be adopted in various clustering use-cases.
https://swift.org/blog/swift-cluster-membership/
Как-то резво все начало у них двигаться. Придется убить выходные и залезть в экосистему, понять что к чему стоит.
Swift.org
Introducing Swift Cluster Membership
It is my pleasure to announce a new open source project for the Swift Server ecosystem, Swift Cluster Membership. This library aims to help Swift grow in a new space of server applications: clustered multi-node distributed systems. With this library we provide…
Сижу такой, листаю что там в Caddy последний завезли (ZeroSSL привлекло внимание), и конечно же надо вспомнить что там в go.mod раз мы зашли, встречаю это...
https://github.com/caddyserver/caddy/blob/master/go.mod#L23
Собственно виновник: NoSQL is an abstraction layer for data persistency https://github.com/smallstep/nosql
Да курва, брать какой-то абстрэкшэн лэйэр (оставив вопрос зачем он нужен в другом проекте и другой фирме (в контексте одного проекта это может быть нужно (што))) ради одного интерфейса, ахахахах https://github.com/smallstep/nosql/blob/master/database/database.go#L90
Моё глубокое уважение, что это работает и сообщество живо, но блин, что происходит)))
github.com/smallstep/nosql v0.3.0 // cannot upgrade until protobuf warning is fixed
https://github.com/caddyserver/caddy/blob/master/go.mod#L23
Собственно виновник: NoSQL is an abstraction layer for data persistency https://github.com/smallstep/nosql
Да курва, брать какой-то абстрэкшэн лэйэр (оставив вопрос зачем он нужен в другом проекте и другой фирме (в контексте одного проекта это может быть нужно (што))) ради одного интерфейса, ахахахах https://github.com/smallstep/nosql/blob/master/database/database.go#L90
Моё глубокое уважение, что это работает и сообщество живо, но блин, что происходит)))
GitHub
caddy/go.mod at master · caddyserver/caddy
Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS - caddyserver/caddy
На той неделе была новость о том, что Wiki будет менять дизайн 1й раз за 10 лет. Ну и блабла.
https://diff.wikimedia.org/2020/09/23/wikipedia-is-getting-a-new-look-for-the-first-time-in-10-years-heres-why/
Можно просто глянуть примеры (хотя не со всеми согласен) https://www.mediawiki.org/wiki/Reading/Web/Desktop_Improvements#What_features_will_be_added
Но привлекла другая пдфка в конце статьи
Выводы конечно очевидные: “…text printed in shorter line lengths was read faster…” “…shorter line lengths produced significantly greater retention…”
Наверное это не стоит читать как аргумент за 80 символов в строке, но порой стоит подумать.
https://diff.wikimedia.org/2020/09/23/wikipedia-is-getting-a-new-look-for-the-first-time-in-10-years-heres-why/
Можно просто глянуть примеры (хотя не со всеми согласен) https://www.mediawiki.org/wiki/Reading/Web/Desktop_Improvements#What_features_will_be_added
Но привлекла другая пдфка в конце статьи
Computer text line lengths affect reading and learning https://cdn.tc-library.org/Edlab/eye-tracking%20article.pdf by IBM (https://t.me/repushko_channel/1320 пример)Выводы конечно очевидные: “…text printed in shorter line lengths was read faster…” “…shorter line lengths produced significantly greater retention…”
Наверное это не стоит читать как аргумент за 80 символов в строке, но порой стоит подумать.
Diff
Wikipedia is getting a new look for the first time in 10 years. Here’s why.
This is the first blog in a series about desktop improvements coming to Wikipedia. Wikipedia has remained a critical and widely-used resource for knowledge across the world for the past two decades…
Экономия эт конечно круто, но как показывает жизнь - всегда есть люди, которым проще заплатить х2-х3-х4 и не думать лишний раз. А на все вопросы есть саппорт и "ну у AWS проблемы, мы-то что можем сделать?".
Еще интересно, как меняется цена из-за региона, Мумбаи думаю может быть чуть специфичным, и какой-то Франкфурт или Дублин дадут друго коэф выгоды (если не наоборот :)
хн https://news.ycombinator.com/item?id=24608538
Еще интересно, как меняется цена из-за региона, Мумбаи думаю может быть чуть специфичным, и какой-то Франкфурт или Дублин дадут друго коэф выгоды (если не наоборот :)
хн https://news.ycombinator.com/item?id=24608538
Довольно интересный сборник особенностей работы с JSON в Go. Большинство и так известно (и со стороны го, и со стороны жсон), но советую пролистать, хуже не будет.
Я вот про Non-ASCII punctuation characters aren't supported in struct tags не знал, и рад, что не знал.
https://www.alexedwards.net/blog/json-surprises-and-gotchas
Я вот про Non-ASCII punctuation characters aren't supported in struct tags не знал, и рад, что не знал.
https://www.alexedwards.net/blog/json-surprises-and-gotchas
www.alexedwards.net
Surprises and Gotchas When Working with JSON - Alex Edwards
While not yet at version 1.0, Zig is about to reach a new level of maturity and stability.
The work to replace the current C++ compiler implementation with a new pure Zig version has begun. Moving to a self-hosted implementation is usually considered a step towards maturity, with most benefits being felt by developers of the language itself <..> it also makes LLVM an optional dependency, increases compilation speed.
https://kristoff.it/blog/zig-new-relationship-llvm/
The work to replace the current C++ compiler implementation with a new pure Zig version has begun. Moving to a self-hosted implementation is usually considered a step towards maturity, with most benefits being felt by developers of the language itself <..> it also makes LLVM an optional dependency, increases compilation speed.
https://kristoff.it/blog/zig-new-relationship-llvm/
kristoff.it
Zig's New Relationship with LLVM
While not yet at version 1.0, Zig is about to reach a new level of maturity and stability.
oleg_log
While not yet at version 1.0, Zig is about to reach a new level of maturity and stability. The work to replace the current C++ compiler implementation with a new pure Zig version has begun. Moving to a self-hosted implementation is usually considered a step…
LLVM, which takes at least 70% of the total compilation time including when compiling a debug build, where optimizations aren’t even enabled.
The self-hosted compiler will not depend on LLVM for debug builds and will be able to cut compilation time considerably, basically reducing that 70% to almost zero, just by virtue of being a simpler piece of software compared to LLVM.
https://youtu.be/R5FKgi9BYyU
The self-hosted compiler will not depend on LLVM for debug builds and will be able to cut compilation time considerably, basically reducing that 70% to almost zero, just by virtue of being a simpler piece of software compared to LLVM.
https://youtu.be/R5FKgi9BYyU