October 31, 2008

Cavlin & Hobbes: On Academic Writing

I used to hate writing assignments, but now I enjoy them.

I realized that the purpose of writing is to inflate weak ideas, obscure poor reasoning and inhibit clarity.

With a little practice, writing can be an intimidating and impenetrable fog..

Posted by Tim at 08:10 PM | TrackBack

Forming a Club to Share Financial Wisdom

I’ve long lamented the fact that there aren’t as many money clubs as there are book clubs. Plenty of us would be more successful in meeting our financial goals if we met regularly with a small group of like-minded people to lay our finances bare, from incomes to debt to our spending foibles. It would be one part Debtors Anonymous and one part Weight Watchers, a bit like the investment clubs that were popular in the 1990s but with every part of our financial lives under the microscope.

Related

Posted by Tim at 07:31 PM | TrackBack

Using Amazon S3 as a CDN?

Less than a month ago we moved that single file off to CacheFly a low-priced CDN. I thought CacheFly would be an interim solution but from our performance testing they seem to be a good longer term option.

For this round of testing I tested the following serving options:

  1. CacheFly
  2. EdgeCast
  3. Amazon S3
  4. Nginx running on an Amazon EC2 Instance (DIY option)

Related

Posted by Tim at 09:09 AM | TrackBack

October 30, 2008

Red State Socialism: Federal Spending Recieved

Of the 32 states whic receive more than they contribute, 27 states (84%) are vote Republican
Posted by Tim at 10:06 PM | TrackBack

The Role of Dopamine in Shaping the Mind

The basic premise is straightforward: The software makes predictions about what will happen — about how a checkers game will unfold for example — and then compares these predictions with what actually happens. If the prediction is right, that series of predictions gets reinforced. However, if the prediction is wrong, the software reevaluates its representation of the game.

Montague was entranced by these software prototypes. "It was just so clearly the most efficient way to learn," he says. The problem was that TDRL remained purely theoretical, a system both elegant and imaginary. Even though computer scientists had begun to adapt the programming strategy for various practical purposes, such as running a bank of elevators or determining flight schedules, no one had found a neurological system that worked like this.

But one spring day in 1991, Dayan burst into Montague's small office. "He was very excited and shoved these figures from some new paper in my face," Montague remembers. "He kept on saying to me, 'What does this look like? What does this look like?'" The figures were from Schultz's experiments with dopamine neurons, and they showed how these cells reacted to the tone and the juice.

Posted by Tim at 07:22 PM | TrackBack

Creating easy and useful CSS Sprites

CSS sprites are a way to combine images to improve our page loading time, reducing the number of requests our server does. In this article I will teach you how to make them.
Posted by Tim at 06:46 PM | TrackBack

VoteHour: Not to Busy to Vote

CEOs around the country have come together to encourage their employees to take an hour on November 4 and go vote. Watch the videos below and learn why "too busy" is no excuse this Tuesday.
Posted by Tim at 06:31 PM | TrackBack

Undo Made Easy with Ajax

The correct solution is Undo, which we can implement here with an event queue and an “onUnload” callback. When the user clicks delete, the to-do item disappears. Normally, at this point we would send an AJAX request to the server to actually delete the item. When writing for Undo, instead of immediately sending the AJAX call, we delay until the user navigates away from the current page (which we detect using the “onUnload” callback). This is achieved by placing a reference to the to-do item in the event queue for safe keeping.

When a user clicks Undo, we pop the last item added to the event queue and make the related to-do item visible again. When the user navigates away from the page, or closes it, the “onUnload” event gets called. It’s at this point that we iterate through the event queue and send the AJAX requests to server-side delete the to-do items.

Posted by Tim at 01:14 PM | TrackBack

Will: $5.3 billion for campaigns: less than for Potato Chips

The Center for Responsive Politics calculates that, by Election Day, $2.4 billion will have been spent on presidential campaigns in the two-year election cycle that began in January 2007, and an additional $2.9 billion will have been spent on 435 House and 35 Senate contests. This $5.3 billion is a billion less than Americans will spend this year on potato chips.
Posted by Tim at 12:48 PM | TrackBack

October 29, 2008

Beatles Unknown "A Hard Day's Night" Chord Mystery Solved Using Fourier Transform

The opening chord to "A Hard Day’s Night" is also famous because, for 40 years, no one quite knew exactly what chord Harrison was playing.

There were theories aplenty and musicians, scholars and amateur guitar players all gave it a try, but it took a Dalhousie mathematician to figure out the exact formula.

Posted by Tim at 07:10 PM | TrackBack

JavaScript Date Format Library

Although JavaScript provides a bunch of methods for getting and setting parts of a date object, it lacks a simple way to format dates and times according to a user-specified mask. There are a few scripts out there which provide this functionality, but I've never seen one that worked well for me… Most are needlessly bulky or slow, tie in unrelated functionality, use complicated mask syntaxes that more or less require you to read the documentation every time you want to use them, or don't account for special cases like escaping mask characters within the generated string.
Posted by Tim at 01:22 PM | TrackBack

The IDE Divide

The developer world is divided into two camps. Language mavens wax rhapsodic about the power of higher-level programming — first-class functions, staged programming, AOP, MOPs, and reflection. Tool mavens are skilled at the use of integrated build and debug tools, integrated documentation, code completion, refactoring, and code comprehension. Language mavens tend to use a text editor such as emacs or vim — these editors are more likely to work for new languages. Tool mavens tend to use IDEs such as Visual Studio, Eclipse, or IntelliJ, that integrate a variety of development tools1.
Posted by Tim at 12:07 PM | TrackBack

October 28, 2008

Who’s Who (and Who’s Not)

The first time I got a letter in the mail from Who’s Who saying that they wanted to include me, I thought I was pretty special. I had just gotten my Ph.D. and was at the Harvard Society of Fellows at the time. I called my Dad to brag.

He laughed out loud at me. “Only fools put themselves in Who’s Who,” he said. “They ask me every year, and I never fill out the form.”

Posted by Tim at 09:26 PM | TrackBack

Spec work can damage your business

I went for a dental check-up yesterday. After the dentist inspected my teeth, she suggested some work to prevent further tooth decay. I told her to go ahead, and if the dental work was satisfactory, I’d be more than happy to pay. She responded that she wouldn’t be able to do that, because she normally provides a service when a fee is agreed upon up-front. I said I’d let her know after I checked in with other local dentists.
Posted by Tim at 09:03 PM | TrackBack

Loan Comparison Shopping Site

uSwitch.com is a free, impartial online and phone based comparison and switching service that helps customers compare prices on a range of services including gas, electricity, home phone, broadband providers and personal finance products.

Related

Posted by Tim at 05:47 PM | TrackBack

October 27, 2008

Women Run the Show In a Recovering Rwanda

On a continent that has been dominated by the rule of men, this tiny East African nation is trying something new.

Here, women are not only driving the economy -- working on construction sites, in factories and as truck and taxi drivers -- they are also filling the ranks of government.

Posted by Tim at 12:34 PM | TrackBack

October 26, 2008

The 10 Signs of Intellectual Honesty

When it comes to just about any topic, it seems as if the public discourse on the internet is dominated by rhetoric and propaganda. People are either selling products or ideology. In fact, just because someone may come across as calm and knowledgeable does not mean you should let your guard down and trust what they say. What you need to look for is a track record of intellectual honesty. Let me therefore propose 10 signs of intellectual honesty.
Posted by Tim at 06:32 PM | TrackBack

typeface.js

Instead of creating images or using flash just to show your site's graphic text in the font you want, you can use typeface.js and write in plain HTML and CSS, just as if your visitors had the font installed locally. This is a work in progress, but functional enough at least to render the the graphic text on this site. Here's what it takes to get going: load the typeface.js library and some typeface.js fonts, then proceed like normal..
Posted by Tim at 06:15 PM | TrackBack

October 25, 2008

Buy Canadian

I can't think of any country in the world that has no fiscal deficit, no trade deficit and no inflation – except Canada. I think the Canadian dollar should go through parity.

“I like the whole Canadian market. I don't particularly dig the banks because I just don't know what's in there [on the balance sheet]. But I'd say virtually everything else is fine.”

Posted by Tim at 11:37 PM | TrackBack

YouTube Enables Deep Linking Within Videos

It’s not a big new feature but it’s certainly one that will come in handy: YouTube will now allow you to send users to a specific point in a video by appending a short tag to the end of a video’s URL. It’s pretty surprising that this functionality wasn’t available earlier, as Google Video introduced the same feature over two years ago. YouTube users have been forced to rely on third party services like Splicd to do the same thing.

To specify a point, append a tag to the end of your video link with the following syntax: “#t=1m45s” (you can change the numbers before the ‘m’ and ’s’ to edit the minutes and seconds, respectively.

Posted by Tim at 11:06 PM | TrackBack

Zimbabwe: Pictures of Inflationary Currency

If you think that the current economic crisis is something that has never happened in history before, you may be wrong! After the collapse of the agriculture sector in Zimbabwe in 2000, the inflation in that country skyrocketed to 231 million percent a year! Just think about it - 231 000 000%! Unemployment went up to 80% and a third of country’s population left it.
Posted by Tim at 11:05 PM | TrackBack

October 24, 2008

Rolling Stone: Anti-McCain Piece

In fact, his own statements show that he has been on both sides of a host of vital issues: the Bush tax cuts, the estate tax, waterboarding, hunting down terrorists in Pakistan, kicking Russia out of the G-8, a surge of troops into Afghanistan, the GI Bill, storing nuclear waste at Yucca Mountain, teaching intelligent design, fully funding No Child Left Behind, offshore drilling, his own immigration policy and withdrawal timelines for Iraq.

In March, McCain insisted to The Wall Street Journal that he is "always for less regulation." In September, with the government forced to bail out the nation's largest insurance companies and brokerage houses, McCain declared that he would regulate the financial industry and end the "casino culture on Wall Street." He did a similar about-face on Bush's tax cuts, opposing them when he planned to run against Bush in 2001, then declaring that he wants to make them larger — and permanent — when he needed to win the support of anti-tax conservatives this year. "It's a big flip-flop," conceded tax abolitionist Grover Norquist. "But I'm happy he's flopped."

Posted by Tim at 07:57 PM | TrackBack

How to create a stunning and smooth popup using jQuery

Learn how to create a stunning and great popup window from the scratch using jQuery in a simple and clean tutorial, the first one of this new blog
Posted by Tim at 06:49 PM | TrackBack

CSS Forms: Smashing Magazine

In Web 2.0 registration and feedback forms can be found everywhere. Every start-up tries to attract visitors’ attention, so web-forms are becoming more and more important for the success of any company. In the end, exactly those web-forms are responsible for the first contact with potential customers. Let’s take a look, which modern solutions a web-developer can use, designing his/her next css-based form

Related

Posted by Tim at 08:58 AM | TrackBack

October 23, 2008

Scientists perfect memory-erasing

US researchers said they are able to selectively erase memories from mice in a laboratory, raising hopes human memory afflictions like post-traumatic stress syndrome can one day be cured.
Posted by Tim at 04:58 PM | TrackBack

Wealth gap creating a social time bomb

Growing inequality in US cities could lead to widespread social unrest and increased mortality, says a new United Nations report on the urban environment.

"High levels of inequality can lead to negative social, economic and political consequences that have a destabilising effect on societies," said the report. "[They] create social and political fractures that can develop into social unrest and insecurity."

Posted by Tim at 04:36 PM | TrackBack

Apps for Democracy

Talented technologists and creatives battling it out to see who can create the most useful applications from DC's Data Catalog — a resource that has tons of open data feeds including most recent roadkill pickups! Sweet!
Posted by Tim at 11:40 AM | TrackBack

Django-batchadmin

Batch actions in the change list views of your Django admin site
Posted by Tim at 11:05 AM | TrackBack

October 22, 2008

Young Voters, Get Mad

To: Voters Under 35

Subject: Your Future

Recommendation: Get Angry

You're being played for chumps. Barack Obama and John McCain want your votes, but they're ignoring your interests. You face a heavily mortgaged future. You'll pay Social Security and Medicare for aging baby boomers. The needed federal tax increase might total 50 percent over the next 25 years.

Posted by Tim at 08:14 PM | TrackBack

Al the Shoesalesman Gets a Tax Cut

Ad for Obama's Tax Cuts: Find out your tax cut under Barack's plan at http://taxcut.barackobama.com whether you're single or married with children.
Posted by Tim at 05:30 PM | TrackBack

McCain Profile: Palin Pick

After that first brief meeting, Davis remained in discreet but frequent contact with Palin and her staff — gathering tapes of speeches and interviews, as he was doing with all potential vice-presidential candidates. One tape in particular struck Davis as arresting: an interview with Palin and Gov. Janet Napolitano, the Arizona Democrat, on “The Charlie Rose Show” that was shown in October 2007. Reviewing the tape, it didn’t concern Davis that Palin seemed out of her depth on health-care issues or that, when asked to name her favorite candidate among the Republican field, she said, “I’m undecided.” What he liked was how she stuck to her pet issues — energy independence and ethics reform — and thereby refused to let Rose manage the interview. This was the case throughout all of the Palin footage. Consistency. Confidence. And . . . well, look at her. A friend had said to Davis: “The way you pick a vice president is, you get a frame of Time magazine, and you put the pictures of the people in that frame. You look at who fits that frame best — that’s your V. P.”

Related

Posted by Tim at 04:39 PM | TrackBack

Barely Fitz: JavaScript Slideshow

Welcome to the BarelyFitz JavaScript slideshow! Use the slideshow controls for a tour of the slideshow features. This is free, open-source software: you can redistribute it and/or modify it under the terms of the GNU General Public License. For more information refer to the License page.

Related

Posted by Tim at 10:00 AM | TrackBack

Test iPhone: web site emulator

This is a web browser based simulator for quickly testing your iPhone Applications.
Posted by Tim at 08:46 AM | TrackBack

October 21, 2008

Useful resources and tutorials for developing stunning web sites

ModalBox is a JavaScript technique for creating modern (Web 2.0-style) modal dialogs or even wizards (sequences of dialogs) without using conventional popups and page reloads. It’s inspired by Mac OS X modal dialogs.
Posted by Tim at 08:32 PM | TrackBack

The programmer as journalist: a Q&A with Adrian Holovaty

OJR: What is the value to a journalist in understanding programming, or even learning how to do it?

Holovaty: The main value in understanding programming is the advantage of knowing what's possible, in terms of both data analysis and data presentation. It helps one think of journalism beyond the plain (and kind of boring) format of the news story.

Programming comes in handy in all sorts of other areas, too, including gathering information. Now that quite a few governments and organizations are publishing data on their own websites, it's a valuable skill to be able to automate the retrieval of that data and compile it into a format that makes it easy to research and aggregate.

Posted by Tim at 08:05 PM | TrackBack

See a Lot of Starbucks? Flee the Market

Dan Gross, writing in Slate, has a theory: “The more Starbucks a country has, the bigger its financial problems.”

He has data that seem to support the theory, at least in a general way, and adds that it works in the United States, where the biggest busts have come in areas with the most Starbucks.

Posted by Tim at 07:18 PM | TrackBack

Graph: Upcoming Adjustable Mortgage Reset Schedule

You thought that $700 billion will be the US banks’ toxic assets? It won’t - not by a long chalk. There’s another bunch of toxic mortgages just waiting around the corner, in 2010 and on, which will be just as bad, and hit more people in the US.
Posted by Tim at 06:22 PM | TrackBack

TinyMCE with Django Newforms-Admin

After updating to newforms-admin the way how to add JavaSripts in the Admin-Interface changed a bit. I will show you how I included TinyMCE, a WSIWYG-Html Editor to the Admin-Interface.
Posted by Tim at 02:19 PM | TrackBack

Map of the Arctic: New Sea Lanes

Before our eyes, the Arctic is changing from an impenetrable wasteland into an oceanic crossroads. The polar ice cap has lost up to half its thickness near the North Pole in just the past six years and may have passed a tipping point; it is now shrinking at more than three times the rate predicted by the Intergovernmental Panel on Climate Change only four years ago. At the current pace, the Arctic may well be ice-free in summer by 2013.

The opening of a new waterway between the Atlantic and Pacific oceans is akin in historic significance to the opening of the Suez Canal, in 1869, or is Panamanian cousin, in 1914. With this sea change will come the rise and fall of international seaports, newfound access to nearly a quarter of the world's remaining undiscovered oil and gas reserves, and a recalibration of geo-strategic power.

Posted by Tim at 08:50 AM | TrackBack

Spolsky: Sins of Commissions

Employees will always game incentive plans -- because the geniuses who design them don't anticipate how employees will respond.
Posted by Tim at 08:13 AM | TrackBack

October 20, 2008

3 Oil Countries Face a Reckoning

Mr. Ahmadinejad’s way of dealing with the general economic distress has been to increase government spending, primarily through imports. But the International Monetary Fund said in August that Iran would face unsustainable deficits should prices for its oil fall to $75 a barrel.

It is not expected that economics will force Iran to change its underlying ideology or long-term goals. Still, if prices stay depressed for long, it could mean a greater willingness in Tehran to find a compromise on the nuclear issue and, perhaps, a political shift that left Mr. Ahmadinejad vulnerable in June’s presidential election, analysts said.

Related

Posted by Tim at 10:54 PM | TrackBack

Microfinance Sample Websites

SKS Map of India
Posted by Tim at 12:54 PM | TrackBack

Skype Plans for PostgreSQL to Scale to 1 Billion Users

Skype uses PostgreSQL as their backend database. ..I was excited to see how PostgreSQL is used "as the main DB for most of [Skype's] business needs." Their approach is to use a traditional stored procedure interface for accessing data and on top of that layer proxy servers which hash SQL requests to a set of database servers that actually carry out queries. The result is a horizontally partitioned system that they think will scale to handle 1 billion users.
Posted by Tim at 12:16 PM | TrackBack

October 19, 2008

Obama-McCain Al Smith Dinner Comedy Speeches

Comedy Speeches given 2 weeks before the 2008 election by the Presidential Candidates
Posted by Tim at 09:04 PM | TrackBack

Awesome Datasets

I’ve been referred to some really, really awesome datasets. I wish I had known about these while taking data-analysis classes in college.
Posted by Tim at 08:27 PM | TrackBack

National Geographic: Afghan Girl: 2 Photos

She remembers the moment. The photographer took her picture. She remembers her anger. The man was a stranger. She had never been photographed before. Until they met again 17 years later, she had not been photographed since.

The portrait by Steve McCurry turned out to be one of those images that sears the heart, and in June 1985 it ran on the cover of this magazine. Her eyes are sea green. They are haunted and haunting, and in them you can read the tragedy of a land drained by war. She became known around National Geographic as the "Afghan girl," and for 17 years no one knew her name.

Posted by Tim at 01:35 PM | TrackBack

Frum: Republicans Can't Run Against the 60s for Ever

Trouble is, Barack Obama’s biography is not very interesting. Hillary Clinton, at least, worked with actual radicals at a time when radicalism was a going concern. But Obama? McCain’s attack on him is the equivalent of the William McKinley campaign attacking William Jennings Bryan for having kept company with Nathan Bedford Forrest decades after the Civil War. Yes, the old rebel was an unrepentant traitor. Mostly though, he was all washed up.

Republicans have been fighting this second American civil war for eleven election cycles now. It’s been a good run! But just as 19th-Century Republicans eventually ran out of Union generals from Ohio, so the modern Republican Party has bumped up against the statute of limitations on campaigns against hippies.

McCain needed a bigger message.

Posted by Tim at 01:16 PM | TrackBack

McCain Hires GOP Operative Who Helped Smear Him in South Carolina in 2000

Former officials of Sen. John McCain's 2000 campaign expressed shock and disbelief Monday to learn than the GOP presidential nominee had hired South Carolina political consultant Tucker Eskew.

Related

Posted by Tim at 12:37 PM | TrackBack

Friedman: We're All Connected and Nobody is In Charge

So think about it: Some mortgage broker in Los Angeles gives subprime “liar loans” to people who have no credit ratings so they can buy homes in Southern California. Those flimsy mortgages get globalized through the global banking system and, when they go sour, they eventually prompt banks to stop lending, fearful that every other bank’s assets are toxic, too. The credit crunch hits Iceland, which went on its own binge. Meanwhile, the police department of Northumbria, England, had invested some of its extra cash in Iceland, and, now that those accounts are frozen, it may have to reduce street patrols this weekend.

And therein lies the central truth of globalization today: We’re all connected and nobody is in charge.

Posted by Tim at 01:35 AM | TrackBack

October 18, 2008

WSJ: Bernanke Is Fighting the Last War

Instead, we've been hearing for most of the past year about "systemic risk" -- the notion that allowing one firm to fail will cause a cascade that will take down otherwise healthy companies in its wake.

Ms. Schwartz doesn't buy it. "It's very easy when you're a market participant," she notes with a smile, "to claim that you shouldn't shut down a firm that's in really bad straits because everybody else who has lent to it will be injured. Well, if they lent to a firm that they knew was pretty rocky, that's their responsibility. And if they have to be denied repayment of their loans, well, they wished it on themselves. The [government] doesn't have to save them, just as it didn't save the stockholders and the employees of Bear Stearns. Why should they be worried about the creditors? Creditors are no more worthy of being rescued than ordinary people, who are really innocent of what's been going on."

Posted by Tim at 05:44 PM | TrackBack

GeoNames: Database

The GeoNames geographical database is available for download free of charge under a creative commons attribution license. It contains over eight million geographical names and consists of 6.5 million unique features whereof 2.2 million populated places and 1.8 million alternate names. All features are categorized into one out of nine feature classes and further subcategorized into one out of 645 feature codes. (more statistics ...). The data is accessible free of charge through a number of webservices and a daily database export. GeoNames is already serving up to over 11 million web service requests per day.
Posted by Tim at 02:33 PM | TrackBack

Keynes quote

Words ought to be a little wild, for they are the assaults of thoughts on the unthinking.
Posted by Tim at 01:17 PM | TrackBack

Kinsley: Subsidizing Small Businesses

The important point is that if our small business owner is struggling to survive, then he or she is not earning $250,000 a year and won't be affected by Obama's "spread it around" tax increase on incomes above that amount. That $250,000 a year is the owner's net income, obviously, and not on the business's gross revenue. And if small business owners are successful enough that they can take $250,000 or more out of the business in a year, why shouldn't they be treated just like anyone else who earns that amount?
Posted by Tim at 12:44 PM | TrackBack

Blackbird JS: Say goodby to "alert()"

Blackbird offers a dead-simple way to log messages in JavaScript and an attractive console to view and filter them. You might never use alert() again.
Posted by Tim at 12:34 PM | TrackBack

TaffyDB: Building a JavaScript table grid application

TaffyDB extracts the "hard part" of working with data in JavaScript. It provides methods to insert, update, remove, sort, and filter a data collection in much the same way you can with SQL. But how do you take advantage of this when building a data intensive application? How can you incorporate what TaffyDB does well to minimize and simplify your code?
Posted by Tim at 12:21 PM | TrackBack

October 17, 2008

The Obamas' Greatest Family Moments (SLIDESHOW)

After the outstanding response to The Obamas' Greatest PDA Moments and The Obama Anniversary Album, combined with Senator McCain's recent remarks that Obama is "a decent family man," we decided to take things to the next level. Behold The Obama Family Photo Album.
Posted by Tim at 12:36 PM | TrackBack

Brooks: Obama Could be Great

There has never been a moment when, at least in public, he seems gripped by inner turmoil. It’s not willpower or self-discipline he shows as much as an organized unconscious. Through some deep, bottom-up process, he has developed strategies for equanimity, and now he’s become a homeostasis machine.

.. it is easy to sketch out a scenario in which he could be a great president. He would be untroubled by self-destructive demons or indiscipline. With that cool manner, he would see reality unfiltered. He could gather — already has gathered — some of the smartest minds in public policy, and, untroubled by intellectual insecurity, he could give them free rein. Though he is young, it is easy to imagine him at the cabinet table, leading a subtle discussion of some long-term problem.

Posted by Tim at 12:11 PM | TrackBack

Browsershots.org: Cross browser Testing

Test your web design in different browsers
Posted by Tim at 11:25 AM | TrackBack

Byteflow Django Weblog

Byteflow is a blog engine, written on Python, using Django.

Related

Posted by Tim at 09:26 AM | TrackBack

October 16, 2008

NYTimes: The Campaign Finance API

With the Campaign Finance API, you can retrieve contribution and expenditure data based on United States Federal Election Commission filings. Campaign finance data is public and is therefore available from a variety of sources, but the developers of the Times API have distilled the data into aggregates that answer most campaign finance questions. Instead of poring over monthly filings or searching a disclosure database, you can use the Times Campaign Finance API to quickly retrieve totals for a particular candidate, see aggregates by ZIP code or state, or get details on a particular donor.
Posted by Tim at 06:12 PM | TrackBack

October 15, 2008

SuperFish Menu: Overlaying active Flash

I've been browsing under the linux platform since about 1943, and one of my pet peeves has been encountering websites that didn't work because their main navigation menu was hidden under some Flash content! ;)

Well, it turns out I just made one of those sites! And so I spent the better half of the afternoon figuring out how to get my drop down SuperFish submenus menu to appear OVER a Flash Movie. Here's what I found;

Posted by Tim at 08:20 AM | TrackBack

Tax Cuts Eventually Lead to Tax Increases

Well, a major motivation that people have put forward for cutting taxes is their concern that government is too large. They think that the direct approach of going through the political process to cut spending is very difficult, and so the best strategy is to cut taxes. The idea is that this will reduce the revenues that Congress has available, and over time that will force spending down.

.. Right. Tax cuts led, eventually, to tax increases. Basically, something has to give; there is a government budget constraint. What we thought gave when you cut taxes was spending, but we seem to find that in postwar U.S. history what actually gives is the tax cut itself. A substantial fraction of a tax cut is typically undone in the subsequent five years.

Posted by Tim at 07:04 AM | TrackBack

October 14, 2008

Apache logs -> SqlLite Database

asql is a simple console shell which allows you to run SQL queries against an Apache logfile, something that can be very useful - especially at getting information which is not easily available via static logfile analysers.
Posted by Tim at 10:52 PM | TrackBack

Abortion: Incrementalism or "All or Nothing"

The Republican party also had the opportunity to change their platform language on abortion this year. The draft sent out to delegates last week contained this phrase,

"We invite all persons of good will, whether across the political aisle or within our party, to work together to reduce the incidence of abortion..."

However, when the committee met to approve and finalize the wording, this sentence, about working to reduce the incidence of abortion, had been removed.

Posted by Tim at 10:33 PM | TrackBack

What MFIs can teach Wall Street

The big lesson for Wall Street is that lending against collateral, supposedly prudent, can blind you to the need for checking the repayment capacity of borrowers. US banks happily gave mortgages of 100% of the value of houses during the housing bubble, and suffered when house prices fell.

Microfinance, by contrast, has no collateral at all. MFIs deliberately keep loans small, well within repayment capacity. Some MFIs give first loans of just Rs 5,000 a year. Those who repay qualify for a higher second loan, maybe Rs 7,000, and the third loan can be still higher. But MFIs set an absolute loan limit, ranging from Rs 12,000 to Rs 25,000, depending on local economic opportunities, to guard against over-borrowing. Wall Street needs similar safeguards.

Posted by Tim at 10:23 PM | TrackBack

Herbert: Self-Destructive Political Denial

Sara Rimer of The Times wrote an article last week that gave us a startling glimpse of just how mindless and self-destructive the U.S. is becoming.

“The United States is failing to develop the math skills of both girls and boys, especially among those who could excel at the highest levels, a new study asserts, and girls who do succeed in the field are almost all immigrants or the daughters of immigrants from countries where mathematics is more highly valued.”

.. an article in a recent issue of The New York Review of Books (with co-author Everett Ehrlich) lamenting the sad state of the U.S. infrastructure. Most Americans are oblivious on this issue. We’re like a family that won’t even think about fixing a sagging, leaky roof until it collapses on our heads.

Posted by Tim at 10:05 PM | TrackBack

October 13, 2008

Krugman: Why England had Bad Food

The appreciation of good food is, quite literally, an acquired taste--but because your typical Englishman, circa, say, 1975, had never had a really good meal, he didn't demand one. And because consumers didn't demand good food, they didn't get it. Even then there were surely some people who would have liked better, just not enough to provide a critical mass.
Posted by Tim at 06:11 PM | TrackBack

October 12, 2008

The Mystery Worshipper

Department stores hire mystery shoppers. Restaurant chains bring in undercover diners to rate their food and service. Churches enlist Thomas Harrison, a former pastor from Tulsa, Okla., and a professional mystery worshipper.

Mr. Harrison -- a meticulous inspector who often uses the phrase "I was horrified" to register his disapproval of dust bunnies and rude congregants -- poses as a first-time churchgoer and covertly evaluates everything from the cleanliness of the bathrooms to the strength of the sermon.

Posted by Tim at 09:59 PM | TrackBack

How to fight a rumor: Obama Campaign

For anyone who has ever worried about the power of a vicious rumor, Barack Obama's strategy over the summer must have seemed almost bizarre. Buffeted by rumors about his religion, his upbringing, and controversial statements made by his wife, Obama launched Fight the Smears, a website that lists every well-traveled false rumor about the candidate, alongside rebuttals and explanations for how the rumors arose.

Fighting rumors by publicizing them in vivid, high-profile locations is, to say the least, a surprising tactic. It's hard to imagine someone victimized by workplace rumors summarizing them and posting them on the lunchroom wall. The conventional wisdom about rumors is to take the high road and not respond. When John McCain, during the 2000 Republican primaries, was plagued with rumors that he had fathered an illegitimate child, for the most part he opted not to engage with them at all. Why would anyone want to broadcast negative claims about themselves?

And yet new research into the science of rumors suggests Obama's approach may be a sounder strategy - and the reasons why it makes sense suggest that we misunderstand both how rumors work and why they exist.

Posted by Tim at 05:27 PM | TrackBack

October 11, 2008

Top ten blogs to read during the banking crisis

Everyone needs a laugh right now. And the Daily Mash has surpassed itself as the first port of comedic call in this time of doom and gloom. They've written spoofs aplenty but their best line remains this explanation of the bailout:

The government is to invest £500bn of your money in British banks so they can lend it back to you with interest.
Posted by Tim at 08:33 PM | TrackBack

2010 Toyota Prius Adds Muscle at Expense of Fuel Efficiency

The engine will grow from 1.5 to 1.8 liters, the top speed could increase from 106 to 120 mph, and the car will measure a few inches longer and an inch wider. A Toyota spokesperson said the changes were to increase the vehicle’s mass-market appeal..
Posted by Tim at 08:06 PM | TrackBack

Django Tips

We were talking about things that we wish we had known before while developing for Django the other day in IRC. I proclaimed that we should write them down somewhere. So I'm writing a post to get this effort started. Please feel free to leave comments with your own tips and tricks, and I'll compile them in some kind of good fashion. These are mostly just pointers, and not full-blown writeups, just more of a big list of stuff you should think about. I think these tips will really help out new people when they're trying to get the hang of Django.

Related

Posted by Tim at 07:50 PM | TrackBack

The Evolution of the College Dorm

College housing has become more posh. Photos of the evolution from the ivory tower
Posted by Tim at 07:16 PM | TrackBack

October 10, 2008

WSJ: Feedback influences Political Perception

During Tuesday night's presidential debate, Sen. Barack Obama was talking about health care, and most of 25 undecided voters in Columbus, Ohio, liked what they heard. They turned knobs on small, wireless dials in their hands -- and a graph representing their immediate reaction was aired live to about 9.2 million people watching CNN.

.. But live feedback graphics may have another effect. Recent psychological experiments suggest they can influence viewers' judgments. That might give tiny focus groups outsize influence, especially over undecideds. But there is a broader question: How much of our political opinions are our own?

Posted by Tim at 02:57 PM | TrackBack

Brooks: The Class War Before Palin

But over the past few decades, the Republican Party has driven away people who live in cities, in highly educated regions and on the coasts. This expulsion has had many causes. But the big one is this: Republican political tacticians decided to mobilize their coalition with a form of social class warfare. Democrats kept nominating coastal pointy-heads like Michael Dukakis so Republicans attacked coastal pointy-heads.

..Palin is smart, politically skilled, courageous and likable. Her convention and debate performances were impressive. But no American politician plays the class-warfare card as constantly as Palin. Nobody so relentlessly divides the world between the “normal Joe Sixpack American” and the coastal elite.

Posted by Tim at 06:42 AM | TrackBack

October 09, 2008

False Apology Syndrome – I’m sorry for your sins.

There is a fashion these days for apologies: not apologies for the things that one has actually done oneself (that kind of apology is as difficult to make and as unfashionable as ever), but for public apologies by politicians for the crimes and misdemeanours of their ancestors, or at least of their predecessors. I think it is reasonable to call this pattern of political breast-beating the False Apology Syndrome.
Posted by Tim at 09:10 PM | TrackBack

Canada Tops List Of Soundest Banking Systems

The credit crisis is forcing investors to ask, "Which banks are safe?" According to a survey from the World Economic Forum, Canada has the world's most solid banking system. Next on the list are Sweden, Luxembourg and Australia. The U.S. ranked 40th, behind Germany, Chile and Namibia. Britain, which used to be ranked in the top five, dropped to 44th place.

Related

Posted by Tim at 07:19 PM | TrackBack

Electric Bikes

Electric-assist bicycles are becoming very popular in Europe and industry insiders at this year’s Interbike show were speculating that they may be the next big thing here in the U.S.
Posted by Tim at 07:01 PM | TrackBack

MySQL vs PostgreSQL Comparison

MySQL has come a long way in adding advanced functionality while PostgreSQL dramatically improved its speed within the last major releases. Many, however, are unaware of the convergence and still hold on to stereotypes based on MySQL 4.1 and PostgreSQL 7.4.
Posted by Tim at 08:18 AM | TrackBack