Inspiration

Hal

How it works

Cryptobot: solves cryptograms using simulated annealing method. Play: try solving a cryptogram yourself!

Stack: Meteor, Node, Angular Monitoring: Google Analytics, Kadira, Papertrail

Challenges I ran into

Simulated annealing turned out to be the easiest thing about this little app. The real challenge was baking Python code into Meteor via Node, having it stream data, and break nicely (yikes!). Even after that worked, Meteor's hosting won't run Python scripts. So I built a Flask server on Heroku to run the simulated annealing and connected it to Meteor via DDP. But that didn't work in production either because Meteor's hosting has variable DDP connections! In the end, the version you're viewing doesn't even use Python, it uses Coffescript!

Accomplishments that I'm proud of

  • Fast simulated annealing script in 2 languages
  • Real-time feedback everywhere in the app
  • Continuous monitoring
  • Responsive design

What I learned

Nothing takes just a few hours, unless it's in Meteor and CoffeeScript

What's next for meteor-cryptogram

Animations!

Share this project:

Updates