arvindrajnaidu
Show HN: Dungeon Coverage – Unit testing as a dungeon crawler
https://arvindrajnaidu.github.io/dungeon-coverage/
Each level is a JS function turned into a dungeon. if/else = forking paths, loops = corridors, try/catch = parallel chambers.You forge test inputs as weapons, drag them into parameter slots, and run. Your hero walks the code path. Gems = covered statements. 100% = level complete.Six levels, from simple branches to async functions with stubs.Play:...
https://www.youtube.com/watch?v=RTsnSxyO6MY
It will be great if you are able to run tests on the codebase and watch the entire graph light-up in different colors. This is much cooler way to depict test coverage and also identify the most heavily used part of the codebase.
My idea is to make a game out of every source code file. When you win the game, you will have 100% coverage.
It is an iOS app called Burning Idea, it lets you build small apps by talking to it.
Stubbing Chained Functions in JavaScript
A customer is to pay one network for gas, but that network won’t pay another network for their value add.
Could one not prove that NFTs have value outside of Coinbase? Oh wait I see the problem.
Also can you guess how I did it?
Hey Google, I can iframe you. Internet. You too
Superchat: Run Polls on WhatsApp
Say 2 people die in a Waymo car in a year … we gotta be cool with that and not ban the whole thing.
Wait what?
Do they have to get explicit consent from each customer and save that info for audits?
Random thought: Can the IDE recommend next file to work on - “people who worked with this file, also worked on”. The real problem is not where we keep it, it’s how quickly we can get to it.
Show HN: Compare Uber and Lyft prices (US only)
The article suggests, you should let a network vouch for u instead of a corporation. By doing this you gain “ownership”
You only “own” something when you can create, destroy and erase all signs of its existence at will.
Explain how you do this with Web3.