Tom Chappell

@tomchappell
349 Followers
662 Following
1.7K Posts

Forced birth is slavery.
LGBT rights are human rights.
Carbs are poison.
Mask bans are murder.

he/him

WherePalm Springs, California

I got rid of most of those problems on that same day, and we easily sped up enough to be usable for 2,000 switches, no problem.

Just had to care enough to look for the slowness, and have a way to fake being zillionaires. /end

...and then in almost all the cases, it was easy to rewrite the code to bring the damage down to O(n log n) or even O(n) -- so the damage was reduced from 400 times slower to 2000*11ish/(100*7ish) = 31 slower, or even just 20x times slower in most cases. 7/n
The places that had that problem were easy to find, because you'd just start the program doing something with your fakey many-switches, and it'd lock up, and you'd dump the stack to see where it was executing. 6/n

So 2,000 switches was (2000*2000)/(100*100) = 400 times slower than 100 switches.

...which is slower! 5/n

It only took about an hour for me to implement the funhouse, but then when I turned it on...Hoo, boy, I found about ten O(n^2) inefficiencies on the first day.

...this is a technical thing, but it means that as the number of switches became 10x larger, the program became 100x slower. 4/n

So I came up with what I called the Switches-Funhouse-Hall-of-Mirrors, where the physical switches were within a certain subnet, but if we looked for a switch outside of that subnet, the actual address we hit would be munged to be in the switches subnet. 3/n
The problem was that we couldn't actually afford to test our software with more than 20-ish switches, because they were amazingly expensive, not only to buy, but to operate. 2/n
Long ago now, we were running up against some slowness in our switch-management software when our customers had a lot of switches. We had built it with an eye towards a max of 100 switches or so, but then Saudi ARAMCO had...2000! 1/n
Alex Jones Is Having a Total Meltdown Over The Onion Buying Infowars

This is the absolute best way this could have ended.

The New Republic

I just cast my #vote and I was told my registration had been suspended because of undeliverable mail.

1. My address hasn’t changed in close to a decade
2. I certainly did not receive a notice that I would be suspended
3. There is no reason why a voter registration card sent to my address would be returned as undeliverable
4. I still have a current voter registration card

I was able to vote after signing a confirmation of address.

So yeah, check your registration. That’s some fishy shit.