# books

## Where Good Ideas Come From

I recently read Steven Johnson’s “Where Good Ideas Come From”.   It had some good ideas, even if the biological analogies were a stretch.   The basic ideas are summed up at the end:

• Go for walks
• Get some sleep (it wasn’t mentioned in this book, but probably splitting up your night’s sleep would be good)
• Make Mistakes
• Have Hobbies
• Talk to strangers
• Mix ideas together
• Take good notes
• Live in or near a city
Posted by william in books, research, 0 comments

## The role of government

I recently read, “The Entrepreneurial State” by Mariana Mazzucato.   It was interesting to read in light of Peter Thiel’s “Zero to One” and Steven Johnson’s “Where Good Ideas Come From”.   Mazzucato’s central theme is that contrary to the idea that government is an impediment to economic development, the US government has actually spurred a lot of the most innovative sectors in the economy.   Beyond simple support of basic research, government has spurred development.   Unfortunately, at times, I think that she is her own worst enemy and at times draws rather tenuous connections between government investment and marketplace results.

To my mind, the government has done and continues to do an excellent job at funding basic research.  In the past, there was more support from industrial research labs such as AT&T Bell Labs, but that was during an era where monopoly profits allowed them to have the funds to do so.  In the US, prizes have also proved stimulating (ex. the X-prize).  DARPA has also been rather successful in funding risky targeted research.  Mazzucato correctly points out that SBIR grants have served to support companies in the development of technology that government needs that later has commercial application (ex. Apple).   But, it’s a stretch to suggest that Apple would not have existed without such investment.   However, she does raise a good suggestion—rather than just paying cash for SBIRs, the government would do well as a long term “venture capitalist” if it actually took on a small stock holding in companies where if they really took off, the funds could be used and reinvested in other research areas.

Peter Thiel brings up the idea in Zero to One and in his book and talks that Clean tech and thin film solar panels in particular were a disaster for venture capital funds that poured in as a result of funds available from the DOE.   I think the problem here is time horizons—venture capitalists really only have maybe a 10 year time horizon to return a profit for their investors.  There has just been too much uncertainty in this market for them to really win (https://gigaom.com/2013/03/27/the-state-of-cleantech-venture-capital-what-lies-ahead/).   At this point, in the lab, single crystal silicon seems to have approached theoretical efficiency limits (http://en.wikipedia.org/wiki/Solar_cell_efficiency).   The difficulty at this point is more engineering and finance—namely, making it economical for people to buy panels at those efficiency levels.   At that point, it might be feasible to start thinking more about distributed power.  However, there is a rather disheartening  article in IEEE about what it would really take to reverse climate change, but that’s another topic (http://spectrum.ieee.org/energy/renewables/what-it-would-really-take-to-reverse-climate-change)…However, here Mazzucato is correct about the need for “patient” capital that can wait for more than 10 years to reap the benefits of investment.  Here, government is not just generally stimulating basic research, but is instead trying to achieve a given goal and allowing companies and labs to try different ways of realizing the goal of developing cleaner sources of energy.

Another point that Thiel brings up is that he believes that the pace of innovation is slowing.   One of his prime examples is the pharmaceutical industry.   Peter Thiel believes that it’s a result of government regulation.   I disagree.  Here, I think the conventional view is actually correct.  We really have eaten a lot of the low lying fruit.   Johnson raises the idea of the “adjacent possible”—a space of ideas that are accessible to a given person at a given time in history.   At this time, we’re waiting for the adjacent possible to sweep the next major wave of innovations.   We’ve discovered that cancer for example, is much more complex than we originally thought.  Rather than just being a simple disease with a simple cure (for example one drug that treats all cancers), it’s more likely that tailored solutions will be necessary.  Who knows, perhaps treatments will have to become on going and adapt to individual patients with time.   We’ve laid a lot of ground with projects such as the Human Genome Project, but it may take some time before it starts to bear major fruit because the problems at this stage are hard.   It’s also important for the government to continue to fund “risky” research where failure is possible.

Besides government directly investing in research, government can try to facilitate the transfer of knowledge from the university to industry (for example, with the Bayh-Dole act.  Or to encourage corporations to work together on hard problems like with Sematech.   It can also try to encourage environments where “random” encounters are likely to result in innovation—for example encouraging technological incubators  in large cities.

Posted by william in books, research, 0 comments

## Some light martial arts fiction

On a friend’s recommendation, I just read, the CUHK Series: Fox Valant of the Snowy Mountain by Jin Yang. It starts with some interesting introductions and commentary by the translator (there was also an implication that these were written because the author needed cash...). I’m not sure if this is his only work that’s translated into English, or if this is the only one available on the Kindle. The first thing I noticed was the style of the language. While I’m sadly monolingual, I do have a reasonable command of the one language that I know--however, I found myself glad to read it on the Kindle, where I could look up definitions of words that have fallen out of common usage (or perhaps reflect a more British dialect of the language). I wonder if this was intentional on the translator’s part? Was the Chinese version colloquial, or does it also use an older tone of language. But after awhile, I became accustomed to it and began to enjoy it.

The other thing that I found was that there are a number of movies and novels which I’ve seen and read that owe a silent homage to this author. If you ever get a chance, Sean Russell’s “Brother Initiate” series has a very similar feeling to it. This particular story also has a familiar feeling with recent movies in which we’re told a story from different perspectives and gradually learn more about reality by viewing it from different angles. Here, it’s interesting that the characters we meet first turn out to be villains and it’s only as we meet other characters that we release that some of their opponents are actually the heros…Psychologically, it’s interesting because by introducing them first, we are initially biased in their favor.

One interesting question raised in the story is about the value and danger of pride. At times in my life, my pride has been useful and helped me to push forward despite opposition. But on other occasions, it has got me in trouble. Have you ever had the feeling of meeting the sky above the sky? To feel that you’re at the top of the game and then to meet someone stronger?

In the book, much is made of scrolls. In fact, one of the characters becomes a much stronger martial artist from reading a fragment of a scroll with the secret teachings of a school. But, is this plausible? I remember when I trained, I would read a number of books with pictures and they were useful, but not compared to videos. And even videos were not enough to capture the feelings behind a number of techniques. I think that a scroll could serve to mark ideas, but you’d really need to have a teacher to truly understand...

All in all, it was a good read. The only regret that I had was the open ending...

Posted by william in books, 0 comments

## Seismic Imaging

I've picked up a couple of books on seismic imaging.    One is called, Seismic Imaging and Inversion:  Application of Linear Inverse Theory, by Robert H. Stolt and Arthur B. Weglein.    The other is Digital Imaging and Deconvolution:  The ABCs of Seismic Exploration and Processing by Enders A. Robinson and Sven Treitel.    Since the government is now on day 9 of its shutdown and it's illegal for me to work, I have some time to read.

Let's start by looking at the ABC book.    It starts with a preface warning us that if we want to see how this all applies to exploration seismology, we would be better of looking at either Seismic Data Analysis by Yilmaz or Elements of 3D Seismology by Christopher L. Liner.

From there, we move onto chapter 1, which introduces/reminds us of the basics of waves and geometric optics (I never formally studied geometric optics and have to confess what I picked up on my own felt dreadfully dull…).    It's actually a pretty fun read.

I will discuss my readings more in a later post.  For now, here is a test of mathjax:

$\frac{\partial^2}{\partial x^2} u(x,t)=\frac{1}{v^2}\frac{\partial^2}{\partial t^2} u(x,t)$

Posted by william in books, physics, 0 comments

## Inferno (a novel)

I recently finished reading the latest Dan Brown book, Inferno:  A Novel.   As always, it was a page turner.

In college, I was an engineering physics major.  I had a slew of AP credits, so the only real humanities course I took was during my freshman year--a junior level science fiction course taught by Rabkin (which was truly an excellent course!   We read a different book every week.  We could only write a one page paper, so it was great for teaching us to tighten up our writing!).   In high school, I had another excellent course called, "Humanities" which tried to immerse us in the zeitgeist of the times--we would march through western history, exploring writings, art history, philosophy, and music of different periods.   It's a compelling way of learning.   I was also fortunate enough to take Latin in high school and to read the Aeneid, the Cena Trimalchionis, etc. in Latin--but otherwise, most of what I've encountered of the humanities has been in my copious free time.   Somehow, I have not read Dante's Inferno and after reading Dan Brown's book, it's definitely on my to read list!

I will skip over a discussion of the iconography and plot of the book except to say that it revolves around a problem raised by Malthus.  Writing in the 1800s, Malthus' essential observation was that while the growth of resources up to then was linear, the growth in population was geometric.   Given this, there would have to come a point where the population could no longer be supported by available resources.   He believed that famines, plague, etc. had managed to avoid the inevitable catastrophe from occurring by dropping the population, but that it was just a matter of time.   A character in Dan Brown's novel believes that Malthus was right and takes steps to try to deal with the problem.

Now, the question I wish to ask, is whether Malthus was indeed correct.   By simple evidence of the fact that we are here today without having observed his predictions coming true shows that at least his time scales were wrong.   Some have argued that through science, we've managed to beat Malthus--namely through the Green Revolution.  But as this blog points out, the Green Revolution was made possible through the expanding use of fossil fuels--which are limited.   So, perhaps we've merely been able to push off the inevitable.    However, it would appear that as societies become more developed and educated, they tend to produce less children and the population is expected to stabilize around 2050.   Given current resource levels, we may have centuries to think about better solutions--so, I don't see the same urgency that led to the drastic solutions of Brown's villain...

As a final note, one of the suggestions in the book was that population collapse, such as that which happened after the Black Plague in Europe led to the Renaissance--but what of Justinian's plague?  What of the Spanish Flu?  I find it hard to believe that pandemics have generally been beneficial for humanity.  Personally, I think that overpopulation is not the most pressing concern that we have to worry about today.   Climate change and our energy future is a different story...

Posted by william in books, 0 comments

## Getting started with D3

As we move more to the web for showing data, there is a need for good plotting libraries.   We started using flot and eventually migrated to JQPlot which I've been fairly happy with for general plotting.  Lately, I've been hearing about D3 for more custom plots and thought I'd take a bit of time to learn more about it this weekend.

I just had a quick read of Getting Started with D3 by Mike Dewar.   I saw an excellent talk by the author (who works at bit.ly) related to data analysis.   Sadly, I wasn't terribly happy with the book.   Part of it is that the book is just incredibly short!   The idea of taking MTA data to look at was good, but somehow I think more examples could have been shown, or perhaps some more involved visualizations/interactions.   After reading the book, I have a basic feeling for some of what D3 can do, but am not sure if I could have learned the same information from simply looking through the web...Some introduction to SVG would have been rather helpful.

I may play with it a bit later for a few custom visualizations and see whether it is worthwhile...From the book, and the examples that I've seen, it is useful when you're wanting to do non-standard plots, otherwise, I think I'll stick with jqplot.

Posted by william in books, javascript, plotting, 0 comments

## What's Math Got to Do with It?

Lately, I've been reading about education in the U.S. and the rest of the world.   Later, I'll write a longer post, but for now, I'll start with a review of What's Math Got To Do with It? by Jo BoalerOverall, I found this to be a rather compelling read.

The Problem

The introduction starts out with a fun math class that the author has attended.    The author  enters and the students are solving a problem.  Imagine that you have a merry go round and a skate boarder attached.  At some point, she lets go--calculate how long it will take for her to hit a padded wall.    She later gives her answer in in the solutions.   It's a fun problem.   It's broad enough to pull in some geometry, trig., and algebra.  The class she discusses is very involved, with students arguing about different approaches to the problem.  They go the board and show their ideas.  You could imagine an experimental session being included...She notes that it is the students rather than the teacher who ultimately solve the problem (it takes them 10 minutes).

Some of the reviewers in Amazon made a rather unfair criticism of this book, claiming that much of the discussion is anecdotal.   In reality, the author has conducted studies of thousands of American and British students through middle and high school.   She then draws on these observations to make generalizations.   She uses a few particular representative cases to highlight general trends--because most people relate well to stories.

In the first chapter, she sets up the problem.   Namely, there is a huge disconnect between the way that mathematics is taught in many schools (in the US) and how it is practiced by mathematicians (and anyone who uses math professionally).   In real life, mathematicians pull across a number of sub-disciplines to solve a problem (she gives the example of Fermat's last theorem).  The other thing that she notes is that there is a certain persistence that professionals use that is not taught.   Finally, she notes that in the real world, people collaborate!    This is definitely true in my field of physics.  I've been extraordinarily fortunate to have had very good collaborators.   While each individual needs to do their best, the modern world involves a great deal of collaboration.   I think that the main thing to note is that mathematics, engineering, physics, etc. are "living" arts.   We learn a number of basics, but when we are confronted by new challenges, we have to use whatever's in our arsenal to solve a problem.   Often, the problems we're solving are hard and require the use of different people with different areas of expertise.  We need to bounce ideas of of each other.    It's not just a lifeless set of rules to be memorized for a quiz and forgotten...While the basics are definitely important (like kata are important for martial arts)--if that's all you do, then you miss the art, get bored, and move on....

In chapter 2, she mentions more about the math wars.  Here, she introduces us to her first encounter with a strange group of traditionalists  (see www.mathematicallycorrect.com) who hate modern approaches to teaching math.   Again, while I doubt that anyone would question the need to practice--different students need different approaches.  When I was in grad. school, I was an NSF GK-12 fellow for awhile, where we would go into middle schools and try to help math/science teachers improve their classes.   I remember demoing one lesson in a 6th grade classroom about probability.   I'd notice that one student didn't understand something, so I'd present it another way, and if she still didn't understand, I'd try yet again (we also did activities to drive concepts across).

What she worries about is passive teaching approaches, where a teacher lectures and then students just work problems, without real understanding.   After years of this, students lose their ability to do creative problem solving.  Here is a simple problem that she gives:

A woman is on a diet and goes into a shop to buy some turkey slices.  She is given 3 slices which together weigh 1/3 of a pound, but her diet says that she is only allowed to eat 1/4 of a pound.  How much of the 3 slices she bought can she eat while staying true to her diet?

Unfortunately, many adults have problems with this.  You could set up an equation to solve it--but pictorial solutions are also a good approach.  The most important thing is to set up the problem...

She also brings  up the interesting idea of contexts.   Apparently, in the 70s and 80s, math educators in the US thought that they could make math more relevant by making it less abstract and more concrete and applying it to everyday situations--but they abstracted the everyday situations too much so that people familiar with the real situation got into trouble with the abstract situation.   Here, the better approach might be to start with the fully complex problem and show how we abstract it to something "tractable" to get an idea for what may be going on.   This is not easy to do.   To maintain enough "richness" of the original problem, but to make it something tractable to someone less experienced...I may discuss this in another post.   Of course, the author mentions that there are some problems that are without context, but still beautiful...

Solutions?

In Chapter 3, the author begins to move towards possible solutions and better approaches to teaching math.  One approach she looks at is one where the students try to communicate their solutions using multiple representations (graphs, words, tables, etc.).   It's an interesting approach and also encompasses group work.   In the author's research, they compared performance of students taught in this manner, with those taught in a more traditional manner and found  superior results from this approach--and a higher enjoyment of math.

Another approach is the project based approach.   Here, projects lasted about 3 weeks and focused on a given theme.   For example, students might be told that the volume of an object was 216 and then they would think about what kind of object it could be.   Concepts were taught on an as needed basis...The difficulties I see with this approach are many.   It requires the teachers to be careful to get a good coverage of different areas of mathematics and the end of the day.   It also requires a lot of effort to choose the right problems--in short, it requires a high calibre of teacher.    However, on national exams, the project based approach school outperformed a standard school with similar demographics.

The key here, I think is that if the projects are well chosen, it would be more engaging than a drill/kill approach, so retention is probably higher--but it would take more involvement on the part of the teacher...This is also the view of the author--though she does recommend some books in her Appendix.

Testing

Multiple guess--Ack!   Her first comment is that national assessments in Europe are rarely multiple guess.  There's only so much you can learn from multiple guess---you can try to choose common mistakes--but I think you'd learn more from free response--but that would be much more costly and harder to standardize....

The other issue the author finds with the standardized tests in the US is that they emphasize procedure under timed conditions rather than actual problem solving ability...Also, the feedback is limited--they are just given a score--not a listing of areas where they are strong and where they need to improve.

The author suggests an alternative that she calls, "Assessment for learning":

1)  Communicate what is being learned and where they are going

(For example, understand the difference between mean and median.._

2)  Let them know where they are (how they're doing)

3)  Let them know what they need to do to improve...

Generally, comments are more effective than grades in getting students to actually improve...(Which may suggest that leader boards and such comparing students in math games and such may be counterproductive...)

Tracking

Ability based grouping is an interesting phenomena.   It's something that I used to argue a lot with my dad and I have to say that I'm coming more around to his way of thinking.   In the US, tracking starts from a fairly early age and by high school, you have remedial, average, college, accelerated, and gifted tracks in subjects such as math.   It's very hard to move up in tracks...The idea is that it would make it easier for a teacher to focus on kids if they are roughly at the same level.  It gives more time to focus on the "slow" kids and doesn't hold the fast kids back.   I think it can be nice for the fast track--but the harm for slow track can be great.    In point of practice--a number of countries that are much more successful in math education on average, such as Finland and Japan do not employ it.  I think you run into all sorts of problems, ranging from different development rates ("late bloomers") to the fact that people in the lower tracks may simply give up...

Girls

Here is a chapter that I won't go into too much--but one observation of the author is that a number of girls are discouraged in math due to a lack of explanations.   Her claim is that they especially suffer when just given instructions, without clear reasoning, whereas boys are more likely to soldier on.

Abstraction

One important point that the author looks at is the difference between successful and less successful students--flexibility.   Low performing students are rather good at counting, but as problems get more complex, they don't abstract.   As time goes on, this becomes more and more of a challenge for them.  She then highlights some individual cases where she led a class to try to help low-performing students over a summer learn to treat numbers more fleibility.

A good start

Problems, puzzles, and toys oh my!   The author observes that a number of people who use mathematics professionally, had a lot of out of school experience with math.   They were encouraged to ask questions...

So, overall, I thought it was a good book.   There are some specifics that I've glossed over, but the most important thing is the approach.   Instruction which engages students and leads them to communicate with each other is more effective.   There aren't quick fixes...

Posted by william in books, education, 0 comments