TwitterFacebook

We Got Some Seriously Deranged Mail

Holocaust Remembrance Day always brings out the crazies
Weird • Views: 4,074

You’ll have to click to see this amazingly crazy email I received tonight from someone in Monterey, because it’s pretty damned disturbing, not to mention racist and antisemitic. Holocaust Remembrance Day always excites the lunatics.

Don’t say I didn’t warn you.

Bring on the crazy.

Fantastic Four Reboot: The Official Teaser Trailer

Right wing freakout imminent
Arts • Views: 4,472

YouTube

As a kid, the Fantastic Four were my favorite Marvel characters, but the recent films weren’t really that great. So I’m glad to see a reboot in the works, with an apparent emphasis on the science fiction angle that attracted me to the Fantastic Four in the first place — and we can also look forward to a right wing freakout, because in this version the Human Torch is… black.

And speaking of right wing freakouts, first out of the racist gate is our boy the Ginger Avenger.

Right — because there are so few white men in the movies these days.

Right Wing Smear Merchant Chuck C. Johnson Offers “Bounty” for Another Rape Victim

Sick
Wingnuts • Views: 8,758

The worst person on Twitter took another dive into his own personal misogynistic sewer yesterday, posting a tweet offering a “bounty” for the name of a woman who reported being sexually assaulted at a Duke University frat party.

I think I might need to create a new category for posts about Johnson; maybe “Disgusting” or “Vile.”

I encourage all LGF readers with Twitter accounts to report this tweet; you can now report tweets that are not addressed directly to you, and Twitter has made the process much easier. Just click the timestamp in the tweet to go to the Twitter website, click the “More” link (it looks like ‘…’) and report it for targeted harassment.

I don’t understand why Twitter stands back and allows their service to be used for evil purposes like this; it damages their brand, and sends the message that they welcome misogynist creeps who harass rape victims. This is becoming Twitter’s reputation.

GOHMERT! God Will Punish America for Obama Dissing Netanyahu

Dumbest man in Congress weighs in
Wingnuts • Views: 12,588

SoundCloud

According to GOP Texas Rep. Louie “Terror Babies” Gohmert, the Christian God is going to punish America because Obama isn’t sucking up to Benjamin Netanyahu.

This is your right wing, America.

Bobby Jindal’s Prayer Rally Explicitly Advocated a Christian Theocracy in America

Disturbing theocratic plans
Wingnuts • Views: 14,444

YouTube

Media reports on Louisiana Governor Bobby Jindal’s “prayer rally” made it seem completely unremarkable. Just some religious folks praying, that’s all. Good clean fun for the whole Christian family!

But Right Wing Watch supplies us with a video clip that shows the true intention of this religious right crowd — they literally want to control every area of American life, including the government.

Gene Mills, president of Louisiana Family Forum (an official state affiliate of the Family Research Council) spent his entire ten-minute speech at Jindal’s prayer rally this weekend openly preaching Seven Mountains Dominionism from the stage.

Christians have been tasked to take control of “the sphere of influence around civil government,” Mills said, because all areas of culture “belong to God.” Jindal’s prayer rally, Mill’s declared, was a key component of their effort “to reclaim territory that rightfully belongs to God” because “these seven spheres of influence are under enemy occupation right now.”

After revealing that last month, he and other prayer rally organizers knelt in prayer with Jindal “asking God to break unholy alliances” over these areas of society, Mills led the gathering in a similar prayer.

“Father, we cry out for the seven mountains of influence today,” Mills said. “We pray that you will give us government, arts and entertainment, education, the church, and the family. That our ambassadors would occupy the high places. That you would bring us into a place of understanding that they need to be occupied by the body of Christ because it’s rightfully His.”

Richard Muller: I Was Wrong on Climate Change

Yale Climate Forum - Peter Sinclair
Science • Views: 15,288

I’m thinking back to all the climate trolls who used to throw this guy in my face when arguing with them…

YouTube

Richard Muller founded the Berkeley Earth Surface Temperature Project after declaring himself skeptical about climate change. He was funded in part by the Koch Brothers.
He found out what other scientists have known for decades. The Earth is warming, and we’re doing it.

Related

AEI Scholar: End Obamacare, and if People Die, So What?

Freakishly awful
Weird • Views: 16,604

Rarely will you see the inhuman heartlessness of the conservative viewpoint so well expressed as in this freakishly horrible piece by American Enterprise Institute “scholar” Michael Strain: End Obamacare, and People Could Die. That’s Okay.

It’s difficult to know where to start with a morally perverted piece like this. His point seems to be that we make moral tradeoffs all the time, not exactly an original thought. But Strain gives away his game with this paragraph:

How do policymakers decide such things? In the deepest sense, every human life is inestimably valuable. But in a fallen world where trade-offs are inevitable, public policy can’t treat each life that way.

In his position of great privilege, Strain obviously thinks of himself as a righteous “pro-life” Christian. But he’s quite literally advocating that if they get sick, people less privileged than himself should just … die.

Also see

Tech Note: A Regular Expression to Extract the ASIN Product Code From Any Amazon URL

So much fun it must be ASIN
LGF • Views: 20,682
Image via Shutterstock

Every once in a while I come up with a bit of code that might be useful to other programmers, and here’s one of those bits — a regular expression that extracts the ASIN product code from almost any Amazon product URL, including URLs from non-US Amazon stores. (It doesn’t handle pages of search results or other index pages, however.)

I use this at LGF to rewrite links to Amazon and add our affiliate ID to the link, so if someone clicks the link we get a small percentage of the purchase price when they buy something.

This code used to be a series of regular expressions that matched each type of URL, but I was looking at it this week and realized it might be possible to condense the whole process down to just one regex. And after extensive testing, I think I may have gotten pretty close to a universal Amazon ASIN extractor. (I searched Google, and couldn’t find anything this good online.)

In this PHP code, I used the x modifier to let me split the regex across multiple lines with comments and indenting. I also used ~ for the regular expression delimiter so all the forward slashes don’t need to be escaped. These two steps make the code much more readable, but if you use this regex with a language that doesn’t allow you to change the delimiter you’ll need to insert a backslash before each forward slash.

(Notice that I used non-capturing groups for everything except the ASIN product ID.)

<?php
$regex = '~
	(?:www\.)?				# optionally starts with www.
	ama?zo?n\.				# also allow shortened amzn.com URLs
	(?:
		com					# match all Amazon domains
		|
		ca
		|
		co\.uk
		|
		co\.jp
		|
		de
		|
		fr
	)
	/
	(?:						# here comes the stuff before the ASIN
		exec/obidos/ASIN/	# the possible components of a URL
		|
		o/
		|
		gp/product/
		|
		(?:					# the dp/ format may contain a title
			(?:[^"\'/]*)/	# anything but a slash or quote
		)?					# optional
		dp/
		|					# if short format, nothing before ASIN
	)
	(B[A-Z0-9]{9})			# capture group $1 contains the ASIN
	(?:						# everything after the ASIN
		(?:/|\?|\#)			# beginning with /, ? or #
		(?:[^"\'\s]*)		# everything up to quote or white space
	)?						# optional
~isx';
?>

Here’s a bit of code that puts this regex to work and inserts our affiliate ID into the reconstructed link:

<?php
$text = preg_replace($regex, 'www.amazon.com/dp/$1/?tag=littlegreenfo-20', $text);
?>

And here’s what this regular expression looks like when condensed down to one gnarly line:

<?php
$regex = '~(?:www\.)?ama?zo?n\.(?:com|ca|co\.uk|co\.jp|de|fr)/(?:exec/obidos/ASIN/|o/|gp/product/|(?:(?:[^"\'/]*)/)?dp/|)(B[A-Z0-9]{9})(?:(?:/|\?|\#)(?:[^"\'\s]*))?~isx';
?>

If you run this regular expression against the following URL:

http://www.amazon.com/Man-High-Castle/dp/B00RSGFRY8/ref=sr_1_1?s=instant-video&ie=UTF8&qid=1421879835&sr=1-1&keywords=the%20man%20in%20the%20high%20castle

You end up with this:

http://www.amazon.com/dp/B00RSGFRY8/?tag=littlegreenfo-20

Sunday Jam: Neil Finn Live, ‘Fall at Your Feet’

With the original Crowded House band
Music • Views: 20,245

YouTube

Here’s a great live performance by Neil Finn, with the late Paul Hester on drums, doing one of his classic songs, “Fall At Your Feet.”

Neil Finn performing live at the Chapel in support of his One Nil release. Special appearances by Jim Moginie, Paul Hester, and Nick Seymour

^ back to top ^

TwitterFacebook

Turn off all ads for a full year by subscribing!
Take advantage of our New Year subscription special, and save 25% off the normal subscription price! For a limited time, one-year ad-free subscriptions are just $59.95. Turn off all ads for a full year by subscribing now and save!
Read more...

► LGF Headlines

  • Loading...

► Tweeted Articles

  • Loading...

► Tweeted Pages

  • Loading...

► Top 10 Comments

  • Loading...

► Bottom Comments

  • Loading...

► Recent Comments

  • Loading...

► Tools/Info

► Tag Cloud

► Contact

You must have Javascript enabled to use the contact form.
Your email:

Subject:

Message:


Messages may be published unless you request otherwise.
Tech Note:
Using the Contact Form
LGF Pages

This button leads to the main index of LGF Pages, our user-submitted articles. You can post your own LGF Pages simply by registering a free account with us.

Create a Page

This is the LGF Pages posting bookmarklet. To use it, drag this button to your browser's bookmark bar, and title it 'LGF Pages' (or whatever you like). Then browse to a site you want to post, select some text on the page to use for a quote, click the bookmarklet, and the Pages posting window will appear with the title, text, and any embedded video or audio files already filled in, ready to go.

Or... you can just click this button to open the Pages posting window right away.

Last updated: 2014-12-15 2:06 pm PST

LGF User's Guide
Recent Pages
Thanos
Drone Maker to Add No-Fly Firmware to Prevent Future White House Buzzing
In the wake of a National Geospatial-Intelligence Agency employee's late-night drunken mischief with a DJi Phantom 2 consumer quadrocopter drone over White House airspace, President Barack Obama called for new laws to govern the use of unmanned aerial vehicles. ...

11 minutes ago
Views: 28 • Comments: 0
Tweets: 1 • Rating: 0
Rightwingconspirator
Sunday Is the Super Bowl of Drunk Driving-Crash Data
Let's be careful out there. Be careful driving on Super Bowl Sunday. Your chance of being involved in a crash tied to drunk driving can be as much as double that of a normal Sunday in January or February, according ...

18 hours, 11 minutes ago
Views: 142 • Comments: 0
Tweets: 0 • Rating: 0
The Vicious Babushka
What a Soviet Soldier Saw When His Unit Liberated Auschwitz 70 Years Ago
More: What a Soviet Soldier Saw When His Unit Liberated Auschwitz 70 Years Ago When the Soviet Army's 322nd Rifle Division entered the concentration camp at Auschwitz on Jan. 27, 1945, they found a desolation. Mounted on shaggy ponies, they ...

22 hours, 50 minutes ago
Views: 257 • Comments: 0
Tweets: 3 • Rating: 3
FemNaziBitch
Police: 18 Men Busted for Online Child Sex Crimes
Authorities in Worcester County announced Thursday that they've spent the last year catching would-be sexual predators by pretending to be vulnerable teenagers over the Internet. The Worcester County Sheriff's Office said Operation Worcester Safety Net culminated in charging 18 ...

1 day, 3 hours ago
Views: 151 • Comments: 0
Tweets: 0 • Rating: 2
Rocky-in-Connecticut
Sports Hero Gang Sign Shame
you know those professional athlete thugs- always flashing gang signs along with his baby mama. Fine example these two are. I expect Fox News and right wing blogs to have this as their cover story pronto. instagram.com Or maybe not. ...

1 week, 1 day ago
Views: 640 • Comments: 0
Tweets: 0 • Rating: 1
Skip Intro
Republican Net Neutrality Bill Would Gut FCC’s Authority Over Broadband
The party of pure evil strikes again. Net neutrality legislation unveiled by Republicans today would gut the ability of the Federal Communications Commission to regulate the broadband industry. As expected, the bill forbids the FCC from reclassifying broadband as a ...

1 week, 1 day ago
Views: 565 • Comments: 2
Tweets: 2 • Rating: 6
Michael McBacon
Praise - Marvin Gaye
I've been on a Marvin Gaye kick lately and thought I'd post this song. Enjoy.

1 week, 2 days ago
Views: 596 • Comments: 2
Tweets: 0 • Rating: 2
John Vreeland
John McAfee: ‘I know who hacked Sony Pictures - and it wasn’t North Korea’
"I can guarantee they are wrong. It has to do with a group of hackers - I will not name them - who are civil libertarians and who hate the confinement the restrictions the music industry and the movie ...

1 week, 3 days ago
Views: 962 • Comments: 3
Tweets: 0 • Rating: 3
Lumberhead
Shopping While Black: The Role of Race in Retail
The researchers asked the subjects a series of questions about certain behaviors they had encountered while shopping or advertisements they had noticed, and broke out the results by race. They found that across the board, non-white Americans--and especially black ...

1 week, 3 days ago
Views: 816 • Comments: 8
Tweets: 1 • Rating: 4
Shiplord Kirel
Judge Rules Rocky Ford Police Officer James Ashby Will Stand Trial for Murder in Shooting Death
LA JUNTA, Colo. - A judge ruled Thursday that there is probable cause for Rocky Ford Police Officer James Ashby to stand trial for second-degree murder in the on-duty shooting death of a 27-year-old man. Ashby will be arraigned ...

1 week, 5 days ago
Views: 935 • Comments: 0
Tweets: 16 • Rating: 5
 Frank says:

I never took a shit on stage, and the closest I ever came to eating shit anywhere was at a Holiday Inn buffet in Fayetteville, North Carolina, in 1973. -- From The Real Frank Zappa book.