Skip to content

Instantly share code, notes, and snippets.

View auroranockert's full-sized avatar

Aurora Nockert auroranockert

View GitHub Profile
http://sites.google.com/site/tripleawarclub/tripleawarmaps.xml
http://sites.google.com/site/tripleaerniebommel/home/mods/triplea_games.xml
float sample_delta(sampler src, float x, float y) {
return 1.0 - sample(src, samplerCoord(src) + vec2(x, y)).r;
}
float fun_a(float p2, float p3, float p4, float p5, float p6, float p7, float p8, float p9) {
float b1 = step(0.5, p3 - p2);
float b2 = step(0.5, p4 - p3);
float b3 = step(0.5, p5 - p4);
float b4 = step(0.5, p6 - p5);
float b5 = step(0.5, p7 - p6);
% sunspot_fftd
%
% This function trains a focused time-delay network for the sunspot data.
%
% May 2010, Mattias Ohlsson
% Email: mattias@thep.lu.se
% Clear all things
clear all;
close all;
% syn_sofm
%
% This function implements a Kohonen SOFM for clustering of a synthetic data
% set of 6 Gaussien distributions.
%
% March 2010, Mattias Ohlsson
% Email: mattias@thep.lu.se
% Clear
clear all;
two_sum = (a, b) ->
s = a + b; d = s - a
return [s, (a - (s - d)) + (b - d)]
two_diff = (a, b) ->
s = a - b; d = s - a
return [s, (a - (s - d)) - (b + d)]
readBig: (bits) ->
a = (@data[@offset + 0] * Math.pow(2, 32)) +
(@data[@offset + 1] * Math.pow(2, 24)) +
(@data[@offset + 2] * Math.pow(2, 16)) +
(@data[@offset + 3] * Math.pow(2, 8)) +
(@data[@offset + 4] * Math.pow(2, 0))
a = (a % Math.pow(2, 40 - @pos))
a = (a / Math.pow(2, 40 - @pos - bits))
class HTTPSource
constructor: (@name) ->
@chunkSize = 1 * 1024 * 1024
@outputs = {}
this.reset()
start: () ->
@status = "Started"

Nightcore

I discovered Nightcore in the deeper ends of Youtube the other day, a fascinating sub-genre of trance that seems to be mostly based on and around Youtube, and where the defining quality of the genre seems to be remixes of popular songs with an increased pitch and tempo.

`Monster' by Skillet

While every Nightcore song seem to contain stills of Japanese anime, Vocaloids or similar, almost all songs are western, and it being based on Youtube also implies that it is a phenomenon mainly based in the US or Europe. If I had to make a more precise guess, I would guess that the epicenter of the phenomenon is in the US, mostly since I find relatively few remixes of very European music, and with the obvious exceptions, relatively few Nightcore remixes in languages other than English.

`Nyan Nyan' from Macross Frontier

Your browser fingerprint appears to be unique among the 2,127,345 tested so far.
Currently, we estimate that your browser has a fingerprint that conveys at least 21.02 bits of identifying information.
The measurements we used to obtain this result are listed below. You can read more about our methodology, statistical results, and some defenses against fingerprinting in this article.
Help us increase our sample size: …
@auroranockert
auroranockert / gist:2345303
Created April 9, 2012 18:34
Hydrazine ISA
Hydrazine ISA
Hydrazine is a register-less, three-operand virtual machine for browsers.
All instructions are available in SIMD widths of 1, 2, 4, 8, 16 and 32.
Operands are passed as a typed array view and an index into that array, all operands need to be of the same type (unless noted) and need to have natural alignment (but needs at most 16 byte alignment, since that is what AVX needs).
Immediates are converted to the type of the other operands.
Datatypes
Int{8,16,32,64}