Я и мой ёбаный кот на фоне ковра. Войти !bnw Сегодня Клубы
Привет, TbI — HRWKA! 1252.0 пользователей не могут ошибаться!
?7017
прекрасное6456
говно5930
говнорашка5513
хуита4741
anime3079
linux2670
music2648
bnw2607
рашка2590
log2379
ололо2274
дунч1892
pic1816
сталирасты1494
bnw_ppl1461
быдло1441
украина1439
дыбр1239
гімно1158

Terry Riley - La Muerte en Medias Caladas Negras https://www.youtube.com/watch?v=ATciuyhjAEI
#QV5QOP (1+1) / @ckorzhik / 3553 дня назад
Мусор на входе - мусор на выходе, так говорят, да? Сегодня я решил в очередной раз проверить этот принцип и смешал колу с переваренным кофе. Ведь жизнь чудна, разнообразна и иногда приподносит нам сюрпризы. Не в этот раз.
#IMPN3N (0) / @ckorzhik / 3553 дня назад
#XHQKB2 (3) / @stf / 3553 дня назад
Я получаю ссылку на мутабельный экземпляр структуры. У структуры есть внутри три вектора — `prev`, `next` и `curr`. На каждой итерации алгоритма `next` рассчитывается по `prev` и `curr`. Это интегрирование Верле, если что, но не важно. Хочется не выделять память много раз, а просто держать их постоянно, циклически переставляя **ссылки** (а не данные, которых много, естественно) после каждой итерации: `prev <- curr <- next`, а `prev -> next`, чтобы не болтался. Единственное, что я осилил сделать с ними, вот: std::mem::swap(&mut self.curr, &mut self.next); std::mem::swap(&mut self.prev, &mut self.next); При попытке юзать `std::mem::replace` или рисваивать как-то руками, я жестоко обламываюсь. Т.е. взять эти самые три ссылки разом, запиать в три идентификатора и потом присвоить трём полям структуры — это уже я не осилил. Как бороть?..
#GRUN3I (3+2) / @dluciv / 3553 дня назад
Кем бы вы ни работали , чтобы вами ни двигало, где бы вы ни хранили свои гантели — храните их подальше от кровати, к которой вы подходите в темноте. «Из воспоминаний человека сходившего на кухню ночью испить воды»
#5BGCDN (0) / @anonymous / 3553 дня назад
нассу в коран @ насру в коран
#NGG1LE (2) / @anonymous / 3553 дня назад
https://www.reddit.com/r/rust_gamedev/comments/5vqlln/shar_one_year_with_rust/ "Hi, Reddit! I posted here for a few times, and now our team has reached the important stage of development - we are launching our Greenlight campaign on Steam. Game idea Our idea is quite simple - we found [an article](gafferongames.com/networking-for-game-programmers/) about network physics synchronization and realized, that there are very few games that use physics extensively as the core part of gameplay. We have very big plans on this idea, but as a first step - we want to launch our first game with this technology. We found the simplest game mechanics exposing this physics idea and started to work. Feedback on the language First of all - Rust is an amazing language for game development, maybe it is the best one. We have Rust stable on build machine and nightly for development. Nightly is used only for compiler intrinsics for a profiler. There were problems with nightly one or two times, but simple downgrades to previous nightly solved the problem. The main issue was compilation time - our biggest crate compiled for about 3 minutes. But with incremental compilation, it&#39;s almost fixed. It still takes minutes sometimes, but often - only a few seconds. I am using incremental compilation from very early testing versions - and I had only one time when it generated invalid code. During this year I had only one (ONE!!) bug in the code that was really hard to find. The entire program behaved really strange, crashing sometimes with strange backtrace inside a hashmap implementation. This bug was found within a day, I just double-triple-etc checked all usages of "unsafe" keyword in the codebase (there were 3 times). And yes, the bug was in one of those unsafes. Most of the time I was the only programmer, and basically, we were a 3-person team - me, 3d and 2d artists. Recently, my friend joined us as the second programmer. He works on the particle system now. He had no experience with Rust at all, so I watched how fast or painful learning of Rust is for a newbie. And he was completely satisfied! I found that Rust is absolutely good as a mentor. I mean - when you write good code, it compiles smoothly, but when you made a bad decision (like to store pointers to dynamic data everywhere or building over complicated structures) Rust tells you - please, stop, think more on design. And it actually works! I’ve seen how Rust teach you how to code. The biggest question, when we started our game with Rust, was about the libraries and an infrastructure. How to build a GUI? How to work with 3d party data? And, yes, we had some problems with libraries. After all, the only big library we are using - is glium. I can&#39;t say that glium is perfect, but it works. Our rendering is quite simple, and it works well for our needs. The best part of glium - you don&#39;t go too far from OpenGL, so, theoretically, it may be replaced or changed when it will be really needed. On the other hand, glium just works at the beginning and is simple and useful. It’s sad that it&#39;s almost not supported anymore, but I absolutely understand reasons behind that. Maybe we will do our own glium-compatible (at least the part we use) OpenGL wrapper, maybe we&#39;ll try to add needed features to glium. "
#VVYYEN (2+2) / @o01eg / 3553 дня назад
> пропускная способность входящего канала связи для отдельной базовой станции 5G составит 20 Гбит/с > новая сеть должна поддерживать одновременное подключение 1 млн устройств на квадратный километр
#O4YSIF (1) / @anonymous / 3553 дня назад
https://meduza.io/feature/2017/02/24/servis-cloudflare-dolzhen-zaschischat-sayty-no-on-mesyatsami-slival-dannye-polzovateley-v-otkrytyy-dostup в медузе только объективная информация в медузе работают только профессионалы читайте только медузу
#RTZ6GX (1) / @komar / 3553 дня назад
https://www.youtube.com/watch?v=bTn7ja3IQmE Пиздец, какой же у него контроль, охуеть просто...
#XSQGO1 (0) / @anonymous / 3553 дня назад
Преимущества технологий в 2017 году: 1) удобно играть в openttd на большом мониторе; 2) железо тянет карту 4096x4096
#K019W3 (0) / @komar / 3553 дня назад
http://torin-kr.livejournal.com/706291.html "1937-й год. Муж с женой чутко спят в своей квартире. Вдруг среди ночи - шум и топот ног на лестнице. Резкий звонок в дверь, сопровождаемый громким стуком. Ни жив, ни мертв, муж пошел открывать. Через минуту он возвращается: -- Не волнуйся, ничего страшного - говорит он, - это всего лишь наш дом горит."
#RPD36N (1+1) / @o01eg / 3553 дня назад
клаву отпиздили https://youtu.be/3ZRxXcE9mmQ
#QW5V4Q (2) / @figli / 3553 дня назад
--
ipv6 ready BnW для ведрофона BnW на Реформале Викивач Котятки

Цоперайт © 2010-2016 @stiletto.