Skip to content

Instantly share code, notes, and snippets.

View prayash's full-sized avatar
🤓

Prayash Thapa prayash

🤓
View GitHub Profile
@alexanderlerch
alexanderlerch / data-sets.md
Last active October 21, 2025 18:39
list of MIR datasets
dataset meta data contents with audio
200DrumMachines 7371 one-shots yes
AAM onsets, pitches, instruments, melody instrument, keys, chords, tempo, beats 3000 (artificial) tracks yes
ACM_MIRUM tempo 1410 excerpts (60s) yes
ACPAS aligned audio and scores 2189 performances of 497 scores downloadable
AcousticBrainz-Genre 15-31 genres with 265-745 subgenres audio features for ove

About

Interpolating between things using lerp.

function lerp (start, end, t) {
  return start * (1 - t) + end * t;
}
//elementsX are lists of particles
allelements.map(_.reset) // reset physics
//pull the heads of chains ahead
(new Element(rng,new Vec2(500*f2*cos(a*a)*sin(a),500*f2*sin(a)),0)).pull(elements(0),3)
(new Element(rng,new Vec2(500*f2*cos(-a*a+PI)*sin(-a+PI),500*f2*sin(-a+PI)),0)).pull(elements2(0),3)
(new Element(rng,new Vec2(500*f2*cos(a*a+PI)*sin(a+PI),500*f2*sin(a+PI)),0)).pull(elements3(0),3)
(new Element(rng,new Vec2(500*f2*cos(-a*a)*sin(-a),500*f2*sin(-a)),0)).pull(elements4(0),3)
List(elements, elements2, elements3, elements4).map(elementsl => {
val others:ArrayBuffer[Element] = elements ++ elements2 ++elements3 ++ elements4 -- elementsl
for(i <- 0 until elementsl.size) {
@lattner
lattner / TaskConcurrencyManifesto.md
Last active November 1, 2025 15:52
Swift Concurrency Manifesto

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?

@idiomatic
idiomatic / wwdc.sh
Last active April 10, 2022 03:52
Fetch WWDC videos, slides, and sample code.
#!/bin/bash
# usage: get [ RESOLUTION [ YEAR [ IDS... ] ] ]
resolution=${1:-SD}
year=${2:-2015}
shift
shift
ids=$*
RESOLUTION=$(echo $resolution | tr '[:lower:]' '[:upper:]')
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active November 3, 2025 14:50
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\