Google Summer of Code 2016

From KolibriOS wiki
Jump to navigation Jump to search

Introduction

KolibriOS is going to apply as a mentoring organization for Google Summer of Code 2016. This page contains our ideas list and some additional information for students and mentors.

We have previously participated as a Mentoring Organization in Google Summer of Code 2014. The ideas page for 2014 is available for your reference. Our organization page for GSoC 2014 and successfully completed projects for that year can be accessed via this link. To our great delight, both successful students of GSoC2014 stayed with the project and continue contributing to KolibriOS voluntarily in their spare time.

In 2013, we have run an independent Summer of Code using money we collected with Kickstarter. Two students have worked on KolibriOS, and the results of 2013 Summer of Code were: adding write support for EXT2 filesystem, and adding (read-only) support for XFS filesystem.

Student Requirements

Prospective students are required to register on our developers forum, join the developers chat and submit a small bugfix / improvement to our SVN in order for their application to be considered. Examples of such tasks can be obtained by asking on developers chat or on our IRC channel (#kolibrios @ irc.freenode.net). This requirement is only to show us that you are able to work with our SVN and interact with our developers if you are selected. This task has to be completed before student application deadline (25 March 19:00 UTC).

In addition, students need to answer the following questions when applying:

  1. Full Name (First + Last Name).
  2. E-mail address.
  3. Phone (home or mobile).
  4. Another phone for emergency cases (if we cannot contact you) - parents, boy/girlfriend, husband/wife etc.
  5. Nickname you plan to use on our forums, SVN repository or IRC chat.
  6. Age.
  7. Country + city of residence.
  8. Human languages you speak (state all languages and knowledge level - basic/intermediate/expert/mother tongue).
  9. Name of college or university you are accepted into or enrolled in + link to their website.
  10. Name of program (or faculty, or department) in that college/university you are accepted into or enrolled in.
  11. Your current timezone in UTC/GMT terms (for example, Paris is UTC/GMT +1 hours right now).
  12. Have you been involved with any open-source project in the past? If yes, which one, and what have you done for that project?
  13. Code samples - please provide links to code that you have written. It can be your high school project, contribution to open-source organization, your college/university task or anything like that.
  14. The task you are willing to work on from our list of Summer of Code 2016 ideas (or suggest your own idea, if you don't like any of the proposed ideas). Please provide an approximate work plan for your task split to 1-week intervals, as well as expected outcome of your work. This point should be detailed as much as possible, as your application would be evaluated mainly based on what you write here. You are welcome (and even encouraged!) to collaborate with potential mentors on this paragraph.
  15. What other time commitments, such as school work, university studies, another job, planned vacation, etc., will you have between May 23 and August 23 (coding period)? Please be as specific as possible. Bear in mind that GSoC is like a full-time job, so if you consider taking a summer semester at the university (with more than 1-2 courses), or intend to perform an internship or work elsewhere during the summer in addition to GSoC, you will likely be NOT accepted.

Organization

You can find the organizers on the IRC channel (#kolibrios @ irc.freenode.net) or at our forum: http://board.kolibrios.org/

Name Nickname Role
Dmitriy Smirnov Pathoswithin Administrator for GSoC, mentor
Jeffrey Amelynck hidnplayr Mentor, backup administrator
Kiril Lipatov Leency Mentor
Ashish Gupta ashmew2 Mentor

We have discussed "Google Summer of Code 2016" application with all active members of the KolibriOS Project Team, and selected only those 3 (three) people who have both the knowledge, the dedication, and the time to help their students during the entire summer. Each one of them was assigned to mentor projects in his area of specialization only. In a rare event when a Mentor from the above list cannot continue mentoring his student(s) due to personal circumstances, we will try to find a replacement Mentor, or ask the remaining Mentors to cover for the missing one. Additionally, there is always a number of knowledgeable members of our team hanging around our forum chat, and they will gladly answer any student questions that may arise, even if they haven't volunteered as Mentors themselves.

Most Mentors selected for this year are the same that were originally proposed for last year, and they have already proved to be responsible, helpful and knowledgeable during GSoC2014.

Ideas for Google Summer of Code 2016

The below list contains ideas suggested by KolibriOS team members. It is neither complete nor final.
Students are welcome (and even encouraged) to suggest their own ideas for GSoC, provided they can find a mentor amongst KolibriOS developers to guide them.

Sortable list of ideas for easy navigation

Idea Name Area Required Skill Level Importance for KolibriOS Programming Language Mentor
XDXF dictionary Application Basic Low Assembler(FASM) Pathoswithin
CPUID tool Application Beginner Low Assembler(FASM) Pathoswithin
FTP client Application Basic Medium Assembler(FASM) hidnplayr
Torrent client Application Advanced High Assembler(FASM)/C/C++ hidnplayr
XMPP/Jabber client Application Intermediate Medium Assembler(FASM) hidnplayr
Music player Application Advanced Medium Assembler(FASM)/C/C++ hidnplayr
Web browser Application Intermediate High Sphinx C-- Leency
Ethernet driver(s) Driver Advanced High Assembler(FASM) hidnplayr
SD Host Controller driver Driver Advanced Low Assembler(FASM) Pathoswithin
USB device drivers Driver Expert High Assembler(FASM) hidnplayr
Filesystem support Driver Expert High Assembler(FASM) Pathoswithin
Wi-Fi Driver Expert High Assembler(FASM) hidnplayr
Widget toolkit System wide task Intermediate High Assembler(FASM) Pathoswithin
QR-code in boot log Kernel/Library Basic Medium Assembler(FASM) Pathoswithin
C layer for KolibriOS Library Intermediate Medium C Ashmew2
Virtualbox support for KolibriOS Library Advanced Medium C Ashmew2

Explanation of required skill level:

  • Beginner: No knowledge at all of the topic,
  • Basic: A very basic knowledge of the topic but no professional usage,
  • Intermediate: A basic knowledge of the topic but no regular professional usage,
  • Advanced: A good knowledge of the topic and a regular professional usage,
  • Expert: a perfect knowledge of the topic and a daily professional usage.

Explanation of importance for the project:

  • Low: For sure it doesn't hurt to implement, but if nobody does it, no one will even notice.
  • Medium: Nice-to-have feature. Will improve everyday life of users and developers.
  • High: This feature is needed for the project to start being adopted by masses.

Applications

These are userspace tasks. They often require only basic knowledge of algorithms and data structures.
No specific experience is required but welcome.

XDXF dictionary

Summary: Write dictionary application with support of XDXF (XML Dictionary eXchange Format)

Details:

  • Primary goal: Write library and corresponding dictionary application
  • Additional goal: Support of other dictioinary formats
  • Language: Assembler/FASM
  • Skill level: basic
  • Importance: low
  • Mentor: Pathoswithin
  • Links: fasm xml library, XDXF format


CPUID tool

Summary: Update existing CPUID application to be aware of new CPUs and their features

Details:

  • Primary goal: Write code to detect and report new CPUs and features + size detection for caches
  • Additional goal: Refactor code as to use system libraries (libimg, box_lib, etc.)
  • Language: Assembler/FASM
  • Skill level: beginner/intermediate
  • Importance: low
  • Mentor: Pathoswithin / Wildwest
  • Links: CPUID program, Intel cpuid, AMD cpuid


FTP client

Summary: Create a GUI based FTP client or add FTP support to one of the existing file managers

Details:


Torrent client

Summary: Write a (bit-)torrent client for KolibriOS, or port an existing one

Details:

  • Primary goal: Implement a torrent client similar to µTorrent Free edition
  • Alternative goal (less preferred, but still possible): Port an existing torrent client to KolibriOS
  • Language: Assembler/FASM
  • Skill level: intermediate/advanced
  • Importance: High
  • Mentor: hidnplayr
  • Links: Information about the protocol


XMPP/Jabber client

Summary: Write a XMPP/Jabber library and client for KolibriOS

Details:


Music player

Summary: Improve the current music player in Kolibri

Details:

  • Primary goal: Rewrite the current music player (ac97snd), in FASM, and improve its functionality
  • Support for file formats wav, mp3 and xm (using available external libraries)
  • Support for playlists (m3u)
  • A time display
  • Additional goal:
  • Use of system wide hotkeys to control player
  • Support for metadata (ID3, ...)
  • More codecs (flac, vorbis, ...)
  • Audio indication (oscillograph, bar graph, ...)
  • Show cover art from files or album folder
  • Fade in/out and/or crossover
  • Streaming radio (at least mp3 over http stream)
  • Skins
  • Media library


Web browser

Summary: Improve existing text-only web browser Aelia (ex WebView) - add more functionality and compatibility

Details:

  • Primary goal: Have mostly complete HTML4 support on a good enough level to read non-complex (mobile?) websites
  • Secondary goal: Add certain elements of CSS, speed optimizations
  • Language: Sphinx C--. May require writing a few lines in FASM though
  • Skill level: intermediate/advanced
  • Importance: High
  • Mentors: Leency

Links:


Drivers

Writing drivers is about supporting new hardware and filesystems.
Knowledge of specifications and previous experience are not required but surely desirable.

Ethernet driver(s)

Summary: Write an Ethernet driver

Details:


SD Host Controller

Summary: Add support for SD Host Controller

Details:

  • Primary goal: Write driver for particular controller
  • Additional goal: Test and update driver to work for all controllers
  • Language: Assembler/FASM
  • Skill level: intermediate/advanced
  • Importance: Low
  • Mentor: Pathoswithin
  • Links: SD specifications

USB devices

Summary: Add USB drivers for the new USB stack (webcams, gamepads, joysticks, tablets, etc.)

Details:

  • Primary goal: Write USB driver for currently unsupported device (you should have one)
  • Additional goal: Adopt code to work with all devices of the same class
  • Language: Assembler/FASM
  • Skill level: Expert
  • Importance: High
  • Mentor: hidnplayr
  • Links: USB device classes


Filesystem support

Summary: Improve filesystem support in KolibriOS

Details:

  • Primary goal: Update/fix read-write support for ext2/3/4 filesystems (partially done)
  • Additional goal: Any improvement of filesystem support in KolibriOS
  • Language: Assembler/FASM
  • Skill level: intermediate/advanced
  • Importance: High
  • Mentor: Pathoswithin
  • Links: Filesystems in KolibriOS


Wi-Fi

Summary: Add Wi-Fi support to KolibriOS.

Details:

  • Description: Write or port a Wi-Fi driver for KolibriOS, implement the ability to set a wireless connection.
  • Language: Assembler/FASM
  • Skill level: Expert
  • Importance: High
  • Mentor: hidnplayr
  • Links: Comparison of open source wifi drivers


System wide tasks

These tasks comprise both user space and kernel space work. Some developers consider them as of most importance for KolibriOS.
Architecture and algorithm design skills are highly desirable.

Widget toolkit

Summary: Extend Box_lib (a set of separate widgets) to create a full-featured widget toolkit

Details:

  • Primary goal: Design architecture and implement focus handling, callbacks and other core ideas
  • Additional goal: Integrate box_lib widgets to this framework
  • Language: Assembler/FASM
  • Skill level: beginner/intermediate/advanced
  • Importance: High
  • Mentor: Pathoswithin
  • Links: basic idea, list of toolkits


QR-code in boot log

Summary: Add a QR-code (containing the debug log) at the end of boot process

QR-code.png

Details:

  • Description: Sometimes KolibriOS cannot boot on a certain hardware configuration (gets stuck during or after boot process). In such cases, we request the user having this problem to enable debug log at boot time, take a photo of the screen and show it to us (in the forum). However, sometimes taking a good quality photo can be quite challenging (bad camera, shaking hands etc.) and the attached photo is so blurry to the point the debug log cannot be even read. The idea suggested hereby is to simultaneously encode the debug log which is outputted on the screen, to the form of QR-code, and show the resulting QR-code on empty space on the screen. In such way, any user possessing a smartphone with a camera and QR-code scanner, could scan the QR-code and submit the encoded text directly on our forums (without having a need to take a photo), and our developers, in turn, would get the debug log text immediately and won't have to unscramble a blurry photo.
  • Language: Assembler/FASM
  • Skill level: beginner/intermediate
  • Mentor: Pathoswithin


C layer for KolibriOS

Summary: Building a C layer for KolibriOS, so that we can get more developers and port more code to KolibriOS more easily.

Details:

  • Description: As a lot of software out there is available in C and useful for KolibriOS, building an ecosystem around C and FASM is required. Some work towards a cross compiler has already been done. Since KolibriOS is neither Linux, nor Windows..it is challenging to port software. In order to automate this, we need to port existing libraries and figure out a way to automate/streamline this process. The best part about this is that you get to mix C and FASM in unprecedented ways and learn along the way. The end result should be as easy as writing a Makefile and calling the cross compiler which creates a binary for Kolibri OS. The eventual aim is to have libraries in C available for KolibriOS which let you use the same ASM procedures in C code. Some work on this has already been done. Get in touch to know more!

Example:

   #include<kolibri.h>
   int main()
    { 
    kolibri_window("Hi!");
    return 0;
    }
  • Language(s):
  • C - Required
  • FASM <Not a strict requirement, but is desirable>
  • GNU Autotools (Easy to pick up, safe to assume optional).
  • Skill level: intermediate, bonus points for the ability in designing a clean approach to achieve this.
  • Mentor: ashmew2


Virtualbox support for KolibriOS

Summary: Building Virtualbox support for KolibriOS so that it is easier to use in a virtual machine.

Details:

  • Description: Create a set of tools which let KolibriOS seamlessly interface with a host running Kolibri via VirtualBox. Develop parts required, especially shared folders, which resemble Guest Additions. (For a Linux based Host running KolibriOS as Guest.)
  • Language(s):
  • C - Virtualbox Source code
  • FASM - To understand the source code of KolibriOS better and prepare interfaces with Guest additions.
  • Skill level: Advanced, ability to understand a larger source code base and contribute to it are very desirable!
  • Mentor: ashmew2

Rough Guide for Prospective Students

  • As the kernel is written in FASM, ability to write and understand i386-assembly code is very useful.
  • C is also a plus as some applications/libraries and components are written in C. Also, C is useful to interface with assembly at times.
  • Familiarity with the GNu landscape like Autotools, GCC etc are also a plus to have (especially for porting software)
  • The desire to take challenging problems and solve them is also required as several parts of the code base require thought for design and implementation. (The mentors can help you with that :) )
  • Hanging out on Freenode's #kolibriOS , and our Chat (accessible through kolibrios.org -> Forum -> Chat) are where developers mostly hang out.
  • Languages used for communication are Russian and English (although most developers are bilingual, and you can always ask someone for help)
  • Get in touch with other developers via IRC / Chat / Forums and enjoy your stay!