There are a few places that use our data for applications: Buddhanexus, SC Voice, and others as well. But I’m sure there are lots of ways we can share the Dhamma. Our content is freely available on Github, and the REST API is accessible.
Someone recently suggested suttas by email. Great idea!
Here’s mine.
The single coolest, most astonishing, awesome, and sheer tech in the last few years is Justine Tunney’s redbean, based on the αcτµαlly pδrταblε εxεcµταblε.
When any developer hears about this, they lose their bearings. Things that seem real, no longer are. That which was impossible becomes imperative. Seriously, read the comments on Hacker news:
I just spent 30 minutes reading about this. I’m so shocked that I’m logging in to comment after 5 years of lurking. ¸ As far as I’m concerned, this is literal magic.
this is the best programming-related thing I’ve seen on the internet in a long time
it’s a kind of thought I don’t think I could ever come up with. Mind blown.
It’s hard to grok cause there are no words to describe it.
Everything she does has this level of jaw-dropping amazingness.
So what is it? Well, I’m far below the level of incomprehension of the programmers who couldn’t grok it. Justine is a next-level programmer who casually announces things like running the latest google machine learning AI … on the original IBM PC from 1981.
But basically redbean is a wrapper for web-ish applications that run offline in a single zip file. It builds on her work with the αcτµαlly pδrταblε εxεcµταblε, which is where the real magic happens.
She discovered, by reading the compiled source code it seems, that there are certain patterns and accidental overlaps and lack of overlaps in the assignment of the binary codes that define the start of the various operating systems. These arbitrary patterns are very old; they were written when the operating systems were made and not touched since. She found that by writing instructions for different operating systems in the gaps not used by other systems, she could ignore the different APIs for running code on different systems, and just run the same thing everywhere. That’s right: just drop a single file of a few bytes and you can run it on any computer.
Not satisfied with this, she bundled it up with a web server that includes Lua and SQlite so you can just write a web app and run it anywhere.
So this is my challenge: who wants to build a version of SC based on redbean? It doesn’t have to do everything that SC does, just something that you find cool. Use Lua and SQLite for maximum simplicity. Add other tech to redbean if you like, but these are the core.
Load SC’s data into SQLite with Lua, query it, and serve a million responses per second on a home laptop. Make it a website, or just let people download and run it themselves on any computer.
Then laugh and laugh maniacally as the world of reason and rationality crumbles at your feet.