Имбирь - твой спиритический овощ. Войти !bnw Сегодня Клубы
Привет, TbI — HRWKA! 1235.0 пользователей не могут ошибаться!
?6906
прекрасное6424
говно5886
говнорашка5512
хуита4695
anime3056
linux2645
music2620
bnw2588
рашка2559
log2337
ололо2113
pic1811
дунч1734
сталирасты1488
украина1437
быдло1434
bnw_ppl1370
дыбр1237
гімно1158

Обосраться, а не язык: https://blog.twitch.tv/en/2019/04/10/go-memory-ballast-how-i-learnt-to-stop-worrying-and-love-the-heap-26c2462549a2/ "The ballast in our application is a large allocation of memory that provides stability to the heap. We achieve this by allocating a very large byte array as our application starts up:"
#AV9UZC (3+10) / @o01eg / 1601 день назад
https://vk.com/@libertarian_public-matematika-na-strazhe-libertarianstva-teoriya-igr-agentskie "ОБОСНОВЫВАЕМ ЛИБЕРТАРИАНСТВО С ПОМОЩЬЮ ПИТОНА На протяжении десятилетий, пока модель Тьебу оставалась на ближайшей периферии академического дискурса в public choice, её применяли для двух случаев. Первый — сугубо пространственный экономический анализ. Двухмерный случай, где «центры», к которым присоединяются агенты – это локальные общественные блага (бассейны или публичные библиотеки), финансируемые из местных бюджетов. Второй —анализ формирования партий в идеологическом пространстве политических взглядов. Метод главных компонент показал, что в большинстве стран и культур этих измерений два, поэтому в следующий раз, когда будете делать мемы о политических координатах, знайте, что этот ваш выбор научно обоснован. В какой-то момент времени дискурсу понадобился сумасшедший либертарианец, который взглянул на модель Тьебу и сказал – «А что если соединить пространственные и идеологические размерности и сделать наши центры предоставления локальных общественных благ центрами предоставления ВСЕХ общественных благ, включая законотворчество и обеспечение правопорядка? Тогда у нас получится система, очень похожая на то, что мы называем контрактными юрисдикциями.» Предположим, что у есть четыре измерения (два географических и два идеологических), нормирующихся к единичному отрезку. И есть две контрактные юрисдикции, обе базирующиеся в географических координатах (0,5; 0,5), только первая имеет координаты (0;0), а вторая – (1;1). Грубо говоря, первая – это авторитарный левый гулаг, а вторая – капиталистический рай, но конторы зарегистрированы через дорогу. И жители окрестностей смогут подписываться как к первой, так и ко второй, в зависимости от своих предпочтений и движимые мотивом минимизации общих издержек. Транспортные издержки, таким образом, переопределяются как преференциальные и суммируются из географических и идеологических издержек. Это выражается в желании потребителей ходить в общественный бассейн поближе к дому, но при этом потребитель готов пройти пару кварталов, только чтобы не плавать в одной луже с коммунистами. В чем же смысл системы контрактных юрисдикций с точки зрения модели Тьебу? В чем ее потенциал с точки зрения увеличения потребительской полезности по сравнению с альтернативами? Все очень просто: в текущих реалиях, система «территориальных юрисдикций» присоединяет агентов к себе, по дефолту учитывая лишь два измерения – пространственные. Экстерриториальные контрактные юрисдикции позволят принимать во внимание не только «географические», но и «идеологические» преференцинальные издержки, приводя к более эффективному равновесию, с точки зрения минимизации издержек её агентов. Для иллюстрации модели и для свидетельства тому, что авторы – не простые пустозвоны, я написал несколько программ на Питоне, которые по сути являются агентскими моделями контрактных юрисдикций в духе Тьебу. Для более чёткой формализации код написан для ряда систем изначальных допущений, и файлы в формате .ipynb выложены в открытый доступ с подробнейшими комментариями, чтобы каждый мог в своем Джупитере поиграться с переменными и полюбоваться своими собственными графиками территориального разбиения агентов на контрактные юрисдикции. Всего создано несколько моделей:..."
#TIFXYS (0+8) / @o01eg / 1781 день назад
https://deadlockempire.github.io/ "Welcome to The Deadlock Empire, commander! The skills you need are your intelligence, cunning, perseverance and the will to test yourself against the intricacies of multi-threaded programming in the divine language of C#. Each challenge below is a computer program of two or more threads. You take the role of the Scheduler - and a cunning one! Your objective is to exploit flaws in the programs to make them crash or otherwise malfunction. For example, you might cause a deadlock to occur or you might schedule context switches in such a way that two threads enter the same critical section at the same time. Any action that disrupts the program this way counts as a victory for you. You are the Scheduler - you only have one tool at your disposal: the ability to switch contexts at any time, as the total master of time and interruptions. Let's hope it is enough... it has to be, because the Parallel Wizard's armies are upon us and only you can lead the Sequentialist armies into victory!"
#CZ3OKN (0+8) / @o01eg / 1858 дней назад
Не блокчейн! И вообще arm. https://moikrug.ru/vacancies/1000046253
#ZKBCHX (0+8) / @o01eg / 1997 дней назад
О, clippy в стабильный компилятор завезли: https://blog.rust-lang.org/2018/09/13/Rust-1.29.html "cargo clippy Speaking of warnings, you can now check out a preview of cargo clippy through Rustup. Clippy is a large number of additional warnings that you can run against your Rust code. For example: let mut lock_guard = mutex.lock(); std::mem::drop(&lock_guard) operation_that_requires_mutex_to_be_unlocked(); This code is syntactically correct, but may have a deadlock! You see, we dropped a reference to lock_guard, not the guard itself. Dropping a reference is a no-op, and so this is almost certainly a bug. We can get the preview of Clippy from Rustup: $ rustup component add clippy-preview and then run it: $ cargo clippy error: calls to `std::mem::drop` with a reference instead of an owned value. Dropping a reference does nothing. --> src\main.rs:5:5 | 5 | std::mem::drop(&lock_guard); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: #[deny(drop_ref)] on by default note: argument has type &std::result::Result<std::sync::MutexGuard<&#39;_, i32>, std::sync::PoisonError<std::sync::MutexGuard<&#39;_, i32>>> --> src\main.rs:5:20 | 5 | std::mem::drop(&lock_guard); | ^^^^^^^^^^^ = help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/v0.0.212/index.html#drop_ref As you can see from that help message, you can view all of the lints that clippy offers on the web. Please note that this is a preview; clippy has not yet reached 1.0. As such, its lints may change. We’ll release a clippy component once it has stabilized; please give the preview a try and let us know how it goes."
#RJRN61 (0+8) / @o01eg / 2042 дня назад
К моим идея прислушались - федеративный гитхаб на ActivityPub: https://github.com/git-federation/gitpub/
#7YE2MB (3+8) / @o01eg / 2142 дня назад
https://sourceforge.net/p/forge/documentation/GitHub%20Importer/ "We provide an importer to easily copy over project data from an existing GitHub project into our project hosting. We support both importing to a new project, as well as importing individual tools into an existing SourceForge project."
#N9IRER (1+7) / @o01eg / 2144 дня назад
Безумная идея в связи с безвременной кончиной гитхаба: федеративный репозитарий кода с социальной частью на ActivityPub.
#7LAKIR (14+9) / @o01eg / 2144 дня назад
Гитхаб всё.
#LS8EN2 (7+7) / @o01eg / 2144 дня назад
Японцы знают толк в языках: https://d-cube.connpass.com/event/90317/
#4UBMHQ (1+7) / @o01eg / 2146 дней назад
https://blog.rust-lang.org/2018/05/10/Rust-1.26.html "At long last, impl Trait is here! This feature has been highly desired for quite a while, and provides a feature known as “existential types.” It’s simpler than that sounds, however. The core of it is this idea: ... Speaking of papercuts, since Rust uses the Result type for returning errors, and ? to make handling them easy, a common pain-point of new Rustaceans is to try and use ? in main: ... Inclusive ranges with ..= ... Another long-awaited feature is “slice patterns.” These let you match on slices similar to how you match on other data types."
#AAH45X (7+7) / @o01eg / 2168 дней назад
https://github.com/xiph/rav1e The fastest and safest AV1 encoder.
#JCOB1X (0+7) / @o01eg / 2208 дней назад
Тем временем тихо и незаметно вышла новая версия 1.25, в которую вошли мои патчи чтобы Make Rust Gentoo Again! https://blog.rust-lang.org/2018/03/29/Rust-1.25.html
#GRTSG6 (1+8) / @o01eg / 2211 дней назад
https://i.ytimg.com/vi/cs3Yh9ifTNA/hqdefault.jpg https://www.ruby-lang.org/en/news/2018/02/24/ruby-2-6-0-preview1-released/ "Ruby 2.6 introduces an initial implementation of JIT (Just-in-time) compiler. JIT compiler aims to improve performance of any Ruby program execution. Unlike ordinary JIT compilers for other languages, Ruby’s JIT compiler does JIT compilation in a unique way, which prints C code to a disk and spawns common C compiler process to generate native code. See also: MJIT organization by Vladimir Makarov."
#QT3MTV (0+1) / @o01eg / 2235 дней назад
https://www.mercurial-scm.org/repo/hg/rev/964212780daf "Rust: implementation of `hg` This commit provides a mostly-working implementation of the `hg` script in Rust along with scaffolding to support Rust in the repository. If you are familiar with Rust, the contents of the added rust/ directory should be pretty straightforward. We create an "hgcli" package that implements a binary application to run Mercurial. The output of this package is an "hg" binary. Our Rust `hg` (henceforth "rhg") essentially is a port of the existing `hg` Python script. The main difference is the creation of the embedded CPython interpreter is handled by the binary itself instead of relying on the shebang. In that sense, rhg is more similar to the "exe wrapper" we currently use on Windows. However, unlike the exe wrapper, rhg does not call the `hg` Python script. Instead, it uses the CPython APIs to import mercurial modules and call appropriate functions. The amount of code here is surprisingly small. It is my intent to replace the existing C-based exe wrapper with rhg. Preferably in the next Mercurial release. This should be achievable - at least for some Mercurial distributions. The future/timeline for rhg on other platforms is less clear. We already ship a hg.exe on Windows. So if we get the quirks with Rust worked out, shipping a Rust-based hg.exe should hopefully not be too contentious."
#5QNZH2 (2+1) / @o01eg / 2279 дней назад
ipv6 ready BnW для ведрофона BnW на Реформале Викивач Котятки

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