I've been messing around with a bit of code that will aggregate a bunch of little task handlers, each intended to take care of little things I'd like to automate for myself. Today, the primary functions in Rabot revolve around getting important weather updates to me. It's storing data locally …
read moreOther articles
Site Migrated to Pelican Static Site Generator
Converting Gatherer to a Bunch of Uncoupled Micro-Services
I’m currently creating a version of Gatherer, the engine behind nerdlynews, in an uncoupled micro-service based design. It’s going pretty smoothly, and the benefits of creating and internally consuming an API are pretty obvious. It’s interesting how fast development starts moving after getting some API functionality up …
read moreFiddling With the Intelligence Behind NerdlyNews
I’ve spent a bit of time messing around with the algorithms behind NerdlyNews. It was doing what I wanted, picking out interesting articles from a large amount of noise, but given the large number of choices, it was still too noisy itself. I’ve tweaked a couple of parameters …
read morePageLoadStats is now on GitHub
PageLoadStats is a tool I wrote to grab performance and stats about web pages and chart the data in a simple and useful way. It also has the ability to send alerts when the page load times moving average gets past a configurable alert level. It’s written in Python …
read moreWaiting for elements on dynamic webpages Selenium / Webdriver
Below is my current favorite method to wait for an element to appear or become useful on a dynamic web page. In this case, my example is avoiding the exception thrown when webdriver fails to find an element by using the ‘find_elements'(plural) method rather than a ‘find_element'(singular) The …
read morePython ErrorList object for use in Webdriver Testing
Here’s a bit of code from a post that was lost when my old site went down, data and all. I don’t recall if the original post was this python version or my original Java version (sorry if that’s what you’re here for, ask in comments …
read moreA Couple Personal Projects: NerdlyNews and PageLoadStats
I have worked on several web based projects. I recently created NerdlyNews, which uses Bayesian logic to grab interesting news from sites that I really like. I’m using a wordpress front-end for that one, and the JetPack extension so I can have the output of the Bayesian algorithm posted …
read moreA Bit of Modular Web Design in Django
I found myself creating a web page intended to display a set of data objects, each object similar in format. A pretty common need. The simple thing to do would be to simply iterate over the list of data in the django template, for example:
read more{% for o in some_list %} <div …