An Analysis of Python's Topics, Trends, and Technologies Through Mining Stack Overflow Discussions

Total Page:16

File Type:pdf, Size:1020Kb

An Analysis of Python's Topics, Trends, and Technologies Through Mining Stack Overflow Discussions 1 An Analysis of Python’s Topics, Trends, and Technologies Through Mining Stack Overflow Discussions Hamed Tahmooresi, Abbas Heydarnoori, and Alireza Aghamohammadi F Abstract—Python is a popular, widely used, and general-purpose pro- (LDA) [3] to categorize discussions in specific areas such gramming language. In spite of its ever-growing community, researchers as web programming [4], mobile application development [5], have not performed much analysis on Python’s topics, trends, and tech- security [6], and blockchain [7]. However, none of them has nologies which provides insights for developers about Python commu- focused on Python. In this study, we shed light on the nity trends and main issues. In this article, we examine the main topics Python’s main areas of discussion through mining 2 461 876 related to this language being discussed by developers on one of the most popular Q&A websites, Stack Overflow, as well as temporal trends posts, from August 2008 to January 2019, using LDA based through mining 2 461 876 posts. To be more useful for the software topic modeling . We also analyze the temporal trends of engineers, we study what Python provides as the alternative to popular the extracted topics to find out how the developers’ interest technologies offered by common programming languages like Java. is changing over the time. After explaining the topics and Our results indicate that discussions about Python standard features, trends of Python, we investigate the technologies offered web programming, and scientific programming 1 are the most popular by Python, which are not properly revealed by the topic areas in the Python community. At the same time, areas related to the modeling. Because of the significant prevalence of Python, scientific programming are steadily receiving more attention from the software engineers, mostly the experts of other program- Python developers. ming languages, may be eager to know the technologies of their interest provided by Python as the alternative to Index Terms—Python, Q&A websites, Stack Overflow, Topic Modeling, Trend Analysis. investigate this language further. That expert may search online resources and read a lot to find an appropriate answer. However, the aggregation and verification of the 1 INTRODUCTION obtained knowledge may be on her own. As a result, by leveraging the word embedding model [8], we can find YTHON is a widely used, high-level, general-purpose, out for each technology provided for other programming P interpreted, and dynamic programming language [1]. languages what technologies are offered by Python which According to Stack Overflow annual survey engaging more are practically employed by Python developers. Hence, than 90 000 developers in 2019, Python just edged out Java we pave the way for better understanding Python’s so- in overall ranking at the end of 2018, much like it edged out lutions. The main findings from our study indicate that C# in 2017, and PHP in 2016 alike. Stack Overflow called Python developers mostly discuss Python standard features, Python the fast-growing major programming language [2]. In web programming, and scientific programming. However, the spite of the prevalence of Python, researchers have not arXiv:2004.06280v1 [cs.SE] 14 Apr 2020 popularity of scientific programming is growing faster. adequately focused on analyzing the trends and technolo- gies of this language in software developer communities, and Question and Answer (Q&A) websites such as Stack Overflow which is the de facto website actively used by 2 STUDY SETUP developers. Analyzing this invaluable resource of informa- tion can help developers to gain insight about Python’s The primary goal of our study is to extract the areas that trends and main issues. Prior studies have leveraged a Python developers discuss on Stack Overflow. For this pur- topic modeling approach called Latent Dirichlet Allocation pose, we introduce three research questions: RQ1: What are the discussion areas in the Python commu- • H. Tahmooresi, A. Heydarnoori, and A. Aghamohammadi are with the Department of Computer Engineering, Sharif University of Technology, nity? Iran. RQ2: How is the interest of Python developers changing E-mail: [email protected] over the time? E-mail: [email protected] E-mail: [email protected] RQ3: What technologies does Python provide? 1. Programming in areas such as mathematics, data science, statistics, Figure1 illustrates the high-level steps we take to answer machine learning, natural language processing (NLP), and so forth. our research questions. 2 The Stack Overflow’s Dataset (Aug 2008 to Jan 2019) 1 2 Extract the tags associated with each language Filter Python discussions 9 3 Prune low quality discussions Extract a dataset containing just tags 4 10 Preprocess discussions bodies Generate a word embedding model 5 Extract topics using LDA algorithm 6 Cluster topics 7 Partition dataset Answer 8 Answer Answer RQ1 Analyze temporal trends RQ2 RQ3 Fig. 1. Our high-level study methodology. 2.1 RQ1: What are the discussion areas in the Python LDA model with 100 topics for Python discussions reveals community? topics such as game programming, IoT, and testing. However, another model with 20 topics suppresses these areas. On the To address RQ1, we first extracted the tags associated with other hand, as the number of topics increases, their visu- each language (Step 1). Similar to prior studies, we identi- alization and analysis become hard to understand. Besides, fied discussions of each language according to Stack Over- many duplicates emerge among topics, and thus a manual flow’s tag mechanism [9], [10]. In this website, the owner of merge is required [5]. Therefore, we first generated a LDA a question may assign, up to five tags as keywords to each model with 100 topics and then asked two Python experts question which denotes the technological categories of that — who are not the authors of this paper — with more question [10]. We preprocessed Python posts extracted (Step than seven years of experience to manually merge the LDA 2) as the input of our topic modeling. model. We pruned questions with the minus or zero score with- The experts observed that topics extracted from Stack out any accepted answers in order to improve the overall Overflow usually obtain known technologies among their quality of the topic modeling (Step 3). Due to the scoring top probable words (e.g., XML, server, web framework names, mechanism, these questions have poor quality [4]. This way, and so forth). Therefore, if two topics share similar words 9% of all the Python posts were pruned from our dataset. having high occurrence probability, which match the name Next, we cleansed a textual content of the extracted posts of known technologies, they may be good candidates for (Step 4) as follows: being merged. For example, if two topics have the word 1) All code snippets enclosed in the <code> tag were django — a Python web framework — as a highly probable discarded since the source code would introduce noise word, we can anticipate that they are both about web pro- in the results of the topic modeling [11]. gramming subject. As a result, the experts considered Stack 2) All HTML tags were removed as well (e.g., <a Overflow tags as a source of words resembling technologies href="...">, <b>, and so forth). to help merge topics more accurately. Having examined 3) We teokenized the corpus and removed common the Stack Overflow tags along with fine-grained topics, our English-language stop words such as a, the, and is experts decided to merge topics into 12 clusters (Step 6). which do not help creating meaningful topics. Note that, the experts operated independent of each other. 4) All the tokens were stemmed using the Porter stem- Then, they shared the results. In the case of difference, they ming algorithm [12]. discussed until all of the disagreements were resolved. Afterwards, we exploited the popular topic modeling tech- nique, LDA, to investigate the developers’ discussion areas 2.2 RQ2: How is the interest of Python developers (Step 5). LDA is an unsupervised model for performing sta- changing over the time? tistical topic modeling that uses a bag of words approach [3]. Recently, LDA has been employed in software engineering To address RQ2, we partitioned the dataset (obtained in communities such as Stack Overflow to extract topics dis- Step 2) into three-month time intervals (Step 7). Three- cussed in the crowd [4], [5]. It takes the number of topics K month intervals yielded enough discussions in each interval as an input. Larger values of K will result in fine-grained which make our analysis more reliable. Since the Python topics and lower values will produce coarse-grained topics. community is constantly growing, we observed that over Unfortunately, by choosing a small K (e.g., 10 or 20), many the time, the frequency of each cluster is increasing as well. discussion areas may remain hidden. As an example, an Thus, to better analyze the data, we borrowed the concept 3 of impact of a topic presented by Barua et al. [10] to obtain assigned the tags <java, swing, jframe>, we simply consider the portion of a topic tk in a time interval intv: ”java swing jframe” as an item of our dataset. Finally, we 1 X trained our word embedding model using our dataset (Step impact(tk; intv) = θ(dj; tk) (Eq. 1) 10). D(intv) dj 2D(intv) Where D(intv) is the set of all posts in the time interval 3 RESULTS intv. θ(dj; tk) denotes the probability of a particular topic Herein, we present the results and findings of our study. tk occurring in the document dj. In order for calculating the impact of each cluster in an interval, we simply sum up the impact of its topic.
Recommended publications
  • An Empirical Study of Obsolete Answers on Stack Overflow
    1 An Empirical Study of Obsolete Answers on Stack Overflow Haoxiang Zhang, Shaowei Wang, Tse-Hsun (Peter) Chen, Ying Zou, Senior Member, IEEE, and Ahmed E. Hassan, Fellow, IEEE Abstract—Stack Overflow accumulates an enormous amount of software engineering knowledge. However, as time passes, certain knowledge in answers may become obsolete. Such obsolete answers, if not identified or documented clearly, may mislead answer seekers and cause unexpected problems (e.g., using an out-dated security protocol). In this paper, we investigate how the knowledge in answers becomes obsolete and identify the characteristics of such obsolete answers. We find that: 1) More than half of the obsolete answers (58.4%) were probably already obsolete when they were first posted. 2) When an obsolete answer is observed, only a small proportion (20.5%) of such answers are ever updated. 3) Answers to questions in certain tags (e.g., node.js, ajax, android, and objective-c) are more likely to become obsolete. Our findings suggest that Stack Overflow should develop mechanisms to encourage the whole community to maintain answers (to avoid obsolete answers) and answer seekers are encouraged to carefully go through all information (e.g., comments) in answer threads. Index Terms—Q&A Website, Stack Overflow, Obsolete Knowledge, Knowledge Sharing. F 1 INTRODUCTION ECHNICAL Q&A websites are becoming an important to handle such a situation2. Additionally, a survey of 453 T and popular platform for knowledge sharing and learn- Stack Overflow users reports that outdated code on Stack ing. They have revolutionized how users seek knowledge Overflow is one of the most important issues that users on the Internet.
    [Show full text]
  • Lightweight Django USING REST, WEBSOCKETS & BACKBONE
    Lightweight Django USING REST, WEBSOCKETS & BACKBONE Julia Elman & Mark Lavin Lightweight Django LightweightDjango How can you take advantage of the Django framework to integrate complex “A great resource for client-side interactions and real-time features into your web applications? going beyond traditional Through a series of rapid application development projects, this hands-on book shows experienced Django developers how to include REST APIs, apps and learning how WebSockets, and client-side MVC frameworks such as Backbone.js into Django can power the new or existing projects. backend of single-page Learn how to make the most of Django’s decoupled design by choosing web applications.” the components you need to build the lightweight applications you want. —Aymeric Augustin Once you finish this book, you’ll know how to build single-page applications Django core developer, CTO, oscaro.com that respond to interactions in real time. If you’re familiar with Python and JavaScript, you’re good to go. “Such a good idea—I think this will lower the barrier ■ Learn a lightweight approach for starting a new Django project of entry for developers ■ Break reusable applications into smaller services that even more… the more communicate with one another I read, the more excited ■ Create a static, rapid prototyping site as a scaffold for websites and applications I am!” —Barbara Shaurette ■ Build a REST API with django-rest-framework Python Developer, Cox Media Group ■ Learn how to use Django with the Backbone.js MVC framework ■ Create a single-page web application on top of your REST API Lightweight ■ Integrate real-time features with WebSockets and the Tornado networking library ■ Use the book’s code-driven examples in your own projects Julia Elman, a frontend developer and tech education advocate, started learning Django in 2008 while working at World Online.
    [Show full text]
  • Installation Guide
    Oracle® Communications Session Monitor Installation Guide Release 4.3 F27697-02 July 2020 Oracle Communications Session Monitor Installation Guide, Release 4.3 F27697-02 Copyright © 2014, 2020, Oracle and/or its affiliates. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are "commercial computer software" or "commercial computer software documentation" pursuant to the applicable Federal Acquisition
    [Show full text]
  • Python Programming
    Python Programming Wikibooks.org June 22, 2012 On the 28th of April 2012 the contents of the English as well as German Wikibooks and Wikipedia projects were licensed under Creative Commons Attribution-ShareAlike 3.0 Unported license. An URI to this license is given in the list of figures on page 149. If this document is a derived work from the contents of one of these projects and the content was still licensed by the project under this license at the time of derivation this document has to be licensed under the same, a similar or a compatible license, as stated in section 4b of the license. The list of contributors is included in chapter Contributors on page 143. The licenses GPL, LGPL and GFDL are included in chapter Licenses on page 153, since this book and/or parts of it may or may not be licensed under one or more of these licenses, and thus require inclusion of these licenses. The licenses of the figures are given in the list of figures on page 149. This PDF was generated by the LATEX typesetting software. The LATEX source code is included as an attachment (source.7z.txt) in this PDF file. To extract the source from the PDF file, we recommend the use of http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ utility or clicking the paper clip attachment symbol on the lower left of your PDF Viewer, selecting Save Attachment. After extracting it from the PDF file you have to rename it to source.7z. To uncompress the resulting archive we recommend the use of http://www.7-zip.org/.
    [Show full text]
  • Amazon Codeguru Profiler
    Amazon CodeGuru Profiler User Guide Amazon CodeGuru Profiler User Guide Amazon CodeGuru Profiler: User Guide Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon. Amazon CodeGuru Profiler User Guide Table of Contents What is Amazon CodeGuru Profiler? ..................................................................................................... 1 What can I do with CodeGuru Profiler? ......................................................................................... 1 What languages are supported by CodeGuru Profiler? ..................................................................... 1 How do I get started with CodeGuru Profiler? ................................................................................ 1 Setting up ......................................................................................................................................... 3 Set up in the Lambda console ..................................................................................................... 3 Step 1: Sign up for AWS ....................................................................................................
    [Show full text]
  • Interfacing Apache HTTP Server 2.4 with External Applications
    Interfacing Apache HTTP Server 2.4 with External Applications Jeff Trawick Interfacing Apache HTTP Server 2.4 with External Applications Jeff Trawick November 6, 2012 Who am I? Interfacing Apache HTTP Server 2.4 with External Applications Met Unix (in the form of Xenix) in 1985 Jeff Trawick Joined IBM in 1990 to work on network software for mainframes Moved to a different organization in 2000 to work on Apache httpd Later spent about 4 years at Sun/Oracle Got tired of being tired of being an employee of too-huge corporation so formed my own too-small company Currently working part-time, coding on other projects, and taking classes Overview Interfacing Apache HTTP Server 2.4 with External Applications Jeff Trawick Huge problem space, so simplify Perspective: \General purpose" web servers, not minimal application containers which implement HTTP \Applications:" Code that runs dynamically on the server during request processing to process input and generate output Possible web server interactions Interfacing Apache HTTP Server 2.4 with External Applications Jeff Trawick Native code plugin modules (uhh, assuming server is native code) Non-native code + language interpreter inside server (Lua, Perl, etc.) Arbitrary processes on the other side of a standard wire protocol like HTTP (proxy), CGI, FastCGI, etc. (Java and \all of the above") or private protocol Some hybrid such as mod fcgid mod fcgid as example hybrid Interfacing Apache HTTP Server 2.4 with External Applications Jeff Trawick Supports applications which implement a standard wire protocol, no restriction on implementation mechanism Has extensive support for managing the application[+interpreter] processes so that the management of the application processes is well-integrated with the web server Contrast with mod proxy fcgi (pure FastCGI, no process management) or mod php (no processes/threads other than those of web server).
    [Show full text]
  • Python for Bioinformatics, Second Edition
    PYTHON FOR BIOINFORMATICS SECOND EDITION CHAPMAN & HALL/CRC Mathematical and Computational Biology Series Aims and scope: This series aims to capture new developments and summarize what is known over the entire spectrum of mathematical and computational biology and medicine. It seeks to encourage the integration of mathematical, statistical, and computational methods into biology by publishing a broad range of textbooks, reference works, and handbooks. The titles included in the series are meant to appeal to students, researchers, and professionals in the mathematical, statistical and computational sciences, fundamental biology and bioengineering, as well as interdisciplinary researchers involved in the field. The inclusion of concrete examples and applications, and programming techniques and examples, is highly encouraged. Series Editors N. F. Britton Department of Mathematical Sciences University of Bath Xihong Lin Department of Biostatistics Harvard University Nicola Mulder University of Cape Town South Africa Maria Victoria Schneider European Bioinformatics Institute Mona Singh Department of Computer Science Princeton University Anna Tramontano Department of Physics University of Rome La Sapienza Proposals for the series should be submitted to one of the series editors above or directly to: CRC Press, Taylor & Francis Group 3 Park Square, Milton Park Abingdon, Oxfordshire OX14 4RN UK Published Titles An Introduction to Systems Biology: Statistical Methods for QTL Mapping Design Principles of Biological Circuits Zehua Chen Uri Alon
    [Show full text]
  • Stack Overflow Question Retrieval System Vishi Cline Southern Methodist University, [email protected]
    SMU Data Science Review Volume 1 | Number 2 Article 13 2018 Stack Overflow Question Retrieval System Vishi Cline Southern Methodist University, [email protected] Abhishek Dharwadkar Southern Methodist University, [email protected] Rajni Goyal Southern Methodist University, [email protected] Daniel Engels Southern Methodist University, [email protected] Raghuram Srinivas Southern Methodist University, [email protected] See next page for additional authors Follow this and additional works at: https://scholar.smu.edu/datasciencereview Recommended Citation Cline, Vishi; Dharwadkar, Abhishek; Goyal, Rajni; Engels, Daniel; Srinivas, Raghuram; and Rafiqi, Sohail (2018) "Stack Overflow Question Retrieval System," SMU Data Science Review: Vol. 1 : No. 2 , Article 13. Available at: https://scholar.smu.edu/datasciencereview/vol1/iss2/13 This Article is brought to you for free and open access by SMU Scholar. It has been accepted for inclusion in SMU Data Science Review by an authorized administrator of SMU Scholar. For more information, please visit http://digitalrepository.smu.edu. Stack Overflow Question Retrieval System Creative Commons License This work is licensed under a Creative Commons Attribution-Noncommercial 4.0 License Authors Vishi Cline, Abhishek Dharwadkar, Rajni Goyal, Daniel Engels, Raghuram Srinivas, and Sohail Rafiqi This article is available in SMU Data Science Review: https://scholar.smu.edu/datasciencereview/vol1/iss2/13 Cline et al.: Stack Overflow Question Retrieval System Stack Overflow Question Retrieval System Abhishek Dharwadkar1, Vishi Cline1, Rajni Goyal1 Daniel Engels2, Raghuram Srinivas2, Sohail Rafiqi2 1 Master of Science in Data Science, Southern Methodist University 6425 Boaz Lane, Dallas, TX 75205 {avdharwadkar, rajnig, vcline, rsrinivas}@mail.smu.edu {dwe, srafiqi}@lyle.smu.edu Abstract.
    [Show full text]
  • Bepasty Documentation Release 0.3.0
    bepasty Documentation Release 0.3.0 The Bepasty Team (see AUTHORS file) Jul 02, 2019 Contents 1 Contents 3 1.1 bepasty..................................................3 1.2 Using bepasty’s web interface......................................4 1.3 Using bepasty with non-web clients...................................6 1.4 Quickstart................................................7 1.5 Installation tutorial with Debian, NGinx and gunicorn......................... 10 1.6 ChangeLog................................................ 12 1.7 The bepasty software Project....................................... 14 1.8 License.................................................. 14 1.9 Authors.................................................. 15 Index 17 i ii bepasty Documentation, Release 0.3.0 bepasty is like a pastebin for every kind of file (text, image, audio, video, documents, . ). You can upload multiple files at once, simply by drag and drop. Contents 1 bepasty Documentation, Release 0.3.0 2 Contents CHAPTER 1 Contents 1.1 bepasty bepasty is like a pastebin for all kinds of files (text, image, audio, video, documents, . , binary). The documentation is there: http://bepasty-server.readthedocs.org/en/latest/ 1.1.1 Features • Generic: – you can upload multiple files at once, simply by drag and drop – after upload, you get a unique link to a view of each file – on that view, we show actions you can do with the file, metadata of the file and, if possible, we also render the file contents – if you uploaded multiple files, you can create a pastebin with the list
    [Show full text]
  • 공개sw 솔루션 목록(2015.12.30)
    OS/DBMS/WEB/WAS 공개SW 솔루션 목록(2015.12.30) 순번 분류 솔루션명 라이선스 기술지원 홈페이지 제품개요 1 DBMS C-JDBC LGPL community http://c-jdbc.ow2.org/ 데이터베이스 클러스터 2 DBMS DB4 오브젝트(db4o) GPL & dOCL prof/community http://www.db4o.com 객체지향 메모리 데이터베이스 엔진 GPL v2, GPL v3, 3 DBMS Drizzle community http://www.drizzle.org/ MySQL 6.0에서 파생된 RDBMS BSD 4 DBMS H2 EPL, MPL community http://www.h2database.com/ 자바기반 RDBMS HSQLDB 5 DBMS (Hyper Structured Query BSD community http://www.hsqldb.org 경량의 Java 기반 관계형 데이터베이스 Language Database) 데이터 웨어하우스, OLAP서버, BI 시스템 운용을 목적으 6 DBMS LucidDB GPL v2, LGPL v2 community http://luciddb.sourceforge.net 로 개발된 오픈소스 DBMS GPL v3, AGPL v3, 7 DBMS Neo4j community http://www.neo4j.org 그래프 데이터베이스 commercial AGPL v3, 8 DBMS VoltDB Proprietary prof/community http://voltdb.com/ 인메모리기반 RDBMS License 오픈소스 관계형 데이터베이스 관리 시스템. 9 DBMS 마리아DB(MariaDB) GPLv2, LGPL prof/community https://mariadb.org/ MySQL과 동일한 소스 코드를 기반 세계에서 가장 널리 사용되고 있는 대표적인 10 DBMS 마이에스큐엘(MySQL) GPL v2 prof/community http://www.mysql.com 관계형 데이터베이스 ※ prof : Professional Support(전문업체 기술지원) ※ community : Community Support(커뮤니티 기술지원) OS/DBMS/WEB/WAS 공개SW 솔루션 목록(2015.12.30) 순번 분류 솔루션명 라이선스 기술지원 홈페이지 제품개요 IBM에서 기증한 cloudscape 소스 기반으로 11 DBMS 아파치 더비(Apache Derby) Apache v2 community http://db.apache.org/derby/ 개발된 Java 기반의 관계형 데이터베이스 Berkeley 오라클 버클리 DB Database License http://www.oracle.com/kr/products/database/ 슬리피캣을 인수한 오라클에서 제공하는 12 DBMS prof/community (Oracle Berkeley DB) or berkeley-db/index.html 고성능 임베디드 데이터베이스 Sleepycat License GPL or Postgresql 데이터베이스의 기반으로 상용화된 13 DBMS 잉그레스(Ingres) prof/community
    [Show full text]
  • The Kilobot Gym
    The Kilobot Gym Gregor H.W. Gebhardt1 and Gerhard Neumann2 Abstract— Simulation is a crucial tool when learning control policies for robotic systems. The evaluation of a control policy is a recurring task in most learning algorithms which can be significantly sped up when using a simulation instead of the real system. This improvement in learning speed becomes even more significant when working with robot swarms which usually operate rather slow and need to be tediously initialized by hand. In this paper, we present a novel simulator for swarm Fig. 1. Left: a scene with a small swarm of Kilobots with an object in the robotics. Our simulator is inspired by the Kilobot platform and background. Right: a swarm of Kilobots in our simulation framework with builds on the OpenAI gym. This allows to evaluate a wide range with four square objects. of learning algorithms using a unified interface for controlling the swarm. The code of our simulation framework is available at [3]. time step. The implementation uses JavaScript embedded in HTML files which results in code that is hard to use for I. INTRODUCTION programmatic evaluations and, furthermore, the reusability Learning the parameters of a control policy is usually of JavaScripts without any modularity goes towards zero. an iterative process of evaluating the parameters on the Another approach to simulate a swarm of Kilobots is to system and improving the parameters based on the evaluation use the robot simulator V-REP [6]. The simulations are results. In robotics, the most time consuming task is often the performed in 3D, where the user can select between different evaluation of the parameters on a real robotic system.
    [Show full text]
  • Exploiting Traditional Gameplay Characteristics to Enhance Digital Board Games
    Exploiting traditional gameplay characteristics to enhance digital board games Fulvio Frapolli∗, Apostolos Malatras∗ and Beat´ Hirsbrunner∗ ∗Department of Informatics University of Fribourg, Switzerland Email: name.surname @unifr.ch { } Abstract—Computer enhanced board and card games consti- population of board game players and human-computer inter- tute a highly engaging and entertaining activity as attested by action experts [7]. Additionally, the key role that the players their widespread popularity and the large amount of dedicated have in the physical environment in modifying game aspects players. Nonetheless, when considering these digital counterparts of traditional board games it becomes evident that certain to increase their level of enjoyment, as highlighted in [8], features of the latter, such as the flexibility of games and the should not be neglected. In this respect, when shifting to the inherent social interactions that regard the player as an active digital environment end-user involvement, namely the ability participant and not merely as the end-user of a product, have of players with basic programming skills (i.e. understanding been in general neglected. In particular, the ability to customize of fundamental concepts of algorithmics, such as if . then and adapt games according to the players’ needs is one of the key factors of their success and should thus not be ignored when . else constructs or for loops) to customize a board game, porting them to the digital environment. In this paper we present should be strongly promoted. our work on a holistic framework titled FLEXIBLERULES that In order to achieve these goals, we present here the FLEXI- addresses these limitations by bringing the intrinsic flexibility BLERULES framework which enables runtime modification of of board games played in the traditional environment into the all aspects of a game in a straightforward manner.
    [Show full text]