from the world's big
Ruby Is Closer to Human Thought Than to Code
David Heinemeier Hansson is a Danish programmer and the creator of the Ruby on Rails open source web development framework. He is also a partner with Jason Fried at the web-based software development firm 37signals. In 2005 he was given with the Hacker of the Year by Google and O'Reilly award for his creation of Ruby on Rails. He and Fried have also co-authored the New York Times bestseller "Rework," which reveals their secrets for boosting business productivity in the Internet age.
Question: What inspired you to create Rails?
David Heinemeier Hansson: Rails really started as an application. It never started as Rails. It just started as me wanting to build Basecamp in this new program language—new to me program language—called Ruby. And as I was starting to build a Basecamp, our project management tool at 37Signals, I found a need to just build a bunch of tools for it. I had to have something to talk to the database, something to generate some HTML. All these things I weren’t finding good existing solutions for in Ruby, so I basically just had to do it myself.
And what I found was someway, halfway into the creation of Basecamp that I had this big toolkit now. I’d been building all these little things that I needed as I needed them, and now I discovered that I had a whole toolkit. And I also discovered that I like programming now so much better than I ever had in the past. So what was making me happy about this? Well, first of all, obviously, the Ruby language, but also all these tools I’d built for myself. They just felt just right in a way that no other programming language or environment had before.
So I started thinking: hey, if I’m having so much fun building with these tools, building with Ruby and then what became Rails, it can be selfish not to share that. All the things that we build at 37Signals are built on top of open source tools. We use Linux, MySQL, Ruby itself. All of these infrastructure components are open source; they’re free, and you can use them, you can change them, you can do whatever you want. So it kind of feels like once you’re in that world, you’d be an ass if you just developed something you liked a lot, and then you just kept it to yourself. Like, “This is my toy, and nobody else can play.” So that seemed like a bad idea.
So about halfway through the development of Basecamp I just realized I’m going to release this. I’m going to put it out into the world, but, before I do so, I want it to be good. I’d used a bunch of software that I found really, really frustrating to get into because either the documentation was bad, or the examples were lacking, or it just didn’t feel polished. So I wanted Rails to feel really polished. I wanted it to have great documentation, be easy to get started with and get into, so I actually waited about a year from when I decided I was going to release this, until I actually did. And it wasn’t until that year later where it felt good enough for somebody else to use.
Question: If you were to start again, would you choose Ruby as the basis for Rails?
David Heinemeier Hansson: If I had to do Rails today, I would absolutely choose Ruby. Since discovering Ruby, I really haven't been all that interested in other program languages. It's kind of funny; when I used to develop in PHP or the stuff I did in Java, I was always looking for something else. I was always looking for another programming language, another... just something else, in part just to distract me from being bored in the languages I was in.
But with Ruby it was kind of different. Ruby right from the beginning just fit like a glove. It was this magic language that sort of like your thought's been waiting for. Like this was the language that was going to express what I have to say in such an eloquent way that I'm frequently just astonished. I'll write a piece of code and look at it and say, “Geez, that's beautiful!” And I would not have that reaction before, just because other program languages just to me don't have that emotional appeal. Ruby has just a deep emotional appeal of how beautiful you can write something. It feels much closer to my thought process. It feels like I'm expressing exactly what I want to say in code without translating it. Usually you call it code because it's sort of hard to read and hard to understand, but Ruby really shouldn't be called code because it's much closer to human thought than code is.
Question: What exactly is the relationship between Ruby and Rails?
David Heinemeier Hansson: Ruby is sort of the basic language. You can say anything in Ruby. You can talk about anything in Ruby. There's no limits to that. Rails is much more like a genre, so rails is like "thrillers." Like, if you want to make a thriller, you use Rails for that. If you're using something else, if you want to write a love story, then you probably use another framework or something else entirely. Ruby is great for both of those things, but Rails is really the tool that sits on top of Ruby that just makes Ruby great for web development... talking to a database, outputting, HTML, putting all these things together and making great web applications.
Recorded July 22, 2010
Interviewed by Peter Hopkins
David Heinemeier Hansson was so fed up with PHP and Java that he almost gave up on programming altogether—then he found Ruby and everything changed.
An article in Journal of Bioethical Inquiry raises questions about the goal of these advocacy groups.
- Two-thirds of American consumer advocacy groups are funded by pharmaceutical companies.
- The authors of an article in Journal of Bioethical Inquiry say this compromises their advocacy.
- Groups like the National Alliance on Mental Illness act more like lobbyists than patient advocates.
The Corruption That Brought Prozac to Market — Robert Whitaker, Journalist<span style="display:block;position:relative;padding-top:56.25%;" class="rm-shortcode" data-rm-shortcode-id="bea9cff2b25efc18b663a011a679ba16"><iframe type="lazy-iframe" data-runner-src="https://www.youtube.com/embed/UyaJExxFPAE?rel=0" width="100%" height="auto" frameborder="0" scrolling="no" style="position:absolute;top:0;left:0;width:100%;height:100%;"></iframe></span><p>Consumer-oriented groups gained steam over the ensuing decades. Their efforts helped inspire the 1938 Food, Drug, and Cosmetic Act after over 100 people (mostly children) died from a sanctioned drug, Sulfanilamide. If not for the hard work of these advocates, this case might have been overlooked.</p><p>Early efforts also focused on the food industry, which was increasingly using chemical preservatives. The origin of Consumer Reports can be found in the consumer advocacy movement. Both the food and drug industries were getting a free pass to experiment on citizens with few repercussions.</p><p>These movements provided a social foundation for important advocacy work in the second half of the century. Female-led groups evolved to focus on women's reproductive rights, AIDS, and mental health. As the authors write, these groups struck a balance between working <em>with</em> and <em>against</em> current trends. Sometimes you need to craft legislation with officials; at other times, you have to rage against the machine with everything you've got. </p><p>Advocacy marked an important turning point in public health (and culture in general). These groups were tired of placating to a medical model that treated the male body as the standard. This wasn't limited to anatomy. As I <a href="https://bigthink.com/coronavirus/pandemic-warnings-rp-eddy" target="_self">wrote about last week</a>, a high-profile 1970s-era conference about the role of women on Wall St featured no women on stage. You can imagine what reproductive health looked like during that time. </p><p>Advocacy groups made real impact in public health. Then the money began pouring in. </p><p style="margin-left: 20px;">"These groups were funded largely by individual donations with some foundation support, but in the late 1980s, newer women's health groups moved to professionalize, effectively splitting the women's health movement."</p><p>A number of groups resist corporate ties to this day, such as the National Women's Heath Network and Breast Cancer Action. Too often, however, groups argue that their existence depends on corporate funding. This can lead to uncomfortable compromises. </p><p>An estimated two-thirds of patient advocacy groups in America accept funds from the pharmaceutical industry. Pharma companies gave <a href="https://link.springer.com/content/pdf/10.1007/s11673-019-09956-8.pdf" target="_blank">at least $116 million</a> to such groups in 2015 alone.</p><p>For example, over a three-year period, the National Alliance on Mental Illness (NAMI), which was founded by two mothers whose sons suffered from schizophrenia, received nearly $12 million from 18 pharmaceutical companies. The largest donor was Prozac manufacturer, Eli Lilly. By 2008, three-quarters of NAMI's budget was funded by the pharmaceutical industry. It gets worse:</p><p style="margin-left: 20px;">"An Eli Lilly executive was even 'on loan' to NAMI, paid by Eli Lilly, while he worked out of the NAMI office on 'strategic planning.'"</p>
A customer waiting for his medication at the Headache Bar in a pharmacy in Sydney, Australia. Among the items on sale are 'Paigees with Chlorophyll' and Alka Seltzer on tap.
Photo by Dennis Rowe/BIPs/Getty Images<p>This influx of cash skews public understanding of drugs. It also influences advocates to overlook real problems caused by pharmaceutical interventions, especially when it comes to mental health.<br></p><p>For a real-world example, consider how Xanax came to market. As journalist Robert Whitaker <a href="https://www.youtube.com/watch?v=2e829xdb4AA" target="_blank">explains</a>, an <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1463502/?page=1" target="_blank">initial study</a> was conducted to determine efficacy in treating panic attacks. After four weeks, Xanax was outperforming placebo, which is common with benzodiazepines over short-term usage. But it wasn't a four-week study; it was a 14-week study.</p><p>At the end of eight weeks, there was no difference in efficacy between Xanax and placebo.</p><p>At the conclusion of the study after 14 weeks, the placebo outperformed Xanax. By a lot.</p><p>Why is Xanax still prescribed for panic attacks? Because the pharmaceutical company, Upjohn, only published the four-week data. The 14-week data was not in its favor. Nearly forty years later, over <a href="https://www.statista.com/statistics/781816/alprazolam-sodium-prescriptions-number-in-the-us/" target="_blank">25 million</a> Americans receive a prescription despite its <a href="https://drugabuse.com/xanax/effects-use/" target="_blank">long list</a> of side effects and addictive profile. </p><p>As the authors note, many consumers are not aware of how advocacy groups are funded.</p><p style="margin-left: 20px;">"An international study of groups in the United States, United Kingdom, Australia, Canada, and South Africa found that the extent of relationships with industry was inadequately disclosed in websites that addressed ten health conditions: cancer, heart disease, diabetes, asthma, cystic fibrosis, epilepsy, depression, Parkinson's disease, osteoporosis, and rheumatoid arthritis."</p><p>That's a tangled web of relationships. Pharmaceutical industry funding negatively impacts the work advocacy groups should be focused on: protecting us. NAMI, for example, claims that as a "natural ally" to the pharmaceutical industry, it helps consumers access "all scientifically proven treatments." When the industry ignores evidence of long-term damage caused by its treatments, you have to wonder what's being advocated. </p><p>Although, as the authors conclude, that question is easy to answer. </p><p style="margin-left: 20px;">"Instead of drawing insights from patient experience to set organizational agendas and challenge industry agendas, today's groups are silent on high prices and drug harms, oppose efforts to regulate these basic rights, and demand access to drugs that challenge the safety and effectiveness."</p><p><span></span>--</p><p><em>Stay in touch with Derek on <a href="http://www.twitter.com/derekberes" target="_blank">Twitter</a>, <a href="https://www.facebook.com/DerekBeresdotcom" target="_blank">Facebook</a> and <a href="https://derekberes.substack.com/" target="_blank">Substack</a>. His next book is</em> "<em>Hero's Dose: The Case For Psychedelics in Ritual and Therapy."</em></p>
- Modern antibiotics can effectively treat bubonic plague, which spreads mainly by fleas.
Bacteria under microscope
needpix.com<p>Today, bubonic plague can be treated effectively with antibiotics.</p><p style="margin-left: 20px;">"Unlike in the 14th century, we now have an understanding of how this disease is transmitted," Dr. Shanthi Kappagoda, an infectious disease physician at Stanford Health Care, told <a href="https://www.healthline.com/health-news/seriously-dont-worry-about-the-plague#Heres-how-the-plague-spreads" target="_blank">Healthline</a>. "We know how to prevent it — avoid handling sick or dead animals in areas where there is transmission. We are also able to treat patients who are infected with effective antibiotics, and can give antibiotics to people who may have been exposed to the bacteria [and] prevent them [from] getting sick."</p>
This plague patient is displaying a swollen, ruptured inguinal lymph node, or buboe.
Centers for Disease Control and Prevention<p>Still, hundreds of people develop bubonic plague every year. In the U.S., a handful of cases occur annually, particularly in New Mexico, Arizona and Colorado, <a href="https://www.cdc.gov/plague/faq/index.html" target="_blank">where habitats allow the bacteria to spread more easily among wild rodent populations</a>. But these cases are very rare, mainly because you need to be in close contact with rodents in order to get infected. And though plague can spread from human to human, this <a href="https://www.healthline.com/health-news/seriously-dont-worry-about-the-plague#Heres-how-the-plague-spreads" target="_blank">only occurs with pneumonic plague</a>, and transmission is also rare.</p>
A new swine flu in China<p>Last week, researchers in China also reported another public health concern: a new virus that has "all the essential hallmarks" of a pandemic virus.<br></p><p>In a paper published in the <a href="https://www.pnas.org/content/early/2020/06/23/1921186117" target="_blank">Proceedings of the National Academy of Sciences</a>, researchers say the virus was discovered in pigs in China, and it descended from the H1N1 virus, commonly called "swine flu." That virus was able to transmit from human to human, and it killed an estimated 151,700 to 575,400 people worldwide from 2009 to 2010, according to the Centers for Disease Control and Prevention.</p>There's no evidence showing that the new virus can spread from person to person. But the researchers did find that 10 percent of swine workers had been infected by the virus, called G4 reassortant EA H1N1. This level of infectivity raises concerns, because it "greatly enhances the opportunity for virus adaptation in humans and raises concerns for the possible generation of pandemic viruses," the researchers wrote.
Want help raising your kids? Spend more time at church, says new study.
- Religious people tend to have more children than secular people, but why remains unknown.
- Conversely, having a large secular social group made women less likely to have children.