Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

No captcha?

Name: Brian Brixman 2021-02-01 16:33

Hello,
I am learning programming and just discovered this website. But I am curious, how does it protect its users from spammers (people who post illegal or annoying things) without a reCaptcha? I thought clicking this blue box is required to prove that you are not a robot, can you please share any javascript that you use for this purpose?
Thank you and have a nice day,
Brian

Name: Anonymous 2021-06-06 2:53

Unaccelerated π stream from https://mitpress.mit.edu/sites/default/files/sicp/full-text/book/book-Z-H-24.html#%_sec_3.5.3 "Exploiting the Stream Paradigm". It converges rather slowly. The gcd is borrowed from the gcdlcm >>108,123,124 decorator and the fraction display from the broccoli >>115 decorator.
(n => {
const step = state => { const [a, b, fa, fb, ga, gb] = state; const m = a % b, d = (a - m) / b; state[0] = b; state[1] = m; state[2] = ga; state[3] = gb; state[4] = fa - d * ga; state[5] = fb - d * gb; }
const gcdn = (a, b) => { const state = [a, b, 1n, 0n, 0n, 1n]; while (state[1] != 0n) { step (state); } return [state[0], state[2], state[3]]; }
const reduce = f => { const [g, fa, fb] = gcdn (f [0], f [1]); if (g > 1) { f [0] /= g; f [1] /= g; } return f; }
const add = (f1, f2) => [f1 [0] * f2 [1] + f1 [1] * f2 [0], f1 [1] * f2 [1]]
const parts = function* () { let a = 4n, b = 1n; for (;;) { yield [a, b]; [a, b] = [-a, b + 2n]; } }
const accum = function* (parts, init, step, emit) { let acc = init, x; for (;;) { x = parts.next ().value; acc = step (acc, x); yield emit (acc); } }
const pi = accum (parts (), [0n, 1n], (f, x) => reduce (add (f, x)), f => f)
const show1 = ([a, b]) => a.toString () + ' / ' + b.toString () + ' = '
const show2 = (digits => (power => ([a, b]) => (a / b).toString () + '.' + (a % b * power / b).toString ().padStart (digits, '0')) (BigInt (10) ** BigInt (digits))) (60)
const diff = (s1, s2) => { let n = Math.min (s1.length, s2.length); for (let k = 0; k < n; k++) { if (s1 [k] !== s2 [k]) { return k; } } return n < s2.length ? n : -1; }
const marker = (s, pos) => pos < 0 ? s : (s.substring (0, pos) + '_' + s.substring (pos))
for (let k = 0, p = pi, x = p.next ().value, prev = ''; k < n; k++, x = p.next ().value) {
let now = show2 (x);
console.log (show1 (x) + (prev === '' ? now : marker (now, diff (prev, now))));
prev = now;
}
})(20)

Name: Anonymous 2021-06-06 2:55

The Euler transform will improve convergence a bit. At some point this might become a decorator for the 362 >>8 "die" posts https://dis.tinychan.net/read/anarchy/1582047203 >>157.
4 / 1 = 4.000000000000000000000000000000000000000000000000000000000000
8 / 3 = _2.666666666666666666666666666666666666666666666666666666666666
52 / 15 = _3.466666666666666666666666666666666666666666666666666666666666
304 / 105 = _2.895238095238095238095238095238095238095238095238095238095238
1052 / 315 = _3.339682539682539682539682539682539682539682539682539682539682
10312 / 3465 = _2.976046176046176046176046176046176046176046176046176046176046
147916 / 45045 = _3.283738483738483738483738483738483738483738483738483738483738
135904 / 45045 = 3._017071817071817071817071817071817071817071817071817071817071
2490548 / 765765 = 3._252365934718875895346483581777699424758248287660052365934718
44257352 / 14549535 = 3._041839618929402211135957265988225740547721971870578681724192
47028692 / 14549535 = 3._232315809405592687326433456464416216738198162346769157914668
1023461776 / 334639305 = 3._058402765927331817761216065160068390651241640607638723132060
5385020324 / 1673196525 = 3._218402765927331817761216065160068390651241640607638723132060
15411418072 / 5019589575 = 3._070254617779183669613067917011920242503093492459490574983911
467009482388 / 145568097675 = 3._208185652261942290302723089425713345951369354528456092225291
13895021563328 / 4512611027925 = 3._079153394197426161270465024909584313693304838399423834160775
14442004718228 / 4512611027925 = 3._200365515409547373391677146121705525814516959611545046281987
13926277743608 / 4512611027925 = 3._086079801123833087677391431835991240100231245325830760567701
533322720625196 / 166966608033225 = 3._194187909231941195785499539944099348208339353433938868675809
516197940314096 / 166966608033225 = 3._091623806667838631682935437379996784105775250869836304573245

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List