1. 2011
    Mar
    14

    Pirony

    Hooray, it’s pi day! The day when every science- or math-related blog is obligated to say something about pi.

    I have a long standing tradition of not doing anything special (on the blog) for holidays, so I won’t be doing that.

    Of course, saying that I won’t be making a post about pi actually constitutes a post about pi… ironic, isn’t it? Or in light of the holiday, one could say “pi-ronic.”

    I think I should stop writing and eat some pie.

  2. 2011
    Mar
    04

    Ignoring project files in git

    Over and over again, I have the need to synchronize files between my home computer, my office laptop, and possibly other computers as well. I use git because a lot of these files are things that I might conceivably want to keep a history of, and also because git makes it easy to set up a work environment on another computer.

    Project metadata files get in the way of this, though. These are the files that fancier editors use to keep track of things like which files you had open, what syntax highlighting schemes you were using, and so on. The file typically gets changed every time you open the editor. Now, most of that information is pretty trivial, and I typically don’t want to synchronize it between computers or keep track of its history. On the other hand, when I’m setting up on a new computer, it’s pretty handy to have a project file available to start with, so I’m reluctant to exclude the files from the archive entirely.

    Today, I found a solution. After you clone your git repository, in the new work environment, run

    git update-index --assume-unchanged <projectfile>
    

    This sets a flag which …

  3. 2011
    Mar
    01

    White on black design

    The site design for physics Stack Exchange has actually been creating a fair amount of controversy. People are complaining about the usability (or relative lack thereof) of the light-on-dark theme, and after giving it the benefit of the doubt for a couple of days, I’m starting to agree that this color scheme doesn’t work that well. Compared to most other sites, which use black text on a white background, the physics.SE design is a bit of an “eyesore” (in only the most literal sense possible: when I go between that site and this one, for example, my eyes actually do get sore; the design itself is actually quite well done, color choices aside).

    I’m not sure if anyone actually reads this blog, other than a few people who I know were users of physics.SE since the beginning, but: if you are reading this, and if you aren’t an established user of the site, I’m curious to get feedback on it. Does the white-on-black color scheme of the site make you, as a new member or potential member, any less likely to participate in it or refer other people to it?

  4. 2011
    Feb
    28

    It's (a)liiiiiive...

    Hooray, Physics Stack Exchange is officially — and quite suddenly — no longer in beta! As of a couple of days ago, that is.

    In case anyone who isn’t already a member follows this blog, all that means is that the people in charge of Stack Exchange have been sufficiently convinced that the site is viable. We no longer have the design that Area 51 beta sites use, but we get our own unique look and feel, a blackboard-inspired white-on-dark site design. Everything still works the same, and if you haven’t already checked the site out, you should still do so ;-)

  5. 2011
    Feb
    13

    100 days of Physics Stack Exchange

    News flash: I’ve been thinking. Shocking, I know… actually not at all. But, silly jokes aside, I’ve been thinking that it’s long past time I mention one of the “projects” that’s been taking up a fair amount of my time for the past few months: Physics Stack Exchange.

    This week marks 100 days since the Stack Exchange network launched a Q&A site on physics. I’ve been involved essentially since the site first opened up, and in fact I’d been hoping for a site like this to take off ever since the first time the Stack Overflow team first proposed opening up the SO engine to other topics besides computer programming, back in 2009. If you look at traditional forum-based physics Q&A sites, like Physics Forums, a lot of topics turn into extended discussions as the participants try to hash out all the minor details. That discussion has its place, but most of the time, when you ask a question, you just want to get the right answer. And on Stack Exchange sites, that’s exactly what you get: the first thing listed after a question is the highest voted answer. So I …

  6. 2011
    Feb
    05

    Why you slip on ice (and how to avoid it)

    Earlier this week I stepped on what must be the closest thing on Earth to a frictionless surface — not a physics experiment, but an afternoon’s worth of freezing drizzle. The roads and sidewalks are coated with an unusually smooth layer of ice, making it hard to walk anywhere without risking a pretty spectacular fall. Of course, despite the entertainment value, slipping on ice is inconvenient and potentially dangerous and most of us try pretty hard to avoid it. Luckily, physics can help.

  7. 2011
    Jan
    12

    The physymb package

    Just a quick post to announce my first interesting news of 2011: the physymb package for LaTeX, currently available from CTAN. This is a collection of commands that I’ve been accumulating over the past 5 years or so. It includes things like derivatives, unit vectors, commutators, elementary particles, and a bunch of other assorted macros that might be useful when you’re trying to typeset a physics paper. Dirac notation, scientific notation, and units are in there as well, though I’ve already found out that those are obsoleted by the braket and siunitx packages, so I’ll be removing those things in the next version.

    Still, the macros in physymb have been quite useful to me, so if you do a lot of physics-related typing, have a look at them! Naturally, I will be happy to receive any feedback, including suggestions of useful things to add.

  8. 2010
    Dec
    11

    Death rays and thermal radiation

    It’s been far too long since I did a Mythbusters writeup, but I think it’s time to stop stalling and bring this series back. On this week’s episode, Adam and Jamie tested the myth of Archimedes’ heat ray for a third time — that has to be some kind of record — at the request of President Obama.

    The gist of the myth is this: by focusing enough of the sun’s rays, using a large number of mirrors, on an enemy ship, the Greeks hoped to heat it up enough to make it catch on fire. So far (spoiler alert), there’s no evidence that this thing ever could have worked. All three of the Mythbusters’ tests have failed.

    But I think I can shed some light (no pun intended) on why. As it happens, I taught a lab on thermal radiation transfer this week, and that (along with an interesting perspective on gravitationally baking a turkey) reminded me that it’s fairly straightforward to calculate, at least in a simple model, the amount of radiation it takes to heat something up to a particular temperature. It all stems from the Stefan-Boltzmann equation,

    $$P = \sigma\epsilon AT^4 …
  9. 2010
    Nov
    19

    Teaching vectors

    I’ve noticed that (many of) my intro-level physics students, who have typically just learned about vectors within the past year, have a hard time working with them in equations. For example, given an equation like \(\sum\vec{F} = m\vec{a}\), I’ll typically think of the force vectors in a geometrical representation, as arrows. Vector addition is done by starting each vector from the endpoint of the previous one in the sum, and scalar multiplication just means scaling the length of the arrow. But almost invariably, whenever I try to walk a student through this representation, they don’t get it. It seems like they’re really not prepared to accept the idea of doing math on things that they can’t plug into their calculators.

    What I’ve found to work is this: I tell the students that whenever they see a vector equation, write one copy of it for each dimension. Newton’s second law, for example, becomes a set of three: \(\sum F_x = m a_x\), \(\sum F_y = m a_y\), and \(\sum F_z = m a_z\). That way, all they have to deal with are simple numerical equations. Sure, they miss out on understanding the true nature …

  10. 2010
    Oct
    13

    Experimental Design

    Mythbusters is back as of last week with new episodes! Although the season premeire about throwing dogs off the scent isn’t directly physics-related, I do have one issue to point out.

    Tory, Kari, and Grant did an experiment in which they tried to hide some “contraband” from a dog by sticking it in a container with a strong-smelling material, like coffee or peanut butter. They hid the container somewhere in a 17,000 square-foot warehouse and set the dog loose to find it — which he always did. So the conclusion was that strong scents can’t distract a sniffer dog.

    But what if the dog was actually following the distraction? I wouldn’t be surprised if the scent of e.g. peanut butter itself was a dead giveaway to the location of the container, even if did mask the smell of the fake drugs. It was probably the strongest smell in that warehouse. A better experiment would have entailed filling several containers with the smelly substance, distributing them around the building, and only hiding the fake contraband in one of them, then seeing if the dog identifies the right one.

    Of course, they did basically that later in the …