Nugget Post: Reactive Functions to parse nested objects

Note this article assumes familiarity with the Observer Pattern / Reactive Programming as described here: http://reactivex.io/ Some APIs return complex nested JSON objects. For example, take this cleaned up sample response from ElasticSearch (which incidentally is used to build the "Data Table" visualization): https://gist.github.com/dvas0004/8f3427955a5bb21213c864d30094d072 Note the structure of the object. Within the top level "aggregations" object … Continue reading Nugget Post: Reactive Functions to parse nested objects

Python system tray notifications in Linux

As a follow up to my previous post, here's how to accomplish system tray notifications in ubuntu linux and family. I must say, compared to windows, this is child's play... under ten lines of code! #!/usr/bin/python import sys import pynotify if __name__ == '__main__': if not pynotify.init ("summary-body"): sys.exit (1) # try the summary-body case … Continue reading Python system tray notifications in Linux