Tag Archive for etsy stat

Process substitution, Apache’s Velocity, PHP Eval, and Hexagonal Game Boards and More

We held a DCS meeting on the 23rd of March and had the following presentations:

Jason Schollenberger presented on some of the different features he’s added to his IRC bot, and on a quick-and-dirty script for parsing Google widget data. His PHP code takes a Javascript array, prepends a sigil ($) and appends a semicolon. At this point, the array is a valid PHP script. This string is passed to PHP’s eval¬†function to become a valid PHP array. From there, the code is able to choose the desired element. Jason also presented an overview of recent improvements to his IRC bot that allow users to query several JSON-based APIs.

Stan Schwertly presented on several different topic and prepared slides, which are available at:

http://wiki.schwertly.com/everyone/dcs-mar-23-12.html

Among the topics presented are a song downloader for wearehunted.com, Bash’s process substitution, a scraper for stat information for etsy.com, an Apache HTTPD directory size counter, strace example, and an explanation of improvements to his IRC bot.

Aniello DiSpigna presented a demonstration detailing the usage of Apache’s Velocity, a “simple yet powerful template language to reference objects defined in Java code.” Aniello is a long-standing attendee of DCS and this marks his first presentation and meeting as member of the group.

Thomas Rush presented on his work constructing a hexagonal gameboard in Python using pygame, along with some of the struggles that come along with using this style of map. He reviewed some existing perspectives on coordinate systems for hexagonal maps, and discussed his own algorithms for line-of-sight detection and pathfinding.

Cheers to the Dead Coder Society