The Best Ruby on Rails Tutorial

I have been off and on playing with and learning Ruby on Rails and am finally in the process of using it. I consulted numerous resources in attempting to learn Rails including Code School and a book called Agile Web Development with Rails. However by far the best written material for beginners is Michael Hartl’s Rails Tutorial.

The Internet is awash in debates about what technologies you should learn when you program. I think Ruby on Rails is a good choice because the documentation and community sit above what I have seen elsewhere. Ruby on Rails is used by companies like AirBnb and Basecamp so it has been battle tested. This does not make other options invalid because ultimately all that matters is that you are able to accomplish what you want. Tools are just different roads to the same destination.

Warren Buffet's Annual Letter

Berkshire Hathaway’s annual letter is always an interesting read. Buffett is a talented writer and is able to articulate complex ideas with fun metaphors. Some interesting nuggets of wisdom that stuck out:

In the world of business, bad news often surfaces serially: You see a cockroach in your kitchen; as the days go by, you meet his relatives.

I think this holds true in many other worlds as well. Buffett talks about the importance of culture, and often times bad news ends up being the result of an institution being ill equipped to handle it. Furthermore rarely to problems occur in a vacuum, we live in a world of systems and so when one thing goes wrong there are likley to be other problems.

Our investment results have been helped by a terrific tailwind. During the 1964-2014 period, the S&P 500 rose from 84 to 2,059, which, with reinvested dividends, generated the overall return of 11,196% shown on page 2. Concurrently, the purchasing power of the dollar declined a staggering 87%. That decrease means that it now takes $1 to buy what could be bought for 13¢ in 1965 (as measured by the Consumer Price Index).

Something to think about. But you must reconcile it with his other advice about not being willing to trade a night’s sleep for extra profits. Berkshire Hathaway keeps a pretty large cash fortress for times of economic peril. This is a smart strategy because when cash is in short supply it quickly becomes more valuable.

Huge institutional investors, viewed as a group, have long underperformed the unsophisticated index-fund investor who simply sits tight for decades. A major reason has been fees. Many institutions pay subsantial sums to consultants who, in turn, recommend high-fee managers. And that is a fool’s game.

Buffett calibrates the performance of people to the data. Anyone is able to open a Vanguard account and invest in a stock index fund. If an investor is unable to beat the general market as a whole, then what special ability does the investor really have in discerning what investments are good or bad?

Aetna CEO Mark Bertolini Manages with Data

From The New York Times:

Dr. Reisman saw that the practices had helped his boss recover, but he was not convinced. “Because you’re doing yoga, everyone has to do yoga?” Dr. Reisman shot back, as recalled by Mr. Bertolini.

Mr. Bertolini appealed to Dr. Reisman as a scientist. They would measure workers’ stress levels by tracking heart rate variability and cortisol levels, common measures of anxiety. And they would team with the Integrative Medicine Program at Duke University, which does research into the efficacy of alternative treatments.

When Mr. Bertolini reviewed Aetna’s financial performance for 2012, he noticed something surprising: Health care costs had fallen. For the year, paid medical claims per employee were down 7.3 percent. That amounted to about $9 million in savings. The next year, health care costs rose 5.7 percent, but have remained about 3 percent lower than they were before yoga and meditation were introduced at the company.

DJ Patil Tells Us Where Data Science is Going

I especially enjoyed Barack Obama’s data science joke at the beginning of this video:

Network Neutrality Day

I spent the morning watching today’s FCC meeting where they passed rules about network neutrality and community broadband. I think these are huge wins for consumers, but was especially excited by a point made by Tom Wheeler before the vote on network neutrality. He pointed out that with the 4 million comments that the FCC received on the topic it was the most open rulemaking process they had ever engaged in, and that receiving this input gave their ruling extra legitimacy. As a fan of open government, I strongly agree. Many government discussions and decisions are made quietly, and the quieter these decisions are made the less legitimate the rules can feel. The network neutrality rules, whether you agree with them or not, are the product of a vigorous public discussion about a technical issue, and an example of democracy at its best.

Follow posts: RSS Feed
This work by Matt Zagaja is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.