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

What is /prog/ working on today?

Name: Anonymous 2021-06-21 9:45

Fucking cloud infra.

Name: Anonymous 2021-06-27 10:57

Since the only active programming thread on /prog/ https://dis.tinychan.net/read/prog/1612197182 reduced /pol/cels to cavemen-tier bashing with clubs "Me smash thread!" https://dis.tinychan.net/read/prog/1612197182#reply_318 and appears to be currently locked for posting, here's a variant of https://dis.tinychan.net/read/prog/1612197182#reply_336 to summarize runs of at least some number of sage posts, currently set to 5. https://dis.tinychan.net/read/prog/1612197182/337-341,369-373

(limit => ((keyfun, groupfilter, handoff) => handoff (Array.from (document.querySelectorAll ("div.post > div.body")).map (e => [e, keyfun (e)]).reduce ((acc, [e, key]) => {
if (acc.length === 0) {
acc.push ({count: 1, bodies: [e], key: key})
} else {
const last = acc [acc.length - 1]
if (key === last.key) {
last.count++
last.bodies.push (e)
} else {
acc.push ({count: 1, bodies: [e], key: key})
}
}
return acc
}, []), groupfilter)) (e => e.parentNode.querySelector ("h3.posthead > span.name > a[href='mailto:sage']") != null, group => group.key && (group.count >= limit), (runs, groupfilter) => runs.filter (groupfilter).forEach (({count, bodies}) => {
bodies.forEach ((e, idx) => { if (idx > 0) { e.parentNode.parentNode.removeChild (e.parentNode); }})
bodies [0].parentNode.outerHTML = '<p style="border: thin dashed; text-align: center;">' + count + ' micro/pol/cels</p>'
}))) (5)

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