Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@domitry
domitry / nya.ipynb
Last active December 15, 2015 17:36
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@domitry
domitry / hoge.ipynb
Last active December 14, 2015 15:27
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@domitry
domitry / blog.md
Last active February 5, 2019 08:10

Google Summer of Code やろう

はじめに

この記事はOUCC Advent Calendar 2015のために書かれたものです.

先日OUCCのデキそうな後輩にGSoCとか興味ない?と聞いたところつらそうなイメージがあるからいいです(要約)と言われてしまい, 苦労話をしすぎたかなとちょっとショックだったのでそんなに辛くないよむしろ楽しいよ!というノリで書いていく.

他の参加者に話を聞くと僕が参加したプロジェクトはかなり特殊なやり方をしていたようなので, より一般的な話はしゅうう先生の以下の記事などを参考にすることを推奨する.

学生諸君、Google Summer of Code 2013に参加して50万円貰ってオープンソースソフトウェアのコミッターになろう - かーねる・う゛いえむにっき

@domitry
domitry / index.html
Created December 4, 2015 15:05
to_png
<html>
<head>
<title>Line with Nyaplotjs</title>
<script src='https://cdn.rawgit.com/domitry/Nyaplotjs/1d2e51d061312c82e8db7ff7a04ee85fdc4ef2c0/release/nyaplot.min.js'></script>
<script>
var xarr=[], yarr1=[], yarr2=[], N=500, curry1=0.0, curry2=0.0;
for(var i=0;i < N;i++){
xarr.push(i);

Line: Nyaplotjs v2

Scatter: Nyaplotjs v2

var obj={a: 2, b: 3};
function get(key){
if(Array.isArray(key))return key.map(get);
return obj[key];
}
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <GL/glut.h>
#include "image.h"
#define PI 3.1415926
#define P(x,y) x+y*WD
void dft(double *A, double *re, double *im){