Better HN
topnewbestaskshowjobs
Log inSign up

bahhh

6 karma · joined Jan 16, 2019 (7y ago) · 2 submissions

Submissions

comment 7y ago · link · parent

George Boole proposed something similar in The Laws of Thought: he considered a definition of c = a/b where a = c AND b (even if he didn't write it like that).

Thus, 0/0 was an indeterminate value, and 1/0 was seen as an impossibility.

Boole's example: if m means "is mortal" and h means "is human", then saying "there is no immortal humans" is h AND NOT m = 0, and Boole explains that from it you could deduce: m = h + 0/0 and not h meaning "mortals are humans and something indeterminate which is not human"

here it's still George Boole trying to cram normal arithmetics into logic, but still.

comment 7y ago · link · parent

I'm also appalled by why they even need to recode a radix tree themselves to filter out a DDOS, considering the many options available without reimplementing the wheel.

any serious hoster filter out ddos with a router. routers are basically build to test IP against subnets, so they can basically run each IP address against a million of hardware subnet testers all running in parallel and decide what to do depending on the result.

And if you don't have a router, any OS worth its salt already have a radix tree implementation for its routing table. The only thing you need to turn a Linux routing table into a ddos filter is to enable reverse path filtering and then add blackhole routes with iproute2.