Saturday, February 20, 2010

Израильские сайты

Более-менее полезные источники информации.
Для поиска по ним можно пользоваться расширенным поиском яндекса или фильтром "site:" гугла.

Безвозмездная раздача вещей
http://community.livejournal.com/hinam_ru/
и обмен

Wednesday, January 27, 2010

Right way for Windows 7 installation

Here is what you need to tweek after OS install.

Enable Administrator account
  1. run cmd as administrator
  2. type net user administrator /active:yes

Enable ping response
  1. As Administrator
  2. Go to Windows Firewall
  3. Open Advanced settings
  4. Find and enable following rules

    1. File and Printer Sharing (Echo Request - ICMPv4-In), Domain
    2. File and Printer Sharing (Echo Request - ICMPv4-In), Public
    3. File and Printer Sharing (Echo Request - ICMPv6-In), Domain
    4. File and Printer Sharing (Echo Request - ICMPv6-In), Public
Alternative way how to do that - How to Enable Ping Reply in Windows 7

Remote Desktop connections

Wired LAN priority
  1. open Control Panel
  2. go to Network connections
  3. open Advanced menu
  4. select Advanced settings
  5. in the connections box reorder them as you want them to be

There is now good way to disable DVD auto eject, see search results on that.

Windows Updates
Allow all users to install updates on computer.


Popular issues

Thursday, January 21, 2010

Git aliases

I found this very useful in day-to-day git work.
[alias]
    a = add

    s = status --short
    ss = status

    b = branch -a
    ba = branch -a -vv
    bs = !git-branch-status
    bsi = !git-branch-status -i

    c = commit
    cm = commit -m

    co = checkout

    d = diff --color
    ds = diff --color --stat
    dsp = diff --color --stat -p
    # files changed between commits
    dn = diff --color --name-only

    l = log --color --decorate
    ls = log --color --stat --decorate
    ln = log --name-status --color
    lsp = log --color --stat -p --decorate
    lg = log --graph '--pretty=tformat:%Cblue%h%Creset %Cgreen%ar%Creset %Cblue%d%Creset %s'
    lga = log --graph '--pretty=tformat:%Cblue%h%Creset %Cgreen%ar%Creset %Cblue%d%Creset %s' --all
    l10 = log --graph '--pretty=tformat:%Cblue%h%Creset %Cgreen%ar%Creset %Cblue%d%Creset %s' --all -10
    # for complicated branches
    lsd = log --graph '--pretty=tformat:%Cblue%h%Creset %Cgreen%ar%Creset %Cblue%d%Creset %s' --all --simplify-by-decoration

    ru = remote update
    sb = show-branch --sha1-name

    ls-del = ls-files -d
    ls-mod = ls-files -m # including remote files
    ls-new = ls-files --exclude-standard -o
    ls-ign = ls-files --exclude-standard -o -i

Update (2012-11-11)
https://gist.github.com/4056358

Friday, January 8, 2010

Israel start throttling torrents?

I found today that my internet provider Bezeqint started throttling my torrent downloads.

After analyzing peers list i found that:
1. They monitor torrent traffic by patterns;
2. They track only TCP connections;

Check out how perfectly ISP is shaping my non-UDP traffic


The workaround:
1. Force encryption
µTorrent: Preferences > BitTorent > set Outgoing to Forced and uncheck Allow incoming legacy connections
2. Force UDP usage
µTorrent: Preferences > Advanced settings, you'll need to force bt.transp_disposition to 10 (source, values explained)

If your's torrent client working fine, that do not do anything, because these settings will decrease peers list and as so most likely your down/up speed.

See how it looks cool now :-)


Links
New in uTorrent 1.9 - uTP, the micro transport protocol. This UDP-based reliable transport is designed to minimize latency, but still maximize bandwidth when the latency is not excessive.

Thursday, December 31, 2009

Выбираем DVD-привод

Решившись брать новый привод взамен еле дышащего старого Optiarc AD-7191S, я полез на forum.ixbt.com.

Начитавшись вдоволь кучу постов, в голове обрисовалась следующая картина:
1. Нет идеального устройства для всего, есть хорошо пишущие (Nec или Pioneer) и хорошо читающие (Lite-On и его клоны); к приближённо-универсальным можно отнести Pioneer;
2. Чем дальше, сложнее найти что-то стоящее. Грамотные люди запасаются проверенными временем моделями в прок (покупают сразу несколько штук ака домашний склад).
3. Грамотные люди ставят 2 устройства: одно для чтения, одно для записи (см п.1);
4. Lite-On делает OEM версии своих продуктов для сторонних фирм типа ASUS, HP - т.е. начинка родная, стикеры - нет. При точном совпадении можно переделать клон в родной лайтон при помощи родной прошивки
5. Все манипуляции с перепрошиванием делаем на свой страх и риск и обычно лишают гарантии - что логично в принципе.
6. Есть популярный ресурс cdfreaks, где есть хорошие обзоры девайсов и мегакодеры дотачивают напильниками заводские прошивки, за что им огромный респект.
7. Привод это половина проблемы - болванки тоже бывают говно полное.
8. Как проверяется: записывается на качественном резаке и проверяется через DVD info tool качество записи
9. Отличная запись - C1 average < 2, C2 = 0; хорошая - C1 average < 10, C2 = 0; Jitter желателен менее 8% (отсюда)

Выследить нужную модель можно с помощью Google Alerts, который о появлении этих моделей в поисковом индексе пришлют вам уведомление на почту или рсс.
Вот пример моих запросов (искал в Израиле)
(nec | sony | optiarc) (ad-7203s | ad-7243s) site:co.il
liteon ihas324 site:co.il
pioneer (dvr-116d | dvr-117d | dvr-216d | dvr-217d) site:co.il -inurl:fxp.co.il

Список рекомендованных девайсов (в основном чёрная лицевая панель и SATA интерфейс):
Lite-On: iHAS-220, iHAS-222, iHAS-224, iHAS-324, iHAS-422, iHAS-424
Pioneer: DVR-116D, DVR-117D, DVR-216DBK, DVR-217DBK
Benq: DW1655
Sony Optiarc (Nec): AD-720xS, AD-724xS
Различия в моделях: AD-7240S, AD-7241S (с LightScribe), AD-7243S (с LabelFlash)

В своём выборе я придерживался стратегии "какие девайсы есть у крутых мемберов на этих форумах (обычно написано в подписи к постам или в профилях) и что из них есть в продаже за доступные мне деньги". В итоге я приобрёл Sony Optiarc AD-7240S и Pioneer DVR-216DBK. Теперь охочусь на Lite-On iHAS-324 (важно заказать iHAS324-08, а не iHAS324-98).

Полезные ссылки:
Читать в первую очередь! Что, чем и как прошивать: ссылки по теме
CD-Recordable FAQ
Советы со всего света
DVD±RW SATA - работает только в PIO
Пример поиска модели Sony Optiarc AD-7240S на форуме через Яндекс (не забываем ставить галочку) и через Гугл
Troubleshooting: Enabling/Checking DMA in Windows Vista, XP, 2000, Me, 9x
F.A.Q. for PC DVD-Writers
The NEC/Optiarc F.A.Q.