Talk:Education and voter trends

From RationalWiki
Jump to navigation Jump to search

code for purple[edit]

#!/usr/bin/perl

use strict;

my $r = 0;
my $b = 255;

my @idx = ();

foreach my $i (0 .. 100)
{
	if($b < 255)
	{
		$r += 5;
	}
	else
	{
		$b -= 5;
	}
	$idx[$i] = [$r, $b, 0];
}


while(<>)
{
	if(m/^\|(\d+)%$/)
	{
		print "|style=\"background:#",
			sprintf("%02x",$idx[$1][0]),
			"00",
			sprintf("%02x",$idx[$1][1]),
			"\"|$1\%\n";
	}
	else
	{
		print;
	}
}

Yep, there are some optimizations that could be done (reducing sprintf calls), but I'm being lazy. The R-B range is from 255,00,5 to 5,0,255. That makes it much easier than trying to do 'pure' red and 'pure' blue. One idea would be to saturate it more so this is a 25% - 75% scale rather than a 0-100% to exaggerate the r/b difference. If you ever want to play with this, there's a really fun color scheme from 0..255 for a black body color palate. 0,0,0 - 255,0,0 - 255,255,0 - 255,255,255. If this is done step 3 it has 256 values which makes it fit perfectly into a .gif palate for making an animated fire program.--Shagie 04:51, 12 May 2008 (EDT)

A bit confusing[edit]

What do the headers of the two columns at the right mean? Oh, and "Senator" is supposed to be capitalized, I believe. humanUser talk:Human 14:07, 13 May 2008 (EDT)

Oh, and what is the "sort order" of the states? humanUser talk:Human 14:08, 13 May 2008 (EDT)
  • S senator = Seinor Senator
  • J senator = Junior Senator
  • 2000 (% rep) = percent of vote in the state for republican in the 2000 presidential election
  • 2004 = percent of vote in the state for republican in the 2004 presidential election
  • Sort order for state from http://www.statestats.com/edrank.htm
--Shagie 18:12, 13 May 2008 (EDT)
Um, ok. I got the S/J part, thanks. Can the article answer these questions, like above the table? Because as I look at it, I can't even figure out what the point of the data is. humanUser talk:Human 19:34, 13 May 2008 (EDT)

My corneas! It burns them, it does![edit]

Mine eyes! BeastmasterGeneral 15:06, 13 May 2008 (EDT)

Agreed—aaaaaaaaaagh! --Star of David.png Radioactive afikomen Please ignore all my awful pre-2014 comments. 15:18, 13 May 2008 (EDT)
The saturated edge tends to do that. I could switch it to a black/white graduation eaisly, though that makes the text harder to read and doesn't go with the red/blue of the other columns. Be glad, the first time I had a bug in the purplizier that instead put it on a red-green axis with lots of orange and yellow. --Shagie 18:14, 13 May 2008 (EDT)
I can has an ouch?--WaitingforGodot 15:35, 25 July 2008 (EDT)

Move to Essay?[edit]

humanUser talk:Human 19:35, 13 May 2008 (EDT)

I was hoping on having it be a more 'this is data' type article rather than 'personal opinion'. And with...
I personally believe that the Karl Rove quote is missing out on something. As people do better they vote Republican until they have the means to look beyond their own immediate needs and start looking at the quality of life for those who are not as fortunate or the preservation of the wild spaces that make America a special place - at which point they vote democratic. -- Shagie
personal opinions are out of the article. Still needs some editing/cleanup though. --Shagie 23:24, 13 May 2008 (EDT)
Can you please edit the article so it is clear!?!?!? Sending a reader to an outside link just to know how the states are sorted is really clumsy. Just "write" words that explain the table, please. humanUser talk:Human 02:08, 14 May 2008 (EDT)
I read this, and I have no idea what you're trying to say. What is the %GOP? Are you comparing representation by party to income, or education levels, or what? If we could get a nice clean curve with high voting for democrats at either end and high voting for republicans in the middle, graded along education or income or, if possible, both, that would be nice. Right now, I don't even know what this is supposed to prove. Wazza (Yes, that Wazza)Bring a little light into my dim and dull existence 04:49, 14 May 2008 (EDT)

Non American Question[edit]

  1. What's an "S" Senator & a "J" Senator?
  2. What's a "PITA"?
  3. What's a "GOP"?
  4. Why are the states in that order?

SusanG  ContribsTalk 13:28, 27 August 2008 (EDT)

  1. Senior and Junior, respectively.
  2. Hell if *I* know
  3. GOP= Grand Ol(d) Party = Republicans
  4. See the RIGHT side of this list.

CЯacke® 13:57, 27 August 2008 (EDT)

  1. the senior senator is the one who has represented the state longest, junior is the other one.
  2. Pain in the ass?
  3. "Grand Old Party" = Republican party, a very common term to refer to them
  4. No one knows, unless Shagie answered it above. ħumanUser talk:Human 16:10, 27 August 2008 (EDT)

4. "The order of the states can be found at http://www.statestats.com/edrank.htm" - it's smartest to dumbest by some metric. ħumanUser talk:Human 16:13, 27 August 2008 (EDT)

Question[edit]

What is the purpose of this article - and is it on-RW-mission? 31.51.113.102 (talk) 23:18, 29 January 2017 (UTC)

Mothballing it. Thanks. Reverend Black Percy (talk) 23:31, 29 January 2017 (UTC)