Archive for Notes

Email to Youtube downloader, Redis, Cocoa and OpenGL, Python’s HTTP Requests Module

We rung in the new year with a series of lightning talks:

Stan Schwertly kicked off the presentations with a set of slides on an email-to-youtube downloader script that combined Postfix, bash, and cclive to allow a user to email an address with a list of videos to download. The user receives a response email with a list of direct download links to the videos requested.

Trevor Parker continued the talks by overviewing Redis, a key-value store system that provides several NoSQL-like options for multiple languages.

Tim Heckman followed up with a presentation on Python’s HTTP requests module. The HTTP requests module is a more pythonic version of the current standard library and allows for easier interaction with remote servers.

Brian O’Keefe ended the meeting by discussing CocoaOpenGL, and GLKit for the iPhone. He also went over the pros and cons of component-based game design versus traditional game design paradigms.

Cheers to the Dead Coder Society!

Twilio, Debian Packaging, Community Driven Radio, Pastebin Messaging, Python sh module, and more

The Dead Coder Society had its first meeting with our newest members. This meeting’s content was provided solely by the new members.

Peter Sandin was up first with his Debian Packaging presentation. He overviewed the process of packaging software in Debian and the various ways it can be done.

Tim Heckman followed Pete with two presentations. He discussed using Twilio, Python’s Flask web framework, and Python’s Paramiko library to interact with his network remotely from his cell phone. He also went over his IRC-related project to use Twilio to inform him of chat lines that interest him from irssi.

Nick Pegg continued the presentations by going over NickFM, a community-driven web radio project he has been working on. He combined Icecast, MPD, and custom Python code in order to create a digital station that allows for multiple remote DJs. Dead Coder Society member Brian O’Keefe posted a series on using Icecast for projects in the past as well: http://www.deadcodersociety.org/blog/building-a-streaming-radio-station-part-1-icecast-mpd-and-python/

Trevor Parker presented his idea of a pastebin-based system for decentralized, encrypted, and persistent message storing.

Les Aker brought the talks to a close with a presentation on Python’s sh module, which allows for system commands to be run in a pythonic fashion. The sh module integrates nicely with his soon-to-be finished automatic deployment system, Archer.

Cheers to the Dead Coder Society!

 

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

DeadCoderSociety IRC channel

The DeadCoderSociety is now a registered Freenode group! You can join us in #dcs on irc.freenode.org. Use the web IRC client in the top-right corner to join us without the hassles of setting up a local IRC client. A special thanks to Jason Schollenberger for getting us set up with Freenode.

Cheers to the DeadCoderSociety!

Using Razor with ASP.NET: Brian Cole

Brian Cole presented after Jico Baligod’s presentation on jQuery. He showed the power of Razor, a view engine for ASP.NET that allows the developer to use a template approach to HTML page generation. Brian demonstrated the usefulness of Razor with an empty MVC application, and was able to begin showing the usefulness of the technology within minutes.

There are several benefits to using Razor, most of which were laid out in the design goals:

Read more