Ш̴̴̜̥͍͕̼̙̱͙͎͍̘̀̐̔́̾̃͒̈̔̎́́͜р̧̛̺͖͖̯̖ͧͤ͋̅̽ͧ̈̐̽̆̐͋ͤͦͬ͛̃̑͞͞и̒ͥͤͯ͂ͣ̐̉̑ͫ̉̑҉̛͏̸̻͕͇͚̤͕̯̱̳͉ͅф̴̴̡̟̞͙̙̻͍̦͔̤̞̔̓́̍͗̚͢͞ͅт̨̐ͫ̂͊̄̃ͥͪ͏̫̺͍̞̼͈̩̥̜͔͜͜ы̸̴̱̺̼̠̦͍͍͍̱̖͔̖̱͉̅͑͌͒ͫ͒̀ͥ͐ͤ̅͘̕.̵̴̡̭̼̮͖͈̙͖͖̲̮̬͍͙̼̯̦̮̮ͦ̆̀̑̌ͮͧͣͯ̔̂́͟г͌ͮ̏̈͂ͯ̚҉̛̙̬̘̲̗͇͕̠̙͙̼̩͚̀͘͞ͅо̷̥̯̘̓ͤ̽͒̋̉̀̂̄̒̓̊ͨ͛́̌ͤ̂̀͠в̶̒͒̓̏̓̚҉̛̙̘̺̰̮̼̟̼̥̟̘̠̜͜н̸̷̸̲̝͈͙̰̟̻̟̰̜̟̗͎̻̻͍̿̔̃ͨ͑о̔̀̋ͫ̇̿̐ͫ͌͗ͩ҉̨̜̙̙͈͍̮̮̼̙̘̞̕͜͡ Войти !bnw Сегодня Клубы
Привет, TbI — HRWKA! 1244.1 пользователей не могут ошибаться!
?6955
прекрасное6446
говно5911
говнорашка5512
хуита4725
anime3068
linux2656
music2639
bnw2606
рашка2570
log2365
ололо2207
дунч1855
pic1816
сталирасты1491
украина1439
быдло1438
bnw_ppl1430
дыбр1238
гімно1158

Реализую Tiered Vector на Delphi. Давненько не занимался алгоритмами, чувствуется.
#3PNJWB (0) / @octagram / 4640 дней назад
Одна из цитат недели по версии Haskell Weekly News (выпуск 239): > romm: i thought i knew programming. this is like discovering a new continent.
#0EXBCZ (0) / @minoru / 4640 дней назад
http://stackoverflow.com/questions/13039.....286#131286 Меня одного коробит оттого, как люди сначала загоняют себя в какие-то странные рамки (например, в JavaScript отказались от ключевого слова const), а потом героически эти рамки перепрыгивают с помощью всяких костылей (в данном случае — с помощью некого паттерна, реализация которого занимает почти десяток строк)?
#7E8RS8 (4) / @minoru / 4641 день назад
На чём написан Redis? Он опенсорц?
#AU7LN9 (3) / @ileamare / 4643 дня назад
https://www.sqlite.org/lockingv3.html > Locking and concurrency control are handled by the pager module. The pager module is responsible for making SQLite "ACID" (Atomic, Consistent, Isolated, and Durable). The pager module makes sure changes happen all at once, that either all changes occur or none of them do, that two or more processes do not try to access the database in incompatible ways at the same time, and that once changes have been written they persist until explicitly deleted. The pager also provides a memory cache of some of the contents of the disk file. > The pager is unconcerned with the details of B-Trees, text encodings, indices, and so forth. From the point of view of the pager the database consists of a single file of uniform-sized blocks. Each block is called a "page" and is usually 1024 bytes in size. The pages are numbered beginning with 1. So the first 1024 bytes of the database are called "page 1" and the second 1024 bytes are call "page 2" and so forth. All other encoding details are handled by higher layers of the library. The pager communicates with the operating system using one of several modules (Examples: os_unix.c, os_win.c) that provides a uniform abstraction for operating system services. > The pager module effectively controls access for separate threads, or separate processes, or both. Throughout this document whenever the word "process" is written you may substitute the word "thread" without changing the truth of the statement. Интересный модуль. Особенно, если хранить данные в своих форматах (/me косо поглядывает на bitcoind)
#HWHXMC (0+1) / @octagram / 4647 дней назад
Новый ocaml 4 вышел -> http://www.linux.org.ru/news/opensource/8035399 К сожалению, мультитредовости рантайма у них даже в планах нет.
#38MH5A (0) / @ninesigns / 4653 дня назад
Если кто ещё не видел: замечательный lightning talk о чудесах слабой динамической типизации https://www.destroyallsoftware.com/talks/wat/
#RE3Q35 (0+2) / @minoru / 4653 дня назад
http://www.cs.wustl.edu/~schmidt/win32-cv-1.html > Both Win32 events and POSIX condition variables provide similar waiting, signaling, and broadcasting features. For instance, WaitForMultipleObjects can acquire a mutex and wait on an event simultaneously via the waitAll flag and SignalObjectAndWait can release a mutex and wait on an event atomically. These functions provide semantics akin to the pthread_cond_wait and pthread_cond_signal. Thus, there are instances where either events and condition variables can be used interchangably. > However, extreme care must be taken with Win32 events to ensure that there are no race conditions introduced when switching from one mechanism to another. Unfortunately, there's no way to release just one waiting thread with a manual-reset event. Likewise, there's no way to release all waiting threads with an auto-reset event. This limitation is a major source of difficulty when implementing condition variables, as shown in Section 3. > After years of repeatedly seeing Win32 implementations of condition variables posted in newsgroups like comp.programming.threads it became apparent that many Win32 implementations are either incorrect or contain subtle problems that can lead to starvation, unfairness, or race conditions. To help developers avoid these problems, this article evaluates common strategies for implementing POSIX condition variables on Win32, illustrating common traps and pitfalls and ways to avoid them.
#DSX439 (0+1) / @octagram / 4664 дня назад
http://electronicdesign.com/article/embe.....ages-74107 _C++11 and Ada 2012 - renaissance of native languages?_ > In the late 90s and beginning of the 2000s, the language trend had migrated to the world of Java, or Java-like languages (such as C#). > One cycle seems to be closing, and industry is realizing that rapid development doesn't really matter when the end code doesn't fit the purpose it was developed for.
#UTJ0S8 (0) / @octagram / 4667 дней назад
Прекрасная вводная статья в сложность алгоритмов. http://discrete.gr/complexity/
#V0KFST (0+2) / @ninesigns / 4671 день назад
Пытался попробовать Git. Думал, просто поставлю TortoiseGit вдобавок к TortoiseHg, а TortoiseGit возьми да и окажись чем–то, совершенно не похожим на TortoiseHg. Git GUI с виду тоже отличается существенно, просто так не перейдёшь. Я даже удивляюсь, как так получилось, что интерфейсы почтовых программ настолько похожи. Ветки сверху, письма снизу, папки слева — в Apple Mail, Thunderbird, Outlook, The Bat! — везде так. Удивительно. А ведь можно было столько извращений с интерфейсом придумать. Например, сделать последнее письмо на весь экран, а ветви обсуждений запихать куда–нибудь в ж^H^H^Hподальше. http://octagram.name/img/2012/07/GitGuiWrong.png
#TUA149 (0+1) / @octagram / 4678 дней назад
Сразу две новости про язык Адa 2012: выходит GNAT GPL 2012 с полной поддержкой нового стандарта ( https://libre.adacore.com/ ) И Modified GPL версия GNAT Russian Edition за 3000 рублей для всех, кому мешала GPL'ность runtime library: http://comments.gmane.org/gmane.comp.lan.....ssian/4720
#VZVQ8H (0+2) / @octagram / 4683 дня назад
Продолжаю изучать проприетарный компилятор. You invoke an iterator as follows: for name[,name,...] <- iterator(arg_list) do ... Body of the for loop, using the name variables An iterator is declared as follows: void iterator(parameter_list) -> (yield_list) { ... Body of iterator, with calls to predefined function yield() } Теперь я знаю, что под словом "C/C++" может скрываться не сишка, не плюсы, а совершенно неведомая ебаная хуйня.
#9E24NC (4+1) / @lexszero / 4685 дней назад
Изучаю тырпрайзный проприетарный компилятор под наше процессорное ядро. Краткий список опций, вызвавших wtf-реакцию: -Hcpplvl=n :Specify the level of C++ compilation. можно компилять плюсы, недоплюсы и недонедоплюсы? -Heos=rtos_name :Select the specified RTOS library -Heoslib=pathname :Specify path to the RTOS library file круто, но чем ртось для компилера отличается от любой другой либы, что необходима отдельная опция? -Hkanji :Recognize Kanji character set круто, спасибо, всегда мечтал писать код кандзями. про юникод они не в курсе, видимо. -Hrm=xxx :Enable right margin setting оно будет мне обрезать сорцы по ширине для принуждения соблюдения хорошего кодстайла? ништяк! -Hthread :Compile and link thread-safe programs да еще и делать тредсейфные бинарники всего одной опцией!
#Y9R1X3 (1+1) / @lexszero / 4687 дней назад
http://stackoverflow.com/questions/47224.....-tools-api _Как добавить поддержку нового языка программирования в RAD Studio IDE?_ > Чтобы добавить language personality в IDE, вам нужно связаться с RAD Studio R&D team и получить специальное разрешение от компании на доступ к непубличным пакетам, интерфейсам и API. > > Из коробки нет способа добавить language personality в RAD Studio
#XGMOQW (0+1) / @octagram / 4688 дней назад
https://en.wikipedia.org/wiki/Windows_Runtime > It's essentially an unmanaged, native API. The API definitions are, however, stored in ".winmd" files Наконец–то и у Microsoft будет описание API, не завязанное только на один, бедный метаинформацией, язык программирования.
#RZDO7I (0) / @octagram / 4695 дней назад
Отличный туториал по haskell + visualization + opengl http://goo.gl/r5SVj
#XSAJN0 (0) / @ninesigns / 4696 дней назад
GC в рантайме D говно via → http://thedeemon.livejournal.com/49421.html
#EYASM3 (0+3) / @ninesigns / 4697 дней назад
Фичи Unreal Engine 4 http://youtu.be/MOvfn1p92_8
#NBVORI (0) / @ninesigns / 4700 дней назад
Тупой вопрос: почему адресация std::vector начинается с 0, а не с 1? Чтобы проще было переписывать сишный код на STL?
#76UVWV (8) / @ninesigns / 4700 дней назад
--
ipv6 ready BnW для ведрофона BnW на Реформале Викивач Котятки

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