3,580 karma · joined March 15, 2012
webmaster @ notion
email me! scalesjordan@gmail.com
> shave: [slate: 20202, share: 22202, shame: 22202, shape: 22202, shake: 22202, shade: 22202]
I guess it needs to find the right choice of [r, m, p, k, d, v] to get "shave" (since 'v' is so rare it takes 6 guesses!). Trying "marks" and "paved" would narrow that list down in 2 guesses (and a third to actually try "shave")
Anyone code this up yet? (I haven't, I took a greedy approach too [0]). Wonder how to generalize such a plan.
Yes.
> You already have the app. Save notes to /tap via text message (SMS), the website or a bookmarklet.
K now I'm actually going to use this. Nice work. (Good landing page!)
1) How can I see the programs that I mine? I ran mine but it's unclear if I've found any?
2) How can I start from the beginning? I'd like to see how long it takes to mine A01, for example
It would be so wonderful to show that 3n+1 and n/2 are enough to compute anything - writing "programs" this way would be fun to look at.
[0]: https://en.wikipedia.org/wiki/Collatz_conjecture#Undecidable...
Thanks for putting this together though, you've got quite a suite here.
For me, as a US citizen, my energy is far better spent getting people to take the vaccine that has a sample size of hundreds of millions of doses and has given us a wonderful chart that's going down and to the left. And, to put it bluntly, podcasts guests trying to make a name for themselves for pushing alternatives as "contrarians" have no place in this discourse.
Chapter 7 of Crafting Interpreters lays out how an evaluator works in a pretty clean way [1]. I've also blogged about evaluating ASTs in JavaScript [2]
Lastly, Gary Bernhardt took it a step further and instead of "evaluating" code, "compiled" it to JavaScript (this tutorial uses Ruby) [3]. Very much a mind-blown moment for me.
Have fun!! Writing interpreters remains one of my favorite things to do when learning a new programming language.
[0] https://www.youtube.com/watch?v=aAlR3cezPJg
[1] https://craftinginterpreters.com/evaluating-expressions.html
[2] https://thatjdanisso.cool/programming-languages
[3] https://www.destroyallsoftware.com/screencasts/catalog/a-com...