2020 Ammo Shortage Rumors Squashed by Ammo Company President

2020 Ammo Shortage Rumors Squashed by Ammo Company President

https://ift.tt/3ph1V3p

(Image: Screenshots from 2020 ammo shortage video)

When it comes to ammo shortages, the USA has seen several in recent years — but 2020’s plethora of panic points has spurred ammo-buyers to new heights of ammo purchasing. And from that comes rumors… ridiculous rumors about the 2020 ammo shortage which can sometimes get out of hand. Some of those rumors include:

  • Ammo is all being stored in secret warehouses instead of being shipped to customers
  • Ammo production has been purposely curtailed in order to hose the public
  • Ammo makers are only selling to certain buyers

Thankfully, such rumors can be squashed by facts, and Vista Outdoors has seen fit to produce a video to address that. In it, we see Jason Vanderbrink, President of Federal, CCI, Speer, and Remington ammunition walking through his manufacturing facilities and telling it like it is. He’s fed up with BS, and I have to say I can’t blame him a bit.

“Hi, I’m Jason Vanderbrink, President of Federal, CCI, Speer, and Remington ammunition, and I gotta say, I am tired of all the hate mail, I’m tired of people showing up at our factories, I’m tired of reading the misinformation out on the internet right now about us not trying to service the demand that we’re experiencing.

“It gets really old when I hear and read constantly that our ammunition companies are not making ammunition, or having secret warehouses, we are selling to only specific customers; and after a year like right now where we have hired hundreds of employees to support American manufacturing jobs, all I hear is, ‘We’re not making ammunition.’”

Vanderbrink cites common sense: 7 million new shooters each buying two 50-round boxes of ammo means that 700 million rounds of ammo are being purchased and consumed by folks who were previously not ammo consumers.

Once you add panic buyers and the vile hoarders to that, you have a recipe for an ammo market that’s low on ammo. And increasing production isn’t like flipping a switch:

  • New people must be hired
  • Those employees must be trained
  • More raw materials must be obtained (lead, copper, brass, gunpowder, etc)
  • All while reconfiguring the factories to comply with new “safety” regulations due to the coronavirus

During the video we see the production lines building, sorting, packing, and shipping ammunition. They’re doing their best to get ammo into your hands and mine.

“I wanted to address those rumors because every day I hear something new — and it’s simply not true.

“We’re making all of the ammunition as fast as we can. We really really feel humble that the demand is high for our products, and I ask: Please squash the rumors. You don’t have to believe everything that’s out in the internet.

“We are doing our damnedest to meet this demand.”

Folks ask where all the 22 ammo has gone; he shows it being made by the hopperful. Ditto 30-06, 9mm Luger, and the list goes on.

Not only are they not slacking off; Vanderbrink says they’re making more ammo than they ever have before in company history.

I like this guy… and I liked him more when I heard his closing words in the video:

“On behalf of our thousands of American manufacturing jobs, thank you for your support, thank you for your patience — and please continue to fight for the Second Amendment that we all so love.”

Please share to squash those groundless rumors about the 2020 ammo shortage.

The post 2020 Ammo Shortage Rumors Squashed by Ammo Company President appeared first on AllOutdoor.com.

guns

via All Outdoor https://ift.tt/2yaNKUu

December 21, 2020 at 11:02AM

Exploring Python’s OS Module

Exploring Python’s OS Module

https://ift.tt/2WtHzrj

Python OS modules allow users to interact with files and directories. There are many functions or methods that Python employs in working with files or directories. However, in this article, we will consider three (3) essential functions. Now, let’s dive straight into it!

Python – os.rename()

Python OS rename() file method renames a file or directory. This method works by passing two arguments named; src (Source) and dst (Destination).

Syntax: 

os.rename(src, dst)

Parameters:

  • Source: This is a path-like object which represents a file system path. It is the target source file path to be renamed.
  • Destination: This is a path-like object which represents a file system path.

Return Type: The os.rename() method does not return any value.

Code 1: How the os.rename() function works

# These codes explain the os.rename() method  
  
# how to import os module  
import os 
  
  
# Source file path 
source = 'Finx/ster.txt'
  
# destination file path 
dest = 'Finx/newster.txt'
  
  
# Using os.rename()method, rename the source path to destination path 
os.rename(source, dest) 
print("Source path successfully renamed to destination path.")

Output:

Source path successfully renamed to destination path

Code #2: How to treat likely errors 

# These codes explain the os.rename() method
  
# how to import os module 
import os 
  
  
# Source file path 
source = './Finx/ster.txt'
  
# destination file path 
dest = './finx/dir'
  
  
# using os.rename()method, attempt renaming src path to dst path
  
try : 
    os.rename(source, dest) 
    print("Source path successfully renamed to destination path.") 
  
# If Source is a file  
# but destination is a directory 
except IsADirectoryError: 
    print("Source is file, but destination is directory.")   
# If source is a directory 
# but destination is a file 
except NotADirectoryError: 
    print("Source is directory, but destination is file.") 
# For permission related errors 
except PermissionError: 
    print("Operation not permitted.") 
  
# For other errors 
except OSError as error: 
    print(error)

Output:

Source is file, but destination is directory

Creating a directory in Python

Python OS Module uses a couple of methods to create a directory. They are : 

  • os.mkdir()
  • os.makedirs()

Using os.mkdir()

Python uses the os.mkdir() method to create a directory known as “path” with the specified numeric mode. If the directory that should be created already exists, os.mkdir() returns FileExistsError message in such situation.

Syntax: 

os.mkdir() and in optional cases the extension – “(path, mode = 0o777, *, dir_fd = None)“ – may be added to the syntax.

Parameter:

  • Path: This is a path-like object which represents a file system path. This path-like object is either a string or bytes object.
  • Mode (optional): This is an integer value which represents the mode of the directory to be created. If this parameter is missing, then the default value: Oo777 is applied.
  • dir_fd (optional): This is a file descriptor referring to a directory. It’s important to note that the default value of this parameter is ‘None’. Please note that dir_fd is ignored, If the specified path is absolute. Please note that the ‘*’ in the parameter list indicates that all following parameters (in this case ‘dir_fd’) are keyword-only.

Return Type: Please note that this method does not return any value

Example #1: How to create a file or directory using the os.mkdir() method

# These codes explain os.mkdir()method 
  
# importing os module 
import os 
  
# Directory 
directory = "Finx"
  
# Parent Directory path 
parent_dir = "D:/Pycharm projects/"
  
# Path 
path = os.path.join(parent_dir, directory) 
  
# Create the directory 
# 'Finxter' in 
# '/home / User / Documents' 
os.mkdir(path) 
print("Directory '% s' created" % directory) 
  
# Directory 
directory = "Finxter"
  
# Parent Directory path 
parent_dir = "D:/Pycharm projects"
  
# mode 
mode = 0o666
  
# Path 
path = os.path.join(parent_dir, directory) 
  
# Create the directory 
# 'Finx' in 
# '/home / User / Documents' 
# with mode 0o666 
os.mkdir(path, mode) 
print("Directory '% s' created" % directory)

Output:

Directory 'Finx' created
Directory 'Finxter' created

Example #2: Likely errors while using the os.mkdir() method.

# These codes explain os.mkdir() method   
      
# importing os module   
import os  
    
# Directory  
directory = "Finx"
    
# Parent Directory path  
parent_dir = "D:/Pycharm projects/"
# Path  
path = os.path.join(parent_dir, directory)      
# Create the directory  
# 'Finx' in  
# '/home / User / Documents'  
os.mkdir(path)  
print("Directory '% s' created" % directory)  
    
# if directory / file that   
# is to be created already  
# exists then 'FileExistsError' message  
# will be returned by os.mkdir() method  
    
# Similarly, if the specified path  
# is invalid 'FileNotFoundError' Error  
# will be flagged

Output:

Traceback (most recent call last):
     File “gfg.py”, line 18, in
         Os.mkdir(path)
FileExistsError: [WinError 183] Cannot create a file when that file /
		      /already exists: ‘D:/Pycharm projects/Finx’

Example #3: How to treat likely errors while using os.mkdir() method.

# These codes explain os.mkdir()method   
      
# importing os module   
import os  
    
# path  
path = 'D:/Pycharm projects / Finx'
    
# Create the directory  
# 'finx' in  
# '/home / User / Documents'  
try:  
    os.mkdir(path)  
except OSError as error:  
    print(error)

How to Check if a File or Directory Exists

Python is a popular, general-purpose, and advanced programming language. It is known to have many functionalities, and one of such functionalities is the ability to check if a file or directory already exists or not. Python performs this task with the help of an in-built os module

With the OS module, Python provides functions needed to interact with the operating system. OS falls under Python’s standard utility modules and those modules provide an efficient way of utilizing operating system dependent functionalities. The os.path module is a submodule of the within Python, used to manipulate common path names.

How to check if a file exists already

The os.path.isfile() method checks whether the specified path is an existing file or not. Please note that os.path.isfile() follows symlinks.

Syntax: os.path.isfile(path)

Parameter:

  • Path: This is a path-like object which represents a file system path. This path-like object is either a string or bytes object.

Return Type: This method returns a Boolean value. it returns ‘True’ if the specified path is an existing file. Otherwise, it returns ‘False’.

Example:

# These codes explain os.path.isfile() method   
      
# importing os module   
import os  
    
# Path  
path = 'D:/Pycharm projects/Finx/vos/quiz_vos.txt'
    
# Check whether the   
# specified path is   
# an existing file  
isFile = os.path.isfile(path)  
print(isFile) 
    
    
# Path  
path = 'D:/Pycharm projects/Finx/vos/'    
# Check whether the   
# specified path is   
# an existing file  
isFile = os.path.isfile(path)  
print(isFile)

Output:

True
False

How to check if a directory exists

Python uses the os.path.isdir() method to check whether a specified path is an existing directory or not. This method follows a symbolic link, which means if the specified path is a symbolic link pointing to a directory, then the process returns ‘True’.

Syntax: os.path.isdir(path)

Parameter:

  • Path: This is a path-like object which represents a file system path.

Return Type: This method returns a Boolean value. This method returns ‘True’ if the specified path is an existing directory. Otherwise, it returns ‘False’.

Example #1: How to use the os.path.isdir() method.

# These codes explain os.path.isdir() method   
      
# importing os.path module   
import os.path  
    
# Path  
path = 'D:/Pycharm projects/Finx/vos/quiz_vos.txt'
    
# Check whether the   
# specified path is an  
# existing directory or not  
isdir = os.path.isdir(path)  
print(isdir)  

# Path  
path = 'D:/Pycharm projects/Finx/vos/'
    
# Check whether the   
# specified path is an  
# existing directory or not  
isdir = os.path.isdir(path)  
print(isdir) 

Output:

False
True

Example #2: What happens if the specified path is a symbolic link?

# These codes explain os.path.isdir() method.   
      
# importing os.path module.   
import os.path  
    
    
# Create a directory(in current working directory).  
dirname = "Finx"
os.mkdir(dirname)  
    
# Create a symbolic link pointing to the above directory.  
symlink_path = "D:/Pycharm projects/Finx/vos/"
os.symlink(dirname, symlink_path)  
        
path = dirname  
    
# Investigate if the specified path is an existing directory or not.  
isdir = os.path.isdir(path)  
print(isdir)  
    
path = symlink_path  
    
# Check whether the specified path - a symbolic link - is an  
# existing directory or not.  
isdir = os.path.isdir(path)  
print(isdir)

Output:

True
True

How to check if either file or directory exists

Python uses the os.path.exists() method to check whether a specified path exists or not. This method also checks if the given path refers to an open file descriptor or not. The method checks if either a file or directory exist.

Syntax: os.path.exists(path)

Parameter:
Path:
 This is a path-like object which represents a file system path. This path-like object is either a string or bytes object.

Return Type: This method returns a Boolean value. The os.path.exists() method returns ‘True’, if the path exists. Otherwise, it returns ‘False’.

Example:

# These codes explain os.path.exists() method   
       
# importing os module   
import os  
     
# Path  
path = 'D:/Pycharm projects/Finx/vos/quiz_vos.txt'
     
# Find out if the specified path is an existing file.  
isExist = os.path.exists(path)  
print(isExist) 
         
# Path  
path = 'D:/Pycharm projects/Finx/vos/'
     
# Finally, check if the specified path is an existing file.  
isExist = os.path.exists(path)  
print(isExist)

Output:

True
True

Please note that even if the path exists, the os.path.exists() function may still return ‘False’, if the execution of os.stat() is not authorized.

To learn more about Python, become a Finxter Scholar. Join here https://blog.finxter.com/email-academy/ now!

Reference

The post Exploring Python’s OS Module first appeared on Finxter.

Python

via Finxter https://ift.tt/2HRc2LV

December 20, 2020 at 09:29AM

100 Must-See Movies: The Essential Men’s Movie Library

100 Must-See Movies: The Essential Men’s Movie Library

https://ift.tt/2MYBFYb

With our archives now 3,500+ articles deep, we’ve decided to republish a classic piece each Friday to help our newer readers discover some of the best, evergreen gems from the past. This article was originally published in July 2009.

For whatever reason (most likely the fact that viewing is easier than reading), films don’t seem to garner the same kind of cultural respect as books do. Which is a shame because excellent movies can be just as entertaining, mind-expanding, and life-changing as good books. Scenes, characters, and quotes from the greatest movies stay with us long after we view them. 

And for better and for worse, film has had a huge impact on masculinity in the 20th century. Movies have produced archetypes of manliness that many men judge themselves against today. To view how male characters of cinema have been portrayed over the decades, is to see clearly the ways in which our perception of masculinity has changed and continues to change. Thus it seemed only proper that the Art of Manliness take a stab at creating a list of essential movies every man should see.

We didn’t want to make a bro-y list, in which the movies were selected based on their amount of titillating sex and explosive violence. Nor did we want to create a high-brow list consisting solely of independent avant-garde movies that, while culturally or cinematically significant, aren’t very entertaining. We wanted to create a well-rounded list of films that have something to say about manliness. Some of the movies speak poignantly about what it means to be a man. Others give examples of true manliness in action. Some are lessons in how not to be a man. And others are simply entertaining movies that are just plain virile. But the common thread that runs through all of them is that they’re great movies that have stood the test of time.

Without further ado, we present AoM’s 100 must-see movies for men.

The Great Escape

A poster of a movie The Great Escape.

This group of Allied POWS fought the enemy the best way they could – by bustin’ out of prison. Based on a true story, the film has been hailed as one the greatest escape movies of all time. Despite its length (172 minutes), the movie maintains interest through the engaging relationships of the prisoners. Each individual contributes their skills and personality to the effort, even the self-interested American (played by Steve McQueen). I guess his skill would be making killer motorcycle chase scenes.

Best line: “I’m going . . . out.”

Butch Cassidy and the Sundance Kid

A poster of a move movie called Butch & The kid are Back.

Based loosely on the real lives of Western outlaws Robert Leroy Parker (aka Butch Cassidy) and Harry Longabaugh (aka the Sundance Kid), Butch Cassidy and The Sundance Kid is a classic movie about two buddies trying to make it in a changing world. What’s funny about Butch Cassidy and the Sundance Kid is that you forget that these guys were hardened criminals who robbed banks and trains for a living. The easy going charm Robert Redford and Paul Newman bring to their roles makes you like the characters despite their choice of profession. Their clever hijinks and humor make the movie an enjoyable ride.

Best line: “Boy, I got vision, and the rest of the world wears bifocals.”

Dirty Harry

Poster of a move Dirty Harry.

Cops that won’t let anything — even the law — stand in their way of catching the bad guy may have become a Hollywood cliché, but when Dirty Harry first pulled out his .44 magnum it was a brand new story. Harry Callahan stops at nothing as he hunts down the Scorpio, a serial killer that picks people off with a sniper rifle. The plot is okay, but it’s Clint Eastwood that drives the entire picture. His rebel good- guy cop set a high mark for others to try and follow.

Best line: “You’ve got to ask yourself one question: ‘Do I feel lucky?’ Well, do ya, punk?”

The Endless Summer

Cover of a documentary called The Endless Summer.

Working 60 hours a week sucks. I mean, it really sucks. The idea of travelling around the world to exotic spots with the simple objective of surfing every chance you get is about the most enticing thing on the planet. In step Mike Hynson and Robert August. Famed documentary director Bruce Brown follows the pair around the world as they chase the summer and whatever waves they can ride. If you can’t surf, or you can’t take the time off work to surf — live vicariously through this movie.

Bull Durham

Poster of a movie Bull Durham.

This movie is great for many reasons — of which, I cite two: 1) Kevin Costner can actually play baseball, instead of looking like a moron as do many other actors trying to swing a bat. 2) Tim Robbins character wears lingerie when he pitches — which is completely classic. Besides these, there are many other elements that make the movie relevant: the mentor/mentee, the old vs. the young, fighting for the woman, baseball. But ultimately it’s about a bunch of guys trying to make their mark on life — which we can all certainly relate to.

Best line: “Charlie, here comes the deuce. And when you speak of me, speak well.”

There Will Be Blood

There Will Be Blood is a character study in what happens to a man who becomes ruthlessly consumed with besting his fellow man, with winning at all costs. Daniel Day-Lewis, in what may be his best performance, at first garners the audience’s sympathy and admiration, only to invite their repugnance as he loses his humanity in the pursuit of ambition. The movie’s ending is grim and grisly, and the shock blast the film creates around the themes of greed, religion, and family will embed thought-provoking, long-lasting shrapnel in your brain.

Best line: “I’ve got a competition in me.”

The Shootist

Poster of a movie The Shootist.

Nobody wants to die alone. Especially gunslingers. In a haunting portrayal that foreshadowed his own fate, John Wayne plays J.B. Brooks, an aging gunfighter dying of cancer who resigns himself to live out his days in private. But skeletons from his past prevent him from fading away, so he decides to go down the only way he knows — with his six gun blazing.

Best line: “I won’t be wronged. I won’t be insulted. I won’t be laid a-hand on. I don’t do these things to other people, and I require the same from them.”

Hoosiers

Hoosiers movie poster.

At its core, Hoosiers is about redemption — basketball is just the vehicle. The story revolves around a basketball coach that has fallen from grace and finds himself at a small rural town in Indiana. He ruffles feathers and fights to earn the respect of his players, the town, and a doubtful teacher. The team chases glory, while others in the town remember what it is like to win. Not only is it one of the most inspiring movies of all time, it has one of the most hardcore stoics in all of sport movie history. Jimmy = Clutch.

Best line: “You know, most people would kill . . . to be treated like a god, just for a few moments.”

Last of the Mohicans

Last of the Mohicans movie poster.

This movie set the standard for war epics of the modern era. Few are its equal. A Mohican father and his son, along with their adopted son, attempt to maintain their neutrality amidst the French-Indian War in colonial America. The men are pulled into the fray after rescuing two daughters of a British Officer during a skirmish and escorting them to their father’s fort. As the impending battle builds around them, the men remain devoted to the daughters, going to great lengths to preserve them. From the opening sequence of Uncas and Hawkeye sprinting through the dense forest, to the final scene on the promontory, the movie is gripping and powerful. 

Best line: “Someday I think you and I are going to have a serious disagreement.”

The Bicycle Thief

Movie The Bicycle Thief poster.

An Italian Neo-Realist classic, The Bicycle Thief tells the bleak story of a man in impoverished post-war Italy whose bicycle, which he needs to work, is stolen. Father and son hunt all over Rome to find the bike, with no one to help them and ultimately no success. And thus the father is faced with a classic philosophical problem: is it okay to steal to feed your family? Realistic and honest, this movie provides one of the best glimpses into the nature of the father/son relationship.

Best line: “Why should I kill myself worrying when I’ll end up just as dead?”

Field of Dreams

Field of Dreams movie cover.To what lengths would a person go for a chance at reconciliation? If it is for your (dead) father, most of us would do anything. Field of Dreams is Ray Kinsellas’s journey of reparation with his father. Ray, an Iowa farmer, erects a baseball field in his cornfield after a voice tells him, “If you build it, he will come.” The voice continues, and after a series of mysterious and supernatural events, he is able to make amends. It is quite possible that a game of catch can heal most wounds between a father and son — even death, I suppose.

Best line: “If you build it, he will come.”

North by Northwest

North by Northwest movie cover.

Starring dapper dude Cary Grant, North by Northwest is classic Alfred Hitchcock. Grant plays a hapless New York advertising executive mistaken for a government agent by a group of foreign spies, and is pursued across the country while he looks for a way to survive. The problem is the government thinks he’s a spy, too, and they’re on the chase as well. Talk about a bad day.

Best line: “I don’t like the way Teddy Roosevelt is looking at me.”

The Outsiders

The Outsiders movie poster.

The film adaption of SE Hinton’s famous novel perfectly captures the tumultuous nature of teenage angst. The well-to-do Socs and blue collar Greasers hate each other’s guts, and when Johnny the Greaser kills a Soc, a series of dramatic and tragic events are set in motion, including an old fashioned rumble. The film is a star-studded affair, filled with the likes of Rob Lowe, Emilio Estevez, Matt Dillon, Tom Cruise, Patrick Swayze, Ralph Macchio, and Diane Lane, many before they were household names. And best of all, it was shot on location in my home city of Tulsa.

Best line: “Stay gold, Ponyboy, stay gold.”

First Blood (Rambo)

First Blood movie cover.

The more weighty issues in First Blood are usually overshadowed by the gratuitous action. Understandably so, but the movie is built on Rambo’s struggle to return to society after the Vietnam War. A Medal of Honor recipient, Rambo is kicked out of a small town and then arrested for vagrancy. The sheriff and his deputies go overboard with torture and Rambo reverts back to what he does best. Nothing good can come from pissing off a guy named Rambo.

Best line: “They drew first blood, not me.”

The Manchurian Candidate

The Manchurian Candidate movie cover.

A Cold War classic starring Frank Sinatra in probably his best movie performance. The film was so controversial that it was banned from further release after JFK’s assassination. The Manchurian Candidate focuses on the way in which propaganda and the manufacture of political views can influence one’s perception and behavior in the most provocative of ways. The story follows several former Korean War soldiers who have been brainwashed by the military. Follow them as they try to unravel the source of the reoccurring nightmares. A real thriller. Don’t bother with the Denzel Washington version. The original is still the best.

Best line: “There are two kinds of people in this world: Those that enter a room and turn the television set on, and those that enter a room and turn the television set off.”

In the Heat of the Night

In The heat of a Night movie poster. Virgil Tibbs (Sidney Poitier), a respected detective from up north, is thrown into a murder investigation in the small town of Sparta, Mississippi. While he initially doesn’t want any part of the case, Tibbs exemplifies manly resolve as he sticks around, staring down bigot after bigot while searching for the murderer. The film is famous for a scene in which Tibbs, after being slapped by a white man, slaps him right back. The screenplay originally called for Poitier to simply take it, but the actor found this passive response degrading and insisted he be allowed to hit back. That my friends, is being a man. You slap me in the face, I’ll slap you right back, Sucka.

Best line: “They call me MISTER Tibbs!”

Shane

Double Indemnity movie poster.

A quiet gunslinger who is trying to escape his past befriends a pioneer family that has settled out west. He attempts to settle down and become a hired hand to the family, but the ranchers who want to drive cattle through the homesteaders’ property are attempting to drive them out. Shane tries to stay out of the disputes, but keeps being drawn in and is finally compelled to put his six shooter back on to protect his adoptive family. Perhaps the most touching part of the movie is the relationship Shane develops with the farmer’s son.

Best line: “A gun is a tool, Marian; no better or no worse than any other tool: an axe, a shovel or anything. A gun is as good or as bad as the man using it. Remember that.”

Double Indemnity

Double Indemnity movie poster.

Perhaps the greatest American contribution to the noir style, Double Indemnity is dark rumination on greed, manipulation, and betrayal. Barbara Stanwyck plays a classic femme fatale who uses her womanly wiles to lure insurance salesman Walter Neff into a plan to kill her husband for the “double indemnity” payout. But Neff is not a guileless victim after all. Palatable tension, suspense, and snappy dialogue make this film a true classic.

Best line: “How could I have known that murder could sometimes smell like honeysuckle?”

Mar Adentro (The Sea Inside)

Mar Adentro (The Sea Inside) movie poster.

Politics of euthanasia aside, living is so much more than just breathing. Based on the life of Ramón Sampedro, the movie examines the fight to end his own life after 30 years of being paralyzed from the neck down. Despite his desire to end his life, through his courage and self awareness, he inspired others to embrace their own.

The Maltese Falcon

Action movie The Maltese Falcon poster.

The Maltese Falcon is filled with ambiguities in morality. Sam Spade, played by Humphrey Bogart, is a hardened and cynical man. But underneath his rough exterior is a man with a sense of idealism. Spade lives by a code of honor that doesn’t let him take the corrupt and easy solution to life’s problems. The Maltese Falcon forces us to answer a simple question: when push comes to shove, will we stick to our own code of honor or will we sell out?

Best line: “[It’s the] stuff that dreams are made of.”

Das Boot

Das Boot movie poster.

Das Boot puts you inside a stranded and submered German U-Boat and explores the physical and emotional tensions of the situation with a vivid, terrifying realism. Holding it all together, under harrowing conditions, is a single man. The captain is a scruffy, mildly cynical, bastion of strength. He deals calmly with almost any situation, drawing on a seemingly unlimited store of courage.

Best line: “You have to have good men. Good men, all of them.”

Star Wars (The Original Trilogy)

Star Wars movie cover.

The reason Star Wars became a cultural phenomenon wasn’t because of the special effects. It was the story. Star Wars simply put a futuristic spin on the archetypal story of heroic good vs. evil that men have been telling around fires for millennia. Stick with the original trilogy. They’re still the best. Mainly because manly man Han Solo is in it. If CGI effects was all it took to make a good movie, then we would have all loved Jar Jar Binks.

Best line: “I am your father.”

Rudy

Rudy Movie cover.

Rudy, a scrappy blue collar kid, has a dream of playing football with the Fighting Irish of Notre Dame. While Rudy wasn’t blessed with the talent or the body to be a star athlete, he’s a got a lot of heart and determination. When you’re feeling like the underdog in life, just plop down and watch Rudy. You’ll be ready to “Play Like a Champion” afterwards.

Best Line: “You’re 5 foot nothin’, 100 and nothin’, and you have barely a speck of athletic ability. And you hung in there with the best college football players in the land for 2 years. And you’re gonna walk outta here with a degree from the University of Notre Dame. In this life, you don’t have to prove nothin’ to nobody but yourself. And after what you’ve gone through, if you haven’t done that by now, it ain’t gonna never happen. Now go on back.”

High Noon

High Noon movie movie poster.

High Noon is film about being torn between duty, love and standing up for what you believe in, even when everyone else abandons you. Gary Cooper plays Will Kane, a town marshal from New Mexico, who settles down with his pacifist Quaker wife (played by Grace Kelly, one of your grandpa’s babes). Kane plans to retire to a peaceful life are interrupted after he gets word that a former gunslinger is coming in on the noon train to settle an old score with him. His wife pleads with him to leave town, but Kane knows he can’t. He has a duty to defend the town and his honor. Will finds himself alone in the battle as everyone in town, including his deputy sheriff, have turned away from him. The tension builds, leading up to the final gun battle.

Best line: “Don’t shove me Harv. I’m tired of being shoved.”

Gandhi

Gandhi Indian movie poster.

It is impossible to capture the life of any man in one film, much less the life of a man who saw and did as much as Mahatma Gandhi. Thus the filmmakers who tried to capture his life on the silver screen sought not to give a blow by blow account of Gandhi’s life, but instead to capture his spirit in what they did show. The film begins with Gandhi’s assassination and then starts the retrospective of his life, beginning with his being thrown off a train for being Indian, and through his non-violent efforts to win Indians their rights and then their independence. One man truly can free an entire nation, if not change the entire world.

Best line: “They may torture my body, break my bones, even kill me, then they will have my dead body. NOT MY OBEDIENCE!”

Rebel Without a Cause

Rebel Without a Cause movie cover.

When people think about James Dean, they typically picture him in his role in Rebel Without a Cause. Even though it’s over 50 years old, Rebel Without a Cause still captures the feelings of modern teenage angst: nervous, confused, and feeling lost in a world that is changing. James Dean plays Jim Stark, a juvenile delinquent who moves into a new town. Jim clashes with other teenagers and his parents, whom he feels simply don’t understand him. The movie often points a finger at weak or absent fathers as the cause of teenage rebellion. Jim father’s always backs down to his wife when they argue, leading Jim to ask, “What do you do when you have to be a man?”

Best line: “You’re tearing me apart!”

The French ConnectionThe French Connection movie cover.

The French Connection is based on the true story of the Turmanio Case — a large heroine smuggling ring that linked the New York mob with a French mob in Marseilles. Two NYC cops busted the ring using tactics that were morally and ethically questionable. In The French Connection, the names have been changed, but the overall story stays the same. Legendary actor Gene Hackman plays Popeye Doyle, a ruthless cop who’ll do anything, legal or not, to get the job done: wiretaps, shakedowns, theft distribution of heroin to informants, extortion. You get the idea. The French Connection is thus a Machiavellian film. It forces the viewer to ask themselves if the ends really do justify the means, even if the end is noble. Oh, and a porkpie hat never looked so bad ass on a man as it does on Gene Hackman in this film.

Best line: “All right, Popeye’s here!”

Casablanca

Casablanca movie poster.

Filled with iconic scenes and memorable (but often misquoted) lines, Casablanca is a love story that you can watch with your girlfriend, while still feeling manly because it has Humphrey Bogart in it. Bogart plays Rick Blaine, a bitter American ex-patriate living in Casablanca during World War II. One day his old flame and the woman who turned him cynical, Ilsa Lund (Ingrid Bergman) walks into his club with her husband. An awkward and tense love triangle commences. In the end Blaine has a decision that many men face in their life: get what you want or sacrifice for the greater cause.

Best line: “Here’s looking at you kid.”

Unforgiven

Unforgiven movie poster actor holding gun.

Cinema often glorifies the Old West as a mythic time when good guys wore white and the bad ones wore black. In Unforgiven, director/actor/producer Clint Eastwood shines a light on the dark, violent, and morally ambiguous aspects of life in frontier America. Clint Eastwood plays William Munny, a once notorious and violent killer. Now, he’s just a quiet and tired farmer who is a devoted father still mourning his dead wife. But Will’s old life comes back to haunt him when he’s asked to do a hit on a cowboy who slashed the face of a prostitute. Will is transplanted from his farm in Kansas to a town in Wyoming where he meets Sheriff Little Bill Daggett (Gene Hackman), a mean son-of-a-bitch who is determined to not let the hit go down, no matter what it takes. Hold onto your hats, partners. This isn’t your grandpa’s Western.

Best line: “Hell of a thing, killing a man. You take away all he’s got and all he’s ever gonna have.”

The Iron Giant

The Iron Giant movie poster.

Animated films often don’t have much to offer a man, packed as they are with zany animal sidekicks and pop culture humor. But The Iron Giant is not so much an animated film as it is a film that happens to be animated. It’s a beautifully drawn, intelligent, and thoughtful film in which a giant robot falls from space and is befriended and taken care of by a boy. It’s 1957, and Cold War paranoia is running high, making the robot a target of government suspicion. I won’t give the ending away, but the story is an emotional tale about doing the right thing and sacrifice. A real masterpiece.

Best line: “You are what you choose to be. You choose. Choose.”

Gladiator

Gladiator movie cover.

General Maximus Decimus Meridius represents all that is good in a man. He loved his family, he loved his country, he knew how to lead, and he kicked some serious ass. This movie has everything a man would want in a flim: epic battle scenes involving huge swords and a protagonist who is fighting for what is right. If you ever need a film to pump you up for something, watch Gladiator.

Best line: “What we do in life, echoes in eternity.”

Mr. Smith Goes to Washington

Mr. Smith Goes to Washington movie poster.Jimmy Stewart plays a small town scoutmaster named Jefferson Smith who is picked to fill an empty U.S. Senate seat. The scheming politicians and party boss who foisted this office on Mr. Smith had plans to control this naive country bumpkin as a cog in their political machine. Little did they know, they picked a man filled with integrity, honor, and ideals. The filibusterer scene is classic. Mr. Smith spoke for 23 hours straight, beseeching his fellow Congressman to listen to their consciences, only to faint out of exhaustion at the end. Hokey? Maybe a bit. But in a world where corporate and political corruption runs rampant, men like Mr. Smith can inspire all men everywhere to stand up for what is right.

Best line: “Because of just one, plain, simple rule: Love thy neighbor. And in this world today, full of hatred, a man who knows that one rule has a great trust. You know that rule, Mr. Paine, and I loved you for it, just as my father did. And you know that you fight for the lost causes harder than for any others. Yes, you even die for them, like a man we both knew, Mr. Paine.”

The Hustler

The Hustler movie poster.A brash young pool shark named Fast Eddie (Paul Newman) sets his sights on defeating one of the game’s greatest players — Minnesota Fats (Jackie Gleason). But getting up on Fats isn’t enough. He wants to crush his opponent. Eddie’s relentless drive eventually becomes his undoing as his winning streak turns to defeat. But Fast Eddie is tenacious. He musters up some more cash and challenges Minnesota Fats again. The Hustler is about more than pool. It’s about winning and losing, greed, self-respect, and redemption.

Best line: “You know, this is my table, man. I own it.”

The Untouchables

The Untouchables movie poster.During the time of Prohibition, when it seemed the whole country could be bought and sold by ganglords, a small group of men stood firm and fought the storm that raged around them. The movie follows Eliot Ness, a U.S. Treasury Agent, and his group of hand picked men that brought down the infamous mob boss, Al Capone. Sean Connery is perfect as Jim Malone, the gritty Irish street cop who taught us never to bring a knife to a gun fight.

Best line: “You wanna know how to get Capone? They pull a knife, you pull a gun. He sends one of yours to the hospital, you send one of his to the morgue. That’s the Chicago way!”

The Grapes of Wrath

The Grapes of Wrath movie cover.Based on John Steinbeck’s famous novel, The Grapes of Wrath follows a group of “Okies” during the Great Depression on their westward trip to a California in search of a better life. Henry Fonda plays the story’s main protagonist, Tom Joad, a man who has to hold his family together as the high hopes they began the journey with collide with a far colder reality. The film softened Steinbeck’s political overtones and gave the story a more hopeful ending, yet it’s still a movie of real thought-provoking substance.

Best Line: “I’ll be all around in the dark – I’ll be everywhere. Wherever you can look – wherever there’s a fight, so hungry people can eat, I’ll be there. Wherever there’s a cop beatin’ up a guy, I’ll be there. I’ll be in the way guys yell when they’re mad. I’ll be in the way kids laugh when they’re hungry and they know supper’s ready, and when the people are eatin’ the stuff they raise and livin’ in the houses they build – I’ll be there, too.”

Bullitt

Bullit movie poster.Steve McQueen is the man and Bullitt puts his rugged manliness on full display. The film is raw and edgy and changed the way detective movies were made in Hollywood. The best thing about this movie? The epic car chase scene through the streets of San Francisco. It was and still is the best car chase scene in film history. A 390 GT Mustang never looked so good.

Best line: “You work your side of the street and I’ll work mine.”

The Best Years of Our Lives

The Best Years of Our Lives movie poster.

Although we remember World War II as “the good war,” the one where the soldiers didn’t complain much about the hell they went through, GIs from the Big One had the same rough time transitioning back to home life that all soldiers did and do. And The Best Years of Our Lives is a rare movie that honestly captures that experience. The film follows 3 servicemen who hitch a ride together back to the same town. Each has a very different life he is coming home to, and each has their own struggles to fit back into that life.

Best line: “You know, I had a dream. I dreamt I was home. I’ve had that same dream hundreds of times before. This time, I wanted to find out if it’s really true. Am I really home?”

Die Hard

Die hard movie poster.With believable characters and deft touches of humor supplementing the blow em up plot, Die Hard reigns as one of the greatest action films of all time. John McClane, played by Bruce Willis, is an off-duty cop who gets caught up in a fight when sophisticated bank robbers crash his wife’s company Christmas party. He picks them off one by one, and even survives their attempt to blow up the building. I’d hate to see what John McClane would have done if he had his shoes on.

Best line: “Come out to the coast, we’ll get together, have a few laughs . . .”

Enter the Dragon

Enter the Dragon movie poster.

An underground martial arts tournament, drugs, prostitutes, revenge, some sick Kung Fu, mirrors — is there anything this movie doesn’t have? The first Kung Fu flick to come out of Hollywood was, sadly, the final one from Bruce Lee. Hailed as one of the most financially profitable films of all time, Enter the Dragon capitalized on the insane ability of one of martial arts’ prodigies. The story follows Lee on a journey to avenge his sister’s death and bring honor back to his master and Shaolin Temple. Throw in a secret island, some hookers, maybe a little international espionage and . . . let’s face it, we don’t really watch these kinds of movies for the plot. Bruce Lee is ridiculously awesome and that’s all I really need to say.

Best line: “Don’t think. FEEL. It is like a finger pointing away to the moon. Do not concentrate on the finger or you will miss all that heavenly glory.”

Malcolm X

Malcolm X movie poster.

American culture has unfortunately and simplistically rendered the history of the civil rights movement as a battle between Martin Luther King Jr., the good guy who got it right, and Malcolm X, the bad guy who got it wrong. The story is of course much more complicated, as is Malcolm X himself. You owe it to yourself to get a fuller picture of the man by reading his autobiography, and watching this film which also goes a long way in showing both his faults and his too often forgotten virtues.

Best line: “A man curses because he doesn’t have the words to say what’s on his mind.”

Cinderella Man

Cinderella Man movie poster.

A validation of self-worth can be a powerful element to sustain a man. After an injury caused James Braddock to plummet from the top of the boxing world, he struggled to survive and provide for his family through the Great Depression. At nearly the breaking point, he gets a chance to fight again. Everyone expected him to be an easy opponent, but a desperate and hungry man can be extremely dangerous. He wins the fight and continues to win, leading him to fight in the heavyweight championship. Braddock’s true story is about more than boxing; his rise, fall, and dream of redemption mirrored the whole nation’s hopes.

Best line: “I have to believe that when things are bad I can change them.”

The Right Stuff

The Right Stuff movie poster.From the breaking of the sound barrier by Chuck Yeager to the space flights of the Mercury 7 astronauts, the movie provides an inside look at the American side of the space race. The flaws and reality of the program are exposed along with those of the astronauts. They were human – which makes them all the more heroic.

Best line: “What Gus is saying is that we’re missing the point. What Gus is saying is that we all heard the rumors that they want to send a monkey up first. Well, none of us wants to think that they’re gonna send a monkey up to do a man’s work. But what Gus is saying is that what they’re trying to do to us is send a man up to do a monkey’s work. Us, a bunch of college-trained chimpanzees!”

True Grit

True Grit movie moster.

As westerns go, is there any greater than those starring John Wayne – and here the eye patch only makes him more hardcore. Hired by a young girl to track down the man that killed her father, Wayne takes on the role of Rooster Cogburn, the marshal with “grit” enough to bring the man to justice. Despite his failing health, John Wayne played the ailing law man to an Oscar-winning performance.

Best line: “Well, a gun that’s unloaded and cocked ain’t good for nothin’.”

A Streetcar Named Desire

A Streetcar Named Desire movie poster.

Sometimes people are just barely hanging on to their sanity. Those around them can either talk them off the ledge, or push them over it. Case in point: Blanche Dubois. Now this chick may have been a few cards short of a deck to start with, but at least she was holding on. Stanley may be the perfect example of how a man should never treat a woman. If the man had any ounce of sympathetic understanding to replace his uber-brutish machismo, Blanche may have turned the corner into the land of the functional.

Best line: “Stella!”

Vertigo

Vertigo movie poster.

Hailed as one of the greatest movies of all time, the film captures a man’s descent from sanity as the effects of his acrophobia prevent him from saving the woman he came to love. Of course, the movie wouldn’t be a Hitchcock classic if there weren’t some crazy twists thrown in there. The character played by Jimmy Stewart suffers from an intense fear of heights and strange events continue to unfold as a result. Mix in some shadowy women, a little murder and you’ve got one of the greatest mystery films ever made. Moral of the story: get over your fear of heights before people start dying.

Best line: “You shouldn’t keep souvenirs of a killing. You shouldn’t have been that sentimental.”

All Quiet on the Western Front

Poster of movie All Quiet on the Western Front.All Quiet on the Western Front is the godfather of modern war movies. Almost all pay homage in their execution or effect. The film is from the eyes of German soldiers fresh to the front lines in WWI. The story follows Paul as he and his buddies question the politics of war and other atrocities they face. As those in the group continue to die, even when they are supposed to be out of harm’s way, the futility of war becomes ever more apparent. A glimpse into the mind of those that fight, the film was groundbreaking in its intense portrayal of the frontlines.

Best line: “You still think it’s beautiful to die for your country. The first bombardment taught us better. When it comes to dying for country, it’s better not to die at all.”

The Shawshank Redemption

The Shawshank Redemption movie cover.

Several themes run deep in this adaptation of Stephen King’s novella. Not to get too philosophical on you, but I could spend days digging through all the elements this movies presents. Andy, a banker, (Tim Robbins) is falsely imprisoned for the murder of his wife and her boyfriend. In prison he develops a friendship with Red (Morgan Freeman), and they do whatever it takes to survive. In the morally bankrupt world of the prison, Andy maintains his integrity and relies on his unfounded hope in the world. I guess I probably shouldn’t use the word “redemption” to describe the movie because it’s actually in the title, but it’s how this redemption is achieved that makes the story shine. Hands down, a movie for the ages.

Best line: “Get busy living or get busy dying.”

Cool Hand Luke

Cool Hand Luke movie cover.At first glance, this movie seems like just another slacker anti-establishment movie, and maybe it is, but what makes this movie great is the layers of interpretation that can be applied to it. Luke (Paul Newman) is sent to prison camp for vandalizing parking meters and faithfully resists whatever authority is thrown at him. Though gaining the admiration of his peers with his non-conformist attitude and escape attempts, the prison officials brutally punish Luke to break his spirit. Eventually they do and Luke is abandoned by his admirers. One last escape attempt leads Luke to a final confrontation. Take whatever path of interpretation you want, religious to existential to just about anything – Cool Hand Luke speaks to the rebel in all of us. R.I.P. Paul Newman. Thanks for all the manly times.

Best line: “What we have here is a failure to communicate.”

Spartacus

Spartacus movie cover.Gladiator/Slave revolts – does it get any more inspiring? You’re forced to fight some dude for no reason, they take the woman you love, the crap just keeps piling up and there’s really no other choice – let’s take on the most powerful empire on the planet. Sounds crazy, but Spartacus almost pulled it off. Rallying the oppressed around him, he led one of the largest revolts of all time. In one of the most memorable scenes in movie history, while facing certain death, his men stand up and proclaim “I am Spartacus” to preserve their leader from crucifixion. That’s some serious loyalty, gentlemen.

Best line: “I am Spartacus.”

Mississippi Burning

Mississippi Burning movie cover.

Based loosely on the true story of the murder of three civil rights workers in 1964, Mississippi Burning follows the FBI’s attempts to bring the perpetrators of that crime to justice. The film centers on two of the Bureau’s agents, Alan Ward (William Dafoe) and Rupert Anderson (Gene Hackman). Ward wants to conduct the investigation by the book, while Anderson, who is from Mississippi, understands that using more, let’s say loosely legal tactics, is the way to go. Like threatening the deputy sheriff with a deadly straight razor shave. Nice.

Best line: “With an old man who was just so full of hate that he didn’t know that being poor was what was killing him.”

Chinatown

Chinatown movie poster.

Who would have thought stealing water would lead to such craziness? Nicholson is at his hardcore finest as a private eye that sheds light on a huge scandal involving real estate, dams, water, some unsuspecting senior citizens, and even incest. That’s a really random list, but it clearly worked for a lot of people – it was nominated for 11 Academy Awards.

Best line: “Forget it, Jake, it’s Chinatown.”

Remember the Titans

Remember the Titans movie poster.

Nothing brings people together like football and desegregation. In the early 1970s, two schools in Virginia are forced to segregate in order to comply with a federal mandate. Herman Boone (Denzel Washington) is selected as the head coach of the football team over the current successful white coach. The town goes crazy. The team goes crazy. The coaches go crazy. But the team comes together and they play a dream season for their new coach. I love this movie. I forget how much I love it until it comes on TV, and I can’t change the channel. I seriously wish Denzel Washington was my football coach. I would have destroyed everyone.

Best line: “This is where they fought the battle of Gettysburg. Fifty thousand men died right here on this field, fighting the same fight that we are still fighting among ourselves today. This green field right here, painted red, bubblin’ with the blood of young boys. Smoke and hot lead pouring right through their bodies. Listen to their souls, men. I killed my brother with malice in my heart. Hatred destroyed my family. You listen, and you take a lesson from the dead. If we don’t come together right now on this hallowed ground, we too will be destroyed, just like they were. I don’t care if you like each other of not, but you will respect each other. And maybe . . . I don’t know, maybe we’ll learn to play this game like men.”

Braveheart

Braveheart movie poster.

Mistake #1: Primae noctis? Are you crazy, Long Shanks?

Mistake #2: Slicing up William Wallace’s woman? Are you asking to get your fort burned down? Never hack off a Scotsman.

Mel Gibson’s portrayal of the battle painted warrior poet William Wallace is easily one of the greatest heroes in all of movie history. I refrain from commenting on historical accuracies, but the Battle of Stirling is one of, if not the best battle scene of all time. I can say no more.

Best line: “Every man dies, not every man really lives.”

Citizen Kane

Citizen Kane movie poster.Citizen Kane is not only a classic film frequently ranked as the very best of all time, it’s also a handy primer on how not to be a man. Don’t let power corrupt your soul; don’t let pride crush your relationships; don’t push everyone away until you die alone, an arrogant jerk with his just desserts. And don’t get so hung up on childhood memories that you can never build a life for yourself.

Best line: “Maybe Rosebud was something he couldn’t get, or something he lost. Anyway, it wouldn’t have explained anything . . . I don’t think any word can explain a man’s life. No, I guess Rosebud is just a . . . piece in a jigsaw puzzle . . . a missing piece.”

On the Waterfront

On the Waterfront movie.

It’s the story of longshoreman and ex-boxer Terry Malloy (Marlin Brando) who is blackballed and savagely beaten for informing against the mobsters who have taken over his union and sold it out to the bosses. During the film we see Malloy become aware of his personal power to fight and eliminate the corruption that surrounds him. It’s a classic story of one man defying insurmountable odds to fight for what’s right.

Best line: “You don’t understand! I coulda had class. I coulda been a contender. I could’ve been somebody, instead of a bum, which is what I am.”

The Bourne Identity (Trilogy)

The Bourne Identity movie poster.

I truly believe, that deep in our hearts, all men want to be assassins. I don’t know if it is the mystique, the weapons, the fact that you are a killing machine, or whatever; assassins may very well be the top of the food chain. But what makes the Bourne movies so watchable, is that they don’t rely solely on Jason Bourne kicking the crap out of people. Of course that element is present, but Matt Damon is able to bring the character to the forefront. It is the relationships that Bourne builds with himself and others that keep the films from crossing over into the cliché. That and killing guys with pens and/or magazines.

Best line: “I can tell you the license plate numbers of all six cars outside. I can tell you that our waitress is left-handed and the guy sitting up at the counter weighs two hundred fifteen pounds and knows how to handle himself. I know the best place to look for a gun is the cab of the gray truck outside, and at this altitude, I can run flat out for a half mile before my hands start shaking. Now why would I know that? How can I know that and not know who I am?”

Rocky

Poster of movie The Bourne Identity.

I love a good underdog story, and Rocky is the king of them all. The movie poster’s tag line sums up the movie pretty well: “His whole life was a million-to-one shot.” Sylvester Stallone plays Rocky Balboa, a two bit working class boxer from Philadelphia who gets the chance to fight the world heavyweight champion of the world. The training montage with Rocky running up the stairs of the library at the end is a cultural icon and still inspires men to get off their butt and start exercising. Cue “Eye of the Tiger.”

Best line: “I just want to say hi to my girlfriend, okay? Yo, Adrian! It’s me, Rocky.”

Apollo 13

Apollo 13 movie poster.

I don’t think you could dream up a worse situation: stuck in a tin can, floating around in outer space with no power and running out of oxygen. The now famous line, “Houston, we have a problem,” is definitely an understatement. Three guys trapped in a disabled shuttle after a trip to the moon goes horribly wrong, and all they have to save them are some of the greatest minds on the planet. Using some killer brain power and whatever junk they can find around the ship, NASA tries to bring these boys back home.

Best line: “With all due respect, sir, I believe this is gonna be our finest hour.”

Glory

Glory Movie poster.

Overcoming prejudice, the men of the 54th Massachusetts become one of the first units in the US Army to be made of up African American volunteers. In the face of a decree claiming that any black man caught fighting for the Federal Army would be hanged and any white officer leading those men would also be executed, the group fights to prove themselves to their own Union Army as well as the enemy Confederates. Lead by Col. Robert Gould Shaw, the unit makes a valiant but unsuccessful attempt to take Ft. Wagner – losing half their men in the process, but gaining respect and admiration for their bravery.

Best line: “Give ’em Hell ’54!”

One Flew Over the Cuckoo’s Nest

One Flew Over the Cuckoo’s Nest movie poste.

In an Oscar-winning performance, Jack Nicholson plays the part of a criminal who pretends (or is he?) to be crazy in order to placed in a mental hospital instead of prison. The patients there are under the oppressive, icy watch of Nurse Ratched. R.P. McMurphy (Nicholson) sets out to give the patients some optimism, happiness, and freedom, while also driving Nurse Ratched crazy. There’s no big action scenes or special effects, almost the entire movie is set in the hospital, and yet the characters and McMurphy’s rebellion against the soul-sucking nature of the institution makes for a story that will stick with you for a long time to come.

Best line: “But I tried, didn’t I? Goddamnit, at least I did that.”

The Karate Kid

The Karate Kid movie poster.

I am hard pressed to think of a saying with more philosophical depth and insight than “Wax on, wax off.” It’s too bad that doing chores doesn’t really teach karate. I would be a grand master by now – but that’s beside the point. Daniel-san and Mr. Miyagi create one of the most memorable underdog stories as they take on the Kobra Kai at the All-Valley Karate Tournament. Plus, Daniel-san gets a car and the girl, Alli with an “I.” Will Smith’s ten-year-old son is slated to star in a remake of the Karate Kid, constituting the greatest sacrilege in film history.

Best line: “Wax on, wax off.”

The African Queen
The African Queen movie poster.

The things a man will do at the insistence of a woman. Poor Charlie Allnut (Humphrey Bogart) gets suckered into going after a German gunboat by the feisty Rose Sayer. When her brother is killed by the invading Germans in East Africa, she recruits Charlie, the captain of the African Queen, to take down the offenders. I guess Katherine Hepburn can be pretty persuasive because despite the craziness and certain death that awaits them, Charlie gives in. It works out pretty well for him because they get married and he gets to blow up the bad guys.

Best line: “Well, yeah, but I never tried shooting myself in the head neither.”

The Sting

The Sting movie poster.A classic caper movie set in 1936 Chicago. Two Chicago con artists (Newman and Redford) set out to avenge the murder of a mutual friend, only to find themselves in a high-stakes game against the master of all cheating mobsters (Robert Shaw). The dialogue between Newman and Redford is fresh and entertaining. Art of Manliness readers may appreciate the format of the film. The movie’s sections are divided by old-fashioned title cards with lettering and illustrations rendered in a style reminiscent of the Saturday Evening Post. The Sting also breathed new life into “The Entertainer,” a piano rag written by Scott Joplin.

Best line: “Sorry I’m late. I was taking a crap.”

Chariots of Fire

Chariots of Fire movie poster.How much do you believe in yourself? And maybe more importantly, what are you willing to do to stand up for what you believe? Two men from the British track team vie for Olympic glory in 1924. Both run the 100 meters and both have extremely different reasons for running. One must overcome prejudice and Anti-Semitism, the other risks everything to stay true to his God.

Best line: “Then where does the power come from, to see the race to its end? From within.”

Mr. Deeds Goes to Town

Mr. Deeds Goes to Town movie cover.

If you inherit a bunch of money, and you want to be charitable and buy poor people farms so that they can work and provide for themselves, and your financial advisor calls you crazy, and they end up putting you on trial to judge your sanity – what do you do? Start punching people in the face, that’s what.

Best line: “People here are funny. They work so hard at living they forget how to live.”

Schindler’s List

Poster from a movie Schindler’s List.

One man’s eyes are opened to the brutality of the surroundings he once embraced. Though far from a perfect man, Oskar Schindler did all he could to preserve the lives of Jewish workers as the “Final Solution” threatened them all with extinction. Risking his life and using his personal wealth, he was able to save the lives of close to 1,100 people. Moving, brutal, and beautiful; it’s hard to watch but must be. A masterpiece.

Best line: “It’s Hebrew, it’s from the Talmud. It says, ‘Whoever saves one life, saves the world entire.’”

All the President’s Men

All the President’s Men movie cover.With newspapers fighting to survive, it’s great to watch a film about how essential good journalism really is. The film follows Woodward and Bernstein as they shed light on the break-in at the Watergate Hotel and a trail of illegal activity that led to the White House. Talk about some gutsy reporters. Watchdogs, indeed. This movie has all the trimmings of the finest mystery thrillers – but it actually happened. I bet this movie makes Nixon wish he would have changed that whole “freedom of the press” business while he was in office.

Best line: “Listen . . . I’m tired of your chickens**t games! I don’t want hints . . . I need to know what you know.”

Zulu

Zulu movie cover.The Victoria Cross is awarded to any person under military command for “most conspicuous bravery, or some daring or pre-eminent act of valour or self-sacrifice.” It is the highest military decoration awarded by the British military, and the battle at Rourkes Drift saw eleven awarded – the most in a single engagement.

140 British soldiers guarding a supply dump faced an overwhelming Zulu army of 4,000. They defended themselves and nearly a third of their men that were sick in the infirmary from the onslaught. The movie is ominous as the stage is set for the battle and urgency takes over as the battle ensues. Although the movie takes liberties with the elements of the true battle, little is diminished in its inspiring effect.

Best line: “A prayer’s as good as bayonet on a day like this.”

Patton

Patton movie cover.What do you get when you cross a crazy man with a military genius? George S. Patton. Old Blood and Guts. Patton was an American tank commander who was a main factor in the Allies victories in North Africa and Italy during WWII. Patton isn’t so much about WWII than it is about this larger than life man. Even if you haven’t seen this film, you’ve probably seen the famous speech scene in front of the American flag at the beginning of the movie.

Best line: “Now I want you to remember that no bastard ever won a war by dying for his country. He won it by making the other poor dumb bastard die for his country.”

Lawrence of Arabia

Lawrence of Arabia movie cover.

It seems we hear about guerrilla warfare in the desert almost every day in the news. Maybe we should take some cues from our good buddy Larry of Arabia and turn this war around. The film follows T.E. Lawrence, an officer in the British army during WWI, as he rallies the Arab people in fighting the British enemies. Lawrence overcomes crazy odds and impresses the locals with his tenacity and skill.

Best line: “The trick, William Potter, is not minding that it hurts.”

The Godfather (I and II)

The Godfather poster.The Godfather is more than just a shoot em up mobster movie. It’s a cinematic masterpiece that touches on themes that are universal to the human condition: family, honor, the choice between good and evil, and revenge just to name a few. We get a first hand look at the inner-conflict that Michael Corleone (Al Pacino) faces as he chooses between leading a normal life or taking part in the family business.

Best line: “I’m gonna make him an offer he can’t refuse.” And a hundred others.

12 Angry Men

12 Angry Men movie poster.A young disadvantaged boy is charged with murder, and the case against him seems overwhelming. While all the jurors are ready to convict the kid so they can get back to their lives, one man stands up for justice and gives the kid the fair trial that he deserves. Despite the social pressure to put in a guilty vote, juror #8 slowly persuades his fellow jurors that not enough evidence exists to convict the defendant.

Best line: “We may be trying to let a guilty man go free, I don’t know. Nobody really can. But we have a reasonable doubt, and that’s something that’s very valuable in our system. No jury can declare a man guilty unless it’s SURE.”

Lord of the Rings (Trilogy)

Lord of the Rings movie cover.

Sure, most of the characters are mythological creatures like hobbits and dwarfs, but that doesn’t mean we can’t gleam some lessons on manliness from them. In this action-packed and beautifully filmed trilogy we see examples of loyalty, duty, and bravery displayed by the characters. And the story’s main protagonist, Frodo Baggins, teaches us that we often don’t choose our calling in life, it chooses us. And when it does, give it all you got. The story is so good you can’t help but watch all three back-to-back in a nine-hour marathon.

Gangs of New York

Gangs of New York movie cover.

Gangs of New York takes viewers back to the mean streets of 19th century New York City. It was time when waves of Irish immigrants poured into New York City every day and the city was rife with political corruption. Irish American Amsterdam Vallon (Leonardo Di Carprio) returns to his old New York neighborhood to avenge the death of his father at the hands of the murderous, knife wielding nativist, Bill the Butcher (Daniel Day Lewis). The costume design and art direction in this film are amazing and Daniel Day Lewis does an impeccable job in creating one of the most interesting, evil, and strangely sympathetic characters in all of movie history. He totally got robbed of the Best Actor Oscar.

Best line: “Thank God. I die a true American.”

The Good, the Bad, and the Ugly

The Good, the Bad, and the Ugly movie poster.

The Good, the Bad, and the Ugly is the last in Sergio Leone’s trilogy of “spaghetti westerns.” Despite being the last, it has come to stand on its own. Even if you haven’t seen the film, you probably know something about it. Most likely you’ve heard the iconic theme song with it’s spooky “wha wha wha” shouts. And you’ve probably seen images and scenes of Clint Eastwood wearing a poncho and smoking a cigar. The film follows three cowboys during the Civil War who try to double cross each other in search of Confederate gold. There’s not much of a deep message in this film. It’s just a lot of fun to watch.

Best line: “When you have to shoot, shoot. Don’t talk.”

Dead Poets Society

Dead Poets Society movie poster.

To live deliberately. This idea is central to the awakening of a group of young preparatory school students inspired by their new English teacher. Robin Williams plays the role of John Keating, the brazen new teacher at a conservative all boys private school. He inspires them to view the world differently and suck the marrow out of their lives. The boys take on their teenage world armed with new perspectives and courage to live their lives with purpose. Sadly, their tightly controlled lives clash and their new insight is challenged. The movie is heartbreakingly inspiring and truly encourages one to seize the day, despite the overwhelming opposition.

Best line: “Carpe diem, seize the day boys, make your lives extraordinary.”

The Searchers

The Searchers movie poster.

Directed by the legendary John Ford, John Wayne gives his most intense acting performance of his career as the dark and vengeful Ethan Edwards, who vows to kill the Comanche raiders that murdered his beloved sister-in-law, brother, and took captive two of their daughters. Wayne does a fantastic job in embodying a conflicted, complex man whose racism and desire for revenge sets up a situation far more morally ambiguous than Cowboys vs. Indians.

Best line: “That’ll be the day.”

Pride of the Yankees

Pride of the Yankees movie poster.The Iron Horse’s talent and tenacity made him a legend. His courage in the face of a debilitating disease made him a hero. Lou Gehrig was one of the classiest baseball players America has ever had and who better to play him than Gary Cooper. If you’re not tearing up at the famous “Luckiest man” speech, you my friend, have no soul.

Best line: “Today, I consider myself the luckiest man on the face of the earth.”

Saving Private Ryan

Saving Private Ryan movie poster.

Hailed as the greatest war movie ever made, Saving Private Ryan immerses the viewer in the horrors of the Allied invasion of Europe. While the battle scenes are great, the story and the underlying question it poses are even better. Tom Hanks plays an army captain who leads a small squadron to find and send home a soldier who lost all three of his brothers in war. Why risk the lives of several men, just to save one? That’s the question that we’re left asking ourselves during the movie. The answer? It’s just the decent thing to do. The end scene will leave you crying like a baby and with a new found respect for the brave men who sacrificed everything for our freedoms.

Best line: “James, earn this . . . earn it.”

American Beauty

American Beauty movie poster.

Meet Lester Burnham; a man who feels like he’s completely dead inside. His wife and daughter despise him and don’t show him any respect. His big corporate job and the demands of modern life have emasculated him. But Lester starts waking up from his emotional comma after he meets his daughter’s good looking friend. Sadly, Lester’s awakening leads him down a path of immaturity that results in tragic consequences for him and his family. American Beauty is a beautifully filmed movie that sheds light on the dark side of the American Dream. We learn from the messed up characters in this movie that happiness can’t be bought and that the suburbs can kill your manhood if you let it. It’s The Death of a Salesman for the 1990s.

Best line: “Both my wife and daughter think I’m this gigantic loser and they’re right, I have lost something. I’m not exactly sure what it is but I know I didn’t always feel this . . . sedated. But you know what? It’s never too late to get it back.”

Seven Samurai

Seven Samurai movie poster.

Seven Samurai is probably one of the most influential films ever made. Countless westerns were inspired by this 1954 Japanese classic. The Magnificent Seven being one of them. Set in feudal Japan, a peasant village hires seven medieval mercenaries to defend it from marauding bandits. The bravery the seven samurai show will inspire any man to stand up for injustice.

Line: “This is the nature of war. By protecting others, you save yourselves.”

From Here to Eternity

From Here to Eternity movie poster.

From Here To Eternity is probably best remembered for the famous beach love scene of Burt Lancaster and Deborah Kerr, but there’s a lot more to this legendary film. Based on the novel by James Jones, From Here to Eternity is about the life of an American soldier stationed in Hawaii before the bombing of Pearl Harbor. The film considerably tones down the controversial topics in Jones’ book. However, it was still groundbreaking in its depiction of topics that were taboo in the 1950s: serial adultery, alcoholism, and a U.S. military teeming with corruption and incompetence. The film focuses on two professional soldiers: Prewitt (Montgomery Clift), a hard-headed ex-boxer given “the treatment” by his commanding officer to force him to fight in the regimental boxing championships and the company’s Top Sergeant (Burt Lancaster), who is having an affair with the officer’s frigid wife (Deborah Kerr). From Here to Eternity reminds you that sometimes life’s a messy thing and doesn’t always have happy endings.

Best line: “A man don’t go his own way, he’s nothing.”

Old Yeller

Poster of Old Yeller movie.

No other movie better portrays the powerful bond between man and canine. No other movie better drives home the message that becoming a man sometimes means doing things that hurt.

Best line: “He was my dog. I’ll do it.”

To Kill a Mockingbird

To Kill a Mockingbird movie poster.Gregory Peck plays Atticus Finch, a small-town Alabama lawyer and widower father of two, who passionately defends a black man accused of raping a white woman. The courtroom scenes have inspired many a legal career. In addition to being an inspiring lawyer, Atticus Finch is an inspiring father. If you’re a dad or a dad to be, watch To Kill a Mockingbird and take some notes.

Best line: “If you can learn a simple trick, Scout, you’ll get along a lot better with all kinds of folks. You never really understand a person until you consider things from his point of view, until you climb inside of his skin and walk around in it.”

Dr. No

Dr. No movie poster.

The first James Bond film and quite possibly the best. 007 (Sean Connery) is sent on a mission to Jamaica to investigate the murder of a fellow MI-6 agent. Action, intrigue, and suggestively-named women are mixed in to make this a stellar guilty pleasure.

Best line: “Bond. James Bond.”

Jeremiah Johnson

Jeremiah Johnson movie poster.

An American soldier (Robert Redford) goes west to escape the Mexican War and becomes a mountain man. A grizzled old trapper takes Johnson in and teaches him how to survive harsh winters, bears, and Indians. After accidentally violating an Indian burial ground, he loses his new Indian wife and their adopted child to vengeance, and a vendetta between him and the Crows ruins his idyllic life as a fur trapper. For about half the movie we get to see Jeremiah Johnson take on surprise attacks by Crow Indians with nothing but his fists and a Bowie knife. The film is actually based on the real life of mountain man Jeremiah Johnson

Best line: “Where you headed?” “Same place you are, Jeremiah: hell, in the end”

A River Runs Through It

A River Runs Through It movie poster.

A River Runs Through It follows an older brother’s attempt to save his talented brother from self-destruction through the healing power of fly fishing. Set in Montana’s beautiful Blackfoot River country, the viewer is presented with stunning shots of nature. Director Robert Redford’s commentary and narration engages the viewer to ponder important life questions. From the story we learn that sometimes the people we love the most are the hardest to help.

Best line: “It is those we live with and love and should know who elude us.”

The Bridge On the River Kwai

Bridge On the River Kwai movie poster.A group of British prisoners of war during WWII are ordered to build a bridge for the Japanese Burma-Siam railway. Instead of sabotaging the bridge, the men build the bridge under the command of Colonel Nicholson. The bridge becomes a metaphor for the futility and insanity of war, egotistical pride, a belief in saving “face,” and stubborn, inflexible obedience to class, military codes, and rules.

Best line: “Do not speak to me of rules. This is war! This is not a game of cricket.”

Gentleman’s Agreement

Gentleman’s Agreement movie.

“I swear I’m not a racist but . . .” So many people have no idea what their true feelings toward people are until their foot is shoved in their mouth. In the film, Phil Green (Gregory Peck) poses as a Jewish man in the cultured society of New York and Connecticut to gain information for a magazine article. His eyes are opened to the world of bigotry that often goes unnoticed.

Best line: “I’ve come to see lots of nice people who hate it and deplore it and protest their own innocence, then help it along and wonder why it grows. People who would never beat up a Jew. People who think anti-Semitism is far away in some dark place with low-class morons. That’s the biggest discovery I’ve made. The good people. The nice people.”

Fight Club

Fight Club movie poster.

At first blush, Fight Club just seems like another violent movie with guys beating each other to a bloody pulp. The fighting, however, is just a vehicle to explore and critique the sad state of modern American masculinity. Everything about Fight Club is amazing — the story, the cinematography, the acting, everything. Edward Norton plays a nameless narrator whose life has been hollowed out by his job and his desire to own all the contents in the IKEA catalog. His life changes when he meets soap salesman, Tyler Durden. I wish I could go on, but I can’t. The first rule of Fight Club is never talk about Fight Club. Guess you’ll have to see the movie yourself.

Best line: “You’re not your job. You’re not how much money you have in the bank. You’re not the car you drive. You’re not the contents of your wallet. You’re not your f****ing khakis.”

Indiana Jones (Raiders of the Lost Ark and The Last Crusade)

Indiana Jones movie poster.

The hat, the whip, the legend. There aren’t too many films that inspire adventure today. The problem with most current action movies is that there’s too much emphasis on the action and not enough time spent on developing a good story. Indiana Jones strikes a perfect balance of action and first-rate storytelling. Watching an Indiana Jones movie will take you back to your boyhood dreams of fighting Nazis, getting the girl, and swinging from beams with your trusty bullwhip.

It’s a Wonderful Life

It’s a Wonderful Life movie poster.

A perennial Christmastime favorite (mainly because the copyright wasn’t renewed in 1975 and TV stations could air it for free). We often think of It’s a Wonderful Life as a heartwarming and inspiring film. But if you take a step back, you’ll see that there’s an underlying darkness to it. George Bailey (Jimmy Stewart) had dreams of traveling, going on adventures, and being an architect in a big city. But his responsibilities to his family and his community kept him from leaving his small town. After the savings and loan he owns goes bust, Bailey considers suicide (pretty heavy for the 1940s), only to be shown what life would be like without him. In the end, he learns that happiness is found not in pursuing big dreams but through family, friends, and fulfilling responsibility to those around you.

Best line: “Strange, isn’t it? Each man’s life touches so many other lives. When he isn’t around he leaves an awful hole, doesn’t he?”

A Raisin in the Sun

Poster of a A Raisin in the Sun.

Is A Raisin in the Sun about racism? Obviously. Is it about family and dreams and identity? Of course. But it’s also about being a man. About becoming a man. Walter Lee Younger makes mistakes, he’s stubborn, and he has his dreams dashed. But he’s not defeated. He finds the humility to unite with his family and the pride to stand up for his convictions. He mans up in the end.

Best line: “He finally come into his manhood today, didn’t he? Kind of like a rainbow after the rain.”

The Natural

The Natural movie poster.

When we think of mythic heroes, we often think of characters from classical history like Achilles or Agamemnon. In The Natural, we see the archetype of the epic and mythological hero transposed from the battlefields of ancient Greece to the baseball diamonds of 1920s America. Robert Redford plays Roy Hobbs, a baseball player whose promising career was cut short in his youth by a deadly dame. 16 years later, Roy is back to fulfill his dream to play major league ball. Just as Achilles had his mythological armor made by the gods, Roy wields his mythological bat, aptly named “Boy Wonder,” made from a tree struck by lightning. When you get down to it, The Natural is about re-birth and going after a dream no matter what it takes. Beautifully shot and masterfully scored, you’ll be bawling like a baby by the time the credits roll.

Best line: “You’ve got a gift Roy . . . but it’s not enough — you’ve got to develop yourself. If you rely too much on your own gift . . . then . . . you’ll fail.”

Ghostbusters

Ghostbusters movie poster.

I hold a special place in my heart for Ghostbusters. When I was a kid, I was obsessed with the movie. I watched it over and over, played the video games, and had all the Ghostbusters toys. Moreover, from the ages of 4 until 6, I demanded that my family call me Peter Venkman and not Brett. Back then I loved the movie primarily for the cool special effects and proton packs. 20 years later, I still think the proton packs are cool. But I’m finally starting to appreciate how incredibly funny Ghostbusters is. There’s no deep meaning you can take away from Ghostbusters, it’s just a really entertaining and fun movie. When you’re looking for something to watch after a long day at work, you know who to call.

Best line: “Ray, when someone asks you if you’re a god, you say ‘YES!’”

Ben Hur

Ben Hur movie poster.

Two words: chariot race. Before CGI and all the other wires and fancy tricks, they had real guys doing crazy stuff that most filmmakers today won’t even dream about. And man, does it pay off for this picture. The chariot race is probably the most remembered event in the film, but it is certainly not the guts of the story. Family, the futility of revenge, inner peace, and a host of other themes lay the foundation for the character arc of Judah Ben Hur. One of Charleton Heston’s greatest roles.

Best line: “You can break a man’s skull, you can arrest him, you can throw him into a dungeon. But how do you control what’s up here? How do you fight an idea?”

Groundhog Day

Groundhog Day poster.

On it’s surface, Groundhog Day is just another comedy. But if you delve deeper, you’ll find a story that drives home some profound messages. Bill Murray plays Phil Connors, a cynical egotistical weatherman who, for some reason, must live the same day over and over. That day just happens to be Groundhog Day. We never learn how long Phil is stuck in this purgatory of repetition. It could have been a month or maybe even a thousand years. While the repetition provides some funny gags, it also sets up a backdrop for Phil (and the audience) to be hit with a heavy dose of anagnorisis. From Phil’s plight we learn the only real change in life can only come from within us.

Best line: “I’m a god.” “You’re God?” “I’m a god. I’m not *the* God . . . I don’t think.”

Top Gun

Top Gun movie poster.

Another childhood favorite. Remember how I forced my family to call me Peter Venckman for two years after I saw Ghostbusters? Well, after I saw Top Gun in Kindergarten, they were calling me Maverick. In the role that made him a blockbuster star, Tom Cruise plays cocky navy pilot Pete “Maverick” Mitchell who is selected to train with the best of the best at the prestigious Navy flight school called “Top Gun.” Yeah, the story is sort of cheesy and yeah, some of the battle scenes weren’t all that realistic, but Top Gun entertains from beginning to end. Plus, it has a killer Kenny Loggins theme song. What more can you ask for in an 80s flick?

Best line: “I feel the need . . . the need for speed!”

Swingers

Swingers movie cover.

We’ve all had moments in our life when our self confidence has been completely obliterated. Nothing goes right and it seems as though nothing will. But with time and some help from our buds, we get our swagger back. To me, that’s what Swingers is all about. John Favereu plays Mike, a crestfallen 20-something living in LA who was recently dumped by his girlfriend. His confidence hits an all time low, but with the help from his smooth talking buddy, Trent (Vince Vaughn), Mike slowly starts to come out of his shell. Swingers has some of the best dialogue I’ve ever seen in a film and is full of memorable quotes you can pull out when your buddy is feeling down on himself.

Best line: “You’re so money and you don’t even know it.”

The Longest Day

The Longest Day movie poster.

June 6, 1944 — the invasion of the Allied soldiers on the beaches of Normandy. One of the turning points in all of history. The film tells the story from both sides — Axis and Allies. For both, it will be the longest day.

Best line: “You can’t give the enemy a break. Send him to hell.”

This post was written as a collaboration between AoM and my good friend Cameron Ming.

The post 100 Must-See Movies: The Essential Men’s Movie Library appeared first on The Art of Manliness.

via The Art of Manliness https://ift.tt/1RxJwc9

December 18, 2020 at 12:59PM

Knife Rights Ohio Knife Law Reform Bill to Governor – CALL/EMAIL TODAY!

Knife Rights Ohio Knife Law Reform Bill to Governor – CALL/EMAIL TODAY!

https://ift.tt/3nKCbMx

Knife Rights Ohio Knife Law Reform Bill to Governor – CALL/EMAIL TODAY!

U.S.A.-(AmmoLand.com)- We are not yet done with 2020! Knife Rights’ Ohio Knife Law Reform Bill, SB 140, passed the House with a bipartisan vote of 59-23.  SB140 already passed the Senate 32-1. SB 140 now heads to Governor Mike DeWine for his consideration. We need your help to push SB 140 over the line!

If you live, work or travel in OHIO, please use Knife Rights’ Legislative Action Center to ask Gov. DeWine to sign SB 140: https://kniferights.org/resources/congressweb/#/38

DO IT TODAY and help us get this bill done!

Knife Rights was honored to work closely with a number of Ohio legislators over the past six years to get this bill introduced and passed.

Former Senator Joe Uecker, SB 140’s original sponsor, said, “When Knife Rights approached me about this bill, it made perfect sense to me. A completely legal item to possess should be completely legal to manufacture in Ohio. A knife should not be considered a deadly weapon unless it’s used as one. That’s just common sense.”

Uecker continued: “After four years of effort, it is clear that we’d never have gotten this done but for the simple fact that Knife Rights showed up, every time! As anyone successful in getting legislation done knows, being there, in the Capitol, at critical moments, is what makes the difference. Todd Rathner from Knife Rights did that. I sincerely appreciate that he and Knife Rights showed up every single time we needed him at each critical juncture.”

Uecker concluded, “I would also like to thank my fellow legislators who kept this bill moving and especially Chairman Lang for getting SB 140 to the House floor.”

Representative George Lang, Chairman of the Ohio House Criminal Justice Committee, said, “SB140 is just good policy. It is good for Ohio businesses and will create jobs and it is good for Ohio citizens. Decriminalizing simple possession of a knife is much needed criminal justice reform. I was proud to work with Todd from Knife Rights. He was here every step of the way, there’s no substitute for that.”

Co-Sponsor Senator Kristina Roegner, said, “Manufacturing jobs are the lifeblood of Ohio. The fact that you cannot legally manufacture an otherwise legal product in Ohio makes no sense. This is why I co-sponsored SB140; it’s just good policy for Ohio. I’d like to thank Knife Rights for their support and hard work on SB140.”

Rick Hinderer of Hinderer Knives in Shreve, Ohio, said, “I was fully prepared to take our manufacturing of automatic knives to a neighboring state. Then Knife Rights stepped up to fix the law here in Ohio. I worked closely with Todd Rathner from Knife Rights and saw him in action in the Capitol. He easily worked with members from both sides of the aisle. There is no question that without his efforts at the Capitol SB140 would never have been passed. Decriminalizing knife carry was frosting on the cake that I was proud to help make happen. By showing up and doing the hard work, Todd and Knife Rights got the job done for us and all Ohioans.”

Representative Scott Wiggam, Rick Hinderer’s Representative, said, “When I was approached by a constituent who wanted to manufacture automatic knives under contract to the U.S. Government and he told me he couldn’t because of an outdated Ohio statute, I knew we had to fix it. SB140 is the right policy for Ohio and Ohioans. Thanks to Knife Rights and Todd Rathner for being here in the Capitol to make it happen.”

SB 140 would change Ohio knife law by making two separate substantive changes:

  1. Repealing the ban on manufacture and sale of “switchblade,” “spring blade” and “gravity” knives; Ohio manufacturers will also be able to supply automatic knives to customers in the 44 states in which they are legal as well as to law enforcement and the military.
  2. Clearing up the confusion in Ohio law regarding carry of ANY knife by defining a knife, razor or cutting instrument as a “deadly weapon” or “weapon” ONLY if it is used as a weapon. This would allow carrying any knife concealed in Ohio.

About Knife Rights

Knife Rights (www.KnifeRights.org) is Rewriting Knife Law in America™, forging a Sharper Future™ for all knife owners with 32 bills enacted since 2010 repealing knife bans in 22 states and over 100 cities. Knife Rights is dedicated to providing knife owners an effective voice to influence public policy.

Knife Rights

The post Knife Rights Ohio Knife Law Reform Bill to Governor – CALL/EMAIL TODAY! appeared first on AmmoLand.com.

guns

via AmmoLand.com https://ift.tt/2okaFKE

December 18, 2020 at 01:26PM

California Declares Christmas Caroling A Felony

California Declares Christmas Caroling A Felony

https://ift.tt/3h7EtTd


SACRAMENTO, CA—California has leveraged one of its recent emergency declarations to declare Christmas caroling a felony.

Christmas caroling is now punishable by 25 years in prison, as it’s detrimental to the public health. In addition to being a potential super-spreader of COVID, Governor Gavin Newsom says he “hates singing” and wishes people would just “cut it out with all the jolliness and joy.”

“Dangerous gangs of outlaws going door to door singing loudly — this must stop,” said Gavin Newsom. “The SCIENCE! says we must wear masks when singing and sing only beneath a standard speaking voice, and these deranged lunatics are going from house to house just shouting COVID all over people’s faces.”

“Furthermore, they are singing insurrectionist lyrics about some ‘King’ who has come to overthrow the earthly governments. I don’t know who this guy is, but this is a clear case of sedition. I’m in charge here!”

Several county sheriffs have already said they will not enforce the law, causing Newsom to question whether they are agents of this coming King.


fun

via The Babylon Bee https://babylonbee.com

December 18, 2020 at 02:58PM

The Mandalorian’s Explosive Finale Blew Our Minds and Imploded Its World

The Mandalorian’s Explosive Finale Blew Our Minds and Imploded Its World

https://ift.tt/3mDSxFm


An imposing silhouette.
Photo: Disney

The credits have rolled on season two of The Mandalorian and we still can’t believe what happened—storylines from both seasons all came to a head in an epic mission to save Baby Yoda/Grogu. We were granted some exciting, intense Star Wars action, plus massive revelations teasing everything to come.

I absolutely want to geek out about what happens at the end of the episode, but let’s start at the beginning. It was no surprise to find out Chapter 16 of The Mandalorian was called “The Rescue,” since we knew that’s where Din Djarin (Pedro Pascal) and his new posse of badasses were headed. What was surprising was how it started. First with Boba Fett’s (Temuera Morrison) Slave 1 hijacking an Imperial Shuttle and kidnapping Dr. Pershing (Omid Abtahi). Next, a stop to meet up with Bo-Katan Kryze (Katee Sackhoff) and Koska Reeves (Mercedes Varnado) so Mando can ask for help by using the fact that he knows where Moff Gideon (Giancarlo Esposito) is. But the tension between Kryze and the clone wearing the same armor as her (Boba Fett, of course) is palpable. Reeves and Fett get into it a bit before calling a quick truce to tackle the bigger problem: rescuing Grogu and retrieving Bo-Katan’s Darksaber.

The plan is solid; crash a hijacked Imperial shuttle onto Moff Gideon’s giant cruiser and have Bo-Katan, Cara, Koska, and Fennic draw the trooper’s attention while Mando slips off to grab Grogu. Luckily, Dr. Pershing has no loyalty whatsoever and offers up every piece of information imaginable, including ship layouts, Grogu’s exact location, and, most importantly, that Dark Troopers aren’t people at all—they’re droids.

G/O Media may get a commission

This crew.
Screenshot: Disney+

Once onboard, the Star Wars Avengers absolutely decimate everything on the ship. Seeing those four women kicking unholy amounts of ass somehow brought to mind the weird, fanservice-y moment at the end of Avengers: Endgame where all the women came together. Here, they did the same thing, but it was actually motivated and driven by the story and that made it great. With their combined efforts, they take the ship relatively easily, arriving at the bridge to find Moff Gideon missing.

Meanwhile, Mando has two goals. One, get rid of the Dark Troopers before they get activated and two, find his widdle babby! Step one proved fairly challenging, though, because the Troopers were activated just as Mando arrived. While he was able to shoot the majority of them out of the airlock, one managed to get out, and that one trooper was more than a match for Mando. If it wasn’t for his beskar (which Bo-Katan makes a point of saying is the one thing the Darksaber can’t cut through early in the episode), the repeated punches to the head would’ve killed him. A long struggle occurs and Mando barely wins, only to reach Grogu and find Moff Gideon holding the Darksaber over him.

It sort of felt like an empty threat considering the Child’s importance to him this whole time, but Moff Gideon explains he’s already got Grogu’s blood so Mando can have him…but not the Darksaber. Mando has no interest in Darksaber lore and is fine with that but, of course, Moff Gideon is a bad guy and sneak attacks Mando after his back is turned, resulting in the episode’s 300th or so awesome action scene (props here to director Peyton Reed, returning for his second episode of the season). Finally, this is the battle we’ve been waiting for: Moff Gideon versus the Mandalorian and it didn’t disappoint. Darksaber vs. beskar clashes abound, eventually resulting in the superior warrior, Mando, disarming the Moff and capturing him. Here’s where things got really interesting.

This is a terrifying image.
Screenshot: Disney+

Upon entering the bridge with Moff Gideon and the Darksaber, the look on Bo-Katan’s face says it all: She doesn’t like this situation. Apparently, it’s because the Darksaber can’t just be handed off, it must be won in battle. (Tell that to Sabine Wren, who literally just handed it to Bo-Katan on Rebels, but we’ll get back to that.) Mando assumes this is an easy problem to solve and tells her he yields but before the tension can be dispersed, the floated Dark Troopers are back. Moff Gideon knows that a platoon of these troopers would be too much for anyone so he smiles in delight as they fly back onto the ship, march to the bridge and begin pounding on it like a slab of meat in Rocky.

Which is when a lone X-Wing Fighter arrives. Mando’s pals are none too impressed that only one X-Wing has come to help—and you’d be forgiven for assuming it was just the other X-Wing pilots we’d seen this season, Captain Carson Teva or Trapper Wolf—but something seemed different, and Grogu knew it.

We see a lone hooded figure cutting their way through the cruiser, mowing down Dark Troopers left and right…with a green lightsaber. It’s a Jedi. Could it be…? A glimpse of the hilt makes it much more definitive. Meanwhile, back on the bridge, Grogu keeps touching the security screens. He has a connection to this person, whoever it may be. Tensions continue to rise as this mystery Jedi rides the elevator up to the bridge, where he easily dispatches a dozen Dark Troopers in a hallway much like Darth Vader did after the battle of Scarif as he chased the stolen plans to the Death Star.

Black cloak? Green lightsaber? All facilities of the Force on his side? Folks, Luke Skywalker has arrived to help a little baby named Grogu.

And there he is.
Screenshot: Disney+

Allow us a quick detour. First, the CGI on Luke looked very bad. Obviously, this takes place mere years after Return of the Jedi so he had to look more like 1983 Mark Hamill than 2020 Mark Hamill, but in the four years since Rogue One’s butchering of Carrie Fisher’s face (and better, but not great, rendition of Peter Cushing) one would think the technology would’ve been better. It was not. Second, while Luke being the Jedi Grogu found through the Force makes the most sense, and is also insanely satisfying for Star Wars fans (I’ll admit, bad CGI aside, the nostalgia made me misty), ultimately, it feels very constrictive to the narrative we’ve been witnessing on The Mandalorian.

It’s true, at this specific time Luke is the most powerful Jedi that we know of and a few years later, he’ll start training a new generation of Jedi, including his sister. But we’ve spent nine movies with Luke’s family—we know what happens to them. Placing Grogu under his tutelage, while logical and thrilling, restricts a bit of what could happen to this plot thread. Basically Grogu and Luke have to separate before Ben Solo (who, at this point, is either a baby or not yet born) betrays Luke, or Grogu dies there. We’re about 99.9% sure it’ll be the former (in the form of some kind of Mando reunion) but the fact that there’s even a slight chance we know how this story could end feels somehow beneath The Mandalorian. The choice makes it a minor side trip from the Skywalker saga rather than its own thing, which is a shame considering how strong this story has been overall. I’d still love to see Luke sit down with Ahsoka and swap some stories though.

Everything we’ve been waiting for.
Screenshot: Disney+

All that said, everything after Luke’s arrival is heartbreaking and beautiful. Luke explains he can train Grogu but his attachment to Mando is strong and Grogu needs Mando’s permission to leave. That’s when the biggest character moment of the entire series so far happens as Mando takes off his helmet so Grogu and he can look into each others’ eyes for the first time. It felt very reminiscent of the moment between Darth Vader and Luke at the end of Return of the Jedi. Grogu touches his face and Mando gets extremely emotional, but he knows the child belongs with this powerful Jedi. And so Luke, along with R2-D2 in a brief but fun little appearance, heads off with Grogu as an unhelmeted Mando, and everyone else, stands there and watches.

In a rare post-credit scene, which hopefully you stuck around for, we arrive on Tattooine and Jabba’s old palace in particular. Fennic Shand kills several guards, allowing Boba Fett to arrive casually and kill Bib Fortuna, who was just about to make some small talk. Fett sits in his place, now in charge of the palace, and setting up a new spinoff series called The Book of Boba Fett.

Those two surprises, back to back, ended “The Rescue” on a high note of high notes. The Mandalorian has completed his two-season mission: save the Child, return him to his people. However, odds are you felt a little like I did in this moment, sad to see Mando and Grogu get separated, even if that’s what best for them, and curious about where Mando goes next after being changed by his relationship so drastically. He’s technically now the official owner of the Darksaber and he’s just betrayed his sworn creed for the first (well, second, but you get it) time. We don’t know where he’ll go from here but if Lucasfilm wanted to end The Mandalorian, that episode could have been it. The first story is complete and though it left things even more complicated than it started, the ride was amazing.

I’m not sure if “The Rescue” was the best episode of season two but that’s a testament to just how amazing season two has been. It certainly had everything you’d want in a Star Wars story, plus more, but if you think back to the Krayt Dragon, a Mandalorian siege, the return of Ahsoka, and Boba Fett, it was all so exhilarating. But to see Jedi Master Luke Skywalker there, bad CGI and all, it was hard not to feel that this was the right ending for this part of the story.

The book of Boba Fett begins next year.
Screenshot: Disney+

Assorted Musings:

  • Why didn’t Boba Fett come back? We understand he was a distraction to help the mission go smoothly but they certainly could’ve used an extra blaster or two to help. He obviously went back to pick up Fennic before heading to Tattooine so it seemed odd to just disappear with so much at stake.
  • How messed up was the Imperial who taunted Cara about blowing up Alderaan? That was cold-blooded.
  • Remember how Mando warned Moff Gideon he was coming at the end of last week’s episode? Did he make did no preparations for this? He even seemed surprised when they arrived.
  • I thought it was very cool to get an inside view of TIE Fighters launching from a starship. We’ve seen glimpses of it before but this was our best look yet. Nerdy, yes, but awesome.
  • The fact that the Darksaber can’t destroy beskar is a fascinating tidbit of information. At first, it seems like an Achilles heel, but then you think about it some more. Since most Mandalorians wear beskar, it suggests the saber should never and could never be used against their own kind. Just an interesting aside, in addition to being a helpful piece of information in this episode.
  • Maybe Sabine could give Bo-Katan the Darksaber because they’re both “of Mandalore” rather than someone like Din, who is just Mandalorian, and that’s why she needs to win it in battle. That, along with her comments about clones and stuff, really offer an interesting—possibly upsetting—subtext to Bo-Katan.
  • The moment Moff Gideon tries to kill himself was important. He’s a very proud guy and that might, on the surface, seem out of character—but as Cara mentioned earlier, he is privy to all kinds of information he would not want anyone else to have. Information on clones and Jedis and all kinds of weird stuff. He’s still alive at the end by the way.
  • It doesn’t come up on the subtitles, but Bib Fortuna definitely says “Maclunky” as Fennic Shand enters the Palace. Oh also, Bib Fortuna was still alive? I didn’t realize. RIP Bib, but all hail crime lord Boba Fett. We’ll be very interested to see what he does with this new stronghold.

For more, make sure you’re following us on our Instagram @io9dotcom.

geeky,Tech

via Gizmodo https://gizmodo.com

December 18, 2020 at 03:18PM

Data Preprocessing

Data Preprocessing

https://ift.tt/38ij8Cz

Introduction

Data preprocessing is a technique that is used to transform raw data into an understandable format. Raw data often contains numerous errors (lacking attribute values or certain attributes or only containing aggregate data) and lacks consistency (containing discrepancies in the code) and completeness. This is where data preprocessing comes into the picture and provides a proven method of resolving such issues.

Data Preprocessing is that step in Machine Learning in which the data is transformed, or encoded so that the machine can easily read and parse it. In simple terms, the data features can be easily interpreted by the algorithm after undergoing data preprocessing.

Steps involved in Data Preprocessing in Machine Learning

When it comes to Machine Learning, data preprocessing involves the following six steps:

  1. Importing necessary libraries.
  2. Importing the data-set.
  3. Checking and handling the missing values.
  4. Encoding Categorical Data.
  5. Splitting the data-set into Training and Test Set.
  6. Feature Scaling.

Let us dive deep into each step one by one.

💡 Note: The data-set that we will be using throughout this tutorial is as listed below.

❖ Importing Necessary Libraries

Python has a list of amazing libraries and modules which help us in the data preprocessing process. Therefore in order to implement data preprocessing the first and foremost step is to import the necessary/required libraries.

The libraries that we will be using in this tutorial are:

✨ NumPy

NumPy is a Python library that allows you to perform numerical calculations. Think about linear algebra in school (or university) – NumPy is the Python library for it. It’s about matrices and vectors – and doing operations on top of them. At the heart of NumPy is a basic data type, called NumPy array. 

To learn more about the Numpy library please refer to our tutorial here.

✨ Pandas

The Pandas library is the fundamental high-level building block for performing practical and real-world data analysis in Python. The Pandas library will not only allow us to import the data sets but also create the matrix of features and the dependent variable vector.

You can refer to our playlist here which has numerous tutorials on the Pandas libraries.

✨ Matplotlib

The Matplotlib library allows us to plot some awesome charts which is a major requirement in Machine Learning. We have an entire list of tutorials on the Matplotlib library.

Please have a look at this link if you want to dive deep into the Matplotlib library.

So, let us have a look at how we can import these libraries in the code given below:

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt

❖ Importing The Dataset

Once we have successfully imported all the required libraries, we then need to import the required dataset. For this purpose, we will be using the pandas library.

Note:  

  • DataFrames are two-dimensional data objects. You can think of them as tables with rows and columns that contain data. 
  • The matrix of features is used to describe the list of columns containing the independent variables to be processed and includes all lines in the given dataset.
  • The target variable vector used to define the list of dependent variables in the existing dataset.
  • iloc is an indexer for the Pandas Dataframe that is used to select rows and columns by their location/position/index.

Now let us have a look at how we can import the dataset using the concepts we learned above.

dataset = pd.read_csv('Data.csv')
x = dataset.iloc[:,:-1].values
y = dataset.iloc[:,-1].values
print(x)
print(y)

Output:

[['Germany' 45.0 80000.0]
 ['Japan' 42.0 32000.0]
 ['India' 35.0 40000.0]
 ['Japan' 25.0 60000.0]
 ['Germany' 25.0 nan]
 ['India' 65.0 80000.0]
 ['Germany' nan 50000.0]
 ['Japan' 55.0 70000.0]
 ['Germany' 25.0 90000.0]
 ['India' 25.0 20000.0]]
['Yes' 'No' 'Yes' 'No' 'Yes' 'No' 'No' 'No' 'Yes' 'Yes']

❖ Checking The Missing Values

While dealing with datasets, we often encounter missing values which might lead to incorrect deductions. Thus it is very important to handle missing values.

There are couple of ways in which we can handle the missing data.

Method 1: Delete The Particular Row Containing Null Value

This method should be used only when the dataset has lots of values which ensures that removing a single row would not affect the outcome. However, it is not suitable when the dataset is not huge or if the number of null/missing values are plenty.

Method 2: Replacing The Missing Value With The Mean, Mode, or Median

This strategy is best suited for features that have numeric data. We can simply calculate either of the mean, median, or mode of the feature and then replace the missing values with the calculated value. In our case, we will be calculating the mean to replace the missing values. Replacing the missing data with one of the above three approximations is also known as leaking the data while training.

➥ To deal with the missing values we need the help of the SimpleImputer class of the scikit-learn library.

✨ Note

  • The fit() method takes the training data as arguments, which can be one array in the case of unsupervised learning or two arrays in the case of supervised learning.
  •  transform method returns a self-produced data frame that consists of transformed values after the function specified in its parameter has been applied. 

Now that we are well versed with the necessary libraries, modules, and functions needed for handling the missing data in our data set, let us have a look at the code given below to understand how we can deal with the missing data in our example data set.

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from sklearn.impute import SimpleImputer

dataset = pd.read_csv('Data.csv')
x = dataset.iloc[:, :-1].values
y = dataset.iloc[:, -1].values
imputer = SimpleImputer(missing_values=np.nan, strategy='mean')
imputer.fit(x[:, 1:3])
x[:, 1:3] = imputer.transform(x[:, 1:3])
print(x)

Output:

[['Germany' 45.0 80000.0]
 ['Japan' 42.0 32000.0]
 ['India' 35.0 40000.0]
 ['Japan' 25.0 60000.0]
 ['Germany' 25.0 58000.0]
 ['India' 65.0 80000.0]
 ['Germany' 38.0 50000.0]
 ['Japan' 55.0 70000.0]
 ['Germany' 25.0 90000.0]
 ['India' 25.0 20000.0]]

❖ Encoding Categorical Data

All input and output variables must be numeric in Machine Learning models since they are based on mathematical equations. Therefore, if the data contains categorical data, it must be encoded to numbers.

➥ Categorical Data represents values in the data set that are non numeric.

The three most common approaches for converting categorical variables to numerical values are:

  • Ordinal Encoding
  • One-Hot Encoding
  • Dummy Variable Encoding

In this article we will be using the the One-Hot encoding to encode and the LabelEncoder class for encoding the categorical data.

✨ One-Hot Encoding

One hot encoding takes a column that has categorical data and then splits the column into multiple columns. Depending on which column has what value, they are replaced by 1s and 0s.

In our example, we will get three new columns, one for each country — India, Germany, and Japan. For rows with the first column value as Germany, the ‘Germany’ column will be split into three columns such that, the first column will have ‘1’ and the other two columns will have ‘0’s. Similarly, for rows that have the first column value as India, the second column will have ‘1’ and the other two columns will have ‘0’s. And for rows that have the first column value as Japan, the third column will have ‘1’ and the other two columns will have ‘0’s.

➥ To implement One-Hot Encoding we need the help of the OneHotEncoder class of the scikit-learn libraries’ preprocessing module and the ColumnTransformer class of the compose module.

✨ Label Encoding

In label encoding, we convert the non-numeric values to a number. For example, in our case, the last column consists of Yes and No values. So we can use label coding to ensure that each No is converted to 0, while each Yes is converted to 1.

Let us apply the above concepts and encode our dataset to deal with the categorical data. Please follow the code given below:

# import the necessary libraries
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from sklearn.impute import SimpleImputer
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import LabelEncoder
from sklearn.preprocessing import OneHotEncoder
from sklearn.compose import ColumnTransformer

from sklearn.preprocessing import StandardScaler

# import data set
dataset = pd.read_csv('Data.csv')
x = dataset.iloc[:, :-1].values
y = dataset.iloc[:, -1].values
imputer = SimpleImputer(missing_values=np.nan, strategy='mean')
imputer.fit(x[:, 1:3])
x[:, 1:3] = imputer.transform(x[:, 1:3])
ct = ColumnTransformer(transformers=[('encoder', OneHotEncoder(), [0])], remainder='passthrough')
x = np.array(ct.fit_transform(x))
le = LabelEncoder()
y = le.fit_transform(y)
print("Matrix of features:")
print(x)
print("Dependent Variable Vector: ")
print(y)

Output:

Matrix of features:
[[1.0 0.0 0.0 45.0 80000.0]
 [0.0 0.0 1.0 42.0 32000.0]
 [0.0 1.0 0.0 35.0 40000.0]
 [0.0 0.0 1.0 25.0 60000.0]
 [1.0 0.0 0.0 25.0 58000.0]
 [0.0 1.0 0.0 65.0 80000.0]
 [1.0 0.0 0.0 38.0 50000.0]
 [0.0 0.0 1.0 55.0 70000.0]
 [1.0 0.0 0.0 25.0 90000.0]
 [0.0 1.0 0.0 25.0 20000.0]]
Dependent Variable Vector: 
[1 0 1 0 1 0 1 0 1 1]

❖ Splitting The Data-set into Training Set and Test Set

After we have dealt with the missing data and the categorical data, the next step is to split the data-set into:

  1. Training Set: A subset of the dataset used to train the machine learning model.
  2. Test Set: A subset of the dataset used to test the machine learning model.

You can slice the data-set as shown in the diagram below:

It is very important to split the data-set properly into the training set and the test set. Generally it is a good idea to split the data-set into a 80:20 ratio such that 80 percent data is in training set and 30 percent data is in test set. However, the splitting may vary according to size and shape of the data-set.

Caution: Never train on test data. For example, if we have a model that is used to predict whether an email is spam and it uses the subject, email body, and sender’s address as features and we split the dataset into training set and test set in an 80-20 split ratio then after training, the model is seen to achieve 99% precision on both, i.e. training set as well as the test set. Normally, we would expect lower precision for the test set. So, once we look at the data once again, we discover that many examples in the test set are mere duplicates of examples in the training set because we neglected the duplicate entries for the same spam email. Therefore, we cannot measure accurately, how well our model responds to new data.

Now that we are aware of the two sets that we need, let us have a look at the following code that demonstrates how we can do it:

# import the necessary libraries
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from sklearn.impute import SimpleImputer
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import LabelEncoder
from sklearn.preprocessing import OneHotEncoder
from sklearn.compose import ColumnTransformer

from sklearn.preprocessing import StandardScaler

# import data set
dataset = pd.read_csv('Data.csv')
x = dataset.iloc[:, :-1].values
y = dataset.iloc[:, -1].values
imputer = SimpleImputer(missing_values=np.nan, strategy='mean')
imputer.fit(x[:, 1:3])
x[:, 1:3] = imputer.transform(x[:, 1:3])
ct = ColumnTransformer(transformers=[('encoder', OneHotEncoder(), [0])], remainder='passthrough')
x = np.array(ct.fit_transform(x))
le = LabelEncoder()
y = le.fit_transform(y)
x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=0.2, random_state=1)
print("X Training Set")
print(x_train)
print("X Test Set")
print(x_test)
print("Y Training Set")
print(y_train)
print("Y Test Set")
print(y_test)

Output:

X Training Set
[[1.0 0.0 0.0 38.0 50000.0]
 [1.0 0.0 0.0 25.0 58000.0]
 [1.0 0.0 0.0 45.0 80000.0]
 [0.0 0.0 1.0 25.0 60000.0]
 [0.0 0.0 1.0 42.0 32000.0]
 [0.0 0.0 1.0 55.0 70000.0]
 [1.0 0.0 0.0 25.0 90000.0]
 [0.0 1.0 0.0 65.0 80000.0]]
X Test Set
[[0.0 1.0 0.0 35.0 40000.0]
 [0.0 1.0 0.0 25.0 20000.0]]
Y Training Set
[1 1 1 0 0 0 1 0]
Y Test Set
[1 1]

Explaination:

  • train_test_split() function allows us to split the data-set into four subsets, two for the matrix of features x i.e. x_train and x_test and two for the dependent variable y i.e. y_train and y_test.
    • x_train: matrix of features for the training data.
    • x_test: matrix of features for testing data.
    • y_train: Dependent variables for training data.
    • y_test: Independent variable for testing data.
  • It also contains four parameters, such that:
    • the first two arguments are for the arrays of data.
    • test_size is for specifying the size of the test set.
    • random_state is used to fix the set a seed for a random generator in order to always get the same result.

❖ Feature Scaling

Feature scaling marks the final stage of data preprocessing. So, what is feature scaling? It is the technique to standardize or normalize the independent variables or features of the dataset in a specific range. Thus, feature scaling allows us to scale the variables in a specific range so that a particular variable does not dominate another variable.

Feature scaling can be performed in two ways:

Standardization

The formula for standardization is given below:

Normalization

The formula for normalization is given below:

One of the most commonly asked questions among data scientists is: “Should we use Standardization or Normalization for feature scaling?”

Answer: The choice to use normalization or standardization completely depends on the problem and the algorithm being used. There are no strict rules to decide when to normalize or standardize the data.

  • Normalization is good for data distribution when it does not follow a Gaussian distribution. For example, algorithms that don’t assume any distribution of the data like K-Nearest Neighbors and Neural Networks.
  • Whereas, Standardization, is helpful in scenarios where the data distribution follows a Gaussian distribution. However, this is not a compulsory rule.
  • Unlike, normalization, standardization has no bounding range. So, even if the data has outliers, standardization will not affect them.

In our example, we are going to use the standardization technique. Let us have a look at the following code to understand how to implement feature scaling on our dataset.

# import the necessary libraries
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from sklearn.impute import SimpleImputer
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import LabelEncoder
from sklearn.preprocessing import OneHotEncoder
from sklearn.compose import ColumnTransformer

from sklearn.preprocessing import StandardScaler

# import data set
dataset = pd.read_csv('Data.csv')
x = dataset.iloc[:, :-1].values
y = dataset.iloc[:, -1].values
imputer = SimpleImputer(missing_values=np.nan, strategy='mean')
imputer.fit(x[:, 1:3])
x[:, 1:3] = imputer.transform(x[:, 1:3])
ct = ColumnTransformer(transformers=[('encoder', OneHotEncoder(), [0])], remainder='passthrough')
x = np.array(ct.fit_transform(x))
le = LabelEncoder()
y = le.fit_transform(y)
x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=0.2, random_state=1)
sc = StandardScaler()
x_train[:, 3:] = sc.fit_transform(x_train[:, 3:])
x_test[:, 3:] = sc.transform(x_test[:, 3:])
print("Feature Scaling X_train: ")
print(x_train)
print("Feature Scaling X_test")
print(x_test)

Output:

Feature Scaling X_train: 
[[1.0 0.0 0.0 -0.1433148727800037 -0.8505719656856141]
 [1.0 0.0 0.0 -1.074861545850028 -0.39693358398661993]
 [1.0 0.0 0.0 0.3582871819500093 0.8505719656856141]
 [0.0 0.0 1.0 -1.074861545850028 -0.2835239885618714]
 [0.0 0.0 1.0 0.1433148727800037 -1.8712583245083512]
 [0.0 0.0 1.0 1.074861545850028 0.2835239885618714]
 [1.0 0.0 0.0 -1.074861545850028 1.4176199428093568]
 [0.0 1.0 0.0 1.7914359097500465 0.8505719656856141]]
Feature Scaling X_test
[[0.0 1.0 0.0 -0.3582871819500093 -1.4176199428093568]
 [0.0 1.0 0.0 -1.074861545850028 -2.5517158970568423]]

Explanation:

  • Initially, we need to import the StandardScaler class of the scikit-learn library using the following line of code:
    • from sklearn.preprocessing import StandardScaler
  • Then we create the object of StandardScaler class.
    • sc = StandardScaler()
  • After that, we fit and transform the training dataset using the following code:
    • x_train[:, 3:] = sc.fit_transform(x_train[:, 3:])
  • Finally, we transform the test dataset using the following code:
    • x_test[:, 3:] = sc.transform(x_train[:, 3:])

Conclusion

Congratulations! You now have all the tools in your arsenal to perform data preprocessing. Please subscribe and stay tuned for the next section of our Machine Learning tutorial!

Where to Go From Here?

Enough theory, let’s get some practice!

To become successful in coding, you need to get out there and solve real problems for real people. That’s how you can become a six-figure earner easily. And that’s how you polish the skills you really need in practice. After all, what’s the use of learning theory that nobody ever needs?

Practice projects is how you sharpen your saw in coding!

Do you want to become a code master by focusing on practical code projects that actually earn you money and solve problems for people?

Then become a Python freelance developer! It’s the best way of approaching the task of improving your Python skills—even if you are a complete beginner.

Join my free webinar “How to Build Your High-Income Skill Python” and watch how I grew my coding business online and how you can, too—from the comfort of your own home.

Join the free webinar now!

The post Data Preprocessing first appeared on Finxter.

Python

via Finxter https://ift.tt/2HRc2LV

December 18, 2020 at 05:57PM

The Best Gifts for Chicken Nerds

The Best Gifts for Chicken Nerds

https://ift.tt/2J5NYWw


Image: Andrew Couts/Gizmodo, Andrew Liszewski/Gizmodo

Gift GuideGift GuideGizmodo’s totally serious gift guides.

This year, we have to find the silver linings wherever we can. One of those glimmering plus-sides is a sudden rise in chicken ownership—at least, I’d call that a silver lining. Chickens are great! (Salmonella outbreaks aside, of course.) And plenty of others seem to think so, too. According to My Pet Chicken, which sells baby chicks and an array of chicken accouterments, its sales rose 525% in April as Americans came to grips with never going anywhere or seeing another human being outside of their household and grocery stores ran out of food.

Well, here we are in December and the pandemic is worse than ever, even as a vaccine dangles on the horizon. Meanwhile, countless families are now deep into the first stages of full-blown chicken ownership, and there are probably a few things they need to keep their flock happy and their sanity intact. I say this as someone who’s had chickens for years—by no means an expert on chickens, but I do know that having chickens becomes a major part of your life. So if you’re now trying to figure out what to get your friend or family member who’s hen-obsessed this holiday season, here are a few Barred Plymouth Rock-solid options.

Chicken Guard Automatic Chicken Door ($265)

I’ve said it once, and I’ll say it again: The best thing you can buy a person with chickens is an automatic chicken coop door. These simple contraptions automatically open and close when you want them too, meaning you don’t have to trudge out to the coop at the crack of dawn and be home at sunset every day to close up the chickens and keep them from getting murdered. Which they will if you don’t close the coop door. There are a number of automatic chicken doors out there, but the one I’d go with is ChickenGuard’s “Extreme” door kit, which has all the bells and whistles and won’t break after the first snowstorm. Is it a sexy gift? No, probably not. But it is one that will change a chicken owner’s life—and save the lives of at least a few chickens.

G/O Media may get a commission

Lozayi Solar Coop Light ($27)

Chances are, if you just got into chickens and don’t live on a working farm, your coop doesn’t have electricity. That means lugging around a flashlight anytime you need to do something in the coop at night, which in my experience isn’t often but happens enough that having a light in the coop is a real bonus. Luckily, we live in the age of cheap LED lights and solar chargers. While I haven’t tested out all the various solar coop lights out there, this Lozayi solar shed and coop light is a good bet. It’s waterproof, frost-proof, has a remote to keep you from fumbling around in the dark for a switch, and it’s cheap enough that if the chickens mess it up, the chicken owner in your life can replace it without too much pain to their bank account.

Gorilla Grip Doormat ($20)

Here’s something people don’t think about enough before getting chickens: the sheer volume of chicken shit you have to deal with. It’s literally everywhere the chickens are, and it’s almost impossible to avoid when you go anywhere near the chicken run and coop. That means your favorite chicken owner is likely cursing every time they reenter the house after doing whatever with the chickens thanks to the copious amount of chicken crap they’ve tracked in. The Gorilla Grip doormat will make quick work of that under-shoe poo. It’s durable, you can wash it off with the hose, and it comes in a nice array of colors and sizes. It’s a doormat. What more do you want?

Brinsea Egg Incubator ($185)

If your chicken-owning loved one has a rooster, they also have fertilized eggs. And, because chickens get killed constantly, there’s a good chance they’re going to need more chickens sooner rather than later. But why buy more chickens when you can just make your own? Enter the egg incubator. This handy contraption allows chicken owners to keep eggs at exactly the right temperature for creating baby chicks. There are a lot of incubators out there, but this one from Brinsea is a trusted choice and has room for two dozen eggs, which is important since there will always be a few that fail to hatch.

Giant Bag of Mealworms ($53)

Are mealworms gross? Yes. Is it weird to have a giant bag of dead bugs in your house? Yes. But chickens love ‘em, and you can easily buy them in bulk. Just make sure to give the person to who you’re gifting the bag of dead bugs a heads up that the gift is mostly for the chickens or they might think 2020 broke your brain.

Bale of Straw ($40)

If you’re looking for a last-minute gift for your chicken-loving loved one, you can’t go wrong with a nice bale of straw. Chicken owners always need more straw as bedding for the coop and for the nesting boxes. Sure, it’s not the sexiest gift in the world. And it’s probably a giant pain in the ass to wrap. But, hey it is practical!

geeky,Tech

via Gizmodo https://gizmodo.com

December 18, 2020 at 06:12PM