Skip to content

Instantly share code, notes, and snippets.

View tfidfwastaken's full-sized avatar
🤌

Atharva Raykar tfidfwastaken

🤌
View GitHub Profile
@tfidfwastaken
tfidfwastaken / clojure.md
Created December 10, 2023 18:14
clojure
image image
@tfidfwastaken
tfidfwastaken / apl.md
Last active November 1, 2023 05:58
A Pattern Language

image

image

image

-- Complex Query used in "Enhancing Cache Reuse in Gandiva with Literal Parameterization"
SELECT alpha_key_code from data
where
(case
when alpha_key_code > ? then alpha_key_code/? + ?
when alpha_key_code < ? then iota_key_code/? + ?
when alpha_key_code < ? then alpha_key_code/? +
(case
when alpha_key_code < ? then alpha_key_code/? + ?
@tfidfwastaken
tfidfwastaken / coroutines.rkt
Last active December 9, 2022 10:10
Back-of-the-envelope cooperative threading library in Racket
#lang racket
;;; adapted from: https://youtu.be/BAMtstt3Jp8?t=1466
(define threads '())
(define (extend lst item)
(append lst (list item)))
(define (spawn func)
@tfidfwastaken
tfidfwastaken / preview-markdown-script.rkt
Last active July 30, 2020 09:48
Previews the markdown text in DrRacket definitions editor in a web browser
#lang racket/base
(require racket/gui/base
racket/class
racket/path
net/sendurl
markdown
quickscript)
(define-script render-markdown
@tfidfwastaken
tfidfwastaken / coc.md
Last active July 18, 2020 09:40
TOSS: Code of Conduct

TOSS Code of Conduct

Our Pledge

We as members pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.