Comment on Please Stop
DaleGribble88@programming.dev 7 months agoHow can you trust that the database is really append only? Blockchain provides a way to verify the state of the database and the ordering of the transactions. Beyond that, not much benefit to be had. However, for certain situations, that is a very big benefit!
kameecoding@lemmy.world 7 months ago
Name fucking one situation
DaleGribble88@programming.dev 7 months ago
Sure! So some students of mine were working on a multiplayer video game that was started by a different group of students the previous semester. The first group of students made a design choice that, to over-simplify, basically tracked achievements and milestones on the client side and then synchronized those achievements to the server. Players could cheat the system by sending malicious packets of achievements to the server. Some achievements could only be completed by a single person in the game, so this was a big problem for the 2nd group of students to overcome. Faced with the choice of rearchitecting the game to be more authoritative on the server and less resilient to frequent disconnections, which affected some aspects of the game, or creating a logical and verifiable sequence of in-game events on the server side. The students went with the latter, and implemented a Lamport clock using a blockchain to verify the authenticity of the events, and prevent a rogue student from updating the game later to give themself a bonus. Basically, along with needing an authoritative sequence of events that is protected from user interference, it also needed to be protected from developer interference.
It was kinda similar to that situation a few years back of the EVE online developers playing the game and giving their guild members certain bonuses and special in-game items. The solution there was to fire the malicious developers, but I can’t exactly fire an entire class of students from an educational project.
hemmes@lemmy.world 7 months ago
To your edit; it was a great example, but if you say anything positive about blockchain (or Apple, or capitalism, etc) you’ll likely be heavily downvoted on Lemmy.
DaleGribble88@programming.dev 7 months ago
Yeah, I think that seems to be the case here. It just feels to weird me to have a politicized data structure.
“Remember kids, only coke-fiends and meth-heads use Binomial Heaps.”