TwitterFacebook

Tech Note: The LGF Pages Reboot

Integrated
LGF • Views: 29,073

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: 30,839

Breitbrat Ben Shapiro Pens Nutty Rant Against Lena Dunham

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

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,841

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!
For about 33 cents a day (per month) or 22 cents a day (per year), 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 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.

Last updated: 2014-03-07 2:19 pm PST

LGF User's Guide
Recent Pages
CriticalDragon1177
New Exoplanet Could Be Earth’s Cousin — Or Something Totally Alien
This could be potentaily the first world we have found besides Earth that actually has Life on it. Than again, we can't be sure yet, so don't get your hopes up. Adam Mann reports, Astronomers are one step closer to discovering Earth Two. They have found an exoplanet slightly larger than our own, orbiting a star at a distance where it could have liquid ...

15 minutes ago
Views: 39 • Comments: 0
Tweets: 0 • Rating: 0
Aqua Obama
Comcast PAC Gave Money to Every Senator Examining Time Warner Cable Merger
It's no surprise that Comcast donates money to members of Congress. Political connections come in handy for a company seeking government approval of mergers, like Comcast's 2011 purchase of NBCUniversal and its proposed acquisition of Time Warner Cable (TWC). But just how many politicians have accepted money from Comcast's political arm? In the case of the Senate Judiciary Committee, which held the first ...

1 hour, 1 minute ago
Views: 104 • Comments: 0
Tweets: 4 • Rating: 0
Skip Intro
Edward Snowden’s Disembodied Head Makes Sweet Love to Dreamy Heartthrob Vladimir Putin
Vladimir Putin held his annual call-in show & Freedom Telethon today on the completely objective, totally independent, RT network (Page 6 Pravda ). While most starstruck conservatives were unable to get through to yell "Show us your boobs!", Edward Snowden - the Max Headroom of the tech-bro set - managed to make a video request of DJ Vlad, and it wasn't for Free ...

1 hour, 17 minutes ago
Views: 35 • Comments: 1
Tweets: 0 • Rating: 1
FemNaziBitch
Judge Rules North Dakota’s Ban on Abortions After 6 Weeks Unconstitutional
North Dakota's law banning abortions after 6 weeks of pregnancy is unconstitutional, a federal judge ruled Wednesday, striking down what critics had called the nation's most extreme limit on the procedure. The law, which was approved last year but never took effect, made it a crime for a woman to abort a fetus with a detectable heartbeat. Offending doctors faced up to five ...

1 hour, 40 minutes ago
Views: 106 • Comments: 0
Tweets: 6 • Rating: 0
Randall Gross
Healing Is the Message at Interfaith Service for Victims of Sunday’s Shootings
Clergy of different faiths, joined by U.S. Attorney General Eric Holder, delivered messages of hope and unity Thursday before more than 1,300 people gathered at the Jewish Community Center in Overland Park. "A pall has been cast over our great nation," Holder said. "We gather today not in joy, but in solemn reflection." The overall message, however, was focused on the power of ...

5 hours, 57 minutes ago
Views: 59 • Comments: 0
Tweets: 0 • Rating: 0
palmerskiss
More Than Half the Women in These Countries Are Married by the Time They Turn 18
The report is as sad as it is horrifying. A child bride forced into marriage in Nigeria has been accused of killing her much older groom and three of his friends by poisoning their meals with rat poison. The 14-year-old girl, Wasila Umaru, was married to the 35-year-old man last week. Although she told authorities she was forced into the betrothal, Wasila will ...

21 hours, 14 minutes ago
Views: 140 • Comments: 1
Tweets: 0 • Rating: 1
Idle Drifter
Calgary stabbings: How knife crime in Canada can cause ‘moral panic’
What Calgary police chief Rick Hanson called the "worst mass murder" in the city's history didn't end at the barrel of a gun. Instead, the 22-year-old suspect identified on Tuesday as Matthew de Grood is accused of entering the kitchen at a house party, taking "a large knife" and using it to fatally stab four men and one woman, all of whom were students ...

1 day, 10 hours ago
Views: 138 • Comments: 2
Tweets: 0 • Rating: 0
aagcobb
New York Electoral College: State Joins National Popular Vote Interstate Compact.
Ben Mathis-Lilley, Slate: New York Electoral College: State Joins National Popular Vote Interstate Compact. Instead of pushing for a Constitutional amendment, which would have to be ratified in 38 states, advocates ask individual state legislatures to pass an agreement: that they'll pledge all their presidential electors to the winner of the national popular vote as soon as enough other states pass the law to ...

1 day, 16 hours ago
Views: 177 • Comments: 7
Tweets: 0 • Rating: 1
cycroft
Russ Campbell’s Blog: Will Trudeau’s Party Pay for His Ill-Chosen Words?
Justin Trudeau has talked him­self into a defama­tion law­suit that is likely to leave his party quite a bit lighter in the wal­let. The shoot-from-the-lip Lib­eral leader and his On­tario cam­paign co-chair David Mac­Naughton are named in a $1.5-mil­lion li­bel suit filed on be­half of Chris­tine Innes, a can­di­date who was barred from run­ning for the Lib­eral party. Innes had wanted to con­test ...

1 day, 23 hours ago
Views: 113 • Comments: 1
Tweets: 0 • Rating: 1
Political Atheist
The Insane History of Rockets at Jet Propulsion Laboratories
The Rocket Boys In the late 1930s, a group of Caltech graduate students were booted off campus after blowing up (part of!) their building during a rocket test gone awry. Unwilling to give up on the joy of semi-controlled explosions, the students and a few of their friends headed into the San Gabriel Mountains. They picked a deserted gully -- Arroyo Seco -- ...

2 days, 13 hours ago
Views: 219 • Comments: 0
Tweets: 0 • Rating: 2
 Frank says:

To me, cigarettes are food -- Response to an assertion that his nicotine habit conflicted with his anti-drug stance