Articles in the code tag

Making Beautiful Schematics with TikZ

Posted in College Productivity
howto code latex systems


I have always been a fan of using LaTeX for all of my writeups. LaTeX has a fantastic graphical library called TikZ that I use to generate nearly all of my graphics. It has quite a steep learning curve, but once you get going, you can define all of your …

How to Write Beautiful Code Documentation

Posted in College Productivity
howto code python


Writing code documentation is really important. More than anything else, documenting your code pushes you to use best practices, and organize your code in a logical way.

After a year of writing Python code for a living [1], I'm writing to share the documentation process that works best for me …

Submitting Jobs to the Stanford Cluster via SLURM

Posted in College Productivity
howto code python servers systems


I do a lot of coding at Stanford on my laptop. It's a wonderful machine, but it simply cannot handle huge amounts of number-crunching. Most research organizations provide computing clusters fully equipped with state-of-the-art software in order to help out folks like me.

Clusters are helpful not only when you …

Setting Up Anaconda for Scientific Python

Posted in College Productivity
howto code python


Python is great. Not only is it relatively easy to learn, but it is extremely robust when it comes to gathering, processing, and plotting data, thanks to free open-source libraries like numpy, matplotlib, and pandas. The power that you get from using Python is comparable to other software solutions, such …