2014 Grant Accomplishment Report

The following three projects have been completed, and their deliverables have been accepted by the grant committee.

The summary of their final reports is as follows:


 

The Mikon Project

Naoki Nishida
# The Mikon Project
## Naoki Nishida

The Mikon Project provides an useful interface to tools for data analysis like Statsample and ones for visualization like Nyaplot.

The summary of works during the grant period is shown as below:

* New DataFrame gem Mikon has become available
* Bidirectional communication between IRuby kernel and JavaScript front-end has been implemented
* Plotting library Nyaplot has been totally re-designed and the interactive analysis with GUI on IRuby is now available

# Project websites

* [Mikon](https://github.com/domitry/mikon)
* [Nyaplot](https://github.com/domitry/nyaplot)
* [IRuby](https://github.com/SciRuby/iruby)
* [Double Pendulum Simulator on IRuby notebook](https://github.com/domitry/double_pendulum)

# Examples

* [Demo of Mikon #1](http://nbviewer.ipython.org/urls/dl.dropboxusercontent.com/u/47978121/gsoc/Mikon_Manipuration.ipynb)
* [Demo of Mikon #2](http://nbviewer.ipython.org/urls/dl.dropboxusercontent.com/u/47978121/gsoc/Mikon_stats.ipynb)
* [Demo of Mikon #3](http://nbviewer.ipython.org/urls/dl.dropboxusercontent.com/u/47978121/gsoc/Plotting.ipynb)
* [Demo of IRuby::Widget](http://nbviewer.ipython.org/github/domitry/double_pendulum/blob/master/examples/double_pendulum.ipynb)
* [Movie on YouTube](https://www.youtube.com/watch?v=iNKaYDzMOpE)

# Installation
[The Docker image that contains all products of the project is available on DockerHub](https://registry.hub.docker.com/u/domitry/sciruby-docker/).

To install Mikon into your environment, install NMatrix at first and then run `gem install mikon`.
The installation method of NMatrix is [available on GitHub wiki](https://github.com/SciRuby/nmatrix/wiki).

The newest version of Nyaplot is v0.2.0.rc1, so run `gem install nyaplot --pre` to try out new features.


Full Final Report

The full version of Nishida's final report


 

Threading Support for Byebug

Deivid Rodriguez

"Byebug's thread debugging support allow users to debug multithreaded programs: switching between threads, pausing and resuming specific threads, listing active threads and so on. It can be a good "deadlock debugging" tool but also a nice tool for a first approach to concurrency and multithreaded programs. Finally, the feature also fixes previous bugs when debugging code dependent on certain libraries making use of threads."

 

Full Final Report

The full version of the Deivid's final report


 

RuJIT : a trace-based Just In Time compiler for CRuby

Masahiro Ide

The RuJIT is a trace-based just-in-time (JIT) compiler for CRuby. In this project, we provide RuJIT for high-speed execution of Ruby programs. We will implement the optimization technique for the Ruby language (e.g. block inlining). In addition, we will improve quality RuJIT code for practical use and compatibility.

 

The full version of Ide's final report