Thursday, December 13, 2018

Update: What are those wheels doing?


More photos! 

I went over to the construction site and took a new photo today.  It's below.  If you click on the image, you can download the original (with all of the EXIF metadata).  



This wasn't ideal lighting conditions for photography, but I did what I could.  

I also took my binoculars so I could get a close-up look, and found that the wheels actually have multiple loops of cable wrapped around them.  The yellow boxes (one per wheel) seem to be motors that drive the wheels (but I'm guessing about that).  

In this closeup (from another pic), you can see that the wheels are both "tipped inward" towards each other at about a 45 degree angle.  You can also see the cables, though it's not completely clear how the cables run from below other than they wrap a bit onto the wheel in multiple loops.   



I'll try to get better photos later.. Perhaps tomorrow I'll remember my telephoto lens.  We'll crack this Challenge yet!  

Searching on! 


Wednesday, December 12, 2018

SearchResearch Challenge (1212/18): What are those wheels doing?


My father used to work for a crane and shipping company... 

... and so I thought I knew a thing or two about cranes.  I grew up around them, and as a young man, I worked for several summers as an "yard hand" (that is, the guy who helped string the wire ropes around things that the crane operator would pick up--so I worked with a lot of cranes.)  

But I was surprised when I went past a nearby construction site and saw number of cranes (or things that look like cranes)--with wheels on the top!  

The obvious question is "What are these things?"   Here's the original picture, and a closeup of what look like big bicycle wheels at the top of several of the vertical posts.  

 This is my original photo, taken on a run past a large Google construction site.


Closeup of the wheeled things.

(I'll try to get a better picture tomorrow, but this will have to do at the moment.)  

The "wheeled poles" seem to have cables running down the sides but that's all I can see.  They're mysterious, and therefore perfect for the SRS Crew.  

Can you do it? 

1.  What are these mysterious wheeled poles called?  Why are there wheels on top?  What do they do?  

That's it for this week.  

Just so you know, I don't have any idea what they are either.  All I know is that they're about 20 meters high; each of the wheels seems to be about 3 meters in diameter (but I'm guessing).  Beyond that, I can't see any identifying marks or logos.  

Tell us what you find... and HOW you figured it out!  

Search on! 


Friday, December 7, 2018

Answer: How many wildfires in California over the past 20 years? (From post of 11/14/18)


Gratefully, the wildfires are out … 


… It's been a wild summer of fire in California.  

As you recall from the Challenge of November 14, 2018 I posed the SRS Challenge "How many wildfires have there been in California over the past 20 years?"   



Regular Reader Ramón asked this question, and it turned out to be a really relevant question.

1. How has the number of wildfires changed over the years in California?  Where there more (or fewer) in the past than is taking place now?  

I suspected that the only way to answer this is to find an authoritative data base of California wildfires.  I started my research with: 

     [ database California wildfires ] 

which gave me this SERP: 



The first hit is the "statistics and events" data from CDFData.Fire.ca.gov  Sure enough--that's pretty authoritative.  

If you visit that page, you'll learn that the statewide fire organization is CALFIRE.  Their page looks like this: 




As you see, it has data going back to 1999 (not quite 20 years, but close enough for our purposes).  

If you look farther down the SERP results list, you'll see a lot of articles about "California's Most Destructive Wildfires" or "The Deadliest Fires in California's History."  We don't want those, we want ALL of the wildfires.  So we really want data tables (with good definitions about what constitutes a wildfire -- is a 1 acre grassfire really a "wildfire"?).  

So I'm willing to go with the CALFIRE data sets.  A few clicks down and you land on their accumulated data tables called "Redbooks."  



These are great resources, but also somewhat dense and FULL of data tables.  That's great (if you're doing a report on how fires operate in California), but you have to be very careful when you're pulling data, as we're trying to do here.  

But I know that some research tasks take time, so I started in, one report after another. 

After about 20 minutes of this, I thought that maybe there's another way to get this data.   So I did another search: 

     [ Wikipedia CALFIRE wildfire data ] 

and discovered that someone had already compiled all of the data from the CALFIRE documents!  Win!  In particular, the section named "Post-2000" has all of the data from the CALFIRE Redbooks.  Finding that saved me a bunch of time.  

Wikipedia section on California wildfires that compile all of the data by year since 2000.  

It's pretty easy to copy that data out and drop it into a spreadsheet and create these charts.  Note that these are both from the CALFIRE data (as reflected in the Wikipedia page). 




Note that 2008 was a strange year:  Fewer fires than average, but more acres burned.  Is that data correct?  Or is it just a fluke?  Well, we have the link to the Redbooks, let's see what they say.  

I checked the 2008 Redbook, and the data in the chart above is correct.  (This isn't surprising, all of the data is coming from the same source--CALFIRE.)  

In the data sets, I noticed that Axios had pulled all of the wildfire data larger than 300 acres.  Just to see the difference, I plotted that same data on a different tab of the spreadsheet.  Those charts look like this: 



(Link to my spreadsheet, which has a comment in cell A1 for each tab describing where the data came from.)  

The total acreage burned looks pretty much the same (compare the two red lines above), but the NUMBER of fires looks a bit different... especially in 2008. If you look at the top blue line, it seems as though there were fewer fires in 2008 than in other years.  But if you drop all of the "little fires" (that is, < 300 acres), you'll see that the number of fires is fairly high in 2008.  

What's going on here?  

It certainly looks like the big fires were bigger, and that's what drove the total acres burned to be so high.  

So, how is this year looking by comparison?  I repeated my search from above, but added 2018 to the query.  

Obviously, the year hasn't ended yet, but given the amount of rain California has received in the past few weeks (129% of normal to date in the southern Sierras), the fire season is mostly over.  

In particular, I found a web page on the CalMatters.org site that tracks state wildfires.  They have this beautiful chart which is consistent with our charts above (makes sense, they're both draw from CALFIRE data), but it pulled the latest acreage reports from the 2018 Redbooks.  

Total acres burned / year from 1992 until the end of 2018.  P/C CallMatters.org 

As you can see from this chart, 2018 looks to be just slightly larger than 2008 in total acreage burned.  On the other hand, this year was particularly destructive in terms of buildings, total cost, and human lives lost.  CalMatters also published a chart showing that 2018 was the worst loss of human life in California for the past 25 years, with over 85 deaths, mostly due to the Camp fire in Paradise, CA.  


Search Lessons

In some sense, this wasn't a difficult search (it didn't take long to find the authoritative CALFIRE data sets in their Redbooks).  But it took me a while to pull data from each of them.  Luckily, I thought about looking for a site that had already extracted the data from the original source (the Redbooks), and that ended up saving a ton of time.  
Important point:  I DID spot check the data (I checked four different Redbooks, beginning, a couple in the middle, and near the end) to make sure that the extracted data actually came the Redbook sources.  This is a good data practice--you want to be sure there are no duplicates or data from tables in the Redbooks that's not quite what you thought. 
In general, as I was doing this writeup, I found myself eagerly reading stories about wildfire data, and only after pulling the number and comparing them (and then finding them wildly inconsistent with the data I'd already pulled) that's when I'd discover that the data was for some other kind of event.  For example, I was very excited about finding a table with all the data I wanted... except the totals were WAY different than what I found in the Redbooks.  After carefully checking the data source, I found it was data for the entire country--not just California, which is what I was seeking.  
That experience led me to the most important data-handling lesson... 

1.  Double and triple check your data sources. Be SURE you know what your data is describing.  I'm fairly careful, and I caught myself with data errors at least 5 different times.  
A great practice for this kind of data checking is to walk through it with a friend or colleague.  Let them look at what you're doing and double check the data you're using.  Most importantly, have them check the metadata (that is, the information describing the data source).  
Practice safe data handling practices at all times.  Triple check yourself (and get a friend to help).  

Search on! 






Tuesday, December 4, 2018

What we have here is a failure to search!


You'd think that searching to solve a problem would be second nature to me by now.  

And yet, I didn't do a search last week that I really should have done.  

Last Monday the front passenger window on my car went down, and got stuck in the down position.  Darn it. This is on my Subaru Outback, a nice car, but nothing really special--it's not a high-end car with lots of special gizmos and the like.  I use it to carry my gear around and keep me out of the rain.  The switch looks like this.  Push down to roll the window down, pull up to make it come up.  Except that pulling-up thing wasn't doing anything.  



Speaking of which, did I mention it was raining?  Water was coming in through the open window, and I could NOT get it to come up.  This is a hassle.  

Here's the interesting detail:  Normally, when I'm sitting in the driver's seat, I can use the switch on the driver's side door to open/close the passenger's window.  Makes sense.  Except of course, for today--in the rain.  

I got some plastic and taped it up as much as I could and then made an appointment at the car dealer to get it fixed.  

Interestingly, I did NOT do a search to try and debug the situation.  

Why not?   

Because I knew a bit too much... at least I thought I knew how switches in cars worked.  Here's what I thought: 


In this quick sketch, if you close either the driver's switch or the passenger's switch, then the motor (M) would turn, and the window would go up or down.   Right?  

But when I used the driver-side switch to bring up the passenger's window, I didn’t see ANY decrease in the car’s overall power as shown on the tachometer (which you would see if power was being drawn). You'll notice this if you try it on your own car; with the window rolled up, if you try to bring the window up, you'll see the power drop as the motor tries to move the closed window.  This wasn't happening, and  that's how I knew it was an electrical problem.  

So I drove to the Subaru dealership at 7:30AM only to have the service manager use the passenger-side switch to roll the window up.  He got in, pulled-up on the passenger-side switch and the window went up instantly!  

My mental model came undone at that moment.  HOW is it possible that this would have worked?   I know switches rarely fail.  And I couldn't believe that one switch would work while the other didn't.  It's possible (but rare) that just the driver's side switch was broken.   

Even weirder… once he did that, the driver side switch STARTED TO WORK! 

How?  What?  

Turns out the switches are NOT wired in parallel, but are both inputs to a master control computer.  When the window went down, some glitch happened in the  code to prevent an input from the driver-side window from being registered. But the passenger-side switch continued to work.

Once the passenger window moved down by using the passenger-side switch, it somehow reset the driver-side switch as well. 

Very strange.  And it completely confused my mental model of how the switches in my car function.  

What’s more, since my old mental model held that they were wired in parallel, there was no point in even trying the passenger-side switch.    

But the new diagram is like this: 




But it turns out that’s completely wrong.  There WAS value, because they operate independently.  AND if S2 works, then it will reset the controller, letting S1 (Driver's side) operate correctly.  

In any case, it was a 5 second fix, and I’m out the door.  

SO... Why didn't I search for a possible solution?  (I could have saved myself a lot of time and trouble if I'd searched for it.)  

Over a sushi dinner that evening, I mentioned this to my friend Tom who put down his maguro sashimi and instantly whipped out his phone to do a voice search on Google--something to the effect of  [ Subaru window no go ] which immediately brought up the Subaru support forum that exactly describes this problem AND the fix!   

Embarrassedly, I admitted that I hadn't tried this query.  

Why not?  (I can hear you asking...)  Because I really believed my mental model of the car wiring was correct, and that trying the passenger side switch was too improbable to work.  This is an example of a Dunning-Kruger effect, where my self-knowledge about electronics is fairly high, but the way cars are built now-a-days changed, and I didn't know it.  Chalk one up to old-fogeyism!   


Moral of this story #1: 

When things get weird, it's worth doing a quick search.  Tom found the answer for me--by searching on Google--in less than 10 seconds.  If I had done the same, my problem would have been solved just as rapidly... I thought I knew more than I really did.  

Moral of this story #2:  

Don't be so sure you know how things work--technology changes, even for things as simple as window switches.  Those changes can have a deep impact on your understanding of the world.  

I'll be sure to look up the next time something like this happens.  

So believe me when I say... Search on!  

Wednesday, November 28, 2018

Answer: What and why are Thanksgiving traditions?

Ooops. 

I wrote the Thanksgiving SRS Challenge before answering the previous one (about  California fire data).  I'll answer that one later this week to catch up.  But today, let's talk about Thanksgiving.  


A painting by Jean Leon Gerome Ferris titled 'The First Thanksgiving' shows pilgrims and Native Americans gathering to share a meal. Copyright Library of Congress (CC by Attribution)  As we learned in an earlier SRS post, the first Thanksgiving probably wasn't really like this. 


As you recall, the Challenges this week were apparently fairly simple.  Here are the questions and what I did to find answer to each... 


1.  I know Canada and the US celebrate Thanksgiving each fall.  But do any other countries celebrate Thanksgiving (or equivalent holidays) as well?  If so, what are they called, and when are they celebrated? 

2.  What Thanksgiving (and equivalent) traditions do different countries have?  (I bet they don't all eat turkey with cranberry sauce... that's particularly North American.)   

3.  Speaking of ritual foods (turkey, cranberries, etc.)... what ritual songs are associated with the holidays?  Many other holidays have associated songs--why not Thanksgiving?  What am I missing? 
Here's what I did to answer these Challenges.... 


My first query was: 

     [ countries that celebrate Thanksgiving ] 

Which gave me this result:  




If you follow the link to the MentalFloss.com page, you'll learn that they have 7 countries listed.  


1. Germany (first Sunday of October).  Erntedankfest is a harvest festival to give thanks for a good harvest.  Preferred foods are specially fattened up chickens (die Masthünchen) and hens (die Poularde), capons, and geese.
 

2. Japan Kinrō Kansha no Hi the Japanese feast day on November 23. Originally from ancient harvest festival rituals named Niinamesai, the modern meaning is a celebration of hard work and community involvement.
 

3. Canada – much like the US version but on a different day.  Canada celebrates Thanksgiving on the second Monday in October.  (In French, it’s  l'Action de grâce.)  It was first celebrated in 1578, when English explorer Martin Frobisher gave thanks in present-day Nunavut. Parliament made it a national holiday in 1879.
 

4. Grenada version of Thanksgiving is held on October 25 every year, Grenada's Thanksgiving marks the anniversary of the 1983 U.S. military invasion to restore order after the death of communist leader Maurice Bishop. American soldiers who were stationed in the country told the locals about the upcoming US Thanksgiving holiday. To show their own gratitude, Grenadians surprised the soldiers with meals like those they described, complete with turkey and all the fixings.
 

5. Liberia celebrates a version of the US Thanksgiving (recall that Liberia was founded in the 19th century by freed slaves from the U.S.  Here, it’s celebrated with cornucopias (literally!) of fruit baskets (bananas, papayas, mangoes, and pineapples).
 

6. Leiden (in the Netherlands) celebrates a version of Thanksgiving in recognition of the early Dutch migrants who left Leiden in the early 1600 for the New World.  Today, the people of Leiden celebrate a Thanksgiving day on the fourth Thursday of November with cookies and coffee following a non-demoninational church service.
 

7.  Norfolk Island (a remote island in the South Pacific between near Australia also owes its Thanksgiving holiday to visiting U.S. whalers visiting the region in the middle 1890s.  Today, on the last Wednesday of November, the locals bring fruit and vegetables to the church to celebrate the Thanksgiving holiday. 
-->

But if you change the query slightly (change "countries" to "nations") you'll find that the result says that there are 9 countries that celebrate some form of Thanksgiving.  

     [ nations that celebrate thanksgiving ] 



In this result (from Yahoo.com), there are a couple of additions: 


-->
8.  China celebrates an annual holiday ("Chung Chiu"on the 15th day of the eighth month of the lunar calendar (in 2018, it was on September 24). The celebration, known as the Mid-Autumn Festival, typically falls in late September or early October, when the moon is big and bright. (Note that the Chinese holiday is much older than the American version. The holiday’s roots can be traced back more than 2,500 years, long before Europeans ever set foot in the new world.) 
 9.  South Korea celebrates  a holiday known as Chuseok Day.  Held in mid-to-late September, it’s a family holiday with a meal together and special memories of ancestors. 


So... why the differences?  Because each answer is generated by extracting a block of text (an "answer") to a question (that is, your query) that best matches.  In this case, the difference between nation and country was enough to find two rather different answers from question-answering pages.  

If you keep varying the details of the queries, you'll find a bunch of other harvest-time traditions.  As you read, you have to ask yourself... what actually counts as a Thanksgiving festival?  

For instance, it's pretty clear that place like the Phillipines, Viet Nam, and Saint Lucia all have roughly equivalent holidays.  Places like Brazil have a holiday called "Dia de Ao de Graas" which is also held on the fourth Thursday in November--but it's not celebrated by the entire nation.  So.. is that a Thanksgiving holiday, or no?  Likewise, Malaysia celebrates  the Kadazan Harvest festival.  

These area all harvest parties / holidays of one form or another.  Whether or not you call them all Thanksgiving is up to you.  I'm thankful they're all there.  (I hope to visit a few over the next couple of years!)  

And of COURSE I did [ Thanksgiving Wikipedia ] to see what the Wiki sources said.  (It was interesting, but not profoundly different than what I found with these queries.)  


The last question (about Thanksgiving songs) was a huge surprise, although it was a simple query:  

     [ Thanksgiving songs ] 

that led me to this relatively full set of songs!  



I certainly had no idea that there were so many Thanksgiving songs.  Perhaps we need to start a new tradition of Thanksgiving caroling!  

Of course, seeing this made me wonder about the history of Thanksgiving songs, so I did a bit more exploring.  Searching with this query on Google Books gives a nice set of scanned songs (here I quoted the phrase to give me high quality results on just that phrase):  



and when did the query: 

     [ Thanksgiving music site:LOC.gov ] 

I found that there was a long tradition of Thanksgiving music, now lovingly preserved in the Library of Congress archives.  




While searching through this list of songs, I managed to stumble across this intriguing entry



... which points out that (this is an excerpt from the card): 


"In general, it would look as if music played a less important function in celebrating Thanksgiving than it does at Christmas and Easter.  Most hymn books, of course, have harvest and Thanksgiving hymns and there is a scattering of anthems and cantatas.  Unfortunately, few of these appear in our card catalog, and we have found no bibliography of the subject, either compiled here or elsewhere…. But in general, digging for material on the subject is likely to be frustrating and unrewarding…"

-->

Of course, now that we live in an Internet age,  it's pretty easy to do a search on Google Books for: 

     [ Thanksgiving hymnal ] 

and find LOTS of hymns of Thanksgiving, such as this one from the Congregational Psalmist Hymnal (1886): 



Even Wikipedia had a section on Thanksgiving songs.  Who knew?  





Research Lessons  

A few search lessons to emphasize here: 

1. Vary the search terms.  As you saw, "nation" vs. "country" can give different results.  As a general strategy, I often will do slightly different versions of a query in order to get a sense of the range of answers.  I rarely do only one query.  

2. Read widely.  In keeping with the "vary the query" suggestion, read more than one result.  It's worth checking out all of the results on the first page (at least read the snippets).  You can do this quickly by opening up several of the results in parallel tabs.  (CMD+click on a link on a Mac opens the link in a new tab.  Right click or CONTROL+click on a PC.)  

3. Always check Wikipedia for breadth.   It's easy and quick... and sometimes you'll get surprised.  

4. When searching for historical topics, check historical sites.  I did this by searching in Google Books, and in particular, checking for hymnals on the Books site to get a sense of the depth of the topic.  And, in particular, checking the site:LOC.gov is a fast and handy way to get another perspective on your topic from an archivist's eye.  


Search on!