python




When writing reports I’ve often come across the need to find the unix timestamp beginning and end of a day. Here is a Python snippet that does just that. yesterday = datetime.datetime.now() - datetime.timedelta(days = 1) yesterday_beginning = datetime.datetime(yesterday.year, yesterday.month, yesterday.day,0,0,0,0) yesterday_beginning_time = int(time.mktime(yesterday_beginning.timetuple())) yesterday_end = datetime.datetime(yesterday.year, yesterday.month, yesterday.day,23,59,59,999) yesterday_end_time […]

Finding yesterday’s beginning and ending unix timestamp



1
Recently I’ve been playing with a few new technologies. Some are new to me while most are simply new. My base project to use these technologies is a heatmap visualization of churches in Georgia. While heatmaps in themselves aren’t exactly exciting, having the ability to map more than 10,000 data […]

Fun with heatmaps


One view of object-oriented programming is that it is a discipline that enforces modularity and clean interfaces. A second view emphasizes encapsulation, the fact that one cannot see, much less design, the inner structure of the pieces. Another view emphasizes inheritance, with its concomitant hierarchical structure of classes, with virtual functions. Yet another view […]

Fred Brooks on the promise of object oriented programming


McAfee Logo 5
Following the release of our extension allowing Chrome users to quickly shorten URLs using the cloud-backed security of the mcaf.ee service, we are pleased to announce the release of an add-on which allows Firefox users to quickly and securely shorten URLs to share with others. To download and install this […]

McAfee Secure URL Shortener Firefox Add-on