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

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

Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Download Telegram
👏1🤮1
💯19🐳6🌭43👍1😁1
#prog #go #article

Data Race Patterns in Go, или как так называемый concurrent programming language провоцирует делать ошибки.

Не, серьёзно, чем больше я узнаю про Go, тем меньше понимаю, как люди вообще на нём пишут, да ещё и добровольно.
🌚7👍4
Forwarded from dev optozorax
This media is not supported in your browser
VIEW IN TELEGRAM
Я сделал чтобы оно рисовалось в 60fps с бесконечной глубиной!!!

Теперь вместо того чтобы каждый кадр рисовать фрактал до глубины N, я рисую только один шаг глубины, используя информацию с предыдущего кадра. За счёт такого алгоритма вы можете видеть, что изменение полигона не сразу доезжает до последних веток. Зато вся отрисовка получилась максимально отзывчивой и быстрой. Я увеличил внутреннюю текстуру и добавил антиализинг, а оно всё ещё работает со скоростью 60fps. Так же здесь получается условно бесконечная глубина, потому что чем дольше вы ждёте, тем больше получается глубина отрисовки. А судя по практике, ждать нужно лишь пару секунд.

Можно видеть что кое-где фрактал обрезается, это из-за моего подхода с текстурами. Нужно чтобы фрактал полностью помещался в текстуру, тогда он не будет обрезаться. Но это я могу решить, у меня уже есть идея сделать расчёт 360° bounding-box, который так же будет вычисляться каждый кадр, используя информацию с предыдущего кадра.
🔥115👍2
Отличные новости про #rust на Windows
Forwarded from ozkriff.games 🦀 (ozkriff🇺🇦)
# Rustup 1.25 Will Bring Easier MSVC Build Tools Installation

While the MinGW toolchain is nice (if its functionality covers your needs) the MSVC toolchain is native to Windows and thus is selected by default. One of the issues with this is that while rustup has been providing some vague instructions about Visual C++ prerequisites, it was still greatly confusing for beginners - there're like thousands of threads with questions about what exactly should the user install and from where.

So, I'm happy to see that rustup's devs have finally found a way to conveniently install the prerequisites without breaking Microsoft's distribution requirements. It's still optional and requires manual approval from the user but should help to reduce the confusion.

More details in the /r/rust announcement.
5❤‍🔥2
Как вы вообще сырки едите, они ж невкусные
👎66👍10🤡5🐳4🌭2
#prog #article

embeddedartistry.com/fieldatlas/historical-software-accidents-and-errors

We never learned about significant software accidents and errors during our education or professional careers. Sometimes, we would see an event in the news and follow it, but that was often the extent of our learning. Rarely did we find that lessons were codified and applied to our work.

As our world grows more dependent on software, developers everywhere need to study historical software problems, their causes, and the implications for how we build our software. We cannot afford to keep repeating the same mistakes, especially those that cause harm.
❤‍🔥11🤡3👍1🥰1👏1
Блог* pinned a photo
Rustройство
👍12🐳7💩4😢3💯3🌭1
Что
💯13😁4🌭3👍1😱1
Блог*
#prog #web #article History of the browser user-agent string (thanks @h4cktill)
Иностранный User-Agent
😁14🌚4🐳2👍1🌭1
👎3
Не забываем простые истины
👍16😁6💯42🤔1🌭1
#prog #rust #article

Вафель творит странное, но интересное на расте