Tag Archive
Python
Discover 6 stories with “Python” Tag.

Memoization is a technique. It means to keep track of previous results in a cache and returning that result. I got stuck this week battling this: def answer(food, grid): @memoize def search(f, row, column): f -= grid[row] ...
Read More

The man wakes up, and even though blue light still crawls through the window shades from a drowsy sun, he knows it's late. He throws himself out of the bed as if he were a whale run aground trying desperately ...
Read More

This is part of the Study Series, a project in which we use LaTeX to generate a pdf and a website to document our studies. To generate it we use HTLaTeX, a process that runs TeX4HT and some other things. ...
Read More

Unit Testing Testing is essential. The worst part of not having a team that believes unit testing is essential for production is mostly that you'll be on your own when designing each test. Most tests are procedural, having parts that ...
Read More

Parsing laTeX A phrase you are not even supposed to know Not even supposed to consider Of course lots and lots of people have resort to some kind of solution that involves parsing laTeX. HTLaTeX latex2html pandoc Currently my manual ...
Read More

I use Anaconda for Python, it comes prepackaged with some great tools like Numpy and Scipy. Developing python can easily become a hellish nightmare without proper structure and documentation. So soon after starting Python development, I had to start ...
Read More