I played around with OSE Firewall for WordPress for a couple days to see if it was worth switching to from the plugin I was previously using. It’s definitely not as full featured and I didn’t see any WP database extensions where it kept a log I could review/analyze, so I whipped up a little… Continue reading
Post Category → Development
Get an R Data Frame from a MongoDB Query
There’s a good FAQ on how to do the MongoDB query -> R data frame but I wanted to post a more complete example that included the database connection and query setup since I suspect there are folks new to Mongo who would appreciate the end-to-end view. The code is fully annotated with comments, and… Continue reading
Building Jytter On OS X (tested on Mountain Lion)
Dan Kaminski (@dakami) tweeted a cool, small (11 instruction) TRNG generator called Jytter Friday: http://t.co/ar74sHcv 11 instruction TRNG. wow — Dan Kaminsky (@dakami) August 25, 2012 The authors have Windows & Linux ports but no OS X port (and, I play mostly on OS X when not in virtual environments). So, I threw together a… Continue reading
Slopegraphs in Python – Failed States Index (Part 1)
The Fund For Peace (FFP) and Foreign Policy jointly released the 2012 version of the “failed states index” (FSI). From the FFP site, the FSI: …focuses on the indicators of risk and is based on thousands of articles and reports that are processed by our CAST Software from electronically available sources. I read it every… Continue reading
Just Like The Federation
[@hrbrmstr starts working in javascript again] The Internets: What do you think? @hrbrmstr: It’s vile. The Internets: I know. It’s so bubbly and cloying and happy. @hrbrmstr: Just like the Federation. The Internets: And you know what’s really frightening? If you develop with it enough, you begin to like it. @hrbrmstr: It’s insidious. The Internets:… Continue reading
Slopegraphs in Python – Gratuitous Raphaël Animations
UPDATE: It seems my use of <script async> optimization for Raphaël busted the inline slopegraph generation. Will work on tweaking the example posts to wait for Raphaël to load when I get some time. So, I had to alter this to start after a user interaction. It loaded fine as a static, local page but… Continue reading
Slopegraphs in Python – Formatting Tweaks
There were enough eye-catching glitches in the experimental javascript support and the ugly large-number display in the spam example post that I felt compelled to make a couple formatting tweaks in the code. I also didn’t have time to do “real” work on the codebase this weekend. So, along with spacing adjustments, there’s now an… Continue reading
Slopegraphs in Python – Experimental Raphaël Support
In preparation for the upcoming 1.0 release and with the hopes of laying a foundation for more interactive slopegraphs, I threw together some rudimentary output support over lunch today for Raphaël, which means that all you have to do is generate a new slopegraph with the “js” output type and include the salient portions of… Continue reading