Skip to content

Instantly share code, notes, and snippets.

@Akrabut
Akrabut / GSoC2019.md
Last active July 27, 2021 11:49
Google Summer of Code 2019 Summary (Ruby Language)

Summer of Code

Ruby Bundler and gem metrics, statistics, and analytics

Goals and Achievements

Project Goal

To have Bundler report anonymous usage metrics over HTTP to rubygems.org when a heavy command is run (to avoid deteriorating the runtime), and to have a backend API endpoint in rubygems.org to instrument it.

Did we achieve the goal?

Basically, yes. The actual implementation changed a little bit, and we decided to only instrument the low cardinality metrics using Datadog, as the free Datadog version limits value cardinality and wouldn't work with, for example, time related metrics.

@jewelsea
jewelsea / Main.java
Last active March 13, 2024 22:49
Small JavaFX framework for swapping in and out child panes in a main FXML container. Code is for Java 8+.
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;
import java.io.IOException;
/**
* Main application class.