This plugin dynamically skin default form's drop down menu, i.e.
In a general sense, the plugin serves as a foundation for further customization (new skin, animation, etc.). This is particularly useful when you want to create a drop down menu that has consistent look across different browsers.
Reader, if you're much over 30, you probably remember what it used to be like for the typical American kid. Remember how there used to be this thing called "going out to play"?
For younger readers, I'll explain this archaic concept. It worked like this: The child or children in the house -- as long as they were over age 4 or so -- went to the door, opened it, and ... went outside. They braved the neighborhood pedophile just waiting to pounce, the rusty nails just waiting to be stepped on, the trees just waiting to be fallen out of, and they "played."
"Play," incidentally, is a mysterious activity children engage in when not compelled to spend every hour under adult supervision, taking soccer or piano lessons or practicing vocabulary words with computerized flashcards.
Whether it’s a restaurant laying out food or a business offering its employees a list of mutual funds in its 401(k) plan or the government presenting different Medicare options, whoever presents choices must frame them in some way. And the framing will affect the decisions. Even “small and apparently insignificant details can have major impacts on people’s behavior,” the authors write. Some ways of presenting the choices may give a gentler “nudge” than others, and we may think some settings are neutral only because we’re so used to them.
As a result, Thaler and Sunstein argue, many of the familiar arguments for why people should simply be left to make choices on their own, and especially for why government should stay strictly out of the way, have little practical force. In many important areas of choice that matter both to the individual and to the rest of us (for example, when overuse of medical care drives up our insurance premiums and our taxes), the operative question is not whether to bias people’s decisions, but in which direction.
If all this sounds paternalistic, that’s because it is. Thaler and Sunstein adopt the deliberately oxymoronic label “libertarian paternalism” to describe their general approach. It’s libertarian in that people retain the right to make their own choices: they’re free to select the savings plan with the lowest projected return if that’s what they really want. But the govern ment — or an employer, or the person in charge of laying out the food in the cafeteria — is nonetheless nudging people in the direction that somebody thinks will make them better off.
The basic idea behind the Hollywood Launch is simple: you release a few hints about your product to build buzz, slowly revealing more and more until the big day, when you throw open the doors and people flood your site, sent there by all the blog coverage and email alerts.
I'll call this technique the Gmail Launch, since it's based on what Gmail did. Gmail is probably one of the biggest Web 2.0 success stories, so there's an argument in its favor right there. Here's how it works:
Have users from day one. Obviously at the very beginning it'll just be yourself and your co-workers, but as soon as you have something that you don't cringe while using, you give it to your friends and family. Keep improving it based on their feedback and once you have something that's tolerable, let them invite their friends to use it too.
You can connect to a PostgreSQL database from your home machine using an SSH tunnel. Here is how it is done using Putty and pgAdmin. The first thing to do is to open an SSH tunnel using Putty:
(If you're using Mac OS X or Linux, you can just open a terminal window and run 'ssh -L 5432:web1.webfaction.com:5432 your_username@web1.webfaction.com')
Adrian Holovaty is as red-hot as a techie can get. His EveryBlock.com tells you all about your neighborhood-including who's taking bribe.
Holovaty won credit, with those projects, for making them human, despite the mass of data, and for making that data readily accessible, with multiple entry points for the user. The key, he says, is to think like a reader, rather than a programmer.
"He can be doing this stuff and he'll wink at you," says Curley. "You can see the wink, like in the Congressional database, you [could] search by members' astrological sign. That's classic Adrian. Don't you think that's funny? I love that."
Premier Election Solutions (Formerly Diebold) has blamed Ohio Voting Machine errors on problems with the machine's McAfee AntiVirus Software..
(somewhat crude)Have you got eight hours and $10? Then you can build a Web site for your business.
.. There's one more free and easy way to improve the design of your site -- using HTML programming code. Fortunately, you don't need to have programming skills to use HTML. All you need to know is that a block of HTML -- essentially, a bunch of gobbledygook words and symbols -- can add extra features to your site. And numerous third-party sites offer handy HTML blocks you can plug into your site, as easily as copying and pasting text in Microsoft Word.
What is most remarkable and troubling about our current difficulties is that all these elements – supply shocks, financial dislocations and concern about rising underlying inflation – are present at once. Moreover, the crisis is global in scope. Concerns about recession are spreading from the US to much of the industrialised world. Significant slowdowns appear more likely in a number of emerging markets, with inflation concerns worldwide at their highest level in more than a decade. There is a growing consensus that the west is facing the most serious financial crisis since the second world war.
..Alan Greenspan has been fond of explaining that the resilience of the US financial system and economy results from reliance on two pillars: banks and capital markets. When the banks were in trouble, as in 1991, capital markets took up the slack; when the capital markets were in trouble, as in 1998, the banks took up the slack. Unfortunately, today both the banks and the capital markets show signs of crisis.
The point can be put in another way. Four vicious cycles are simultaneously under way: falling asset prices are forcing levered holders to sell, driving prices further down; losses at financial institutions are reducing their ability to finance investment, which in turn reduces asset values, causing further losses; the weakness of the financial system is reducing growth, which in turn weakens the financial system; and falling output is hitting employment, which in turn leads to reduced demand for output.
Without active efforts to interfere with these mechanisms, there can be no basis for confidence that the American economy will recover even in the medium term.
Helps rendering a QuerySet (or other data that can be interpreted as a table) to the browser, and letting the client interact with it (sort, group, filter, ..).
ReadmeJohn McCain recently tried to underscore his seriousness about pushing through a new energy policy, with a strong focus on more drilling for oil, by telling a motorcycle convention that Congress needed to come back from vacation immediately and do something about America’s energy crisis. “Tell them to come back and get to work!” McCain bellowed.
Sorry, but I can’t let that one go by. McCain knows why.
..“McCain did not show up on any votes,” said Scott Sklar, president of The Stella Group, which tracks clean-technology legislation. Despite that, McCain’s campaign commercial running during the Olympics shows a bunch of spinning wind turbines — the very wind turbines that he would not cast a vote to subsidize, even though he supports big subsidies for nuclear power.
Ask Apple CEO Steve Jobs about it, and he'll tell you an instructive little story. Call it the Parable of the Concept Car. "Here's what you find at a lot of companies," he says, kicking back in a conference room at Apple's gleaming white Silicon Valley headquarters, which looks something like a cross between an Ivy League university and an iPod. "You know how you see a show car, and it's really cool, and then four years later you see the production car, and it sucks? And you go, What happened? They had it! They had it in the palm of their hands! They grabbed defeat from the jaws of victory!
"What happened was, the designers came up with this really great idea. Then they take it to the engineers, and the engineers go, 'Nah, we can't do that. That's impossible.' And so it gets a lot worse. Then they take it to the manufacturing people, and they go, 'We can't build that!' And it gets a lot worse."
As Senator Kerry and many others have pointed out, it would be nearly 10 years before any oil at all would be realized from new offshore leases. So your adorable 7- or 8-year-old would be just about 17 and clamoring for a license when this new oil started coming online.
Maximum capacity from these new leases wouldn’t be reached until 2030, when that 7- or 8-year-old is approaching 30, finished with college and graduate school, and very likely married with children.
And even then — after more than two decades and who knows how many graduations, weddings, funerals and family cars — even then, the amount of oil expected to come from these leases would have little or no effect on the price of gasoline at the pump.
Assuming that everything over all those years goes all right, it is estimated that an additional 200,000 barrels of oil a day would come from the additional offshore drilling. That’s a tiny share of the world’s daily output of 85 million or so barrels.
In March, for example, an airline pilot told NASA he landed his regional jet with less fuel than required by FAA regulations. "Looking back," he said, "I would have liked more gas yesterday." He also complained that his airline was "ranking" captains according to who landed with the least amount.
A month earlier, a Boeing 747 captain reported running low on fuel after meeting strong headwinds crossing the Atlantic en route to John F. Kennedy International Airport in New York. He said he wanted to stop to add fuel but continued on to Kennedy after consulting his airline's operations manager, who told him there was adequate fuel aboard the jet.
When the plane arrived at Kennedy, the captain said it had so little fuel that had there been any delay in landing, "I would have had to declare a fuel emergency" _ a term that tells air traffic controllers a plane needs immediate priority to land.
Take for example Group Manager Jan Roelof Falkena.
His last name is Falkena.
Now in Jan Roelof's own words, "The use of double names (without hyphens) is fairly common back home."
Thus his first name is not merely Jan, any more than Captain Jean-Luc Picard's first name is Jean. and putting Jan R. Falkena in such a form would be ridiculous, and not at all how his parents or he would have wanted his name expressed.
Or take Test Lead Gerardo Villarreal Guzman.
His first name is Gerardo.
His last name is derived half from his father's name (Villarreal) and his mother's (Guzman). The hyphen is not used between these two halves, and the name itself becomes an interesting symbol of what singer/songwriter Gavin DeGraw referred to as "the birth of two souls in one". Which in my opinion is actually kind of a nice thing, culturally speaking.
Search Google for “web application MVC patterns” or any variant thereof, and the vast majority of results will talk about the server side MVC. This traditional answer will tell you the browser sits outside the MVC altogether, and sends in HTTP requests that are handled by the Controller, then all the MVC garble happens, and finally the View spits out a brand new HTML page (or XML/JSON for AJAX) for the browser to consume.
“So what’s the problem with this model?” you ask? The JavaScript layer of course . All of the code that runs in the browser doesn’t fit anywhere inside the classic MVC architecture.
Georgia sits in a tough neighborhood, shoulder to shoulder with huge Russia, not far from Iran, and astride one of the most important crossroads for the emerging wealth of the rich Caspian Sea region. A U.S.-backed oil pipeline runs through Georgia, allowing the West to reduce its reliance on Middle Eastern oil while bypassing Russia and Iran.
The pipeline that crosses Georgia can pump slightly more than 1 million barrels of crude oil per day, or more than 1 percent of the world's daily crude output. The 1,100-mile pipeline carries oil from Azerbaijan's Caspian Sea fields, estimated to hold the world's third-largest reserves. Its potential vulnerability was already in the spotlight after it was sabotaged this week, apparently by Kurdish separatists.
But if history is a guide, governors and legislators across the country will seek to avoid the difficult choices that are required. Instead, they will likely pass the costs of the services that we enjoy today on to our children and grandchildren, through creatively deceptive budgeting.
It is easy to understand why public officials are tempted by these strategies. Ask citizens whether they would prefer that their state’s budget be balanced with “accounting adjustments” as opposed to a combination of tax increases and service cuts, and they might well opt for the budget tricks.
Django has always made use of automatic schema generation - the almost-famous "syncdb" that must be run at least once (and often more) on every Django project. If you've ever used Django on a resonably large project, you quickly discover that you're deleting tables and regenerating them if you change schema - and that's only if you're in development, and can afford to possibly lose data.
With South, you install it and then give one or more of your apps some migrations (either writing them by hand, or autogenerating them from your model definitions). When you syncdb, you'll only sync apps that don't have migrations (things like django.contrib.auth, for example, which have a fixed schema), and then when you run ./manage.py migrate, South kicks in and does the migrations. Intelligently.
In The Wall Street Journal, Amy Chozick wrote that Hillary supporters — who loved their heroine’s admission that she was on Weight Watchers — were put off by Obama’s svelte, zero-body-fat figure.
The odd thing is that Obama bears a distinct resemblance to the most cherished hero in chick-lit history. The senator is a modern incarnation of the clever, haughty, reserved and fastidious Mr. Darcy.
Like the leading man of Jane Austen and Bridget Jones, Obama can, as Austen wrote, draw “the attention of the room by his fine, tall person, handsome features, noble mien. ...he was looked at with great admiration for about half the evening, till his manners gave a disgust which turned the tide of his popularity; for he was discovered to be proud, to be above his company, and above being pleased.”
A popular blog in which Garfield comic strips are reprinted minus their feline star is to be turned into a book – with the backing of the cartoon’s original creator.
Garfield Minus Garfield has developed a huge online following by erasing Garfield the cat and his thought bubbles from the original strips, making it appear that his owner John Arbuckle is talking to himself.
Starbucks is great at operations research. It wouldn't have become the company it is today if it hadn't created detailed manuals telling people how best to assemble the various chemicals that make up a modern adult milk shake. All of those independent coffee shops that have a nostalgic fixation on grinding the coffee beans right before using them, claiming this "tastes better" -- these poor shops go out of business left and right, because they don't have the right system. They make only a handful of drinks in the time it takes Starbucks to serve a hundred.
But as it has grown, Starbucks seems to have lost its knack for figuring out whether the policies dreamed up at HQ are really going to work in the field. Indeed, most of the people posting on Starbucks Gossip seem to agree that Starbucks HQ is hopelessly naive about the reality of the employees' daily work lives. Those icy blended drinks might bring in more customers in the summer, but they take too long to make, so the lines are crazy. And when the lines are crazy, the staff has a hard time keeping the store clean. Hence, my local Starbucks branches are consistently dirtier and messier than the average McDonald's (NYSE:MCD). That's one problem among many.