Better HN
topnewbestaskshowjobs
Log inSign up

rhnvrm

3 karma · joined Sep 26, 2015 (11y ago) · 5 submissions

My website: https://rohanverma.net

[ my public key: https://keybase.io/rhnvrm; my proof: https://keybase.io/rhnvrm/sigs/TGq4tIarqJB9CI15Uklz-sJ6eNrAgFtPeeb0U5qQAlc ]

Submissions

1.

Most Browser Tracking Protection Doesn't Stop Tracking by Default(spreadprivacy.com ↗)

3 points · by rhnvrm · 5y ago · discuss

2.

A lesson in creating and using niche business DSLs at scale(zerodha.tech ↗)

3 points · by rhnvrm · 6y ago · discuss

3.

Go 1.13 Released(blog.golang.org ↗)

2 points · by rhnvrm · 7y ago · discuss

comment 11y ago · link · parent

I wrote a small script to solve the easy ones in the browser: https://github.com/rhnvrm/30s_challenge

Here is the script for solver: https://github.com/rhnvrm/30s_challenge/blob/master/solver.j...

and here is the cheat: https://github.com/rhnvrm/30s_challenge/blob/master/cheat.js

Also, I found that since the methods of the game and challenge class are public, you can actually just call it's functions. I also found a useful resource for learning OOPs in js http://phrogz.net/js/classes/OOPinJS.html and how to make methods private. There is another cool article here on how to make members private and protected here http://philipwalton.com/articles/implementing-private-and-pr...