So, let me get this straight: you (mySQL) use a dolphin to fetch data while PostgreSQL uses an elephant to fetch data. Would that explain why PostgreSQL is better at fetching large datasets? Like, the elephant can haul more, but is slower while the dolphin is faster, but can't carry as well? Have you thought about using a non-animal to fetch your data? Maybe a racecar? Those are fast and could probably haul as much as an elephant. Plus, then I wouldn't need to have fish or peanuts in my server room.
Friday, November 30, 2007
India's tax story: A success?
If anyone wants proof that people are more willing to pay taxes if the rates are reasonable, and if the tax collection machinery uses data bases intelligently to bring millions more into the tax net, here it is. All the leftists who have criticised the broad thrust of tax reforms should have the grace to admit that they were wrong, and that the reformers were right.
Scary facts about India's skill gap
Quite a few Indian companies have no option but to import people for even blue-collar jobs. Here are a couple of examples: DLF Laing-O'Rourke is planning to bring over 20,000 carpenters and electricians from West Asia for its projects in India. Reliance Industries is using 40,000 blue-collar workers from abroad for its Jamnagar project work.
Totally, therefore, India has about 6 million people who would benefit from skill and vocational training every year (after the current backlog of 82.5 million is trained). Assuming similar employability profiles of the new entrants each year, the country's training bill would be around Rs 36,000 crore (Rs 360 billion) per annum. The calculation is simple.
TeamLease says since 82.5 million of the current employed or unemployed require Rs 490,000 crore for training and skill improvement, six million new entrants are likely to require Rs 36,000 crore.
Though the training bill is substantial, it does have a sound economic as well as social logic. Take the training bill of Rs 490,000 crore over two years for the current 82.5 million people.
TeamLease says spending that amount (10 per cent of GDP) will yield an extra income of Rs 136,000 crore (Rs 1,360 billion) annually, everything else remaining the same. Assuming a discount rate of 8 per cent, this translates to Rs 1,751,487 crore (Rs 17,514.87 billion) of additional income (about 61 per cent of GDP) generated over the lifetime of the current crop of employable/unemployed youth. That's a return of over 600 per cent on the investment.
Thursday, November 29, 2007
An opportunity for Zipcar?
Lets say we have a few slots reserved for zip car at every building on campus. In college towns, we can have zipcars at dorms, walmart, etc.
Wednesday, November 28, 2007
Sodium deluge a pressing crisis
One in three U.S. adults has high blood pressure, and almost 1 billion people worldwide. Hypertension in turn is a leading cause of heart attacks, strokes and kidney failure. And while being overweight and inactive raises blood pressure, too much salt is a big culprit as well.
Very little sodium actually comes from the salt shaker or home-cooking: Most, about 77 percent according to one small study, comes from processed and restaurant foods.
Tuesday, November 27, 2007
7 Habits of Highly Innovative People
Dont like the original article, but these resources sound good.
External Resources on Creative Thinking and Innovation (books contain affiliates id):
- Book: Creativity: Flow and the Psychology of Discovery and Invention
- TED Talk: Sir Ken Robinson
- TED Talk: Larry Lessig
- Book: Thinkertoys: A Handbook of Creative-Thinking Techniques
- About Creativity: Interview with Ze Frank
- Scott Berkun: Creative thinking hacks.
- Pick The Brain: The Secret to Creativity
Torvalds On Where Linux Is Headed In 2008
Torvalds: I think the real strength of Linux is not in any particular area, but in the flexibility. For example, you mention virtualization, and in some ways that's a really excellent example, because it's not only an example of something where Linux is a fairly strong player, but more tellingly, it's an example where there are actually many different approaches, and there is no one-size-fits-all "One True Virtualization" model.
There are many different levels of virtualization, and many different trade-offs in efficiency, management, separation, running legacy applications and system software, etc. And different people simply care about different parts of it, which is why the buzz-word "virtualization" shows up in so many places.
And not only do we tend to support many different models of virtualization, but one telling detail may be that I am personally so totally uninterested in it, that I am really happy that I have almost nothing to do with any of them.
And I mention that as a strong point of open source! Why? Because it actually is a great example of what open source results in: one person's (or company's) particular interests don't end up being dominant. The fact that I personally think that virtualization isn't all that exciting means next to nothing.
Monday, November 26, 2007
Sunday, November 25, 2007
Dying 47-Year-Old Professor Gives Exuberant ‘Last Lecture’
Dying 47-Year-Old Professor Gives Exuberant ‘Last Lecture’
Randy Pausch spoke with the theatrics of a showman, the wit of a master comic, and the eloquence of a statesman. He recalled his own childhood dreams, his life's goal to enable the dreams of others, and the lessons he learned and wanted to share over the 46 years of his life. Pausch is a handsome man, with a full head of black hair, bushy eyebrows, and a remarkable sense of humor. Of all the lectures this computer science prof had delivered during years in classrooms, this one was especially poignant and urgent. He began simply enough by quoting his father who always told him that when there is an elephant in the room you introduce it.
Thursday, November 22, 2007
Webdesign - forms
http://www.badboy.ro/articles/2007-01-30/niceforms/
http://blog.makemepulse.com/2007/07/04/niceforms-optimisation-and-new-features/
Tuesday, November 20, 2007
Can't talk now. System's down.
Sorry for the holdup. Looks like a temporary glitch in our network has part of Yahoo! mail down, so you're briefly without service. Rest assured the alarms are blaring in the basement and our team is working frantically to get you up and running ASAP. Again, the snag is on our end — so there's no need for you to do a thing.
Back to it,
Yahoo! Mail Team
The Architecture of Mailinator
The most interesting part to me is that the complete set of hardware that mailinator uses is one little server. Just one. A very modest machine with an AMD 2Ghz Athlon processor, 1G of ram (although it really doesn't need that much), and a boring IDE, 80G hard drive (Check ServerBeach's Category 1 Powerline 2100 for the exact specs). And honestly, its really not very busy at all. I've read the blogs of some copycat services of Mailinator where their owners were upgrading their servers to some big iron. This was really the impetus for me writing down this document - to share a different point of view.
Gift Card Scam
Christmas has become a holiday about shopping, not about giving. Case in point: the $100 gift card, now available from banks, from stores, even in a rack at the supermarket.
Last year, more than $8,000,000,000 was wasted on these cards. Not in the value spent, but in fees and breakage. When you give a card, if it doesn't get used, someone ends up keeping your money, and it's not the recipient. People spent more than eight billion dollars for nothing... buying a product that isn't as good as cash.
Home Ownership Is Not A Savings Strategy
When you add up interest, insurance, regular maintenance and a couple of costly repairs that are inevitable, a home owner can spend up to three times the purchase price of a house over the life or a mortgage.
Go through the links on that site.
Sunday, November 18, 2007
Friday, November 16, 2007
Food subsidies
Drewnowski gave himself a hypothetical dollar to spend, using it to purchase as many calories as he possibly could. He discovered that he could buy the most calories per dollar in the middle aisles of the supermarket, among the towering canyons of processed food and soft drink. (In the typical American supermarket, the fresh foods — dairy, meat, fish and produce — line the perimeter walls, while the imperishable packaged goods dominate the center.) Drewnowski found that a dollar could buy 1,200 calories of cookies or potato chips but only 250 calories of carrots. Looking for something to wash down those chips, he discovered that his dollar bought 875 calories of soda but only 170 calories of orange juice.As a rule, processed foods are more “energy dense” than fresh foods: they contain less water and fiber but more added fat and sugar, which makes them both less filling and more fattening. These particular calories also happen to be the least healthful ones in the marketplace, which is why we call the foods that contain them “junk.” Drewnowski concluded that the rules of the food game in America are organized in such a way that if you are eating on a budget, the most rational economic strategy is to eat badly — and get fat.
This perverse state of affairs is not, as you might think, the inevitable result of the free market. Compared with a bunch of carrots, a package of Twinkies, to take one iconic processed foodlike substance as an example, is a highly complicated, high-tech piece of manufacture, involving no fewer than 39 ingredients, many themselves elaborately manufactured, as well as the packaging and a hefty marketing budget. So how can the supermarket possibly sell a pair of these synthetic cream-filled pseudocakes for less than a bunch of roots?
The Consumer Crunch
The main fuel for the spending was easy access to credit. Banks and other financial institutions were willing to lend households ever increasing amounts of money. Any particular individual might default, but in the aggregate, loans to consumers were viewed as low-risk and profitable.
The subprime crisis, however, marks the beginning of the end for the long consumer borrow-and-buy boom. The financial sector, wrestling with hundreds of billions in losses, can no longer treat consumers as a safe bet. Already, standards for real estate lending have been raised, including those for jumbo mortgages for high-end houses. Credit cards are still widely available, but it may only be a matter of time before issuers get tougher.
What comes next could be scary—the largest pullback in consumer spending in decades, perhaps as much as $200 billion to $300 billion, or 2%-3% of personal income. Reduced access to credit will combine with falling real estate values to hit poor and rich alike. "We're in uncharted territory," says David Rosenberg, chief North American economist at Merrill Lynch (MER ), who's forecasting a mild drop in consumer spending in the first half of 2008. "It's pretty rare we go through such a pronounced tightening in credit standards."
Here is an interesting thought experiment.
The UK had a terror campaign waged against it for 30 years (IRA). The IRA terrorist were partly funded by the USA. This was by private individuals not the government(that I know of) but the government turned a blind eye to this and did nothing to stop it. Imagine if instead of the peace process that did happen the UK had invaded USA to stop this terrorism, cause several hundred thousand innocent American citizens to die in the process but succeeded in preventing any further IRA attacks against UK and toppled an unelected dictator (assuming this happened before bush's second term when he did win the election) how many americans would consider this a victory? Or are collateral causalities in the 'war against terrorim' only acceptable when it is foreigners dying?
Imagine you hired a contractor to renovate your house. You started out with a rather run-down, but still serviceable, four-bedroom, two-bath spit entrance ranch.
The contractor starts the project by essentially leveling your entire house with explosives. You end up living in a tent in the back yard, with no plumbing, no electricity, no heat. Heavy machinery is constantly tearing up the yard, sometimes backing over your tent, and once a back-hoe accidentally killed your dog.
Ten years drag by, while you live in your tent. You live through drenching rains, blizzards, and heat waves, year after year. Your youngest child dies of dysentery from the lack of sanitation. You can't work, because without plumbing you can't bathe or wash your clothes. The contractor makes very slow progress, because as becomes clear very early on, he has no idea how to build houses.
Finally, twelve years later, you end up with a reasonably okay home, which now in addition to the four bedrooms and two baths, has a patio, pool, and two-car garage. Unfortunately, your wife has left you, your two youngest children are dead, and you have to re-enter the job market after being unemployable for a dozen years.
Does your contractor get credit for building you a nice new house? How much credit?
Now, let's assume that you didn't hire this particular contractor. He just sort of appointed himself as your contractor, and rebuilt your house for you, unasked, while you shivered in a tent for a decade. How much credit do you think the contractor gets now?