opensource.google.com

Menu

Posts from 2015

Stay in touch with RememberMe

Friday, December 18, 2015

Occasionally on the open source blog we feature the personal projects of Googlers. Today we hear from Blair Kutzman, whose loss inspired the creation of RememberMe, an open source email reminder tool.


On June 2, 2014 my cousin Jeremy Monnett was killed in a plane crash. He left behind his two sons, Miles and Brooks, and wife Kate.  As much as we look to explain events like these, they unfortunately can happen at any moment and to anybody.
Jeremy.jpg
RememberMe is an open source project I created in memory of Jeremy that helps people keep in touch. The basic premise is simple — at a configurable interval (eg. daily, weekly, monthly, etc) an email arrives in your inbox reminding you to contact someone. The reply-to field on the mail is set so that replying will send your response to your loved one.

The loss of Jeremy reminded me of just how important it is to keep in touch with the people you love the most. I hope that by making this project public, others will create email address for young children, spouses, and journal their daily thoughts and daily activities. This provides a fabulous way both to chronicle their lives, and also share your daily thoughts.

Please check out the project on github and enjoy!

By Blair Kutzman, Google Engineering

MusicBrainz’ Gelato Summit 2015

Tuesday, December 15, 2015

MusicBrainz is an open music encyclopedia maintained by a global community of users, collects metadata and makes it available to the public. The team just wrapped up their annual summit in Barcelona, sponsored in part by the Google Open Source Programs Office.

From October 30th through November 1st, the MusicBrainz Summit 15 took place in Barcelona, Spain. All of the MetaBrainz employees were there in addition to a handful of contributors from our community — two lead developers of BookBrainz, a long-time volunteer developer on MusicBrainz and the lead of AcousticBrainz. Between us, we represented seven countries and nine languages.
Talking around the table.

We managed to cover a lot of ground on serious topics including how to avoid data/MBID loss, how to version data, dealing with record labels, unresolved style issues and integrating the various Brainz projects a bit better. The official notes for the summit are stored in a public Google Docs document. Feel free to read through and contribute your own comments.

Our group has discussed releasing the translations of MusicBrainz for years — but this time we actually did it! It is now available in English, German, Dutch and French. At some point in the not-too-distant future we will also enable the translation of all of our documentation.

We also used this time together to talk about how and why MBIDs get lost and what we can do to prevent this. As part of this discussion, we decided to make more edits “autoedits” for all users. The goal is to have shorter queue of open edits (although there has been a significant drop in open edits since mid November) but also to avoid losing MBIDs once they have been generated. More in depth discussion of our reasoning and some of the community’s response can be seen in the server release blog post and its comments.

Most of our time was productive, but you cannot visit a city like Barcelona and not enjoy the surroundings. In addition to the more obvious local sights, we were introduced to an amazing gelato place within walking distance from our summit. It’s definitely worth a visit! A MusicBrainz summit would not be complete without copious amounts of chocolate. A huge thank you to our attendees for supplying Ritter Sport direct from the factory!

Finally, a big thank you to Google and Spotify for helping to fund this meeting. It would have been a lot harder to bring all these people together from around the world without their (continued, no less!) support. Here’s to 2016 and summit 16.

By Frederik “Freso” Sandberg, MetaBrainz Community Manager

Raising Sweet C++ Cane for Well-Dressed Animals

Wednesday, December 9, 2015

To celebrate the holiday season at Fun Propulsion Labs, we're trading our sushi mats and baking pans for candy canes and snowballs. Please join us for a special holiday-themed version of Pie Noon and Zooshi! Zooshi and Pie Noon are open source, cross-platform games built from a suite of libraries that eager C++ developers can use to build their own projects.

You can download and run Zooshi's Santa mode on Google Play and find the latest open source release on our GitHub page. The holiday version of Pie Noon is available on Google Play as Snowdown in Santa Tracker and on our GitHub page. Happy Holidays!

By Stewart Miles, Fun Propulsion Labs*

*Fun Propulsion Labs is a team within Google that's dedicated to advancing gaming on Android and other platforms.

Google Code-in: may the source be with you

Monday, December 7, 2015

For the sixth year running, starting today, teens from around the world will have the chance to learn and develop new CS skills by competing in Google Code-in (GCI). By working on real software projects—with help from mentors along the way—students just starting out with Computer Science can begin to investigate and discover the countless opportunities at their fingertips through code.

During the seven weeks of Google Code-in, pre-university students (ages 13-17) can browse hundreds of tasks created by 14 open source organizations. Students then get to choose the tasks they find most intriguing. A wide variety of skills and interests are required to make any software project work, so the tasks in Google Code-in are designed to reflect that diversity. Students can choose to work on projects across documentation, coding, training, research, quality assurance, user interface and outreach tasks.

The 14 organizations students can work with during the contest encompass many fields: health care for developing countries, learning activities for elementary students, desktop and portable computing, the encouragement of young women in computer science, game development, to operating systems used in satellites and robots.

Each task has at least one mentor assigned to it - not only to review the student’s work, but to help answer questions along the way. Each organization also offers beginner tasks that give students who are newer to open source development an easy and clear place to get started.

Another goal of the contest is to encourage students to find a coding community that they enjoy working with and hopefully become an active contributor for years to come.

Contest open screenshot.png

Over the last 5 years, over 2,200 students from 87 countries have successfully completed tasks by participating in Google Code-in. To celebrate CS Ed Week this year, please help us introduce even more young minds to open source software development through Google Code-in. To learn more about Google Code-in—including rules and FAQs—please visit the site and the Getting Started Guide.

By Stephanie Taylor, Open Source Programs

Google Summer of Code wrap-up: LabLua

Friday, December 4, 2015

LabLua is a lab at PUC-Rio dedicated to research on programming languages, with emphasis on the Lua programming language. Lua is a powerful, fast, lightweight, embeddable scripting language that is used in many industrial applications and on several embedded systems and games.

This was our second year in Google Summer of Code (GSoC) and we feel our six completed projects made for a very successful outcome. Five of our projects were selected from our Ideas List, and one was proposed by the student herself! It was great to not only see students contributing code to the project, but to witness their enthusiasm for project design as well. Below are some brief highlights of this year's projects:

Port Lua Test Suite to NetBSD Kernel (Guilherme Salazar)
The Lua interpreter was initially ported to the NetBSD kernel during GSoC 2010, allowing users to write kernel extensions using Lua scripts. During GSoC 2015, Guilherme worked on porting the Lua test suite to the NetBSD kernel. He adapted test scripts to eliminate dependencies on floating-point numbers and the operating system itself.

Guilherme also ported and reimplemented part of the Lua standard libraries (e.g., math and io) for satisfying test dependencies. Moreover, he found important bugs on the Lua kernel port.

Elasticsearch Lua client (elasticsearch-lua) (Dhaval Kapil)
Elasticsearch is a distributed and scalable search engine written in Java that, besides its native transport protocol (Java to Java), offers a very complete REST API accessed through JSON. Dhaval built elasticsearch-lua, an initial client for the Lua language following a model similar to other existing clients, such as the clients written in Python and PHP.

Dhaval had the freedom to decide how to model the object oriented API and how to build tests during development. With elasticsearch-lua, programmers can now access most Elasticsearch functionalities, such as index, read, update, delete and search documents.

Port an SDL-based C++ open source game to Céu (Alexander Tkachov)
Céu is a programming language that targets the development of reactive applications such as video games. It features first-class support for events and parallel compositions for lines of execution. For this project, we wanted to port an open source game of considerable size from C++ to Céu.

Alexander chose the game Pingus (a Lemmings-like game for Linux) with a codebase of around 40k lines of code. An important requirement of our project was to do a "live port" of the game, in which the game remained fully functional while portions of it were ported to Céu and the rest remained in C++. In this project, Alexander faced two main challenges: applying the Céu idioms to the new code and keeping the old C++ code working across the language boundaries. Even though the code base was too big for a 3-month period, Alexander was able to port around half of the game, including its core (i.e., the game levels).

Add support for WSDL generation to LuaSOAP (Victor Dias)
LuaSOAP is a library to ease the use of SOAP, the Simple Object Access Protocol. It provides a very simple API that converts Lua tables to and from XML documents. It offers two modules to help providing (server) and consuming (client) SOAP services.

Victor developed a module to help the generation of WSDL (Web Services Description Language) documents for the services implemented by the server. This new module traverses the service description (a Lua table, built by the programmer by hand, because Lua doesn't have this kind of information) and produces the WSDL description for it. This new module will be integrated into the next version of LuaSoap.

Design of TIER encoding and its implementation in Lua (Lukas Borin)
TIER is an experimental language-independent binary encoding format, designed by this project's mentor, similar in purpose to formats like XML, JSON and Google's Protocol Buffers. TIER is designed to optionally support self-describing encodings that include meta-information about the serial structure of the encoded data; this meta-information can be used to support dynamic verifications or automatic decoding.

Lukas improved TIER's design and also wrote the first implementation of a Lua library that provides support for TIER encodings. He also wrote TIER's basic documentation and some tutorials on its usage. The TIER library supports custom mappings of the various TIER serial structures to specific Lua values. On top of this custom mapping support, Lukas also developed some predefined mappings for usual Lua values and a framework to facilitate the creation of mappings for usual Lua structures, such as sequences, maps, sets, etc.

Improvements to the Sailor Web Framework (Etiene Dalcol)
Sailor is an MVC web framework for Lua. Its distinguishing feature is that it easily lets the programmer write Lua code for running both in the server and in the browser. It was created by Etiene Dalcol, and she submitted a project proposal to us with a series of planned improvements.

During GSoC 2015, she worked on three fronts for improving the framework: the first was a better test suite, the second was better documentation for the project, and the third was a series of improvements for the feature of running Lua code on the browser, with the possibility of having Lua code in the browser request new modules on demand from the server, and breaking the original dependency on also having node.js installed on the server.

All of the GSoC contributions are already committed to the Sailor project repository at Github, and the test suite is already part of Sailor 0.4, the latest public release of the project.

By Ana Lúcia de Moura, Adjunct Professor at PUC-Rio and LabLua Administrator


Google Summer of Code wrap-up: Drupal

Friday, November 20, 2015


Drupal is our featured Google Summer of Code organization this week. A long time Google Summer of Code and Google Code-in mentoring organization, they worked with 12 students last summer.
drupal_logo-blue.png
Hi, we're Drupal, a PHP-based content management system powering roughly 2% of all websites on the Internet and we participated in Google Summer of Code 2015 (GSoC) with a dozen projects! We have participated in 10 out of 11 years and this is no easy accomplishment. It is the dedication of each and every student who inspire us to volunteer our time year after year. Every GSoC excites us as we discover the next generation of programmers who will hopefully integrate themselves within our community.

Student work was focused on porting common modules to Drupal 8 (our newest version). Drupal 8 is a major change from a coding and systems architecture point of view, forcing students to resolve advanced logic issues on their own. Not only did students learn best practices of Drupal, but they adapted our new core technologies Symfony2 and Twig. Below is a list of our projects completed in GSoC 2015.

  • Shitiz Garg aka Dragoon: Hawk Authentication Integration for Drupal 8 - created a module to support HAWK, an HTTP authentication scheme using a message authentication code (MAC) algorithm to provide partial HTTP request cryptographic verification.

  • Lucian Hangea aka lhangea: Making Drupal smarter by learning from users’ behavior - provided a general framework to conduct experiments for advanced AI usages in Drupal by using a class of algorithms called multi-armed bandit algorithms which use reinforcement learning to display content variations based on user behavior.

  • Palash Vijay aka Palashvijay4O: Port Quick Tabs module to Drupal 8 - updated module to newest version providing an easy way to render tabs using Ajax as blocks of content.

  • Abhishek Kumar aka abhishek.kumar: Content Staging Solution for Drupal 8 - managed the transfer of content between sites based on CouchDB Replication Protocol in Drupal 8 with simple admin user interface plus command line options in Drush.

  • Sachini Herath aka sachini: Linked Data mapping tool for Drupal 8 and the Google Knowledge Graph - allows site builders to map their content to Freebase and WikiData from Drupal 8 with two options: 1. Map entity types such as nodes and taxonomy terms with Knowledge Graph. 2. Map content created using built-in WYSIWYG editor to Knowledge Graph.

  • Shivanshu Agrawal aka shivanshuag: Extending Site Audit and porting to Drupal 8 - updated an analysis platform that generates reports with actionable best practice recommendations in Drupal 8 plus implemented additional tests requested by top development agencies already familiar with the system who were surveyed by the student during proposal research.

  • Prateek Mehta aka prateekmehta: URL Embed Module for Drupal 8 - built a framework for CKEditor allowing users to display an embedded representation of a URL. Content of the URL can be video, images, rich text or a link.

  • Viktor Bán aka banviktor: Port Security Review to Drupal 8 - port new version of this module that helps site administrators automate testing for many of the easy-to-make mistakes that render your site insecure and create new tests to verify current best practices in security.

  • Alok Pandey aka zealfire: Port Print Module to Drupal 8 - update module to newest version utilizing APIs made available in Drupal 8 to make the architecture more stable and pre-processing of node's content into more robust printable formats.

Growth is critical to any community and we're proud that three of our 2014 students returned in 2015. In addition, student-alumni continue to become mentors after graduation and we're thrilled to see alumni-mentors returning annually who ultimately push this cycle of innovation forward. Most specifically, Drupal was lucky to find Chandan Singh aka cs_shadow who went from student to mentor and recently became our backup organization administrator. The system works!

A tip to mentoring organisations: utilize an org admin who does not mentor any specific project yet overlooks all projects with all students in a weekly check-in meeting. It was clear after the first and second weeks that our check-in meeting was effective. A few students needed a bit of guidance when it came to summarizing work and providing code to review (working with every student is a full time job in itself). However, by the end of summer students provided professional weekly reports that project managers in a real job would love to review. Plus students were able to share resources and peer review each other's work in meetings. Win win.

Thank you to Google for making all of this happen. It is exciting to watch this program grow and we're already planning for 2016. Learn more about contributing with us specifically at https://groups.drupal.org/google-summer-code or help us prepare for Google Code-in at https://groups.drupal.org/google-code-in.

By Matthew Lechleider, Drupal Org Admin

Hungering for Game Utilities?

Wednesday, November 18, 2015

At Fun Propulsion Labs we spend some of our time building sample games to help demonstrate how to make easy-to-build, performant, cross-platform games. With the growth of Google Cardboard, we got to work and over many long evenings, feeding our animal hunger on sushi, we came up with Zooshi. Zooshi is an open source, cross-platform game written in C++ which supports:
  • Android, Android TV, Windows, OSX, and Linux
  • Google Cardboard
  • Google Play Games Services sign-in and leaderboards on Android
  • Level customization
Zooshi serves as a demonstration of how to build Android games using a suite of newly released and updated open source game technologies from Google:
  • Motive drives our Animation system, giving life and movement to the characters and environment.
  • CORGI, the Component Oriented Reusable Game Interface, is an Entity-Component system designed to allow users to define complicated game objects as collections of modular, custom-defined behaviors.
  • FlatUI is a straightforward immediate mode GUI system with a light footprint that makes building up user interfaces a breeze.
  • Scene Lab allows designers to design levels and edit entities from right in the game without needing to use an external editor.
  • Breadboard provides an easy to use node based scripting system for editing entity behaviors that's accessible to designers without deep knowledge of programming.
  • FPLBase is a cross-platform API layer, for abstracting low-level tasks like reading input and creation of graphical contexts.
As in our previous release, PieNoon, we also made extensive use of Flatbuffers, Mathfu, fplutil, and WebP.

You can download the game in the Play Store and the latest open source release from our GitHub page. We invite you to learn from the code to see how you can apply these libraries and utilities in your own Android games. Take advantage of our discussion list if you have any questions, and don’t forget to toss some sushi around while you’re at it!

Posted by Alex Ames, Fun Propulsion Labs*

* Fun Propulsion Labs is a team within Google that's dedicated to advancing gaming on Android and other platforms.

New open source tools to import mail to Gmail

Tuesday, November 17, 2015

We have two new open-source projects to help people import their existing email into Gmail using the Gmail API: mail-importer and import-mailbox-to-gmail.


Do you have an old Thunderbird mail archive that you downloaded from an old email account? Do you want to move those old messages to Gmail so that you can use the Gmail app on your phone and still have access to everything? Then maybe mail-importer is for you! The project aims to make it easy for users to import mailbox files from their computer to Gmail. The project is in early development and only has command-line support right now.


Or maybe you are a Google Apps administrator trying to import all of your users’ old mbox files into Google Apps for Work? Then import-mailbox-to-gmail is probably what you’re looking for. It is a Python script that will do bulk imports of multiple mailboxes into multiple accounts in a domain. It's admin-managed, so your users won't have to individually import their archives. To migrate from other types of archives or mail servers to Google Apps, see the Help Center.


For developers, import-mailbox-to-gmail can be used as an example of how to perform domain-wide delegation for the Gmail API. mail-importer shows how to use batching and retries to efficiently query the Gmail API.


Interested? Want to contribute? Fork the projects on GitHub, send us pull requests, file issues and share your tricks on the wiki for each of the projects. See the CONTRIBUTING files for more details.

By Ian Flanigan, Software Engineer, Gmail and Liron Newman, Technical Solutions Engineer, Google for Work

Introducing the Google Code-in 2015 Mentoring Organizations

Friday, November 13, 2015

Today we are happy to announce the 14 open source organizations that are participating as mentoring organizations for Google Code-in 2015! The contest, entering its sixth year, introduces 13-17 year old pre-university students to open source software development, giving them the opportunity to take the skills they have been learning in the classroom and apply them to a real open source software project. Experienced mentors are available to help the students if they have questions while working on each task.


Google Code-in officially starts for students on December 7, but before the contest begins, students can learn more about each of the mentoring organizations by clicking on the links below.
  • GCI vertical. 1142x994dp.png
    Apertium - rule-based machine translation platform
  • Copyleft Games Group - building game development platforms for tomorrow
  • Drupal -  content management platform
  • FOSSASIA - developing communities across all ages and borders to form a better future with Open Technologies and ICT
  • Haiku - operating system specifically targeting personal computing
  • KDE -  team that creates Free Software for desktop and portable computing
  • MetaBrainz - builds community maintained databases
  • OpenMRS - open source medical records system for the world
  • RTEMS - operating system used in satellites, particle accelerators, robots, racing motorcycles, medical devices and more
  • SCoRe - research lab that seeks sustainable solutions for problems faced by developing countries
  • Sugar Labs -  learning platform and activities for elementary education
  • Systers -  community for women involved in the technical aspects of computing
  • Ubuntu - open source operating system
  • Wikimedia Foundation - non-profit foundation dedicated to bringing free content to the world, operating Wikipedia


The mentoring organizations are currently busy creating hundreds of coding, documentation, user interface, quality assurance, outreach, research, and training tasks. The contest officially starts for students on Monday, December 7th at 9:00 PST.

For important contest information please check out the contest site for Contest Rules, Frequently Asked Questions and Important Dates. You can also find flyers and other helpful information including the new Getting Started Guide on the contest site. Join our announcement and discussion lists to talk with other students, mentors and organization administrators about the contest. For questions about eligibility or other general questions, you can contact us at [email protected].

By Stephanie Taylor, Open Source Programs
.