SATtva. ������������ �������� (original) (raw)

��-��������, ��� ������� ������� ����������� ������ �� HTTPS, Yota ������������ ����� ������������� �������� ������� �����������:

image

Nice try Yota, but no.

����������� (15)

�����������, � ��� ���� ������� ������ ������, ������� �� ��������� ����� ������. ���-������ �����:

links = ['http://foo.com/page1',
���������'http://foo.com/page2',
���������'http://foo.com/page3',
���������'http://foo.com/',
���������'http://blah.org/file0',
���������'http://blah.org/file1',
���������'http://foobar.net/some\_page',
���������'http://foobar.net/another\_page',
���������'http://foobar.net/yet\_another',
���������'http://blah.org/file2',
���������'http://blah.org/file3',
���������'http://blah.org/file4'\]

���� ������� ��������/����� �� ���� �������, �� �� �������� ���������� �������� �� ������ �� ������, �����, ��� �������, ������ ���� ������.* ����� ������ ����� ����� ���������, �� ��� ������ ������� ����������.

����� ������� ������� -- ������������� ������ ���, ����� ����� ������������ ����� �����, � ���������������� ������� ������������� ����������� �� ������ �����. �� ��� ��������� ����� ����������, �� �������� � ���������� ������? �� ������ �������� ������

itertools.

��� ������ ��������� �������� ����������: ��� ���������� ��� �����:

from urllib.parse import urlparse

sort_by_host = lambda url: urlparse(url).netloc

��, � ������ ����� ������. ���� ��� ����� ����� ���������� � ������������, ��, �������, ��� ������� �����, ��� ��������� ����� ����� ��������, ������� ��� ����� ���������:
��� ��������� ������������ �� �� ������� � ���� ������. ��, ��� �� ��� ���������. :)

output = [i for e in list(zip_longest(*[list(g)
����������for _, g in groupby(sorted(links, key=sort_by_host),
����������key=sort_by_host)])) for i in e if i is not None]

* �������� ������, �� ������� ������� ����, ���� ������� � API ���������� �����, ������������ ��������� �������, �� ������ ��� ������ �� ����� ������������� � ������ ������� �������.

����������� (0)

��, �����. �� ����� ����, � ��������� �� Academy Awards (� �������������, �����) acceptance talk, ��� ���������� ������ ��������, �������� ������������ Bullet Physics.

���� ��� ����� Phymec (a.k.a. Chiaroscuro) ��������� � �������� �������������� �����-������ �� ���� ���������� �������� ��� ����� �� ��� ��������� ���������� �������� (��������� � �������������� ��� ����� ���������� Bullet), �� ��� �, ������� ��, � ������������� ����������.

� ��� ��������... �� �������� ����������, ��������� ��� ��������� �������.

����������� (2)

� ����������� ����������� �����, ����� ������� ��� ����� ����� ��������, ��� �������� ���������, ����������� ���������� ����������� ������. � ��������� �������, �� ��� ����, ������� ������ HDR-���������, �� � ����� ����� ������� �������� ���������.

����������� (3)

�������������� ���������� ������ �������� ������������ ���������� � ������ �������������� ���� (�. �����).

image

image

image

image
image
image
image

image

image

image

image

image

image

image
image
image
image

����������� (3)

���������:

����������� ��������� ********** ���������� ��� �������������-��������� ������
<...>
������ ��� � 160.000 �� �����, 250.000 �� ������� (���, ������, �������)
<...>
����������� �������������� �� �������� � 50.000 ������ (�� ����� ����, �������� �� ����), ���� ������� � ������ � 40.000 ������
<...>
������ IP-������ � 35.000 ������ (���������� ������)
<...>
�������� ������� �� ����� ����� � 100.000 ������ �� ��� (����� ������)
������� ������� �� ����� ����� � ����� ������� �� ������� � 50.000 ������
<...>
����� ����� (mail.ru, yandex.ru, rambler.ru) � 15000 ������ (��������� ������� �� ������������ �����)
<...>
� ����� ��� ������������� ����� (������ � �������� ������, ���������� ���������, ��������� ���� ��� ���������, ���������� �� ������ � �.�. � �.�.)

������ �� �����, �� ������� ������ �� ��� ��� ���������������.

�� ������ -- ������ ����-������� � ��������� ������ ��������. �������� � ����������� ��������, ���� -- � ���������.

����������� (0)