Хвала небесам и о ужас, приняли
https://github.com/golang/go/issues/45955#issuecomment-897046320
slices: new package to provide generic slice functions.https://github.com/golang/go/issues/45955#issuecomment-897046320
GitHub
slices: new package to provide generic slice functions · Issue #45955 · golang/go
Note: Discussion is now at #47203. This proposal is for use with #43651. We propose defining a new package, slices, that will provide functions that may be used with slices of any type. If this pro...
oleg_log
Эпоха уходит...
ну 3 месяца вполне ок, даж шустра справились, видно 1.18 давит)
И раз уж такая тусовка - тож приняли https://github.com/golang/go/issues/45458#issuecomment-897046598
GitHub
constraints: new package to define standard type parameter constraints · Issue #45458 · golang/go
Note: Discussion is now at #47319 This proposal is for use with #43651. The proposal document for that issue mentions adding a constraints package to define some standard useful constraints. Here w...
Красивый хак блокчейна Poly (600M угнали)
Разбор (+гифка для котят) https://twitter.com/kelvinfichter/status/1425217046636371969
Новость https://blockworks.co/hackers-steal-over-600m-biggest-in-defi-history/
Обожаю блокчейны. О-бо-жа-ю.
Разбор (+гифка для котят) https://twitter.com/kelvinfichter/status/1425217046636371969
Новость https://blockworks.co/hackers-steal-over-600m-biggest-in-defi-history/
Обожаю блокчейны. О-бо-жа-ю.
Twitter
smartcontracts
Ok here's how the Poly Network hack actually worked. If I'm reading the contracts correctly, it's pretty genius.
GitHub’s Engineering Team has moved to Codespaces
https://github.blog/2021-08-11-githubs-engineering-team-moved-codespaces/
Зовитефиксиков tonsky, мы тут редактор в браузере на 64гб рама смогли запустить.
https://github.blog/2021-08-11-githubs-engineering-team-moved-codespaces/
Зовите
Клевая штука, ставишь 1 параметр в коннект БД и не знаешь проблем с дебагом. Наверное полезным стоит добавить, что не просто имя, а название инстанса (имя-ид если точнее, а то всякое случается).
https://andygrunwald.com/blog/your-database-connection-deserves-a-name/
https://andygrunwald.com/blog/your-database-connection-deserves-a-name/
Andygrunwald
your database connection deserves a name - Andy Grunwald
Assigning a name to your database connection can lower your time to debug. We provide an overview of how to do this for various database systems and programming languages.
В коментах к посту выше упомянули "чеклист для сервиса", давно хотел такое спросить у вас или попросить пошарить в общих чертах. Короч го кому не NDA и не лень.
Придется прервать тишину, крутая вещь нашлась.
Может кто-то слышал, в Go собираются завести workspace (дада, модули сага: продолжение) https://github.com/golang/go/issues/45713
Воркспейс это как кучка модулей/саб, можно прочитать как монорепа или подобное.
И вот автор пропозала, участник готим, да и автор каких-то там коммитов по теме запили видос обзор https://www.youtube.com/watch?v=wQglU5aB5NQ
(ухожу обратно в "отпуск")
Может кто-то слышал, в Go собираются завести workspace (дада, модули сага: продолжение) https://github.com/golang/go/issues/45713
Воркспейс это как кучка модулей/саб, можно прочитать как монорепа или подобное.
И вот автор пропозала, участник готим, да и автор каких-то там коммитов по теме запили видос обзор https://www.youtube.com/watch?v=wQglU5aB5NQ
(ухожу обратно в "отпуск")
GitHub
cmd/go: add a workspace mode · Issue #45713 · golang/go
Detailed Design Doc: Proposal: Multi-Module Workspaces in cmd/go Demo Video: Go Workspaces Proposal Demo High level overview: I propose adding a new workspace mode in the go command for editing mul...
brew никак не завезет 1.17 (https://github.com/Homebrew/homebrew-core/pull/83413) и если у вас тоже проблемы с ARM,то обновите
x/sys https://github.com/hashicorp/consul/pull/10869Technical Review: How I hacked an office telephone to play DOOM.
The only thing they fear isyou your freetime on the weekend.
#ненормальное https://neilbostian.github.io/#/doomphone
The only thing they fear is
#ненормальное https://neilbostian.github.io/#/doomphone
neilbostian.github.io
🏡 Neil's Place
Home to content created by Neil Bostian
Расс Кокс начал тред: как нам стоит менять апи под дженерики. Пока на уровне дискуссии.
Вообще чуть напряжно, что многие дискуссии о дженериках сводятся к одной и той же группе людей (это я беглом по авам сужу), и я не о го-тим, а о гоферах которые тусуются. Но желания вливаться и нет.
https://github.com/golang/go/discussions/48287
Вообще чуть напряжно, что многие дискуссии о дженериках сводятся к одной и той же группе людей (это я беглом по авам сужу), и я не о го-тим, а о гоферах которые тусуются. Но желания вливаться и нет.
https://github.com/golang/go/discussions/48287
GitHub
how to update APIs for generics · golang go · Discussion #48287
@ianlancetaylor, @griesemer, and I are wondering about different possible plans for updating APIs that would have used generics but currently use interface{}, and we wanted to cast a wider net for ...
Хорошая статейка, о истории языков, оч коротенько.
'You cannot reduce the complexity of your problem by increasing the complexity of your language.' А так хотелось бы.
https://www.fredrikholmqvist.com/posts/brooks-wirth-go/
'You cannot reduce the complexity of your problem by increasing the complexity of your language.' А так хотелось бы.
https://www.fredrikholmqvist.com/posts/brooks-wirth-go/
Хз как, но не нашел у себя пост это истории, а она прикольная. Как ребятки делали кастомный iPod (тот старый, с хдд) для гос проекта.
Деталей не так много как хотелось бы, кто бы мог подумать, но это веселее, чем жсоны гонять. А еще лайк за SQLite, оно везде.
https://tidbits.com/2020/08/17/the-case-of-the-top-secret-ipod/
Деталей не так много как хотелось бы, кто бы мог подумать, но это веселее, чем жсоны гонять. А еще лайк за SQLite, оно везде.
https://tidbits.com/2020/08/17/the-case-of-the-top-secret-ipod/
TidBITS
The Case of the Top Secret iPod
15 years ago, Apple helped the US government develop a custom iPod for clandestine missions. Of course, neither Apple nor the US government will admit this ever happened. Former Apple engineer and inadvertent intelligence operative David Shayer tells the…