Loess.ru

having fun

Reanimation of P6T freezed on «press Del to enter setup…»

Asus P6T LGA1366 Intel® X58 ICH10R +i7 940

Характерные признаки:
зависает на splash-screen «press Del to enter setup…», не отвечает на кнопку выключения, экран работает
не отвечает на клавиатуру, но при этом есть +5vusb
нет num-lock
греется южный мост
POST 38

Лечить так:
Качаем последний биос с сайта Asus, качаем AMIBCP337.exe, открываем BIOS в программе
Во вкладке Advanced -> USB Config — > USB Functions устанавливаем в DISABLED на обоих режимах. Сохраняем рядом с оригиналом.
Вынимаем SPI flash MX25L1605D из кроватки, суём в программатор (например, CoRight USB Programmer)

Родным софтом программатора делаем бэкап биоса из флешки, стираем, записываем последний биос с сайта Asus. Ставим флешку в MoBo и проверяем зависание на POST 38.
Если зависло — прошиваем изменённым биосом (USB Functions — DISABLED), проверяем
Если опять зависло — можно попробовать отключать Onboard Devices

Второй метод: прошить на такой же, но рабочей матери, благо кроватка позволяет

по мотивам https://www.rom.by/forum/AsRock_G31M-VS

TeamRedMiner 4Gb

This is an example table with 2 x Nitro+ 470 4GBs mining at 29.65 MH/s
each at full speed, i.e. 59.30 MH/s total, having 4078MB of DAG buffer
space available. Power draw will stay roughly the same, so your
efficiency will take about the same hit as the hashrate.

Epoch  DAG MB  DAG %    Hashrate  Loss %  ~date (https://minerstat.com/dag-size-calculator)
381    4072    100.00%  59.30       0.0%  10th Dec 2020
382    4080    99.95%   58.38      -1.6%  14th Dec 2020
383    4088    99.76%   54.89      -7.4%  18th Dec 2020
384    4096    99.56%   51.46     -13.2%  21st Dec 2020
385    4104    99.37%   48.29     -18.6%  25th Dec 2020
386    4112    99.17%   45.17     -23.8%  29th Dec 2020
387    4120    98.98%   42.17     -28.9%  2nd Jan 2021 
388    4128    98.79%   39.35     -33.6%  5th Jan 2021
389    4136    98.60%   36.80     -37.9%  9th Jan 2021
390    4144    98.41%   34.23     -42.3%  13th Jan 2021
395    4184    97.47%   22.46     -62.1%  16th Jan 2021
400    4224    96.54%   12.55     -78.8%  20th Jan 2021

Основы Wi-Fi (English)

magnet:?xt=urn:btih:7AA59D421CABD2400FD7CDDA9DB4738F0A89398C&tr=http%3A%2F%2Fbt2.t-ru.org%2Fann%3Fmagnet&dn=%5Bcwnp%5D%20CWS-100%20eLearning%20%5B2019%2C%20ENG%5D

Курс входного уровня по wi-fi сетям. После изучения Вы сможете разбираться в основных технических деталях и грамотно планировать маленькие сети.

The Certified Wireless Specialist (CWS) eLearning course teaches the language of Wi-Fi as well as the typical hardware and software used in wireless local area networks (WLANs). The course is an exceptional starting point for those in wireless sales, marketing, entry-level support, and decision-making professionals related to 802.11 wireless networks.
Спасибо https://github.com/ytdl-org/youtube-dl/releases

Содержание:
Read More

Биология пандемий


Подборка золотого научпопа про болезни, их исторические последствия, прочую биологию, и даже про зомби:

ВИЧ — нулевой пациент мировой пандемии https://habr.com (pdf)

Рудиментарные дела. Кого, чему, зачем и что не нужно https://habr.com

Охотничьи зоонозы: когда утка опасней ружья https://habr.com (pdf)

SARS нерукотворный? Генеалогия уханьского коронавируса https://habr.com (pdf)

Биологическое оружие против советских граждан. Трагедия в Свердловске-19 https://skrepohistory.livejournal.com/21016.html (pdf)

Зомби: от Гаити до психиатрии https://zen.yandex.ru/ (pdf)

Справочка о рабстве (и немного эзотерики): https://bitcoin-translated.ru/sources/bitcoin-abc/masters-and-slaves-of-money/

Прочие рассказы о паразитарных (и не только) инфекциях тут: https://zen.yandex.ru/scientaevulgaris

Useful Zabbix scripts

https://github.com/grundic/zabbix-disk-performance

https://github.com/IvanBayan/Zabbix-lm-sensors-lld (https://share.zabbix.com/unsorted/lld-script-for-sensor-type-items-based-on-lm-sensors) (без триггеров и итемов, только дискавери)
https://github.com/blind-oracle/zabbix-sensors (https://share.zabbix.com/cat-server-hardware/sensors) (с триггерами)
https://github.com/nobodysu/zabbix-mini-IPMI/ (https://share.zabbix.com/cat-app/zabbix-mini-ipmi)
(в поиске https://share.zabbix.com/search?searchword=linux+sensors&search_cat=1 — всего три скрипта, это они и есть)

https://github.com/v-zhuravlev/zbx-smartctl (https://share.zabbix.com/storage-devices/smart-monitoring-with-smartmontools-lld) (инструкция https://serveradmin.ru/monitoring-smart-v-zabbix/)

https://github.com/delin/Zabbix-NUT-Template

оповещения в Tg, пошаговая инструкция: https://serveradmin.ru/nastroyka-opoveshheniy-zabbix-v-telegram/

Win 10 freezes

Config: i5-4460 on h81m-k with kingston SSD
win 10 freezes example: push start button, push turn-off button, wait seconds
resolution: Change yor power scheme pci-e «link state power management» to Off

это win10, детка!

p.s. Включение gpedit.msc на win10 home basic: https://blog.simplix.info/disable-update-win10/comment-page-1/#comment-761
dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt
dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt
for /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"

p.p.s. Отключение обновлений win10 (очередное): https://blog.simplix.info/disable-update-win10/

Sync filesharing with BTSync

BTSync — сокровище для простой и быстрой синхронизации папок сквозь пачку NATов и прочие прелести. Работает на BitTorrent, с DHT, всё, что нужно для раздачи и загрузки — сгенерировать строку секрета и указать папку откуда/куда. Весьма жалко, что этот продукт зарезали и начали продавать:
Версии 1.3.x используют классический GUI и даже работают на WinXP;

Версии 1.4.x — новомоднявую вебморду на порту 8888 с медленными выезжаниями окон и SyncShellContextMenu.dll;

Версии выше — и называются по-другому и имеют ограничения на 10 каталогов спустя 30 дней, а DHT начиная с версии с 2.2.x — вообще удалён.
Старые версии для всех OS пока ещё можно найти в интернете, спешите! Единственный большой недостаток BTSync — отсутствие открытого исходного кода. Ну, и нет инкрементального архивирования, старые версии файлов просто сохраняются целиком.

Из аналогов — пока что вижу лишь OpenSource Syncthing, но там несколько неинтуитивная настройка, WebGUI, нет способности «дал текст — скачалось» и могут быть проблемы с прохождением препятствий.
Подробнее по-китайски https://program-think.blogspot.com/2017/08/GFW-Resilio-Sync.html
Подробнее по-русски http://vasilisc.com/btsync (unsecure)
Списки аналогичного софта https://www.reddit.com/…

p.s. Ребятам из «стран с развитой демократией» стоит быть аккуратней с этим, потому что через DHT можно отследить клиента, и если контент не очень согласуется с понятиями «демократии» в стране, можно отхватить. BTSync старых версий пользуется большим спросом у китайцев за его проникающую способность. Новые версии после 2.х как раз решили проблемы авторов с демократией — централизованность, платность, отсутствие открытого кода.
DL1: https://web.archive.org/ версия 1.3.109 AUGUST 18, 2014, после — уже 1.4.x
DL2: https://4pda.ru/
DL3: https://antimatrix.org/BTSync/Install/

Числа с плавающей точкой в компьютере не столь точны, как кажутся

So 0.1 and 0.2 (1/10 and 1/5) while clean decimals in a base 10 system, are repeating decimals in the base 2 system the computer is operating in. When you do math on these repeating decimals, you end up with leftovers which carry over when you convert the computer’s base 2 (binary) number into a more human readable base 10 number.

https://0.30000000000000004.com/

Хабр. Заложники COBOL и математика. Часть 1
Хабр. Заложники COBOL и математика. Часть 2

i  | floating pt    | fixed pt
-- | -------------- | ---------------------------
0  | 4              | 4
1  | 4.25           | 4.25
2  | 4.47058823529  | 4.4705882352941176470588235
3  | 4.64473684211  | 4.6447368421052631578947362
4  | 4.77053824363  | 4.7705382436260623229461618
5  | 4.85570071257  | 4.8557007125890736342039857
6  | 4.91084749866  | 4.9108474990827932004342938
7  | 4.94553739553  | 4.9455374041239167246519529
8  | 4.96696240804  | 4.9669625817627005962571288
9  | 4.98004220429  | 4.9800457013556311118526582
10 | 4.9879092328   | 4.9879794484783912679439415
11 | 4.99136264131  | 4.9927702880620482067468253
12 | 4.96745509555  | 4.9956558915062356478184985
13 | 4.42969049831  | 4.9973912683733697540253088
14 | -7.81723657846 | 4.9984339437852482376781601
15 | 168.939167671  | 4.9990600687785413938424188
16 | 102.039963152  | 4.9994358732880376990501184
17 | 100.099947516  | 4.9996602467866575821700634
18 | 100.004992041  | 4.9997713526716167817979714
19 | 100.000249579  | 4.9993671517118171375788238

Стоит помнить это каждый раз, когда делаешь вычисления с плавающей точкой.

All you need for telestudio is OBS

How to output from OBS to multicast/unicast:
Settings -> Output -> Output Mode -> Advanced
Recording -> Type -> Custom Output (FFmpeg)
FFmpeg Output Type -> Output to URL
File path or URL -> udp://224.0.0.1:1234?pkt_size=1316&buffer_size=65535 (working example, tweak it)

Alternatively you can directly send to just one PC in your system by using his IP, for example: udp://192.168.0.5:9999?pkt_size=1000
You can use any port that is free and accessible on the PC’s you want to use.

Container Format -> Depends on the protocol, for udp it would be mpegts
Video Bitrate -> 2500 or higher (depends on your encoder)
Audio Bitrate -> 128 or higher (depends on your encoder)

Activate the checkbox «Show all codecs»
Be aware, some combinations and codecs will not work for streaming! You will have to test to find your best combination.
Video Encoder -> libx264 / h264_nvenc (if you have an nvidia gpu) or other codecs can be used
Audio Encoder -> AAC, AC3 or even OPUS can be selected.

Start a Recording, not a Stream.
You can now watch the stream in VLC (for example) on another PC in your local network. Open a network stream in VLC and enter the following address: udp://@224.0.0.1:1234(if you used this address as the «File Path» earlier, in the case of streaming to one pc you can enter udp://@:9999 on the receiving PC)

via https://obsproject.com/forum/resources/obs-studio-send-an-udp-stream-to-a-second-pc-using-obs.455/
ffmpeg UDP in/out syntax https://www.ffmpeg.org/ffmpeg-protocols.html#udp
more relay and ffmpeg examples https://obsproject.com/wiki/Streaming-With-SRT-Protocol
OBS scene scheduling/time-based switching https://obsproject.com/forum/threads/scene-change-and-stream-scheduler-based-on-date-time.95375/

If you need to send multicast to specific windows interface:
route add 224.10.20.30/32 inter.fa.ce.ip