Python comes with batteries, one of which is sys.settrace(). This post illustrates how to use it to gain runtime info that could benefit your development workflow.
All posts by Kevin J. Qiu
Use Python’s sys.settrace() for fun and for profit
Posted by Kevin J. Qiu on April 17, 2012
http://reminiscential.wordpress.com/2012/04/17/use-pythons-sys-settrace-for-fun-and-for-profit/
Writing a Simple Clojure Library
I’ve been learning/using Clojure on and off for about 2 years. The lispy syntax isn’t a deterrent for me at all, in fact, I’m quite fond of it and consider it very elegant. However, it does take some time to get used to. I don’t use Clojure or anything remotely close in my day job, [...]
Posted by Kevin J. Qiu on March 3, 2012
http://reminiscential.wordpress.com/2012/03/03/writing-a-simple-clojure-library/
Building a Google Reader plugin using Chrome extension
OK, ok, I understand. The title is a bit misleading. Google Reader isn’t open for 3rd party plugins, and there’s no indication that Google will ever. However, with Google Chrome extension, we can build such local “plugins”. What are we going to achieve? Anyone uses Google Reader to read DZone feeds? I do. DZone is [...]
Posted by Kevin J. Qiu on October 4, 2011
http://reminiscential.wordpress.com/2011/10/04/building_google_reader_plugin/
Spectrum.vim – My first Vim plugin
Spectrum is a vim colorscheme roulette. Ever getting tired of staring at the same colorscheme every day? Having hundreds of colorschemes in your repo but too lazy to deterministically pick one? Spectrum helps you by randomly pick colorschemes from your vim runtime path or from the web.
Posted by Kevin J. Qiu on April 20, 2011
http://reminiscential.wordpress.com/2011/04/20/spectrum-vim-my-first-vim-plugin/
Scala Simple Build Tool — Not so simple after all, at least for now…
Update:I got sbt working by building directly from the master branch from their github repo. The current version is 0.7.5. The tagged 0.9.4 version is actually an older version. Anyway, tried it and kinda loved it. This is just another late night rambling…I was trying to get a proper scala build system setup. I was [...]
Posted by Kevin J. Qiu on March 17, 2011
http://reminiscential.wordpress.com/2011/03/17/scala-simple-build-tool-not-so-simple-after-all-at-least-for-now/
Write sudoku solver in Clojure
…yeah, because the world just needs another Sudoku solver. Well, I’m not trying to solve world hunger with it, but just an attempt to practice Clojure, I took (read: stole) Peter Norvig’s sudoku solver algorithm (written in Python) and adapted it into Clojure. I put it up on Github under sudoku-clj. The algorithm itself isn’t [...]
Posted by Kevin J. Qiu on March 2, 2011
http://reminiscential.wordpress.com/2011/03/02/write-sudoku-solver-in-clojure/
Cake – the yummy Clojure build system
About 10 minutes ago I heard about cake clojure build system, and gave it a try. And 10 minutes later, it won me over! Wow, it addresses all the pain points of leiningen BLAZINGLY FAST Sorry for using all CAPS but I’m very excited about this improvement over leiningen — OK, it may not be [...]
Posted by Kevin J. Qiu on February 11, 2011
http://reminiscential.wordpress.com/2011/02/11/cake-the-yummy-clojure-build-system/
New Year’s Resolution
2011 here we come! In the spirit of continual learning, I’m going to write down the technology I’d love to learn this year. Haskell Now that I’m more interested in functional languages, I’d love to look into this “pure” functional language that inspired countless other ones of its kind. Lift Last year I scratched the [...]
Posted by Kevin J. Qiu on January 2, 2011
http://reminiscential.wordpress.com/2011/01/02/new-years-resolution/
Use Python decorator to curry functions
It’s been a while since the last time I wrote about Python. This morning, I was listening to a podcast on my way to work. They were discussing functional programming and dynamic languages…I learned Python before I went into Computer Science, and then I learned about functional programming and through learning of Scala and Clojure, [...]
Posted by Kevin J. Qiu on October 22, 2010
http://reminiscential.wordpress.com/2010/10/22/use-python-decorator-to-curry-functions/