News for hackers. Stuff that matters.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by ninepoints on Monday September 19, 2022 @02:40PM (#32902168)
Fyi communication is not needed to cheat. Modern chess engines capable of high level play and assistance can be extremely small and concealable.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by perihelions on Monday September 19, 2022 @02:52PM (#32902339)
How many milliwatts would you need to run Stockfish at ~2900 strength under classical time controls, and what's the smallest extant gadget in that power range?

(I'm assuming the I/O power would be negligible compared to compute, since it'd run at very low duty cycle).

Re:Magnus Carlsen resigns against Hans Niemann in the second... by grumple on Monday September 19, 2022 @03:28PM (#32902784)
I saw this recently, so not only is it possible, but it's fairly simple: https://incoherency.co.uk/blog/stories/sockfish.html
Re:Magnus Carlsen resigns against Hans Niemann in the second... by zimpenfish on Tuesday September 20, 2022 @07:58AM (#32910496)
I'm pretty sure they'd notice the large box and powerbank in your pockets on the way in if you tried that.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by grumple on Thursday September 22, 2022 @07:45AM (#32937536)
Fitting both into your shoes would be easy... which I actually know from experience, having put batteries into shoes for other purposes.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by sitkack on Monday September 19, 2022 @02:58PM (#32902420)
We all know this is embedded in his glass eye. 500Gflops/watt gets you pretty far on battery power.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by irrational on Monday September 19, 2022 @05:53PM (#32904585)
Wait, does he really have a glass eye?!
Re:Magnus Carlsen resigns against Hans Niemann in the second... by permo-w on Monday September 19, 2022 @03:36PM (#32902876)
it's absolutely doable, especially for someone with the commitment of a chess grandmaster, but the main here issue wouldn't be having the processing power to calculate the moves, it'd be the input bandwidth to update the computer with the moves.

yes a cheater could have - for example - a subdermal implant that vibrates to update them with a killer mid-game line to go down, but, without the internet, it would be a huge uphill struggle to update the board with the moves. certainly not impossible, especially if you were very dedicated, but very, very hard to get right, especially without getting caught under such scrutinous circumstances

Re:Magnus Carlsen resigns against Hans Niemann in the second... by mrguyorama on Monday September 19, 2022 @03:41PM (#32902939)
The set up of the board at the start is static, so even a very naive approach of "piece at square (nibble, nibble) moves to square (nibble, nibble)" only requires two bytes per turn. I would expect there to be IMMENSELY better ways to encode this state update if I wasn't a dunce, and the people making cheating hardware are very good at that style of compression.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by squeaky-clean on Monday September 19, 2022 @04:06PM (#32903197)
> piece at square (nibble, nibble) moves to square (nibble, nibble)

Chess notation is very compact, you don't even need to say where the starting piece was in most cases because it's implied by the move.

If you have 2 rooks on A1 and H1, and the move says rh4, only one of your rooks can legally make that move. However if the move was rc1, both rooks could make that move so you do need to disambiguate.

Re:Magnus Carlsen resigns against Hans Niemann in the second... by permo-w on Monday September 19, 2022 @04:42PM (#32903669)
presuming that the cheater communicates with the system through some form of physical pressure, they could probably use a modified Morse code re-optimised for the frequency of letters in chess notation. according to wikipedia[1] this already exists and was developed for telegraph and radio transmission of chess games, although I have no idea how well optimised it is

[1] - https://en.wikipedia.org/wiki/Chess_notation

Re:Magnus Carlsen resigns against Hans Niemann in the second... by mabbo on Monday September 19, 2022 @07:11PM (#32905412)
That suggests a fun strategy for Magnus or anyone else playing Niemann: do lots of moves where there would be ambiguity in which piece was moved.

Now however Niemann is entering the moves, he's got more to type and more places he might make a mistake.

Re:Magnus Carlsen resigns against Hans Niemann in the second... by permo-w on Monday September 19, 2022 @08:55PM (#32906276)
this is one of the reasons it may be best to find another method.

one I thought of is to rank all the squares from most-used to least-used, then assign each of them a Morse code, simplest first. 64 squares is 2^6, so the maximum length input you would ever need is six. given a usage frequency for each of the squares, you could calculate your average input length by the sum of all len(square_code) * square_frequency divided by 64.

assuming all squares are the same frequency (1/64), it's just the sum of all len(square_code) divided by 64, which I believe comes out at 322/64 = 5.03125, although I could be wrong about that.

this makes your maximum necessary input per move 12 bits, but your average will be lower, depending on the frequency distribution of squares. (ignoring castling and en-passant for a moment) this is 2 bits more than using a piece+target square technique

Re:Magnus Carlsen resigns against Hans Niemann in the second... by dylan604 on Monday September 19, 2022 @06:13PM (#32904840)
>t's absolutely doable, especially for someone with the commitment of a chess grandmaster,

would that same someone be able to pull something like this off on their own, or would they need assistance building/programming/etc? At that point, how many people need to be involved before it becomes a secret too big to keep, or dead bodies start showing up within the cheater's orbit?

Re:Magnus Carlsen resigns against Hans Niemann in the second... by permo-w on Monday September 19, 2022 @09:36PM (#32906588)
I'm almost certain that if you gave me a month and a half decent budget I could whip something together. I sincerely doubt this is beyond the scope of one committed and somewhat intelligent person
Re:Magnus Carlsen resigns against Hans Niemann in the second... by unrealhoang on Monday September 19, 2022 @10:21PM (#32906906)
plus one more programmer/engineer should be enough, the rest of the supply chain can be oblivious to the purpose.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by serf on Monday September 19, 2022 @03:43PM (#32902954)
just make sure to x-ray everything.

0]: https://incoherency.co.uk/blog/stories/sockfish.html

Re:Magnus Carlsen resigns against Hans Niemann in the second... by Victerius on Monday September 19, 2022 @02:44PM (#32902221)
There still needs to be a way for the cheater to communicate input about the moves in the game to the Arduino.

The players should be required to strip down to their underwear and wear elegant tournament-provided kimonos and slippers.

Re:Magnus Carlsen resigns against Hans Niemann in the second... by googlryas on Monday September 19, 2022 @02:55PM (#32902369)
Communication could be done entirely invisibly from an outsiders perspective. For example, embedded electrodes sensing when one clenched their jaw muscles.

My brother and I did this magic trick and convinced our grade school we had ESP... the mark tells brother a secret number. I put my hands on brothers head and without communicating I tell what the secret number was. It was just the number of times he clenched his jaw.

Re:Magnus Carlsen resigns against Hans Niemann in the second... by lairv on Monday September 19, 2022 @03:26PM (#32902754)
Put them in a room without window or any exterior interactions, 4 cameras in each corner, wifi/radio signal jammer, 10 minutes delay with livestream, I would honestly pay respect to Hans if he can still cheat in those conditions
Re:Magnus Carlsen resigns against Hans Niemann in the second... by googlryas on Monday September 19, 2022 @05:18PM (#32904141)
Is wifi even necessary? Could one embed a chip which does chess inference somewhere in one's body?
Re:Magnus Carlsen resigns against Hans Niemann in the second... by JohnBooty on Monday September 19, 2022 @03:52PM (#32903057)
If one was willing to go as far as devices implanted into the body, it's somewhat easy to imagine inputs via normal-looking fidgeting: toe taps, even perhaps clenching some body part.

While not trivial, it doesn't feel like the hardest part of that particular engineering challenge.

Re:Magnus Carlsen resigns against Hans Niemann in the second... by dylan604 on Monday September 19, 2022 @06:17PM (#32904875)
This being HN, I'm surprised nobody has mentioned that they could build an OpenCV system to watch a match in progress over a weekend.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by awb on Monday September 19, 2022 @02:59PM (#32902425)
At GM levels the matches are typically broadcast live and/or have an audience, so it would only require an observer to input the moves.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by chongli on Monday September 19, 2022 @03:13PM (#32902600)
This can be counteracted by broadcasting with a delay, something I believe they already do. It may be the case that the delay needs to be increased.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by awb on Monday September 19, 2022 @04:08PM (#32903214)
Chess turns can take 20+ minutes sometimes depending on the time limit of the game, so that would be quite a delay, and then you would still have a problem with a live audience.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by ninju on Monday September 19, 2022 @06:54PM (#32905273)
How about a 'turn-delay'... the broadcast field is always three turns delayed rather than a static time delay
Re:Magnus Carlsen resigns against Hans Niemann in the second... by awb on Monday September 19, 2022 @08:16PM (#32905953)
Well if there's 3 rapid fire exchanges (trading Queens & Rooks for example) lasting 10 seconds total, followed by a 20 min move, then the broadcast would have to freeze frame on the 1st move in the rapid fire sequence, so as to stay 3 moves behind, with the last 2 "hidden" moves evident to all that the pieces will be traded.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by mminer237 on Monday September 19, 2022 @03:35PM (#32902866)
Then you again require communication to the players, which a Faraday cage would solve.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by kazinator on Monday September 19, 2022 @04:27PM (#32903478)
Arduino you ain't cheatin'? :)
Re:Magnus Carlsen resigns against Hans Niemann in the second... by mabbo on Monday September 19, 2022 @02:42PM (#32902195)
Yeah, we'll need them to don tight spandex clothing and walk through a sensitive metal detector on the way to their chairs.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by hacym on Monday September 19, 2022 @03:31PM (#32902813)
They use metal detectors on them already.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by mikkergp on Monday September 19, 2022 @02:44PM (#32902216)
Bend over and cough?
Re:Magnus Carlsen resigns against Hans Niemann in the second... by anonu on Monday September 19, 2022 @02:51PM (#32902315)
Not to spread rumors or anything, but this has gone over the top:

> A chess grandmaster has become the victim of an online rumor that he used a sex toy to defeat the world champion.

https://www.insider.com/chess-feud-hans-niemann-magnus-carls...

Re:Magnus Carlsen resigns against Hans Niemann in the second... by ncmncm on Monday September 19, 2022 @03:15PM (#32902619)
Satire is dead.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by thatguy0900 on Monday September 19, 2022 @07:13PM (#32905433)
It was satire. It was originally suggested on a streamers chat as a joke that the streamer laughed at. Noone took it seriously
Re:Magnus Carlsen resigns against Hans Niemann in the second... by onychomys on Monday September 19, 2022 @02:46PM (#32902253)
Just make them walk through a really big electromagnet and hope that neither has a pacemaker.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by linspace on Monday September 19, 2022 @03:01PM (#32902451)
What if the pacemaker is the cheating device?
Re:Magnus Carlsen resigns against Hans Niemann in the second... by kazinator on Monday September 19, 2022 @04:21PM (#32903396)
A pacemaker is cheating death already, so what is chess.
Re:Magnus Carlsen resigns against Hans Niemann in the second... by mburee on Monday September 19, 2022 @03:45PM (#32902970)
Stop the heartbeat in morse code of the next move. Communicate with the device via blood pressure
Re:Magnus Carlsen resigns against Hans Niemann in the second... by checkyoursudo on Tuesday September 20, 2022 @08:30AM (#32910770)
Surely competitive nude chess is a thing?
Re:Magnus Carlsen resigns against Hans Niemann in the second... by bluecalm on Monday September 19, 2022 @05:53PM (#32904576)
In tournaments that have broadcast without delay you don't even need a computer. You can have a script reading the game and calculating at home. You just need to receive signals which is a way easier task. As you don't need to do input nor the actual computation.