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

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

Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Download Telegram
Если бы мне давали по доллару каждый раз, когда я кому-то снюсь и я об этом узнаю, у меня было бы два доллара. Это немного, но всё же странно, что это произошло дважды.
4👍2
🥰
🥰5❤‍🔥1👍1
#prog #cpp #article

(Not) detecting bugs

The following code contains a bug. A developer has spent quite some time looking for the source. The intent of this code is to iterate over two vectors simultaneously, from the first up to the one-before-last element. Thus the most interesting tools that will be employed will be boost::zip_iterator and std::prev. <...>

I have simplified the program to the minimum. I am using GCC 5.3. This code compiles fine, but when I run it, it goes on and on. In this post we will see where the bug is, but more importantly, we will look at why this bug has not been detected during the compilation, and wasted a fair deal of the developer’s time.
🤯3👍1
Я думал, это Панорама. На канале Пятница будет шоу "Отсидевшая в 16"
🥰3🤯3👎1
Блог* pinned «Как же хочется...»
#prog #rust

cargo-nono — инструмент для поиска зависимостей (и их фичей), которые не дают собрать проект в #![no_std]
👍6
Forwarded from RWPS::Mirror
😁12
#science #meme про би
Forwarded from Санечка Ъысь
9
#prog #article

Generate All the Things

In this post, we’ll look at one technique from property-based testing repertoire: full coverage / exhaustive testing. Specifically, we will learn how to conveniently enumerate any kind of combinatorial object without using recursion.
2
Любишь кататься? Ну вот и хорошо, у тебя нету обязанности любить что-то ещё
👍16👎12🤔1
Пятница
🔥6