❌

Reading view

Честная кнопка: как сравнить нажатия игроков, если у всех разный пинг

Мы делаем ЖМЯК — Свою игру в браузере: табло на телевизоре или ноутбуке, а кнопки — телефоны игроков. Ничего не нужно ставить, гости заходят по QR-коду и вводят только имя.

Главное в такой игре — кнопка. Вопрос прочитан, все тянутся к телефонам, кто-то нажал первым — он и отвечает. И вот тут быстро выясняется неприятное: в браузерной игре первым часто оказывается не самый быстрый игрок, а тот, у кого быстрее интернет.

В статье — как мы это чинили: синхронизация часов из уже существующего потока событий, метка времени нажатия, границы доверия клиенту, окно сбора нажатий и фальстарты. И немного реальных цифр: на проде уже 2,5 тысячи нажатий, и они кое-что рассказывают о людях.

Читать далее
  •  

China expels a record number from Communist party amid Xi’s intensified purges of top officials

The unprecedented number of empty seats at the fifth plenum – a symbol of expulsions – serve as a symbol for the scale of the purges under Xi Jinping

China expelled a record number of officials from the Chinese Communist party (CCP) as it concluded a major political gathering, which saw an unprecedented number of empty seats indicating the scale of the purges under Xi Jinping.

A record 33 members were expelled at this week’s fifth plenum, a gathering of top officials that takes place roughly once a year.

Continue reading...

© Photograph: Li Xiang/Xinhua/AP

© Photograph: Li Xiang/Xinhua/AP

© Photograph: Li Xiang/Xinhua/AP

  •  

China expels a record number from Communist party amid Xi’s intensified purges of top officials

The unprecedented number of empty seats at the fifth plenum – a symbol of expulsions – serve as a symbol for the scale of the purges under Xi Jinping

China expelled a record number of officials from the Chinese Communist party (CCP) as it concluded a major political gathering, which saw an unprecedented number of empty seats indicating the scale of the purges under Xi Jinping.

A record 33 members were expelled at this week’s fifth plenum, a gathering of top officials that takes place roughly once a year.

Continue reading...

© Photograph: Li Xiang/Xinhua/AP

© Photograph: Li Xiang/Xinhua/AP

© Photograph: Li Xiang/Xinhua/AP

  •  
❌