Sign InRegisterForgotten password?

RebelmouseTwitterFacebook

Tech Note: The LGF Pages Reboot

Integrated
LGF • Views: 28,811

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.

Advertisement

Onion: Romney’s Terrifying Google Search History Leaked

“Convincing them you can taste the food”
Humor • Views: 29,779

Breitbrat Ben Shapiro Pens Nutty Rant Against Lena Dunham

Ben’s blue nose is way out of joint
Wingnuts • Views: 31,400

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:
Dunham’s ‘First Time’ Ad Similar to 1980 Reagan Joke

Avlon: The Obama Haters Book Club: The Canon Swells

Fear of a black President
Wingnuts • Views: 25,441

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 ^

Turn off ads by subscribing!
For about 33 cents a day, our subscription option turns off all advertisements at LGF!
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 in our weblog, unless you request otherwise.
Tech Note:
Using the Contact Form
LGF Pages 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 and text already filled in.

Last updated: 2013-05-21 7:32 pm PDT

Recent Pages
Haywood Jabloeme
New Poll Results Shows GOP Has Lost Favor Among Record Breaking Percentage of Americans
Republicans have finally done it. They've managed to do their jobs so horribly that their favorability rating has fallen right off a cliff into record-breaking territory. A new CNN poll reveals that an astounding 59% of Americans view Republicans unfavorably. This development comes on the heels of a recent poll showing that President Obama's job approval rating has risen. According to Business Insider: ...

23 minutes ago
Views: 31 • Comments: 1
Tweets: 0 • Rating: 0
Skip Intro
Fisheries Could Be in Hot Water Due to Climate Change
As our planet warms from excess carbon in the atmosphere, some of that heat is absorbed by the ocean. Fish and invertebrates are responding to warming waters by moving to higher latitudes or deeper waters where the water is cooler, and it was expected that these shifts would eventually affect availability of some commercially harvested species. "Eventually" may be now. Ocean warming has ...

33 minutes ago
Views: 28 • Comments: 0
Tweets: 0 • Rating: 0
thecommodore
Breitbart Distorts Report on Why Obama Administration Won’t Let Military Capture Benghazi Suspects
Here is how Breitbart.com is reporting the story of how the FBI has identified five possible suspects in the attack on the Benghazi diplomatic mission last year: Report: Obama Won't Let Military Capture Benghazi Suspects An AP report via Fox Nation via claims that although the FBI has identified five men believed to have been behind the September 11 Benghazi attacks, those men remain ...

2 hours, 1 minute ago
Views: 80 • Comments: 1
Tweets: 0 • Rating: 1
Vicious Babushka
If Disney Cartoons Were Historically Accurate
, if embed doesn't play. If Disney Cartoons Were Historically Accurate -- powered by Cracked.com

14 hours, 50 minutes ago
Views: 382 • Comments: 0
Tweets: 2 • Rating: 1
Political Atheist
There Is No Such Thing Really as Professional Photographers
there's no such thing as Flickr Pro, because today, with cameras as pervasive as they are, there is no such thing really as professional photographers, when there's everything is professional photographers. Certainly there is varying levels of skills, but we didn't want to have a Flickr Pro anymore, we wanted everyone to have professional quality photos, space, and sharing." - Marissa Mayer, Yahoo ...

17 hours, 52 minutes ago
Views: 219 • Comments: 3
Tweets: 1 • Rating: 1
chadu
Sinkhole at 14th and F Closes Downtown D.C. Streets
Oh joy! Just a couple blocks from my office... A sinkhole at the intersection of 14th and F streets in Northwest Washington has closed streets around that intersection, and police warn that the closures could remain in place for two days. Crews are on the scene to repair the sinkhole. As a result, 14th Street is blocked between New York and Pennsylvania Avenues NW ...

19 hours, 6 minutes ago
Views: 226 • Comments: 0
Tweets: 5 • Rating: 0
FemNaziBitch
Men Are Being Sexually Assaulted in the Military, but Nobody Is Talking About It — the Good Men Project
Our Soldiers are being raped...by our Soldiers. In the U.S. Military, annually, more men are being raped by men than women are being raped by men. I state this fact, articulating it in this manner, not to diminish what these women are enduring but to raise the level of awareness and discourse to fully include the men; they have been dropping through the ...

19 hours, 41 minutes ago
Views: 171 • Comments: 2
Tweets: 0 • Rating: 2
kristina37
We know how to reduce the incidence of common medical conditions but …
Obesity is on the rise-- as is the incidence of Heart Disease, Diabetes, Stroke and various forms of Cancer. And, shockingly, diseases that had in the past begun in old age are now appearing at much earlier ages. A groundbreaking scientific study showed how easily (and inexpensively) the rate of occurrence of these and other serious illness could be greatly reduced-- but this information ...

1 day, 19 hours ago
Views: 196 • Comments: 2
Tweets: 0 • Rating: 2
theye1
The Greatest (Movie) Speech Ever Made
73 years later is still relevant and powerful as ever. It's also because of this movie that Charlie Chaplin was labelled a "premature anti-fascist."

4 days, 10 hours ago
Views: 458 • Comments: 9
Tweets: 0 • Rating: 7
Romantic Heretic
The Singing Ringing Tree
Some people built this strange looking statue in England. And this is what it sounds like. Youtube Video

4 days, 11 hours ago
Views: 163 • Comments: 2
Tweets: 0 • Rating: 4
 Frank says:

The bassoon is one of my favorite instruments. It has the medieval aroma -- like the days when everything used to sound like that. Some people crave baseball -- I find this unfathomable -- but I can easily understand why a person could get excited about playing a bassoon.