Better HN
topnewbestaskshowjobs
Log inSign up

YellowAfterlife

3 karma · joined May 24, 2021 (5y ago) · 3 submissions

Submissions

comment 5y ago · link · parent

Does anyone know what's going on with text in this article? Almost a collection of clipped statements

"Deductibility is a piece of a bigger quandary stemming from the rise in ransomware attacks, in which cybercriminals scramble computer data and demand payment for unlocking the files. The government

A ransomware attack on Colonial Pipeline last month led to gas shortages in parts of the United States. The company, which transports about 45% of fuel consumed on the East Coast,"

comment 5y ago · link · parent

It is a great technique if the tools allow for it! Author of INVERSUS also described using this approach for fast game state snapshots.

(aside: code blocks in the post could use a fallback font in case Menlo isn't installed)

comment 5y ago · link · parent

I mention this briefly, but with re-syncing it is possible to end up in a situation where you end up re-sending the game state on each check interval - more so with a full-state CRC since floating-point errors can make values binary different long before the difference would result in a visible desync. Floating point issues are thus generally approached by using fixed-point math instead.

Doing a CRC of full game state also poses some additional requirements - e.g. any pointers must be relative offsets and any dynamic allocation should be deterministic and within the same block. It does, however, also make it easier to implement serialization/deserialization, as mentioned by Jyaif in another comment here.