jump to navigation

Maps! Maps! Maps! November 27, 2009

Posted by gordonwatts in DeepTalk, Maps, computers.
add a comment

I have become a big of the DeepZoom technology, as anyone who has been reading these posts a while knows. I’m also a big fan of maps – especially old ones. I’ve never been brave enough to purchase any on eBay or anything like that, but I’d love to eventually own a few and hang them on my wall.

image

In the meantime I make use of the fantastic resources of the web. UW recently put up a small collection of old maps, from the 16th to the 19th century. Some of them are stunning. I definitely recommend spending some quality time exploring them.

The default interface that is presented to you, however, is a bit of a pain. For each map, scroll down to the “detailed view” entry below the map picture and click on that. They used Zoomify to encode the images in a nice zoom-able interface.

Sweet. I wish they had done one or two things a little differently:

  • Higher resolution images so you can zoom in even further
  • Put all the maps on a single page, with perhaps some information (and a search tool) on the right hand side. Check out Hard Rock’s example.
  • Can’t make it full screen. :-)

I wish more people would do this for collections of images like these maps. It makes navigating them a lot of fun, and it is still possible to display the metadata.

First LHC Collisions at ATLAS November 23, 2009

Posted by gordonwatts in ATLAS, LHC.
3 comments

If you follow newspapers, facebook, or twitter, you’ve undoubtedly seen these already – but the LHC has done it – managed to collide two beams of protons! They never made it that far last year. Here is an event from ATLAS:

atlas2009-collision-vp1-140541-171897-new[1]

That isn’t to say there is a lot of work left to do. These are at an energy 900 GeV, which is much less than the 7,000 GeV energy they plan to get up to by the end of running in 2010. And the beams are not very intense yet. Still!!!

I’m currently in Seattle – I wish I could have been there for this. Being in or around the control room – though I would have been mostly in the way for this phase. Unlike at the Tevatron, I wasn’t really responsible for any bit of the detector or DAQ at ATLAS – and those are the people that need to be there right now. Still, I would have loved to have been there.

Ironically, I first heard about these collisions from facebook. People in the control room that I’m friends with were posting status updates as LHC tuned up their beam. Press release, twitter, etc., all lagged behind that. And of the people I’m friends with a theorist posted the news second (!) – this theorist was not the member of any collaboration. Ahhh… new media! ;-)

So, taking that sentiment to the limit. I must now ignore the LHC and get back to preparing for class! Must. Not. Look. At. Accelerator. Status. <said in best Cptn’ Kirk voice>.

(more events will be posted here as they show up).

Building a Park November 15, 2009

Posted by gordonwatts in Seattle, life.
2 comments

Hi. My name is Gordon, and I’m 43 years old, and I’ve never been to a town meeting. I guess my kid finally made me see the light of day, admit I had a problem, and attend.

Ok, I know, not such a big deal. I suspect that most people haven’t been to town meetings. I don’t mean the political things where you talk to a candidate – rather I mean the town meetings where very local issues are discussed – like safety, zoning, and… parks.

Seattle has allocated almost 3 million bucks to turn a street into a park. The idea is to shrink the 2-lane street down to one late, and use the reclaimed space for a “strip-park”. This will be right around the corner from my house and run 5 blocks. This is a very cool idea – there is nothing like this around my house. I regularly take my kid down to the Sculpture Park to play – and that is a good distance. If they make it possible for kids to hang out in this park, well, that should be a real improvement. The idea reminds me of things they try to do in Europe – small cities have lots of small parks littered about. J-mo and I and Paula got a lot of use out of them.

But the real reason I went was safety. There is one section of the street that is prone to drug deals. On it there used to be a park. It totally failed and was taken over by drug dealers, their clients, and homeless who, for whatever reason, didn’t want to take advantage of the local housing opportunities. The result was that no one that lived in that area used it.

They re-made that park into a dog park. I’m not sure why, but it works. Maybe it is there are people. Maybe that there are so many dogs running around it all the time. Whatever – the drug dealers have all been pushed out onto the street. A pain for pedestrians, but their numbers are smaller. So – if they do this park right, they will hopefully reduce their numbers even further.

And if the park is done right, perhaps it will attract more people to the area – which will make it even more safe. Certainly, if it becomes a destination for folks…

The town meeting was something else. It was clear that the overriding concern was safety. Almost everyone had a comment about it. And the meeting facilitator had a lot of trouble getting people to talk about the design of the park. Lots of comments along the lines of “No Park Benches!”, with the sub-text – that is where the homeless & drug dealers will hang out. Ugh. If the park is designed from that point of view then it will definitely not be enjoyable. Sort of the way Fermilab went over-board and put in Kerberos for their security making it one of the most difficult labs to interact with.

Even though I went to talk about security, I ended up making only design comments. They had a mouth-full… And… well, I felt a little sorry for them. Also, and please don’t take me wrong, this is an urban environment – it seemed like some people wanted an environment much like the idyllic suburbs. Something I don’t think is possible (nor totally desirable – after all, there is a reason to live in an urban environment). And a park with no-place to sit? :(

Something else, more related to the themes of this blog, occurred to me as I sat listening. There have got to be other cities that have done things similarly – and some must have succeeded and others failed. Have there been studies of what works and what doesn’t work in a situation like this? While it isn’t all science, I bet there is some useful studies that could be done to provide guidance.

My favorite comment at the meeting was the cigarette butt one. You can’t smoke in bars in Seattle. And bars aren’t allowed to put cigarette butt trashcans outside the bar. A community group said they picked up 4 trash bags worth of butts over a one block area of one of the popular bar streets. 4 trash bags!!!! Of butts! Ohhh, if I were only John Stewart, I’d feel a great riff coming on…

EPS And PS Files on Windows November 12, 2009

Posted by gordonwatts in computers.
1 comment so far

Windows has had this very nice feature called a “preview pane” ever since Vista. I think just about everyone (certainly on a Mac and on Windows) is familiar with this thing – you click on a text file or a C++ source file or a PowerPoint presentation or something like that, and without having to open up an editor, you can see exactly what is inside the file. Sweet!

But one place on windows this fell down are postscript files (.PS and .EPS files). Viewing the contents of those was a pain. Turns out fixing this isn’t that hard – check it out (this is on a Windows 7 computer):

PSPreview In Explorer

How nice is that?

You can get it here. Make sure to install a recent version of Ghostscript firs!

While it turns out doing this to first order is pretty easy – there is a very simple plug-in architecture that I was able to take advantage of – and for rendering the files I just used Ghostscript – the devil is in the details. There are two features (as software developers say): first the mouse scroll wheel doesn’t work when you have lots of pages to scroll through – you have to use the scroll bar. Second, it is hard or impossible to resize the window when your are viewing the PS file (just click on some other file, resize the window, and then click back). I’ll fix those as soon as I find out how (read: spend more than a few hours on this project).

If you find it misbehaving I’d love to know about it – particularly if you are willing to email me the file that caused the failure!!

The next thing along these lines I’d love to see is one for ROOT. There is one for you Mac users, btw – so if you are using a Mac and have .root files on it, I’d suggest going and getting that!

George & Remi November 11, 2009

Posted by gordonwatts in Marseille, physics life.
add a comment

I’ve been pretty bad at posting this – I keep meaning to, but I keep not having time! But I have to send congratulations out to George and Remi for getting their Ph.D.’s:

020

They entered graduate school on the same day and the only reason they didn’t graduate on the same day was no one wanted to schedule a defense in the morning. I’ve had the pleasure of working with both of them and they are both excellent (sorry, they already have jobs – if you are around CERN they should be there pretty regularly). They graduated just before I left Marseille earlier this year, in September.

Congratulations to both! And best of luck – and enjoy the LHC startup! :-)

Data mining November 7, 2009

Posted by gordonwatts in Health, computers.
6 comments

In particle physics this is what we do. We have petabytes (1000 terrabytes!) datasets consisting of billions of physics interactions. For the particularly rare ones we need to pick out several 100 or 1000 and study them in detail. As you might expect, we are drowning in data and have developed many tools to help us. Computers are central – without them we would not be able to do the science we currently do!

The most common public example of data mining I’ve heard about is looking at all the receipts from Wallmart purchases. This is why grocery stores like you to sign up for their frequent-use cards – they can track everything you buy, sell that data, and, more importantly, send you ads that are likely to get you in and get you to buy other things. It is an amazingly powerful tool. In business it has been getting a bit of a bad name recently because it has been connected to some fairly serious invasion of privacy issues (i.e. creepy things – like knowing what hour of the day you check your email, how much the average person in your zip code makes, etc.).

But one place that it could obviously be applied for the greater good that I’d never really given much thought to is medicine. Check out this long article from the NYT on the topic – Making Health Care Better. It starts with some history – and the bromide “The amount of death and disease would be less if all disease were left to itself.” from 1835… to the present day:

“Medicine adopted the scientific method,” James said… “It transformed medicine, and it’s easy to make the case.”

He talks about the testing and science applied to any new method, drug, procedure before it is allowed to be used by mainstream doctors. But…

But there is one important way in which medicine never quite adopted the scientific method… …once a treatment enters the mainstream — once we know whether it works in certain situations — science is largely left behind. The next questions — when to use it and on which patients — become matters of judgment, not measurement.

The article provides a dizzying array of treatments available to a doctor that is trying to treat heart disease. And what treatment is left up to the doctor’s judgment.

Cleary some hospitals and doctors have better average outcomes than others – so some doctors must have better judgment than others. Wouldn’t it be great if every doctor could start with a default procedure that has been shown to work for a patient that looks like the one the doctor is trying to treat and then modify it to fit the patient’s specifics?

Well…

“I thought there wasn’t anybody better in the world at twiddling the knobs than I was,” Jim Orme, a critical-care doctor, told me later, “so I was skeptical that any protocol generated by a group of people could do better.”

And that is just it – there are so many variations in treatments. Today’s instruments are quite complex and have many settings – so how do you know what works correctly? When the procedure is approved there is a fair amount of science recorded for each setting, and presumable most doctors follow it. But not all of them!

And this is where I think data-mining could come in. What if every single modern instrument was hooked into the network, and each adjustment was recorded? And linked to a patients medical file (so you could see history). Each time a nurse or doctor did something it was recorded. All of that in some standard format – and then shared across hospitals and doctors the country or world over?

This has, of course, been a dream for a while of electronic health care records. It always struck me as obvious that you would attach x-rays, CT scans, descriptions of medicine given, etc., but it never occurred to me the level of detail you could go into! From a technical point of view this is hard – the data is so non-uniform, unlike the particle physics experiments I work on, but the long term benefits could be quite good. The article describes when this data mining technique was applied ad-hoc in just a single hospital:

One widely circulated national study overseen by doctors at Massachusetts General Hospital had found an ARDS [Acute respiratory distress syndrome] survival rate of about 10 percent. For those in Intermountain’s study, the rate was 40 percent.

At any rate, this tickled my fancy, which is why I wrote about it. I found it ironic that on the Health home page yesterday there was also the following article:

Five years later, Medicare underwrites more than half of the $4 billion the nation now spends annually on defibrillators, but the agency is no closer to knowing how many lives that big investment is saving.

My impression of the health care bills working their way through congress right now is none of them really go after cost-savings. Science can help*.

* Ok – making devices that can spit out data in a common format will add to their cost. But you can do simple things like the Intermountain study to start as better devices come online!

Hybrid cars… Hybrid accelerators November 3, 2009

Posted by gordonwatts in History, accelerator, physics.
7 comments

By now I think most people know how the Prius and other hybrid cards operate. Most cars’ breaks are just like a bycycle break: a clamp that generates a large amount of friction and slows the car down. This is a terrible waste of energy: the car’s motion is converted into heat and damage (to the brake pads) and can never be reclaimed. Think of it as wasted gas, excess pollution, etc.

Bicycle-Brakes[1] Hybrids are much more clever. They attach an electric motor/generator directly to the wheel and when you want to break then use the wheel’s motion to run the generator. This requires work – which slows down the car. Instead of the energy being lost, however, it is poured into a battery. The energy can then be reused to get the car started again. Huge savings in gas! This is also why hybrids tend to amazing at city driving, but not long distance driving (where this doesn’t help much because you aren’t stop/start).

Before we got sophisticated with generators and batteries we did something much more mechanical. At least for public transportation: the gyrobus:

Gyrobus_G3-1[1]

Instead of a battery, however, a giant flywheel was used to store the energy. These things were built back in the 1950’s.

Guess what… the same technology has been used for particle accelerators – specifically the Bevatron!

Bevatron[1]

Blah

96602956.lowres[1]

These are 65 ton flywheels, and there are two of them. Here is an abstract from a paper that describes the control system that ran these puppies:

The Bevatron/Bevalac main guide field power supply stores 680 MJ in the flywheel-shaft systems of two independent motor-generator sets. During the normal acceleration cycle of various heavy-ion beams, the energies of the rotating shafts are converted to energy stored in the main magnet guide field. At the end of the acceleration cycle, the magnet energy is inverted back to the shafts. Generally, this takes place from 10 to 15 times per minute. The rapid switching of ions, energy, and beam lines at the Bevalac has required various control techniques for fast switching between all operational Bevalac fields within 1 min. The power supply control systems and operating parameters are described.

The principle is same as with the hybrid car, or the gyrobus, but all the sizes and power are extreme (as usual for the field of particle physics). Imagine spinning up and down those flywheels at a rate of once every 10 seconds or so! Of course, that system would never have fit in a car!

While I don’t know the answer to this, I suspect that flywheels are still one of the best ways to store energy that has to be quickly extracted over the timescale of seconds. Batteries probably can’t do it without costing a huge amount, and capacitors probably have a much lower energy density – though they are ideal for other stored energy applications that require much faster discharge times!