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

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

Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Download Telegram
Разделение труда — это про деление на интересный труд и неинтересный, верно?
😁14😢6
#prog #article

The yaml document from hell (перевод)

For a data format, yaml is extremely complicated. It aims to be a human-friendly format, but in striving for that it introduces so much complexity, that I would argue it achieves the opposite result. Yaml is full of footguns and its friendliness is deceptive. In this post I want to demonstrate this through an example.

<...>

The element starting with ! is a tag. This feature is intended to enable a parser to convert the fairly limited yaml data types into richer types that might exist in the host language. A tag starting with ! is up to the parser to interpret, often by calling a constructor with the given name and providing it the value that follows after the tag. This means that loading an untrusted yaml document is generally unsafe, as it may lead to arbitrary code execution.

<...>

You may have noticed that none of my examples have syntax highlighting enabled. Maybe I am being unfair to yaml, because syntax highlighting would highlight special constructs, so you can at least see that some values are not normal strings. However, due to multiple yaml versions being prevalent, and highlighters having different levels of sophistication, you can’t rely on this. I’m not trying to nitpick here: Vim, my blog generator, GitHub, and Codeberg, all have a unique way to highlight the example document from this post. No two of them pick out the same subset of values as non-strings!
👍10
Forwarded from я что-то �� и всё ����
14🔥2
😁16😱5😐4🔥1🤯1
Forwarded from Artem
👍142😁2🤮1
Forwarded from Jem
😢322
👍17💩42
1💩1
😁12😐43💩1🥴1
Forwarded from Kirill Valyavin
😁16💩1
Forwarded from IT Talks
Вы разозлили Rust-разработчика
😁25💩1
Роскомпозор строит потёмкинскую ЛГБТ-деревню: чтобы отчитаться о хорошей работе Хинштейну, они сделали фейковый сайт про смену пола и заблокировали на нём больше 200 страниц, каждая из которых легла в отчёт как отдельный материал. Это вот выяснил Игорь Кочетков.

Вот как выглядит этот сайт. Я нахожусь в Тбилиси, а на Сакартвело не распространяются решения РКН — реальные заблокированные сайты открываются с VPN либо из-за границы. То есть плашка о блокировке РКН это и есть содержимое сайта.

Ну и название «smena-pola-i-gay-sex-eto-kruto.rashka.net» — это, конечно, выглядит либо как очень толстый троллинг, либо совсем уж как наплевательство на всё на свете.

#гейновости
🤯11👍2😁2💩2🤣21🤡1
Forwarded from Игорь Кочетков (Igor Kochetkov)
Проясняется ситуация с сайтом, на котором Роскомнадзор "накрутил" более 200 блокировок "ЛГБТ-пропаганды". Оказывается, кто-то тролит таким образом госорганы

SOTA пишет, что мои "выводы" "о намеренном создании ресурса Роскомнадзором для накрутки статистики являются ошибочными". Помилуйте, господа, какие еще "выводы"? Я написал: "лично я не могу отделаться от впечатления". Мои впечатления это не выводы

Кроме того, дело не в том, что кто-то троллит госорганы, а в том, что они на этот троллинг ведутся. Причем, ведутся они на него совершенно сознательно, организованно и с удовольствием. Иначе невозможно объяснить десятки одновременных судебных исков в десятках субъектах РФ в отношении никому неизвестного сайта

Это многое говорит о характере современной репрессивной политики
👍4🤮2💩1
😐
👍9😁4🥴3💩2👎1
Энтрокошки 🌝

Catropy is a small devices dedicated to harvesting entropy from cats. Current design is a result of various iterations and consists of custom board with:

- ESP32 C2 with wifi, bluetooth
- Sensors - gyroscope, accelerometer
- Li-ion battery and charging circuit


Proof-of-Cat is a novel approach to generating randomness for cryptographic systems, utilizing the inherent unpredictability and entropy of domestic felines, also known as cats.

https://proofof.cat
5😁2💩1
"Просто будь собой"

Чувак, когда я являюсь собой — на меня люди обижаются, порой достаточно сильно, чтобы прекратить общение со мной в принципе.
10🤔5😢3💩1