Full Stack DH: Building a Virtual Research Environment on a Raspberry PI

Research output: Chapter in Book/Report/Conference proceedingMeeting abstractpeer-review

Abstract

Ian Hodder has recently pointed to a “return to things” in the humanities and social sciences, a mode of analysis that explores the relationships between people and the objects we use to construct and make sense of the world (Hodder, 2014, p.19). In digital humanities we can see this in Matthew Kirschenbaum’s focus on the forensics of computer hard disks (Kirschenbaum, 2007), the development of platform studies to investigate the relationship between computing culture and the consoles and other hardware that enables it (Montfort and Bogost, 2009), and the appearance of maker cultures that seek to explore the humanities through practical experimentation (Dieter and Lovink, 2014). It suggests a desire to pay attention to and interact with the material world, rather than retreating to a purely digital one. Some commentators go beyond this. They propose that entanglement with material objects represents a ground of being for humans and their societies, that it presents a postphenomenological “dialectic of dependence and dependency between humans and things” worthy of deep contemplation (Hodder, 2014, p.19). People rely on the things they have created to such a degree, so the argument goes, that our identity has become inseparable from them. In Donald Ihde’s original conception, it amounts to “recognition that “consciousness” is an abstraction, that experience in its deeper and broader sense entails its embeddedness in both the physical or material world and its cultural-social dimensions” (Ihde, 2009). Knowledge, art, religion, and science are entangled, in turn, with books, oil paint, churches, and laboratories: “thing theory” grounds epistemology in the myriad interactions between the physical and non-physical world (Preda, 1999).

If we apply these insights to digital infrastructure we begin to see how humanists have become entangled with complex systems, a situation that might prompt us to pause for thought. Analog books, archives, and libraries presuppose a degree of entanglement with the material world, undoubtedly, but those are relatively well understood: we have had centuries to understand and critique them. Digital infrastructure, however, is rarely “symbolically or politically construed” (Knorr-Cetina, 1992, p.119). It is merely requested in an email to a manager or Information Technology (IT) helpdesk, or held to be something humanists need to do their work. Little attempt is made to define the critical ground or, much less, to understand the object of enquiry prior to investment. Rather, in denial of the epistemological significance of things, humanities infrastructure is treated as something we should merely go to the store or work with our IT department to buy. The result has been an ongoing failure to provide the kind of infrastructure needed by humanities researchers, a misalignment of the debate, and often a rejection of the very notion of digital infrastructure itself.

As Matt Ratto points out, so-called ‘critical making’ provides new ways of dealing with difficult issues like this. Rather than attempting to solve complex problems in their entirety, critical making encourages the development of prototypes and basic models in the context of wider critical discourses, thus blending “practice-based engagement with pragmatic and theoretical issues” and fostering the possibility that creative solutions will be found to long-standing problems. He suggests the approach can be particularly useful in the context of so-called “wicked problems” (Ratto, 2011, p.253), defined by architectural scholar Horst Rittel in the 1960s and 1970s (Rittel and Webber, 1973). This class of problem is characterized by the existence of “many clients and decision makers with conflicting values, and where the ramifications in the whole system are thoroughly confusing” (Rittel was interested in problems associated with large-scale planning projects) (Churchman, 1967, p.B141). Significantly, he claimed there is a moral element to such problems, in that it is immoral to solve only one component of a wicked problem when such an approach will leave the larger issue unresolved. Prototyping and critical making can thus be positioned, not as inadequate tinkering, but as a mode of activity well-suited to the resolution of very complex problems. In this way we come to the intersection of critical making, cyber-infrastructure, and the humanities.

This project migrated my personal website jamessmithies.org from Wordpress.org (a free, fully hosted service) to a home server running on a Raspberry Pi 2 Model B minimal computer, a device built in the United Kingdom at Sony’s manufacturing plant in Pencoed in South Wales and supported by a registered charity: the Raspberry Pi Foundation. The computer measures 85.60mm x 56mm x 21mm (or roughly 3.37″ x 2.21″ x 0.83″), has 1GB of Random Access Memory (RAM) and is powered by a 900MHz quad-core ARM Cortex-A7 Central Processing Unit (CPU). The VRE application is built using Django, a Python-based web framework designed for newspaper websites but now deployed in a wide variety of scenarios. The social media service Pinterest is one of the largest services to use it, with over 46 million unique visitors between 2011 and 2015 (Statista, 2015). The framework is thus highly adaptable, and could be used to develop almost any functionality a humanities researcher might need. The website is served by the Gunicorn application server and light-weight Nginx web server (used by NASA), with content saved in Postgres, one of the more advanced database systems available. All of these products are available free through the open source community. They require a reasonable level of technical proficiency to install and configure but there are many tutorials available online and their user communities share knowledge openly. It speaks to an interesting aspect of this project. Although there is a massive gap between jamessmithies.org and well-funded cyber-infrastructure projects, the nature of the open source software movement means there is only a small gap (if any) in terms of scalability and potential functionality.

One of the most powerful things about the project - in both technical and tactical terms - is the level of control conferred by the architecture of the ‘stack’. Not only is the Pi itself accessible and configurable, but its operating system can be changed, and Gunicorn and Nginx can be configured at both an administrative level and through their core code base. Django can be programmed to support an extremely wide range of functionality. To extend the metaphor of control towards the incomprehensibly large infrastructures used by multi-national digital corporates (to escape the criticism that the Pi is a fundamentally limited device, or a mere toy), static files like CSS style sheets and images are hosted on the Amazon Web Services (AWS) cloud, integrating the Pi with a truly enormous global data infrastructure. These could have been hosted on the Pi, but it is considered best practice to deliver them separately for Django projects. It means, essentially, that much of the ‘heavy-lifting’ has been outsourced to a high performance computer, allowing almost limitless options for expansion of the site.

Perhaps counter-intuitively given the dominance of ‘bigger is better’ cyberinfrastructure discourse, the migration from Wordpress.org servers to a lowly Raspberry Pi has produced a personal VRE capable of significant further development. The intention is not necessarily to create a finished and reproducible product, but to take control of – and experiment with - all aspects of the computing architecture in order to gain a better understanding of my scholarly infrastructure needs, from the hardware the site runs on, to maintenance of the Internet domain name, the content management system that helps me organize content, and the firewalls that secure it from malicious actors. The conclusion after this phase of the project is that issues like ethical hardware, net neutrality, data sovereignty and security, and the ability to extend and configure the code that supports my research activities, are central to my work – and identity - as a humanities scholar.
Original languageEnglish
Title of host publicationDigital Humanities 2016: Conference Abstracts
PublisherJagiellonian University & Pedagogical University, Kraków
Pages364-365
Publication statusPublished - 11 Jul 2016

Fingerprint

Dive into the research topics of 'Full Stack DH: Building a Virtual Research Environment on a Raspberry PI'. Together they form a unique fingerprint.

Cite this