Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×

Comment: Re:Of course! (Score 1) 305

by weilawei (#49262387) Attached to: Prison Program Aims To Turn Criminals Into Coders

I believe you a </quote>

From Wiki:

The Fourteenth Amendment to the United States Constitution explicitly permits felony disenfranchisement. But it has been pointed out that constitutional approval of felons' political powerlessness is not the same as constitutional approval of government prejudice toward the politically powerless. Such prejudice may violate the Equal Protection Clause, which contains no provision authorizing discrimination against felons. A "discrete and insular" minority subject to prejudice, in particular, may be considered particularly vulnerable to oppression by the majority, and thus a suspect class worthy of protection by the judiciary.[6]

Section 1. All persons born or naturalized in the United States, and subject to the jurisdiction thereof, are citizens of the United States and of the State wherein they reside. No State shall make or enforce any law which shall abridge the privileges or immunities of citizens of the United States; nor shall any State deprive any person of life, liberty, or property, without due process of law; nor deny to any person within its jurisdiction the equal protection of the laws.

Section 2. Representatives shall be apportioned among the several States according to their respective numbers, counting the whole number of persons in each State, excluding Indians not taxed. But when the right to vote at any election for the choice of electors for President and Vice President of the United States, Representatives in Congress, the Executive and Judicial officers of a State, or the members of the Legislature thereof is denied to any of the male inhabitants of such State, being twenty-one years of age, and citizens of the United States, or in any way abridged, except for participation in rebellion, or other crime, the basis of representation therein shall be reduced in the proportion which the number of such male citizens shall bear to the whole number of male citizens twenty-one years of age in such State.

[...]

Comment: Re:Let it try at 80s/90s games (Score 1) 148

by weilawei (#49136931) Attached to: Artificial Intelligence Bests Humans At Classic Arcade Games

import random
import urllib.request

player = random.choice(['You', 'I'])
station = str()

tube_stations = urllib.request.urlopen(r'https://raw.githubusercontent.com/rk295/tube-postcodes/master/tube-postcodes.txt').readlines()
tube_stations = [i.decode('utf-8').split(',')[0] for i in tube_stations]

while True:
        if 'You' == player:
                station = input('Enter a station: ')
        else:
                station = random.choice(tube_stations)

        if 'Mornington Crescent' == station:
                print("%s won!" % player)
                break
        elif station in tube_stations:
                print("%s chose %s. Wrong!" % (player, station))
                player = 'I' if ('You' == player) else 'You'
        else:
                print('Try a real station!')

Ask and ye shall receive?

Comment: Re:OMNI (Score 1) 122

by weilawei (#49094123) Attached to: The Science of a Bottomless Pit

How about a vacuum tube that was formed in a loop passing through Earth and then back around the outside? It would need to be around 8000 miles in diameter (as a circle), since Wolfram Alpha says Earth's radius is 3957 miles. The tunnel would have a circumference somewhat over 25,000 miles.

The engineering is left as an exercise to the reader.

Professional wrestling: ballet for the common man.

Working...