22 August 2012

New Blogger: Starting Teaching

So, I've recently started a new faculty position and I'd like to get back into some sort of blogging. Enter the New Math Blogger Initiative! Now, I'm not exactly a math blogger, but I think teaching physics will have similar features - especially after my conversation with some of the new math faculty at my institution.

I'm going to shortly answer two of the blog prompts this week:


Where does the name of your blog originate? Why did you choose that? (Bonus follow up: Why did you decide to blog?)

My blog address I addressed in one of my first posts: Making Science, along with some thoughts about why I originally started blogging. The title of my blog, "I will do science to it," was inspired by the webcomic Dresden Codak - specifically the one that inspired this shirt - so I should credit that! The webcomic is full of neat science fiction, a bit of philosophy, and other such delights, and I occasionally identify with the protagonist despite a much more normal and stable upbringing.

If you are a new teacher, what are two specific things you plan on doing this year?

The course I will teach this year is Introduction to Astronomy, and I am incredibly lucky in being able to build off and alongside an experienced faculty member who is teaching the course again this semester and sharing notes. This means I get to incorporate all sorts of things like pre/post conceptual tests to measure the course impact on student learning, lecture tutorials, paper clickers, without the overhead of developing the material for the course myself. My goal, though, is to make it my own. To make this specific for myself, I'll break it in to two goals. 

First, I want to be able to clearly justify each form of class activity and explain to students how we know it will help them learn, especially for the activities that will take extra effort on their part.  I'm reading a great book on Learner-Centered Astronomy Teaching, Strategies for Astro 101, which has tons of explanations of this sort of thing.

Second, I want to actually walk the walk about learning goals that are required by the university policies. Also spurred by the book mentioned above, this is a general pattern I'm trying to implement: In both reasearch and teaching, I'm trying to take things that might be considered "overhead" (e.g. grant-writing in research) seriously as an opportunity to improve my understanding of the work and build long-term effective project management. So I want to link activities to learning goals, with serious reflection rather than a vague "close enough" (which, I have already found, is tempting). This may be over-ambitious for my first semester teaching. So let me consider this successful if I make a link for at least one thing each class.

04 January 2011

It works! IT WORKS!!

Here is a pdf of an eighth
import processing.pdf.*;

int segments = 8;
int radii = 20;
float radiispacing = 20;

float horizon = 80;

float horizondistance(float rf) {
return sqrt(rf*(rf - horizon)) 
    + 0.5* horizon * log(rf) - 0.5 * horizon * log(horizon) 
    + horizon * log(1 + sqrt(1 - horizon/rf));
}
float sqrt_grr(float rf){
  return 1.0 / sqrt(1 - horizon/rf);
}



void setup()
{ 
  size(400,600,PDF, "filename.pdf");
//  size(400,600);
  background(255);
  
}
  
void draw(){
  translate(width/2,height-radiispacing);
  noFill();  
  line(-PI/segments*horizon,0,PI/segments*horizon,0);
  for(float radius = horizon + radiispacing;
            radius < horizon + radii*radiispacing; 
            radius += radiispacing) {
    println(radius + " " + horizondistance(radius) + " " + radius*sqrt_grr(radius));
    ellipseMode(RADIUS);
    //ellipse(0,radius*sqrt_grr(radius)-horizondistance(radius),2,2);
    //ellipse(0,
    //    radius*sqrt_grr(radius)-horizondistance(radius),
    //    radius*sqrt_grr(radius),
    //    radius*sqrt_grr(radius));
    arc(0,
        radius*sqrt_grr(radius)-horizondistance(radius),
        radius*sqrt_grr(radius),
        radius*sqrt_grr(radius),
        -PI/2.0-PI/segments/sqrt_grr(radius),
        -PI/2.0+PI/segments/sqrt_grr(radius)
        );
   }
  exit();
}

03 January 2011

Making better science

Three quotes from an article html-titled "The Decline Effect and the Scientific Method": The Truth Wears Off in the New Yorker. In light of my musings last night, a few quotes stood out particularly:

1.

The situation is even worse when a subject is fashionable. In recent years, for instance, there have been hundreds of studies on the various genes that control the differences in disease risk between men and women. [...] But the most troubling fact emerged when he looked at the test of replication: out of four hundred and thirty-two claims, only a single one was consistently replicable.
2.
He notes that nobody even tries to replicate most science papers—there are simply too many. (According to Nature, a third of all studies never even get cited, let alone repeated.)
3.
In a forthcoming paper, Schooler recommends the establishment of an open-source database, in which researchers are required to outline their planned investigations and document all their results. “I think this would provide a huge increase in access to scientific work and give us a much better way to judge the quality of an experiment,” Schooler says. “It would help us finally deal with all these issues that the decline effect is exposing.”
4.
The disturbing implication of the Crabbe study is that a lot of extraordinary scientific data are nothing but noise. [...] The problem, of course, is that such dramatic findings are also the most likely to get published in prestigious journals, since the data are both statistically significant and entirely unexpected. Grants get written, follow-up studies are conducted. The end result is a scientific accident that can take years to unravel.

Peer review is obsolete

In a provocative mood of evening musings:

I don't think peer review is working particularly well for showcasing the best work in higher-ranking journals. I suspect there are common flaws in duplications of work, overstatements, etc. A small number of overworked reviewers with little immediate feedback will inevitably let things slip through - especially for more interdisciplinary papers, which have a broader range of things that might go wrong outside the reviewers' specialties.

Having a reviewer check work is terrible efficiency, now that typesetting programs allow for more intermediate steps to be easily incorporated, print page limitations are no longer an issue, and the background code can be bundled along with things. And papers should be "living" - corrected and updated continuously, rather than just in one early cut.

What do we need? Central storage repositories for projects that can be trusted to be long term resources as academics migrate from post to post or leave for different fields entirely. Filtering based on citations and references - what is actually used? The ability for social network style "liking" of papers if they explain things cleanly.

Go deeper - can we have people sign their names to checking a particular derivation, reproducing a result? Then there is public attribution of those who have checked things carefully and staked their names on it. "Liked" "Used" and "Reproduced" can all be done based on interest. Good work should rise by all three attributes.

Still useful are editors (professional as well as impromptu) to collect sets of "most interesting" papers in particular subjects and curate histories of topics. Most interesting are not necessarily the most recently created - new shifts in subject matter can bring renewed interest to decades-old work.

01 January 2011

Papercraft spacetime: An equatorial slice through Schwarzschild

Take a sheet of paper and ignore it's thickness. Welcome to a slice of flat spacetime! It's even persisting through time, so we have three of the dimensions in the paper. We've only ignored one.

Now think about a equatorial slice through Schwarzschild. There's curvature: the usual coordinates use a circumferential radius coordinate, so r is the distance around a circle at that point divided by 2π. On the flat paper, if we draw a bunch of concentric circles around a point, each one has a distance r to the centre and a circumference 2πr. And then the distance between a circle at r1 and a circle at r2 is r1-r2. But in Schwarzschild it's different: the distance between two circles is

which is longer than r1-r2, by a little bit far away from the center, increasing toward the horizon.

So let's make a slice of schwarzschild out of paper!

Version 1: This is not perfect, but I thought that the programming environment Processing would be good for this and some other little ideas I have.

I figured that I would divide the spacetime slice around the centre like a pie and figure out the shape of each chunk, then tape them together. So the first step was to figure out how I might draw a slice in flat spacetime:

void setup()
{
  size(400,400);
  background(255);
  smooth();

  int segments = 16;
  int radii = 10;
  int centrex = 200;
  int centrey = 350;
  float spacing =30;
  stroke(128);
  for(int  i= radii; i>0; i--){
    arc(centrex,centrey,2 * spacing *i,2* spacing*i,-PI/2 - PI/segments,-PI/2+ PI/segments);
    line(centrex-spacing*(i-1)*sin(PI/segments),
    centrey-spacing*(i-1)*cos(PI/segments),
    centrex-spacing*i*sin(PI/segments),
    centrey-spacing*i*cos(PI/segments));
    line(centrex+spacing*(i-1)*sin(PI/segments),
    centrey-spacing*(i-1)*cos(PI/segments),
    centrex+spacing*i*sin(PI/segments),
    centrey-spacing*i*cos(PI/segments));
  }
}
And then, keep the arcs to make the same circumference of circle, but add extra linear spacing so that they follow the Schwarzschild relationship (note: math needs to be double checked)
void setup()
{
  size(400,800);
  background(255);
  smooth();

  int segments = 8;
  int radii = 20;
  int centrex = 200;
  int centrey = 700;
  float basespacing =20;
  float horizon = 80;
  stroke(128);
  float oldx = centrex-(horizon+ radii * basespacing) * sin(PI/segments);
  float oldy = centrey-(horizon+ radii * basespacing)*(cos(PI/segments));
  for(float  radius = horizon + radii*basespacing; radius >= horizon; radius = radius - basespacing){
    // The spacing is modified to shift circumference 
    // circles up so they are the appropriate distance from the horizon
    float horizondist = sqrt( radius * (radius - horizon) )- 0.5*horizon*log(horizon/radius) 
        + horizon * log(1 + sqrt(1-horizon/radius));
    println(radius + " "+(radius-horizon) + " "+(horizondist));
    arc(centrex,centrey-horizondist+radius,2 *radius,2*radius,-PI/2 - PI/segments,-PI/2+ PI/segments);
    float newx = centrex - radius * sin(PI/segments);
    float newy = centrey-horizondist+radius - radius * cos(PI/segments);
    line(oldx,oldy,newx,newy);
    line(-oldx+2 *centrex,oldy,-newx+2*centrex,newy);
    oldx = newx;
    oldy = newy;
  }
}
But this isn't quite right, because the lowest arc, which is the horizon, at which point the proper distance between two radial coordinates blows up - doesn't need to be an arc. The paper will be curved down into a funnel shape here, and a flat bottom of the paper will curve around with all the pieces stuck together. So some of the arc-ness is coming from the change in angle of the sides in the curved space time, and I need to take that into account.

08 July 2010

Curation vs. Review

Back to the theme of curation, a nice post from Science in the Open titled It’s not information overload, nor is it filter failure: It’s a discovery deficit.

The most relevant paragraph for me:

Filtering before publication worked and was probably the most efficient place to apply the curation effort when the major bottleneck was publication. Value was extracted from the curation process of peer review by using it reduce the costs of layout, editing, and printing through simple printing less. But it created new costs, and invisible opportunity costs where a key piece of information was not made available. Today the major bottleneck is discovery. Of the 500 papers a week I could read, which ones should I read, and which ones just contain a single nugget of information which is all I need? In the Research Information Network study of costs of scholarly communication the largest component of publication creation and use cycle was peer review, followed by the cost of finding the articles to read which represented some 30% of total costs. On the web, the place to put in the curation effort is in enhancing discoverability, in providing me the tools that will identify what I need to read in detail, what I just need to scrape for data, and what I need to bookmark for my methods folder.
And now, to go reread that article I was supposed to review this week...

09 March 2010

John Wilbanks talks about opening science

Two links liveblogging a talk about open science:

Ethan Zuckerman and David Weinberger at Joho the Blog

Math and physics are, as mentioned, probably more open as far as sciences go. But it is remarkably hard, and I am a long way from, living up to my own ideals of open research.