1.83K subscribers
3.3K photos
132 videos
15 files
3.58K links
Блог со звёздочкой.

Много репостов, немножко программирования.

Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Download Telegram
Forwarded from Так говорит Алиса (Alice Carroll)
Зубная паста Болоньезе
Forwarded from Backtracking (Дима Веснин)
This media is not supported in your browser
VIEW IN TELEGRAM
в чём только не делают игры! держите змейку в appkit — инструменте прототипирования интерфейсов для macos
Топологическая карта мира (via)
Багматбай
— Полезная еда всегда почему-то самая дорогая
— Тогда почему ты не ешь манку?
— Потому что она не дорогая
— Если хочешь, могу продать её тебе задорого

#quotes #трудовыебудни
Forwarded from Так говорит Алиса (Alice Carroll)
Поймал мужик золотую рыбку, а она ему как раз
Мальчик: деплоит Кубер
Мужчина: деплоит Кубесат
Дед: деплоит перегонный куб

#quotes #трудовыебудни
А на канале внезапно больше 800 подписчиков! 🎉
This media is not supported in your browser
VIEW IN TELEGRAM
Forwarded from oleg_log (Oleg Kovalov)
Тут Денис в лс принёс отличный сборник советов и сниппетов для Github Actions. Так сказать выстраданно миграциями с Travis.

Звездочка и ПР приветствуются!

https://github.com/yengoteam/awesome-gha-snippets
Уже в который раз "теряю" свои наушники только для того, чтобы найти их на своей шее -_-
Причём это не какие-то затычки, а полноценные наушники с толстой дужкой, которые закрывают уши
#prog #rust #abnormalprogramming

Умные указатель с семантикой std::unique_ptr, который хранит объекты в виде NFT-токенов.

Why?

* Biggest issue facing $125 billion security industry: Memory safety.
* "~70% of the vulnerabilities addressed through a security update each year continue to be memory safety issues." - Microsoft Security Response Center
* The world's largest codebases are written in C++
* Browsers, operating systems, databases, financial systems
* C++ memory management is hard to understand, opaque, and not secure
* As we all know, adding blockchain to a problem automatically makes it simple, transparent, and cryptographically secure.
* Thus, we extend std::unique_ptr, the most popular C++ smart pointer used for memory management, with blockchain support
* Non-Fungible Tokens and std::unique_ptr have the exact same semantics:
* each token/object is unique, not fungible with other tokens/objects
* each token/object is owned by one owner/unique_ptr
* others may view the NFT/use the object, but only the owner can transfer/destroy the NFT/object.
* absolutely no protection against just pirating the image represented by the NFT/copying the pointer out of the unique_ptr
* Written in Rust for the hipster cred.
* Made with 💖 by a Blockchain Expert who wrote like 100 lines of Solidity in 2017 (which didn't work)

github.com/zhuowei/nft_ptr
#prog #rust #rustlib

Библиотека pretty_sure — макрос sure, являющийся обобщением unwrap{, _or} для произвольных паттернов.