109 points · by bryanrasmussen · 6y ago · 119 comments
I always thought that that way of thinking was pretty neat. Can the same abstraction have a different physical manifestation that's cheap to create? If you kinda squint a bit, it's what we do with computers.
The basic idea of an analog computer is you use op amps to sum voltages. Integration is easy, by adding a capacitor. By hooking up op amps, capacitors, and resistors (usually with a plugboard), you can quickly and easily solve differential equations. (Surprisingly, multiplication by a non-constant value is hard with an analog computer.)
The nice thing about analog computers is they gave the answer almost instantaneously. You could turn the dials and experiment with different parameters interactively. A digital computer in 1970, on the other hand, might take minutes to solve the same equation. This also made analog computers useful for real-time applications such as flight simulators.
A big problem with analog computers is that the accuracy is limited by your components. If you want 0.1% accuracy, you need expensive 0.1% resistors and capacitors. With a digital computer, you can get as many bits of accuracy as you want using cheap components. Basically, Moore's law killed off analog computers.
That being said, that exam was substantially shorter and easier than the Cal II exam I had to take!
Researching this topic also qualifies you to write technobabble for sci-fi movies. Like "operational trans impedance amplifier."
It's simply criminal how underutilised the technique of Automatic Differentiation is! It can solve incredibly complex differentials to machine precision, good numerical stability, and minimal tuning or hand-holding.
Lots of these "difficult" problems aren't, it's just that people aren't aware of the solution because it's not commonly taught in a University setting. Automatic Differentiation is one of those techniques that's "boring" and "numerical", so there are no courses that teach it.
An awful lot of tertiary education has been caught up in the publish-or-perish mentality. Unfortunately for AD, it is not "impressive". Differentiating hideously difficult expressions symbolically is impressive. Publishing a paper packed full of enormous, scary looking expressions is impressive. Merely saying that "we used AD and it worked just fine" is unimpressive.
For decades now we've been incentivizing intellectual wankery over practical utility.
http://www.newsteelconstruction.com/wp/wp-content/uploads/Te...
Monte Carlo methods are used to solve partial differential equations, I found both approaches similar in the sense that they look at how the system actually/could behave, instead of looking at the equations solely.
You're not really simulating every outcome, just a "large enough" representative sample.
As an aside, my dad was a chemical engineer and Newton-Raphson was his equivalent everything-is-a-nail numerical method. We used to use brent root and monte carlo simulation in the same way.
Numerical methods are awesome in general.
https://en.m.wikipedia.org/wiki/Field-programmable_analog_ar...
These aren't "hard" problems, they're simply questions that don't make sense. Is finding an odd number that is divisible by 2 a "hard problem"? I don't think so, it's just that it turns out that it doesn't make sense to ask the question.
Some of these "hard problems" actually have solutions that demonstrate they aren't solvable, and these solutions are fairly elegant, in which case I'd also say these are not "hard".
By randomly walking this graph, starting from the current plan and randomly flipping precincts, you can build a distribution of how compact the plans you saw were (there are some measures of compactness defined in TFA and the document linked below), and identify outliers, which are likely to be gerrymandered.
[0] https://sites.tufts.edu/vrdi/files/2018/06/md-report.pdf
And indeed, that's mostly a social solution in it's implementation.
Statewide votes are mostly done by popular vote, so they're not affected by gerrymandering. Nationwide votes like the one for president are not done by popular vote, but they're also not done by district, so gerrymandering doesn't affect them.
1. It lets politicians create districts that will vote for them no matter what.
2. It lets politicians waste opposition votes by putting them into districts that will, overall, just barely vote the other way.
The problem is that these two visions of "the problem" directly oppose each other. #1 says that the problem is districts that vote an 80/20 split. #2 says the problem is districts that vote a 51/49 split.
> Republicans won 57 percent of the vote in contested races in 2016 and won 43 of 50 seats. In 2018, Republicans won the same percentage of the vote in contested races — but won 56 of 63 seats.
> That’s how gerrymandering works. Even the fact that so many more Democratic seats are uncontested is by design: By making certain districts heavily Democratic, many others can be more easily made slightly Republican.
https://www.washingtonpost.com/politics/2018/12/04/several-l...
This stuff works, it's easy to see the effects in heavily gerrymandered states.
Something I just realized is that it will always be that way!
Democrats do better in cities (in general heavily democratic), while Republicans do better in rural areas (typicaly Republican, but not in a dense way like a city would be).
So if you divide districts naturally by geography they will always appear gerrymandered in Republicans favor.
The "cracked" districts will vote for you no matter what, but certainly not at 80/20. You're looking for 51% + a safety factor of 10-20%.
Let's say you have parties representing 10%, 20%, 30% and 40% of the population respectively. Ideally, you'd like the politicians elected in the same proportions. In reality if the populations are dispersed evenly, then when you divide up the populations into seats and elect one representative from each seat you are going to end up with some mix of the 30% and 40% making up 100% of the parliament. If the distribution is perfectly even and you are using FPP then the entire parliament will all be from the 40% - which is more of a dictatorship by the 40% than a democracy.
Gerrymandering, and a "fairer" voting system like instant runoff might alter the break up of the 30% and 40%, but either way the 10% doesn't get a seat. To have any say at all they have to vote for one of the 30% or 40%. In other words you end up with a 2 party system, which is of course what we do have. Neither getting rid of gerrymandering nor using a better voting system actually solve the problem, if the problem is ensuring parliament reflects the voting population. Yet we see those two things proposed over and over again here on HN and elsewhere.
The solution is what the other posters in this sub-thread mention. Germany and NZ use it. To me, it looks to have worked very well for them. But getting there is hard as the incumbent 2 parties will combine to oppose it. The change always makes them lose seats to the minorities.
Of course that would be outrageously unfair, with politicians choosing which districts they win rather than voters choosing the politicians to represent them, and yet that is somehow an improvement over the current system of gerrymandering.
A slightly less extreme option would be for the districts that get flipped to be decided by where a given party came closest to winning (the "best near-winner" system used in Baden-Württemberg), but really the aim of this system is to remove all incentive to gerrymander in the first place, so this result flipping rule would never have to be applied.
Math: Assume 900 people, so 495 voting for the popular party and 405 for the unpopular party. Put 100 popular voters in district 1. Split the remaining equally (395 popular, 405 unpopular). All districts except the first will be won 51%-49% by the unpopular party. (This is the "pack and crack" gerrymandering strategy, packing the party into some districts and cracking them across the other.)
1. Create districts that will overwhelmingly vote for the other guy.
and
2. Create districts that will just barely vote for you.
Because it doesn't matter if you win a district by 1% or by 49% you can take a population that overall is 50/50, or even prefers the other guy and create a lot of districts that will vote for you by a small margin, and only a handful of districts that will vote for the other guy but by a really big margin.
There's actually an android puzzle game that does a great job of communicating how it works: https://play.google.com/store/apps/details?id=com.studioBlim...
Also, I've mostly heard the second argument made, not the first. A large party's leadership should probably lean in that direction anyway, not caring as much about the individual official.
What about the rural states, you say? Well they still get to manage their own, internal affairs with their own legislature, governors, etc. But as far as state-level decisions are concerned, their weight should be exactly equal to that of their population representation.
Every open cover has a finite subcover.
My idea - I welcome counter arguments - is to calculate the district's center of mass and find the furthest point the district still contains from that center of mass. Then create a circle with that distance as the radius and find the percentage of _land_ (maybe even privately owned land?) within that circle that is in the district. My view is that the percentage should be something like 50% (maybe higher? Hard to say without actually designing districts and checking the numbers).
50% would mean that half of the habitable land remaining in the circle could be a different district but no more.
Instead, you can simply put down a finite number of points on a map and define the districts using polygons (connect the points with straight lines.
If you have 2 islands with three bridges connecting them, you could just walk them trivially, yet there are an uneven number of connections on each node.
I'm not sure how it could work if any nodes had odd degree.
Or you can just not stop, and try to go even deeper. But then you stop being a mathematician, and you turn into a madman, a philosopher or a theologist.
It's not impossible to gain understanding of a step in someone else's argument.
There may also exist types of math that are impossible to represent or reason about with current notation.
[0] https://en.wikipedia.org/wiki/Terence_Tao
[1] https://mathoverflow.net/questions/366070/what-are-the-benef...