I have no plans to learn UML before I die. I'm sure they'll be teaching it in hell.


include_regular_expression("^.*$") # Sukender: Is it necessary?


Nouveau performs modesets in the kernel. This can make disabling Nouveau difficult, as the kernel modeset is used to display a framebuffer console, which means that Nouveau will be in use even if X is not running. As long as Nouveau is in use, its kernel module cannot be unloaded, which will prevent the NVIDIA kernel module from loading. It is therefore important to make sure that Nouveau's kernel modesetting is disabled before installing the NVIDIA driver.


The possible crash below is guaranteed to be caused by some totally unrelated software layer, e.g. by using that negative fd as optional thing, so:

Synergy.

  s = add_listener(ip, port, QUEUE_SIZE);
  if (-1 != s) log_info("bound to %s:%s", ip, port);

  set_non_blocking(s); /* ... */
  eat_flamingdeath(s);

Here, in case of EADDRINUSE we may actually see ENOTCONN in log, which will be something like: "bind(...) failed: Transport endpoint is not connected".

And that's why they call it logic_error. :)

  if (0 > bind(fd, addr->ai_addr, addr->ai_addrlen))
  {
    close_connection(fd);

    throw std::logic_error("bind(...) failed: %s",
      errstr(errno))
  }

Also, that close_connection(fd) call shutdown(2) (for both sides) and close(2) then, which is weird, but at least I can't find "zerocode" killer for it.


After about 5 hours of searching and fussing with settings I've figured out what causes HL2 to crash. When joining a HL2:DM server, everything goes well as long as nobody blows up a barrel. I've isolated it down to just this one particular event after adjusting so many settings it made my head spin. At first, I thought it was a sound stutter issue, but I switched to ALSA (vice OSS) and had the same issue. I would join a server and it would start stutter crashing. I can load the HL2:DM just fine, but can not play. I adjusted the video settings to the lowest possible it would let me. Same issue. I then changed the directX version to force it to use version 7, and much to my surprise it works just fine. Did not crash... at first. But then I realized I was playing on a map that had no barrels. Grenades work fine, combine balls work fine. Rockets work fine. Next map loads up, and I watch somebody shoot a barrel and voila! Stutter crash! So I reset all my settings in game back to what they were and left wine alone. I tried the whole "set wine to Win98" trick, but steam says "This version is no longer supported" and never loads HL2. So now that I know what is causing the issue, I really hope somebody has some answers because I'm so lost here. [...]


Сознаюсь, что слишком уж внимательно я эти истории не читал - вообще success stories жанр довольно типичный и, пожалуй, по единству своей структуры навевающий мысли не столько о computer science, сколько о «Морфологии волшебной сказки» Проппа. В самом деле, трудно найти что-то новое и увлекательное в очередном повествовании о том, что-де жила-была некоторая система, и всем она устраивала заказчиков, да только вот все равно плоха была. [...]


...
(II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(--) RandR disabled
...


А.М.Вершик, Что полезно математике? Размышления о премиях Clay Millenium. Sylvia Nasar and David Gruber, Manifold Destiny. A legendary problem and the battle over who solved it, The New Yorker (на русском языке).


Наивность ученого простеца - это доведенная до совершенства способность учиться. Ученый глупец (или простец) - это еще и идеальный учитель, который не столько сообщает ученикам информацию, сколько заставляет их быть людьми. Обучение у такого наставника - не линейное усвоение знаний, а что-то вроде движения по кругу, бесконечное повторение пройденного, когда на каждом новом уровне уже изученные вещи предстают в новом свете. [...]


Cайт о самиздате и зиноделии
читать в фейсбуке
читать в жж-френдленте
читать в твиттере

European Languages Lemmatizer
European Languages Lemmatizer (Git Repository)
Sources (AOT.RU: Automatic Text Processing)
CTPP2: Fast C++ Template Engine
CTPP2: PHP Developer Guide
CTPP2: MVC in Highload Projects (RIT, 2008)