[Ga: een map omhoog, voorpagina]

TwitterFacebook

GOHMERT! God Will Punish America for Obama Dissing Netanyahu

Dumbest man in Congress weighs in
Wingnuts • Views: 2,426

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: 4,936

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: 6,204

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: 7,613

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: 11,933
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: 11,559

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

Chuck C. Johnson Attacks Dana Loesch: All Sane People Win

“I’m limited legally in what I can reveal.”
Wingnuts • Views: 19,850

Here it is, folks — the hit piece on Dana Loesch Chuck C. Johnson has been threatening to post all day; he finally worked up the guts to go through with it: BUSTED: The Real Dana Loesch: A Hypocrite and a Fraud Lying About Andrew Breitbart and Me.

Hilariously, this whole brouhaha was started when Chuck and Dana got in a pissing match over who was really the inheritor of dead Andrew Breitbart’s “legacy.”

Yes, that’s right — they’re squabbling over who’s the sleaziest bottom feeder of them all. Pardon me while I put on some more popcorn. Can they both win?

UPDATE at 1/24/15 8:22:09 pm by Charles Johnson

Loesch fires back at the Ginger Avenger.

Sarah Palin’s Bizarre Disconnected Word Salad at the Iowa Freedom Freakout, Complete

Palin delivers an entire speech in one incredibly long run-on sentence
Wingnuts • Views: 23,957

YouTube

Even by Sarah Palin’s already low standards, this speech is extraordinarily incoherent and scattered. I’ve seen a lot of her speeches (do not pity me, it is my job), and I can’t remember a more garbled, deeply weird performance from Caribou Barbie.

And Now, Sarah Palin LIVE!

Wingnuts • Views: 18,350

Video

And now, ladies and gentlemen, Caribou Barbie is about to take the stage at the Iowa Freedom Freakout. Let’s give her a warm welcome, shall we?

^ 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
Amdocs, ip.access Team for Indoor Small Cells
Amdocs and ip.access are joining forces to help bolster their status in enterprise small cells. The companies announced a global collaboration on Monday to combine ip.access Ltd. 's indoor small cells and performance optimization tools with Amdocs Ltd. (NYSE: ...

9 hours, 4 minutes ago
Views: 102 • Comments: 0
Tweets: 0 • Rating: 0
FemNaziBitch
GOP Hopes It Has Cracked the Abortion Code - Burgess Everett and Lauren French - POLITICO
National Organization for Women President Terry O'Neill dismissed that argument, calling the rhetoric surrounding the legislation misleading and saying it amounts to overturning "Roe v. Wade completely, period." "If you say 'viability,' that's the time where a fetus can ...

15 hours, 51 minutes ago
Views: 159 • Comments: 0
Tweets: 0 • Rating: 0
Rightwingconspirator
Super Bowl 2015-Glendale Arizona May Again Lose Millions
Glendale Arizona gets to underwrite the tax exempt NFL for millions. Again. Weiers suspects that when the sun sets on Super Bowl XLIX, the only real loser may be his city. "I'm sure that we're going to spend $3 million," ...

18 hours, 21 minutes ago
Views: 197 • Comments: 2
Tweets: 0 • Rating: 1
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 ago
Views: 584 • 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 ago
Views: 514 • Comments: 2
Tweets: 2 • Rating: 5
The Vicious Babushka
Wingnuts Spend MLK Day Spewing Racism & Lies
The usual [wingnut]HURR HURR MLK WAS A REPUBLICAN & ALL TEH DEMOCRATS IS TEH RACIST LIKE THERE HERO ROBERT BYRD!!!! LBJ SAID TEH N WORD!!! HURR HURR[/wingnut] #tcot MLK Day

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

1 week, 1 day ago
Views: 557 • 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, 1 day ago
Views: 907 • 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, 2 days ago
Views: 768 • 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, 4 days ago
Views: 834 • Comments: 0
Tweets: 16 • Rating: 5
 Frank says:

The first hyphen in MAH-JUH-REEN could be used for erotic gratification by a very desparate stenographer. -- Sydney australia, 1974, second night. on Mystery box III