1.84K subscribers
3.27K photos
130 videos
15 files
3.55K links
Блог со звёздочкой.

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

Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Download Telegram
Язык #go — особенный. И явно нумерованные аргументы в форматировании строк в стандартной библиотеке там тоже особенные.

source

(#prog)
🥴212🤯2🤮1🌚1🤨1
Видел в игре рекламу реклам в играх.

Это будущее — отстой.
🤔5
Сделал в местном заведении заказ, принесли сначала бутылку лимонада и тарелку с приборами (пустую). Очевидно, из этой ситуации есть только один выход...
Forwarded from shitposting 3.0 [+ dragons]
👍18😢2
Заплатил деньги и взял в рот
🔥10🤮6🥰1
Блог*
...Вот это
Почему на этом сообщении больше реакций "🤮"?
🤡7🤔2🥰1
Forwarded from The After Times
😭19😢2🌚2
The After Times
Photo
This media is not supported in your browser
VIEW IN TELEGRAM
#prog #rust #rustasync #article

Efficient indexing with Quickwit Rust actor framework

Или немного о том, почему разработчики Quickwit решили реализовать свой акторный фреймворк. Также в тексте есть ссылка на статью Actors with Tokio, которая описывает, как создавать свои акторы, имея асинхронный рантайм, и показывает некоторые частые ошибки при подобном наивном подходе.
👍10
#prog #rust #article

Writing Code with ChatGPT? Improve it with Kani

<...> The experiments we did include the following three tasks:

1. Writing a prompt to generate unverified code with ChatGPT.
2. Checking the generated code with Kani to see if it’s correct.
3. Using ChatGPT and Kani iteratively to converge to code that passes verification.

И вот последнее выглядит неимоверно впечатляюще.
👍5
#article

The Vicious Circle of Documentation

Ever worked at a company (or on a codebase, or whatever) where it seemed like, no matter what the question was, the answer was written down somewhere you could easily find it? Most people haven’t, sadly, but they do exist, and I can assure you that it is an absolute pleasure.

On the other hand, practically everyone has experienced completely undocumented systems and processes, where knowledge is shared by word-of-mouth, or lost every time someone quits.

Why are there so many more undocumented systems than documented ones out there, and how can we cause more well-documented systems to exist? The answer isn’t “people are lazy”, and the solution is simple – though not easy.
#prog #rust #article

Fast(er) binary search in Rust

В принципе, применимо далеко не только к Rust, за вычетом трюков с префетчингом.

Спойлер: обогнать binary_search из std возможно, уменьшив количество бранчей и лучше утилизируя кеш, но это требует определённой подготовки данных (помимо сортировки).
👍6
#meme про цветы
😁14🤬1
👍14👎31😁1