❌

Normal view

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

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

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

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

Читать далее

In China, the War on Mosquitoes Has Entered the A.I. Era

30 October 2026 at 07:01
Using sensors developed for self-driving cars, a Chinese start-up claims it can track and destroy tiny flying targets while avoiding people, pets and reflective surfaces.

© Qilai Shen for The New York Times

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

30 October 2026 at 05:56

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

AI bots flooded 2023 UK government consultation on disposable vapes ban

Three-quarters of all responses were machine-generated in failed attempt to stop bill from passing into law, research finds

AI bots flooded a government consultation with tens of thousands of fake responses in a failed attempt to stop the UK’s ban on disposable vapes.

Three-quarters of all the responses to the 2023 consultation on the tobacco and vapes bill were machine-generated, in what is thought to be the first coordinated attempt to use AI to derail health policymaking in the UK.

Continue reading...

© Photograph: Tim Parker/Getty Images

© Photograph: Tim Parker/Getty Images

© Photograph: Tim Parker/Getty Images

The Guardian view on the far right’s plans for Brussels: doing the work of Xi, Putin and Trump | Editorial

27 October 2026 at 21:25

If ever enacted, proposals by Marine Le Pen and the AfD leader, Alice Weidel, to hollow out EU institutions would be a continental act of self-harm

Following the Brexit referendum in 2016, Marine Le Pen was in a predictably celebratory mood. Britain’s vote to leave the European Union, she told one interviewer, was the first breach in the “Brussels Wall”. Ms Le Pen’s Front National party was at that point committed to taking France down the same path, given the chance. But as the UK’s self-inflicted economic wounds became a cautionary tale for the rest of Europe, the notion of Frexit was put on ice.

Instead, Ms Le Pen now hopes to lead far-right allies in hollowing out the EU from within. This month, both she and the leader of Alternative für Deutschland, Alice Weidel, outlined their visions of a “Europe of nations” in which EU institutions would be stripped of both cash and power. Ms Weidel’s “new deal for Europe” would abolish elections to the European parliament, and seek German opt-outs in areas such as migration, defence and common borrowing. Ms Le Pen’s party, now called National Rally, proposes slashing French contributions to the EU budget by 60% over a five-year presidential term, and ending the role of Brussels in proposing common policies for the 27 member states.

Do you have an opinion on the issues raised in this article? If you would like to submit a response of up to 300 words by email to be considered for publication in our letters section, please click here.

Continue reading...

© Photograph: Christophe Petit-Tesson/EPA

© Photograph: Christophe Petit-Tesson/EPA

© Photograph: Christophe Petit-Tesson/EPA

China Steps In to Rescue Stocks, But the Market Continues to Fall

The Communist Party uses a “national team” of state-owned investment funds to stem the market rout. But this time, investors are not sure it will work.

© Florence Lo/Reuters

President Xi Jinping of China has convened senior leaders to set the government’s agenda, but the economy is likely to take a back seat to politics.

‘It’s a better experience’: shoppers praise Oxford Street pedestrianisation

27 October 2026 at 09:00

Many punters say inconvenience of bus rerouting is small price to pay for more space, but not everyone is happy

To the east of Oxford Circus, there is chaos. A steady stream of red London buses swing round the last junction before the newly pedestrianised Oxford Street begins. The streets are crammed with pedestrians, some squabbling over who poked whom with their umbrella first.

To the west, pedestrians walk freely through the temporary bollards on to a green welcome banner rolled along the tarmac, declaring Oxford Street traffic-free.

Continue reading...

© Photograph: David Levene/The Guardian

© Photograph: David Levene/The Guardian

© Photograph: David Levene/The Guardian

‘Pull Out the Sick Trees’: Xi’s Constant Purges Pave Way for Next Term

26 October 2026 at 07:00
The Chinese leader Xi Jinping, who is likely preparing to secure a fourth term in power in 2027, has complained that officials cannot be trusted.

© Ng Han Guan/Associated Press

President Xi Jinping of China is expected to secure a fourth term as leader of the ruling Communist Party next year. He has warned that too many officials fail to faithfully carry out his orders.

Xi Jinping’s corruption crackdown in the spotlight as China prepares for meeting of top leaders

The fifth plenum comes against a backdrop of years of purges that have had some analysts wondering if the issue is corruption or a lack of loyalty

When Xi Jinping came to power in 2012, he pledged to stamp out corruption all through the ranks of the Communist party. More than a decade later, the pace of investigations has not slowed. Last year, China’s disciplinary authorities opened investigations into more than 1 million people, including more than 100 officials at or above ministerial or provincial level.

As Chinese Communist party (CCP) officials kick off an important meeting this week, discipline – and party loyalty – is high on the agenda. For those who try to read the tea leaves of elite Chinese politics, concern about the apparent lack of discipline is dominating CCP discussions.

Continue reading...

© Photograph: Kevin Frayer/Getty Images

© Photograph: Kevin Frayer/Getty Images

© Photograph: Kevin Frayer/Getty Images

While Amazon blocks AI agents, Walmart rolls out the welcome mat

21 October 2026 at 22:30
As Amazon blocks AI agents from shopping on its site, Walmart is taking the opposite approach, introducing new technology that lets AI agents make purchases on customers' behalf, with controls over spending and transaction approvals.
❌