Skip to content

Instantly share code, notes, and snippets.

View mrkn's full-sized avatar
:octocat:

Kenta Murata mrkn

:octocat:
View GitHub Profile

Rubyアソシエーション開発助成金2025 メンター報告書

  • プロジェクト:pure Ruby Apache Arrow実装の開発
  • 応募者:株式会社クリアコード
  • メンター:村田賢太

プロジェクト概要

本プロジェクトは、[Apache Arrow][apache_arrow] の読み書きに特化した pure Ruby 実装を整備するものである。Apache Arrow は、大きな表形式データを低コストで交換し、高速に処理するための共通フォーマットとして広く利用されており、言語やツールをまたいだデータ連携の基盤として普及している。Ruby でも Apache Arrow を利用できるが、既存の主要な手段は C++ や Rust 実装のバインディングに依存している。これらは高機能かつ高性能である反面、インストールや依存解決の負担が比較的大きいという課題があった。応募者はこの状況を踏まえ、高速なデータ処理機能そのものではなく、Apache Arrow データのシリアライズ・デシリアライズに対象を絞り、pure Ruby による軽量な実装を提供することを本プロジェクトの主眼として設定した。

@mrkn
mrkn / zshrc_useful.sh
Created December 25, 2021 03:09 — forked from mollifier/zshrc_useful.sh
少し凝った zshrc
# 少し凝った zshrc
# License : MIT
# http://mollifier.mit-license.org/
########################################
# 環境変数
export LANG=ja_JP.UTF-8
# 色を使用出来るようにする
This file has been truncated, but you can view the full file.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ /usr/src/ruby/configure --build=x86_64-linux-gnu --prefix=/usr/local --disable-install-doc --enable-shared optflags=-O3
## --------- ##
Process: alacritty [90052]
Path: /Applications/Alacritty.app/Contents/MacOS/alacritty
Identifier: io.alacritty
Version: 0.4.3-rc1 (1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: alacritty [90052]
User ID: 501
Date/Time: 2020-06-01 12:05:01.009 +0900
$ brew install --verbose libgr
/usr/bin/sandbox-exec -f /private/tmp/homebrew20200131-84978-1r09280.sb nice ruby -W0 -I $LOAD_PATH -- /opt/brew/Library/Homebrew/build.rb /opt/brew/Library/Taps/homebrew/homebrew-core/Formula/libgr.rb --verbose
==> Downloading https://github.com/sciapp/gr/archive/v0.46.0.tar.gz
Already downloaded: /Users/mrkn/Library/Caches/Homebrew/downloads/4f2bd12846615a5586088e085b5acb3779ef4b768d38626c4011353539be62d6--gr-0.46.0.tar.gz
==> Verifying 4f2bd12846615a5586088e085b5acb3779ef4b768d38626c4011353539be62d6--gr-0.46.0.tar.gz checksum
tar xof /Users/mrkn/Library/Caches/Homebrew/downloads/4f2bd12846615a5586088e085b5acb3779ef4b768d38626c4011353539be62d6--gr-0.46.0.tar.gz -C /private/tmp/d20200131-84979-1egd1kd
cp -pR /private/tmp/d20200131-84979-1egd1kd/gr-0.46.0/. /private/tmp/libgr-20200131-84979-16b2yni/gr-0.46.0
chmod -Rf +w /private/tmp/d20200131-84979-1egd1kd
==> make GRDIR=/opt/brew/Cellar/libgr/0.46.0
/Applications/Xcode_11.3.app/Contents/Developer/usr/bin/make -C lib/gks GRDIR=
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mrkn
mrkn / lambda_function.rb
Created August 24, 2019 03:17
The lambda function of daily_prime_check
require 'json'
require 'prime'
require 'net/http'
require 'uri'
SLACK_URL = 'https://hooks.slack.com/services/....'
def post_to_slack(url, message)
uri = URI.parse(url)
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https') do |http|
git log --pretty=format:'%ct %h %cn' | \
sort -n | \
ruby -e "gets;c={};while line = gets;t, _, n = line.chomp.split(' ');puts %Q(#{c[n] = n} #{Time.at(t.to_i).strftime('%Y%m%dT%H%M%S')}) unless c[n];end"