TwitterFacebook

Tech Note: The LGF Pages Reboot

Integrated
LGF • Views: 29,381

The new LGF Pages re-design is now in launch mode, and the first thing you’ll notice is that it looks a lot like the rest of the site. And that’s a good thing.

The old LGF Pages index had its own design, which actually started as a coding experiment way back in the day. Now it’s completely integrated into the design of the rest of LGF.

It’s more than a design integration, though; I also lavished a lot of attention on the plumbing, the MySQL queries that manipulate the LGF Pages database tables. Many of these queries worked very well as long as the whole list of Pages wasn’t too large — but with the number of Pages approaching 300,000, those queries were becoming unacceptably slow. In the lingo, they weren’t scaleable. That’s why I had to take the LGF Pages index offline when we installed our new servers.

Now these queries are very scaleable; I’ve optimized and refactored the queries and the PHP code behind them to make this new version respond much more quickly — again, like the rest of LGF.

If you’re signed in to an LGF account, some of the stats displayed on LGF Pages indexes are now “live,” updated at 5-second intervals, including the last comment and the page views. The Twitter counter is updated too, but at 90-second intervals.

When you scroll all the way to the bottom of the list of Pages, there’s a big button labeled “Show More Pages.” If you’re so inclined you can just keep clicking this button and showing more Pages until you reach the end, or your browser explodes, whichever comes first.

(Disclaimer: LGF not responsible for exploding browsers.)

Individual authors of Pages have their own indexes, just as in the old version, but again they now appear in a style consistent with the rest of LGF. You can get to any author’s LGF Pages by clicking their username in one of their Pages. The URL for your Pages looks like this (giving you a personal LGF web address):

littlegreenfootballs.com/pages/charles

And… one of the main problems with the old LGF Pages index was the search function. Basically, it sucked, and I say that as the author. Mea culpa. The biggest reason it sucked was because MySQL doesn’t have FULLTEXT indexing for tables of the InnoDB type, but you don’t really care about that. All you care about, and I don’t blame you, is that it’s fast. And the old LGF Pages search feature was the opposite of fast.

The solution: I’ve been noticing for a while that Google is crawling the heck out of LGF, and LGF Pages often show up in Google search results almost immediately after being posted, so I used Google’s “Custom Search Engine” feature to set up a special tool that searches LGF Pages. To use the custom Google search, type your search terms into the field in the left sidebar labeled “Google LGF Pages…”

Google’s search is ridiculously fast. Damned near instantaneous, in fact. Check it out and see how it compares to the old LGF Pages search feature.

Onion: Romney’s Terrifying Google Search History Leaked

“Convincing them you can taste the food”
Humor • Views: 31,533

Breitbrat Ben Shapiro Pens Nutty Rant Against Lena Dunham

Ben’s blue nose is way out of joint
Wingnuts • Views: 32,466

Even conservative journalists now think breitbart.com has become a bad joke, but they can still be inadvertently hilarious. Ben Shapiro’s nutty, painfully incoherent rant against the pro-Obama Lena Dunham video is today’s case in point: Obama Campaign to Girls: Have Sex With Vote for O.

Yes, she just compared sex with voting. And she mocked virgins - “No, I didn’t vote, I wasn’t ready.” And she said that Barack Obama’s the guy she’d rather have sex - er, vote - with. She actually saved herself for Barack Obama (she’s 26) - she could have swiped her V(oting)-card with John Kerry, but he was too limp a candidate, apparently. A real flip-flopper.

So she chose to do it for the first time with Barack Obama, since he “cares about and understands women.” In fact, he understands them so well that he exploits them for insane commercials comparing losing your virginity with voting. Obama has young daughters. But that didn’t stop him from releasing this commercial. Because this is what Obama thinks of your daughters. This is Obama’s official campaign ad. Paid for with his campaign money.

Distributed by his campaign. If this ad were any more demeaning to women - who apparently care only about having sex, if you listen to Lena “You Want To Do It” Dunham — it would be produced by Bill Maher and star Bill Clinton.

These people are very weird.

Also see

Avlon: The Obama Haters Book Club: The Canon Swells

Fear of a black President
Wingnuts • Views: 26,125

Jon Avlon has a piece at The Daily Beast on the sick and twisted world of the right wing Obama Haters Book Club, where fear mongering and deranged conspiracy theories are a thriving business.

Welcome to the Obama Haters Book Club—a parallel universe of fear mongering for fun and profit. 

Over the past four years, no less than 89 obsessively anti-Obama books have been published, as now catalogued by The Daily Beast. I’m not talking about cool statements of policy difference, but overheated and often unhinged screeds painting a picture of the president as a dangerous radical hell-bent on undermining the Republic by any means necessary. It is hate and hyper-partisan paranoia masquerading as high-minded patriotism.

Here’s the worst part—this steady drumbeat of incitement is having an impact on this presidential election because it has poisoned the well of civic discourse for many voters and those in their radius of damage. It has helped divide the nation beyond reason, distorting the president’s real record beyond all recognition.

By their very nature, books offer the promise of education and enlightenment. These conspiracy entrepreneurs pray on the prejudices of their audience. This is high-priced hardcover bile, boasting titles like:

The Communist; The Muslim Brotherhood in the Obama Administration; Where’s the Birth Certificate?; The Manchurian President: Barack Obama’s Ties to Communists, Socialists and other Anti-American Extremists; The Great Destroyer: Barack Obama’s War on the Republic; Trickle Down Tyranny: Crushing Obama’s Dream of the Social States of America; Gangster Government: Barack Obama and the New Washington Thugocracy; How Obama Embraces Islam’s Sharia Agenda; The Post-American Presidency: The Obama Administration’s War on America; To Save America: Stopping Obama’s Secular Socialist Machine; The Blueprint: Obama’s Plan to Subvert the Constitution and Build an Imperial Presidency; and what is still my personal favorite title: Whiny Little Bitch: The Excuse Filled Presidency of Barack Obama.

^ back to top ^

TwitterFacebook

Turn off all ads for a full year by subscribing!
Take advantage of our yearly subscription, and save 50% off the normal subscription price! 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: 2015-03-17 11:42 am PDT

LGF User's Guide
Recent Pages
Thanos
Anti-Science Parents’ Group Files Appeal in Fight Against Kansas Public Schools Curriculum
An organization that claims a statewide teaching plan will instill a "a non-theistic religious Worldview" in Kansas public school students has taken its fight to an appeals court. Citizens for Objective Public Education (COPE) is asking the 10th U.S. ...

5 hours, 29 minutes ago
Views: 249 • Comments: 0
Tweets: 19 • Rating: 1
EiMitch
Cracked: 8 Things Vietnam War Movies Leave Out (By an Enemy Soldier)
cracked.com Once the fighting started, a lot of people died, well over a million on our side alone. For the war to continue, a constant stream of new fighters had to join up, and they didn't have the benefit of ...

19 hours, 11 minutes ago
Views: 259 • Comments: 4
Tweets: 0 • Rating: 3
Romantic Heretic
The Lavender Scare
Here is an interesting article on one of Tail Gunner Joe's sick witch hunts that has, unfortunately, been forgotten. I try not to feel schadenfreude of the fate of McCarthy's side kick, Ray Cohn, but I never succeed.

1 day, 2 hours ago
Views: 256 • Comments: 1
Tweets: 0 • Rating: 0
FemNaziBitch
Should Women ‘Man Up’ at the Office, or Does Office Culture Need to ‘Man Down’?
About the Graphic How should a woman try to get ahead in a male-dominated workplace? Perhaps the answer lies less on women "manning up" and more in how businesses value their employees. Many women confront this tension as they ...

2 days, 4 hours ago
Views: 328 • Comments: 1
Tweets: 0 • Rating: 1
William Barnett-Lewis
Orthopraxy Pt 2
If we accept the idea of Orthopraxy over Orthodoxy, then what does evangelism look like? What is the Witness of those who try to follow the Way of Christ Jesus? To evangelize is to spread the good news that we ...

2 days, 16 hours ago
Views: 357 • Comments: 0
Tweets: 0 • Rating: 4
thecommodore
Eric Alterman: A Wake-Up Call for US Liberals
A short column in The Nation that is a must read. The primary difference between liberalism and conservatism, at least in theory, is that the latter is an ideology and the former isn't. Conservatism, as Milton Friedman argued, posits that ...

3 days ago
Views: 560 • Comments: 0
Tweets: 1 • Rating: 5
Great White Snark
The NSA Has Taken Over the Internet Backbone. We’re Suing to Get It Back.
Blow off Snowden all you like, but what was revealed to be true is still true. The NSA lacks oversight with power. FISA is already too much and now they casually exceed even that generous provision. The world first learned ...

4 days, 23 hours ago
Views: 620 • Comments: 9
Tweets: 0 • Rating: 3
Lumberhead
Lead Prosecutor Apologizes, Admits Mistakes in Glenn Ford Case
This is a powerful admission of culpability and I applaud his courage in making it. It really should be read in its entirety. Glenn Ford should be completely compensated to every extent possible because of the flaws of a system ...

1 week ago
Views: 775 • Comments: 4
Tweets: 0 • Rating: 8
Dark_Falcon
Sarah Vine of the DM gets it wrong on teaching about rape.
Sarah Vine of the DM gets it wrong: SARAH VINE: Teaching 11-year-olds about rape is a form of child abuse The problem with this country, I've come to realise, is that it treats adults like children and children like adults. ...

2 weeks, 1 day ago
Views: 1,197 • Comments: 6
Tweets: 0 • Rating: 9
Fred72
Obama, Reagan, treaties, and agreements
So sayeth Conservative Reason: This was a deal. Not an agreement. Not a treaty. A treaty lasts months, years, or decades. This was a short-term project to solve an immediate crisis. Were laws broken? Sure. But there was no violation ...

2 weeks, 6 days ago
Views: 1,308 • Comments: 2
Tweets: 0 • Rating: 1
 Frank says:

I'll do the stupid thing first and then you shy people follow...