Skip to content

Instantly share code, notes, and snippets.

@divs1210
divs1210 / primes.js
Created July 18, 2024 06:37
Memoized first N primes in JS
const any = (arr, f) => {
for (const x of arr) {
if (f(x))
return true;
}
return false;
}
const KNOWN_PRIMES = [2];
const primes = (n) => {
@divs1210
divs1210 / ccAndEval.js
Last active September 27, 2024 08:31
Simple Evaluator vs Compile to Closure Evaluator benchmark
// calculates factorials of numbers from 1 to 20
const code =
["do",
["var", "N", 20],
["var", "i", 1],
["while", ["<=", "i", "N"],
["do",
["var", "n", "i"],
["var", "f", 1],
["while", [">", "n", 0],
@divs1210
divs1210 / somethingfromsomething.md
Last active February 17, 2026 17:22
The Case Against Creation Ex Nihilo

The Case Against Creation Ex Nihilo

and also Against Atheism

by Divyansh Prakash, 20 Jan 2026

The doctrine of Creation Ex Nihilo—the belief that a separate God built the universe out of "nothing"—is a logical impossibility. Whether viewed through the lens of science or metaphysics, the wall between the Creator and the Created must fall.

The doctrine of Atheism says that the universe was made by "nothing". This is also impossible as we will see later.

Creation requires both:

  1. A Creator, and