<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<title type="text">Bird Noticing</title>
<generator uri="https://github.com/jekyll/jekyll">Jekyll</generator>
<link rel="self" type="application/atom+xml" href="https://www.birdnoticing.com/feed.xml" />
<link rel="alternate" type="text/html" href="https://www.birdnoticing.com" />
<updated>2026-11-09T02:12:51+00:00</updated>
<id>https://www.birdnoticing.com/</id>
<author>
  <name>Evan</name>
  <uri>https://www.birdnoticing.com/</uri>
  <email>eunoia.github@gmail.com</email>
</author>



<entry>
  <title type="html"><![CDATA[Making 200,000 Historical Aerial Photographs Mappable Without Manual Georeferencing.]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/making-200000-historical-aerial-photographs-mappable-without-manual-georeferencing/" />
  <id>https://www.birdnoticing.com/making-200000-historical-aerial-photographs-mappable-without-manual-georeferencing</id>
  <published>2026-10-12T00:00:00+00:00</published>
  <updated>2026-10-12T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;style&gt;
 	.desertRoad {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.desertRoad img {
	--angle: clamp(79deg, calc(79deg + 1vw), 93deg);

  position: absolute;
  top: 50%;
  left: 50%;
  /*width: clamp(600px, 90vw, 1400px);*/
  max-width: none;
  transform: translate(-50%, -50%) rotate(90deg);
}
 &lt;/style&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href=&quot;https://explore.birdnoticing.com&quot;&gt;Demo&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Browsing aerial photography archives feels like foraging for mushrooms. You go through websites, where the files are organized by county, or year. If you’re lucky you can get a center point. The best interface I’ve found has been UCSB’s &lt;a href=&quot;https://mil.library.ucsb.edu/ap_indexes/FrameFinder/&quot;&gt;Framefinder&lt;/a&gt;. For the 214,836 historic aerials in their collection, they’ve determined frame centers and put them on a web map, one red dot per frame.&lt;/p&gt;

&lt;p&gt;Past the dots, you’re still foraging. Downloading massive TIFFs, trying to navigate by coastline and unlabeled highways. If where you’re looking for is off the edge of the 130 MB file that your computer struggles to scroll, good luck finding the next frame.&lt;/p&gt;

&lt;p&gt;I want a cafeteria, where you can see all your options at once. Comparing and finding imagery should be as easy as switching between default and terrain in a maps app.&lt;/p&gt;

&lt;p&gt;The challenge facing archives is that to display each image, they need to manually label at least two points, ideally three points. &lt;sup id=&quot;fnref:n-points&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:n-points&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; Over a city, this can be easy enough, but in rural areas, buildings move, roads get washed out, and rocks are moved by landslides. This task is also tedious, and hard to recruit for, as the &lt;a href=&quot;https://repository.lsu.edu/gradschool_theses/5641/&quot;&gt;sanborn mapping projects&lt;/a&gt; have shown.&lt;/p&gt;

&lt;p&gt;I’ve demonstrated that by using existing data from scanned photos, and comparing the photos to each other, we can derive the details we need to show the images overlaid on a modern basemap.&lt;/p&gt;

&lt;h2 id=&quot;how-is-this-possible&quot;&gt;How is this possible?&lt;/h2&gt;

&lt;p&gt;Using metadata from the scanned image, we can approximate the ground footprint. But that’s not enough to display the image on a map. We need to know the orientation of the camera when the photo was taken. Classical computer vision techniques allow us to find matching tie points between frames. Then we can compute the relative rotation between the frames. With both ground footprint and orientation, we can display a raster on the map.&lt;/p&gt;

&lt;p&gt;To demonstrate how effective this technique can be, I want to show you the results on images from the area around the UCSB Campus.&lt;/p&gt;

&lt;p&gt;I processed all &lt;a href=&quot;https://s3.us-west-1.amazonaws.com/www.birdnoticing.com/demo20261014/demo_ucsb_test/index.html&quot;&gt;187 images of Isla Vista and UCSB&lt;/a&gt; on FrameFinder. More time was spent downloading the TIFFs than resolving orientations. Here are 6 out of 22 flights, spanning 72 years.&lt;/p&gt;

&lt;figure class=&quot;third &quot; data-gallery=&quot;gallery&quot;&gt;

  
    &lt;a href=&quot;/images/aerial_demo/ucsb%20-%201929%20-%20c_430.jpg&quot; data-gallery-item=&quot;&quot; data-caption=&quot;1929 - 2 images, while not as well aligned as the larger sets, we get serviceable performance with only one other image&quot; aria-label=&quot;View image 1 of 6&quot;&gt;
      &lt;img src=&quot;/images/aerial_demo/ucsb%20-%201929%20-%20c_430.jpg&quot; alt=&quot;&quot; loading=&quot;lazy&quot; /&gt;
    &lt;/a&gt;
  
    &lt;a href=&quot;/images/aerial_demo/ucsb%20-%201928%20-%20C_285.jpg&quot; data-gallery-item=&quot;&quot; data-caption=&quot;1928 - 5 images, we can see Isla Vista has been platted and no development&quot; aria-label=&quot;View image 2 of 6&quot;&gt;
      &lt;img src=&quot;/images/aerial_demo/ucsb%20-%201928%20-%20C_285.jpg&quot; alt=&quot;&quot; loading=&quot;lazy&quot; /&gt;
    &lt;/a&gt;
  
    &lt;a href=&quot;/images/aerial_demo/ucsb%20-%201944%20-%20C_9113.jpg&quot; data-gallery-item=&quot;&quot; data-caption=&quot;1944 - 12 images, the marine air station has been built out where the campus is&quot; aria-label=&quot;View image 3 of 6&quot;&gt;
      &lt;img src=&quot;/images/aerial_demo/ucsb%20-%201944%20-%20C_9113.jpg&quot; alt=&quot;&quot; loading=&quot;lazy&quot; /&gt;
    &lt;/a&gt;
  
    &lt;a href=&quot;/images/aerial_demo/ucsb%20-%201967%20-%20BTM_1967.jpg&quot; data-gallery-item=&quot;&quot; data-caption=&quot;1967 - 3 images, the modern university&quot; aria-label=&quot;View image 4 of 6&quot;&gt;
      &lt;img src=&quot;/images/aerial_demo/ucsb%20-%201967%20-%20BTM_1967.jpg&quot; alt=&quot;&quot; loading=&quot;lazy&quot; /&gt;
    &lt;/a&gt;
  
    &lt;a href=&quot;/images/aerial_demo/ucsb%20-%201975%20-%20HB_XQ.jpg&quot; data-gallery-item=&quot;&quot; data-caption=&quot;1975 - 10 images, 3 passes, even better accuracy&quot; aria-label=&quot;View image 5 of 6&quot;&gt;
      &lt;img src=&quot;/images/aerial_demo/ucsb%20-%201975%20-%20HB_XQ.jpg&quot; alt=&quot;&quot; loading=&quot;lazy&quot; /&gt;
    &lt;/a&gt;
  
    &lt;a href=&quot;/images/aerial_demo/ucsb%20-%202001%20-%20CCC_BQK_C.jpg&quot; data-gallery-item=&quot;&quot; data-caption=&quot;2001 - 7 images, this works in color as well.&quot; aria-label=&quot;View image 6 of 6&quot;&gt;
      &lt;img src=&quot;/images/aerial_demo/ucsb%20-%202001%20-%20CCC_BQK_C.jpg&quot; alt=&quot;&quot; loading=&quot;lazy&quot; /&gt;
    &lt;/a&gt;
  

  
    &lt;figcaption&gt;
      With no manual labeling, we get good orientation checked against the coastline between Coal Oil Point and Campus Point

    &lt;/figcaption&gt;
  
&lt;/figure&gt;
&lt;script src=&quot;/assets/js/plugins/modern_gallery.js&quot;&gt;&lt;/script&gt;

&lt;p&gt;With multiple flight passes, and good centers, you can get really close to the modern basemap. With the TA_BO flight, we can produce a high quality, geometrically corrected image that can be overlaid on a map, on par with “satellite view”. &lt;a href=&quot;https://s3.us-west-1.amazonaws.com/www.birdnoticing.com/ta_bo_no_gcp_tiles/index.html&quot;&gt;Look at it!&lt;/a&gt; Only 8 images, two rows of overlap. Zoom in and turn the opacity to around 30%. The old cars are over modern parking lots, and buildings are matching their footprints. Completely automated, no manual ground control points. Maybe an error of 2-3 feet towards the western end of the image, where sidewalks start crossing onto lawns.&lt;/p&gt;

&lt;p&gt;For the creation of the orthomosaic, I use OpenDroneMap, which while powerful is not built for the flying patterns and data collection practices around historical aerials. My experience has been that OpenDronePap will not converge on a solution without a great deal of handholding, but the improved centers and elevation data that we can supplement allow for the generation of orthomosaics. Because we can determine the geographic bounds of the flight, it makes it easy to constrain the reconstruction on the meshing stage of OpenDroneMap.&lt;/p&gt;

&lt;p&gt;The technique of determining the orientation of frames scales with larger collections, such as the 1965 Cartwright Aerial Survey. As a &lt;a href=&quot;https://s3.us-west-1.amazonaws.com/www.birdnoticing.com/demo20261014/demo_cas_65_bigger/index.html&quot;&gt;quick demo&lt;/a&gt;, I was able to place 639 out of 690 images in an area stretching from Half Moon Bay to Walnut Creek in 6 minutes of wall time on my M1 Pro (not including download time). The method struggled where there was not enough land to create aligned tie points, mostly over open water. But near the shore, it handled the specular reflections without issue, rendering most of the images covering the Bay Bridge.&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;100s of frames from the 1965 Cartwright Aerial Survey displaying downtown San Francisco and Oakland&quot; src=&quot;/images/aerial_demo/bay cas demo95.jpg&quot; /&gt;&lt;/p&gt;

&lt;h2 id=&quot;worse-terrain-and-less-data&quot;&gt;Worse Terrain, and Less Data.&lt;/h2&gt;

&lt;p&gt;This technique also works on rural, undeveloped landscapes with little geographic metadata. From Arizona State University, I got access to two 1960s era flights taken by the highway department of Arizona. These flights follow a two lane, largely unpaved, road through the Mojave Desert. This dataset lacked centers, so I added only three ground control points, one at the northern end of the flight, one in the middle where the flights overlapped, and one at the southern end. &lt;a href=&quot;https://s3.us-west-1.amazonaws.com/www.birdnoticing.com/demo20261014/demo_three_point/index.html&quot;&gt;Click here to see&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The results are satisfactory. The alignment follows the highway, even along where the flight path changes 5 times. Looking closely, road/river junctions are offset about 1/4 mile. While this isn’t good enough for orthorectification, this allows for speeding up manual georeferencing. My experience with the dataset showed that adding a few more manual ground control points allowed closer matching, enabling faster georeferencing. This creates a virtuous cycle where adding more ground control points makes it easier to add the next set of ground control points. I was able to start placing ground control points in under 10 seconds with this level of alignment.&lt;/p&gt;

&lt;figure style=&quot;display: block !important&quot;&gt;
	&lt;div class=&quot;desertRoad&quot;&gt;
		&lt;img alt=&quot;frames from highway department aligned with only three ground points&quot; src=&quot;/images/aerial_demo/desert road.jpg&quot; /&gt;
	&lt;/div&gt;
	&lt;figcaption&gt;Rotated to fit on the page, you can see the images follow the highway, and bend between flights.&lt;/figcaption&gt;	
&lt;/figure&gt;

&lt;p&gt;After logging 98 points, and &lt;a href=&quot; https://sanborn-slippy-maps.s3.us-west-2.amazonaws.com/az93_19631126_tiles/leaflet.html&quot;&gt;georeferencing&lt;/a&gt;, I got significantly better accuracy. To be fair, I was trying to measure the extent of irrigated farm land compared to modern property boundaries, so I needed much higher accuracy than most urban uses.&lt;/p&gt;

&lt;h2 id=&quot;making-aerial-archives-accessible&quot;&gt;Making Aerial Archives Accessible&lt;/h2&gt;

&lt;p&gt;Most archives remain difficult to explore, because photographs are not geographically browsable. But my work has shown that images already contain the information needed to improve access.&lt;/p&gt;

&lt;p&gt;Even without camera details, or manually placed control points, overlapping photographs and approximate centers can be enough to render images on top of a map, or well labeled inside a library CMS. More complete flights can support photogrammetric reconstruction and orthorectification.&lt;/p&gt;

&lt;p&gt;This technique can turn large collections of historical scans into geographic resources that people can actually browse.&lt;/p&gt;

&lt;p&gt;If you maintain an archive with terabytes of TIFFs, and limited metadata, and you are working on expanding access to historical aerial imagery, please reach out to me.&lt;/p&gt;

&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:n-points&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;The extra point allows adjusting for shear and skew, which can happen if the angle to the ground isn’t nadir. &lt;a href=&quot;#fnref:n-points&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;

    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/making-200000-historical-aerial-photographs-mappable-without-manual-georeferencing/&quot;&gt;Making 200,000 Historical Aerial Photographs Mappable Without Manual Georeferencing.&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on October 12, 2026.&lt;/p&gt;
  </content>
</entry>



<entry>
  <title type="html"><![CDATA[Miata Parts I need for my 1994 NA Miata]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/miata-parts-list/" />
  <id>https://www.birdnoticing.com/miata-parts-list</id>
  <published>2025-07-16T00:00:00+00:00</published>
  <updated>2025-07-16T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;style&gt;
	.article-wrap label{
		display: inline-block;
		margin-left: 2ex;
		font-weight: 400;
	}
	.article-wrap li{
		line-height: 1.65;
		list-style-type: none;
	}
	@media (min-width: 601px) {
		.article-wrap #bt {
			display: none;
		}
		.article-wrap #btLong {
			display: inline;
		}
	}
	@media (max-width: 600px) {
		.article-wrap #bt {
			display: inline !important;
		}
		.article-wrap #btLong {
			display: none;
		}
		.article-wrap ul{
	    padding-inline-start: 5px;
		}
		.article-wrap li{
			line-height: 1.9;
		}
		.article-wrap label{
			margin-left: 1ex;
		}
	}
&lt;/style&gt;

&lt;p&gt;I have a project miata I’m working on and here are some parts I need.&lt;/p&gt;

&lt;h3 id=&quot;interior&quot;&gt;Interior:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;input type=&quot;checkbox&quot; id=&quot;matching&quot; /&gt;&lt;label for=&quot;matching&quot;&gt;Matching locks and key for glovebox and center console &lt;/label&gt;&lt;/li&gt;
  &lt;li&gt;&lt;input type=&quot;checkbox&quot; id=&quot;original&quot; /&gt;&lt;label for=&quot;original&quot;&gt;Original NA dashboard and trim&lt;/label&gt;&lt;/li&gt;
  &lt;li&gt;&lt;input type=&quot;checkbox&quot; id=&quot;cupholder&quot; /&gt;&lt;label for=&quot;cupholder&quot;&gt;Cupholders&lt;/label&gt;&lt;/li&gt;
  &lt;li&gt;&lt;input type=&quot;checkbox&quot; id=&quot;Sguage&quot; /&gt;&lt;label for=&quot;Sguage&quot;&gt;Non working gauge cluster&lt;/label&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;hvac&quot;&gt;HVAC:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;input type=&quot;checkbox&quot; id=&quot;air&quot; /&gt;&lt;label for=&quot;air&quot;&gt;AC compressor (any year)&lt;/label&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;engine&quot;&gt;Engine:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;input type=&quot;checkbox&quot; id=&quot;coolentTempEntire&quot; /&gt;&lt;label for=&quot;coolentTempEntire&quot;&gt;≤1993 coolent temp sensor and gauge from cluster&lt;/label&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;transmission&quot;&gt;Transmission:&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;input type=&quot;checkbox&quot; id=&quot;new&quot; /&gt;&lt;label for=&quot;new&quot;&gt;New in box clutch&lt;/label&gt;&lt;/li&gt;
  &lt;li&gt;&lt;input type=&quot;checkbox&quot; id=&quot;cleaned&quot; /&gt;&lt;label for=&quot;cleaned&quot;&gt;Cleaned up flywheel&lt;/label&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;!--
Acquired!

### Interior:
- &lt;input type=&quot;checkbox&quot; id=&quot;driver&quot;&gt;&lt;label for=&quot;driver&quot;&gt;Driver side electric window regulator&lt;/label&gt;
- &lt;input type=&quot;checkbox&quot; id=&quot;clips&quot;&gt;&lt;label for=&quot;clips&quot;&gt;Softtop latches and striker plates&lt;/label&gt;
- [ ] steering wheel cowling
- [ ] clock spring (na or nb, or mazda protoge)
- [ ] steering wheel (na or nb)
- [ ] driver and passenger airbags

### HVAC:
- [ ] Denso TV14 / 10PA15C compressor

- &lt;input type=&quot;checkbox&quot; id=&quot;bluetooth&quot;&gt;&lt;label for=&quot;bluetooth&quot;&gt;&lt;span style=&quot;display:none&quot; id=&quot;bt&quot;&gt;BT&lt;/span&gt;&lt;span id=&quot;btLong&quot;&gt;Bluetooth&lt;/span&gt; stereo w/ mazda wiring harness&lt;/label&gt;
- &lt;input type=&quot;checkbox&quot; id=&quot;airbag&quot;&gt;&lt;label for=&quot;airbag&quot;&gt;Airbag bulb and holder in gauge cluster&lt;/label&gt;
- &lt;input type=&quot;checkbox&quot; id=&quot;exhaust&quot;&gt;&lt;label for=&quot;exhaust&quot;&gt;Studs and bolts for joining header and downpipe&lt;/label&gt;
- &lt;input type=&quot;checkbox&quot; id=&quot;radiator&quot;&gt;&lt;label for=&quot;radiator&quot;&gt;Radiator fan&lt;/label&gt;
- &lt;input type=&quot;checkbox&quot; id=&quot;vacuum&quot;&gt;&lt;label for=&quot;vacuum&quot;&gt;Cruise Control Vacuum Pump&lt;/label&gt;
- &lt;input type=&quot;checkbox&quot; id=&quot;coolentTempSensor&quot;&gt;&lt;label for=&quot;coolentTempSensor&quot;&gt;1994+ coolent temp sensor&lt;/label&gt;
- &lt;input type=&quot;checkbox&quot; id=&quot;transmission&quot;&gt;&lt;label for=&quot;transmission&quot;&gt;Transmission seals&lt;/label&gt;

--&gt;

    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/miata-parts-list/&quot;&gt;Miata Parts I need for my 1994 NA Miata&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on July 16, 2025.&lt;/p&gt;
  </content>
</entry>



<entry>
  <title type="html"><![CDATA[Selling off Public Lands; it's not as bad as you think.]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/selling-public-lands-not-that-big-a-deal/" />
  <id>https://www.birdnoticing.com/selling-public-lands-not-that-big-a-deal</id>
  <published>2025-06-23T17:12:00+00:00</published>
  <updated>2025-06-23T17:12:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;link rel=&quot;stylesheet&quot; href=&quot;//unpkg.com/leaflet@1.9.4/dist/leaflet.css&quot; crossorigin=&quot;&quot; /&gt;

&lt;script src=&quot;//unpkg.com/leaflet@1.9.4/dist/leaflet.js&quot; crossorigin=&quot;&quot;&gt;&lt;/script&gt;

&lt;style&gt;
  .Lmap { height: 100vh; width: 100%; }
&lt;/style&gt;

&lt;p&gt;&lt;a href=&quot;#&quot; onclick=&quot;zoomToAlaska(); return false;&quot;&gt;Show Alaska&lt;/a&gt;&lt;/p&gt;
&lt;div class=&quot;Lmap&quot; id=&quot;map&quot;&gt;&lt;/div&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;b&gt;Update: June 26, 2025&lt;/b&gt; &lt;i&gt;The amendment was dropped, and most likely won’t be added back&lt;/i&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;There is an amendment to the Big Beautiful Bill to sell off some of the US public lands to pay for the tax cuts and such. It’s also to try to get state governments to manage their own lands. The idea being that local control, people closer to the lands would be better able to manage it. The headline on the reason is to ease the housing crisis in rural western areas where the government owns most of the land.&lt;/p&gt;

&lt;p&gt;There are social media posts of gorgeous places captioned about how they would be sold off for wealthy people hunting lodges, or blackrock would build rental housing on land they got for free.&lt;/p&gt;

&lt;p&gt;After pouring over the data, and the &lt;a href=&quot;https://www.energy.senate.gov/services/files/0D7A13DC-D7DB-42D8-A23D-10852ADC7A85&quot;&gt;actual text of the amendment&lt;/a&gt;, I feel confident in asserting that very little land will actually be privatized, and very few housing units will be produced because the actual reason for high housing costs is that municipal governments have been captured by anti-housing voters.&lt;/p&gt;

&lt;p&gt;First, a couple nice things in the law:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;land sold needs to be at fair market value - so no giveaways&lt;/li&gt;
  &lt;li&gt;municipalities  get 5% of the proceeds for infrastructure&lt;/li&gt;
  &lt;li&gt;states for 5% back for BLM improvements in their states.&lt;/li&gt;
  &lt;li&gt;land needs to be near utilities (water, sewer, power, internet) - so no massive infra spend&lt;/li&gt;
  &lt;li&gt;native americans get right of first refusal (ability to buy the property at the price the developer would buy it)&lt;/li&gt;
  &lt;li&gt;land being used (roads, cattle/sheep grazing, mining claims) are excluded.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Looking at the text of the law, we see that there a few provisions that mean no actual housing gets built:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Developers have 5 years from acquiring title, to get the housing built. This is a pretty tight timeline&lt;/li&gt;
  &lt;li&gt;Municipalities need to approve the development before the property gets sold.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Many western cities have run down commercial properties that could be developed, but they have rules that ensure no development actually happens. Look at any busy commercial corridor in western cities today. You see a lot of car wash places and self storage developments. Why? The time from idea to revenue is less than a year, the developments can be done by right.&lt;/p&gt;

&lt;p&gt;Most housing developments require variances in order to pencil, which increases the holding costs. Imagine buying a car and making payments, while you attend a court hearing where your neighbors comment that the car you bought might take up their parking space. You wouldn’t buy a car!&lt;/p&gt;

&lt;p&gt;Why does the federal government own so much land? It’s holdovers from the homestead act days. All the land that was fit for agriculture was picked up by homesteaders. To entice people for marginal lands, the government offered much more land for desert grazing, and anything with a spring or seep was picked up. Everything else was too marginal to eeek a profit off of. This is our remaining public land. If someone couldn’t drill a well and grow hay in 1954, then it’s held by the department of the interior. What’s left over is too dry or hilly to be developed.&lt;/p&gt;

&lt;h1 id=&quot;south-lake-tahoe&quot;&gt;South Lake Tahoe&lt;/h1&gt;

&lt;div id=&quot;map_slt&quot; class=&quot;Lmap&quot; style=&quot;width: 600px; height: 400px;&quot;&gt;&lt;/div&gt;

&lt;p&gt;&lt;br /&gt;
South Lake Tahoe is very constrained in how it can grow. Hemmed in by mountains to the south east and west, and the late to north, there isn’t anywhere to go but up. But according to this map we have 64k  acres of land, wow! Some of that land is ski resorts, and most of it is mountains.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/slt.png&quot; /&gt;&lt;/p&gt;

&lt;p&gt;What about this 300 acre plot of land right here? It’s a marsh next to a high end luxury home development. The Tahoe Regional Planning Agency would require maybe 10% of the land to be developed, and if one builds a dense row houses at 12.4 units per acre, that’s about 750 units. Per &lt;a href=&quot;https://www.trpa.gov/wp-content/uploads/documents/archive/04_Attachment-B-Policy-Analyses.pdf&quot;&gt;this memo&lt;/a&gt; from TRPA citing pre pandemic costs it’s about $408.5M to develop the 750 units, or $544k/unit, however this doesn’t take into account needing to purchase the entire parcel and set aside 90% of it.  (an extra $176.42M) to the entire project. The median price of condos in South Lake Tahoe has been 429K, which is under the price of these new units. I don’t know if a developer would go for this offering.&lt;/p&gt;

&lt;script&gt;
	function zoomToAlaska() {
  const alaskaBounds = L.latLngBounds(
  [55.22667, -161.84566],  // southwest corner (lat, lng)
  [64.99004, -131.38315]   // northeast corner
);

  map.fitBounds(alaskaBounds);
}
  const map = L.map(&apos;map&apos;).setView([39.5, -114], 5);
  L.tileLayer(&apos;https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer/tile/{z}/{y}/{x}&apos;, {
  attribution: &apos;Map courtesy USGS&apos;,
  maxZoom: 20
}).addTo(map);

// L.tileLayer(&apos;//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png&apos;, {
//   attribution: &apos;&amp;copy; OpenStreetMap contributors&apos;,
//   maxZoom: 19
// }).addTo(map);
  fetch(&apos;/assets/js/public_lands20250625/combined.geojson&apos;)
    .then(r =&gt; r.json())
    .then(data =&gt; L.geoJSON(data).addTo(map));
&lt;/script&gt;

&lt;script&gt;
	  const mapSlt = L.map(&apos;map_slt&apos;).setView([38.8576, -119.8731], 10);
  L.tileLayer(&apos;https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer/tile/{z}/{y}/{x}&apos;, {
  attribution: &apos;Map courtesy USGS&apos;,
  maxZoom: 20
}).addTo(mapSlt);

// L.tileLayer(&apos;//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png&apos;, {
//   attribution: &apos;&amp;copy; OpenStreetMap contributors&apos;,
//   maxZoom: 19
// }).addTo(map);
  fetch(&apos;/assets/js/public_lands20250625/slt.geojson&apos;)
    .then(r =&gt; r.json())
    .then(data =&gt; L.geoJSON(data).addTo(mapSlt));
&lt;/script&gt;

&lt;p&gt;I don’t think western cities will allow for any extra housing production, and the amendment could allow for federal lands to be turned over indigenous hands.&lt;/p&gt;

&lt;hr /&gt;

&lt;h3 id=&quot;colophon&quot;&gt;Colophon&lt;/h3&gt;

&lt;p&gt;The &lt;a href=&quot;https://www.dropbox.com/scl/fo/smwyjbbwr9ie5qg3dtuzd/AP10gfeav1spzd-mPAL-k1E?rlkey=q055x4j4kxf29giajlmw11m93&amp;amp;e=2&amp;amp;dl=0&quot;&gt;data on what public lands would be sold off&lt;/a&gt; came from Phil Hartger of The Wilderness Society. It was downloaded on June 23rd, and Shapefile.zip has the md5 sum of 1053769ce4cdaf0d62e3eb67e7943679&lt;/p&gt;

&lt;p&gt;Municipal boundries came from the  came from &lt;a href=&quot;https://www2.census.gov/geo/tiger/TIGER2024/UAC20/&quot;&gt;US Census Tiger 2024 UAC20 dataset&lt;/a&gt;
 and were turned into a subset of applicable cities with this command:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ogr2ogr &lt;span class=&quot;nt&quot;&gt;-where&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;                                                                            
  NAME20 LIKE &apos;%, AK%&apos; OR
  NAME20 LIKE &apos;%, AZ%&apos; OR
  NAME20 LIKE &apos;%, CA%&apos; OR
  NAME20 LIKE &apos;%, CO%&apos; OR
  NAME20 LIKE &apos;%, ID%&apos; OR
  NAME20 LIKE &apos;%, NV%&apos; OR
  NAME20 LIKE &apos;%, NM%&apos; OR
  NAME20 LIKE &apos;%, OR%&apos; OR
  NAME20 LIKE &apos;%, UT%&apos; OR
  NAME20 LIKE &apos;%, WA%&apos; OR
  NAME20 LIKE &apos;%, WY%&apos; OR
  NAME20 LIKE &apos;%--AK%&apos; OR
  NAME20 LIKE &apos;%--AZ%&apos; OR
  NAME20 LIKE &apos;%--CA%&apos; OR
  NAME20 LIKE &apos;%--CO%&apos; OR
  NAME20 LIKE &apos;%--ID%&apos; OR
  NAME20 LIKE &apos;%--NV%&apos; OR
  NAME20 LIKE &apos;%--NM%&apos; OR
  NAME20 LIKE &apos;%--OR%&apos; OR
  NAME20 LIKE &apos;%--UT%&apos; OR
  NAME20 LIKE &apos;%--WA%&apos; OR
  NAME20 LIKE &apos;%--WY%&apos;
&quot;&lt;/span&gt; west.shp tl_2024_us_uac20.shp
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The data was then inserted into a postgresql 17 database with these commands:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;dropdb &lt;span class=&quot;nt&quot;&gt;-f&lt;/span&gt; blmsale&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
createdb blmsale&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
psql &lt;span class=&quot;nt&quot;&gt;-d&lt;/span&gt; blmsale &lt;span class=&quot;nt&quot;&gt;-c&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;CREATE EXTENSION postgis;&quot;&lt;/span&gt;
shp2pgsql &lt;span class=&quot;nt&quot;&gt;-s&lt;/span&gt; 4269:102008 &lt;span class=&quot;nt&quot;&gt;-I&lt;/span&gt; ~/Downloads/tl_2024_us_uac20/west.shp west | psql &lt;span class=&quot;nt&quot;&gt;-d&lt;/span&gt; blmsale
shp2pgsql &lt;span class=&quot;nt&quot;&gt;-s&lt;/span&gt; 4326:102008 ~/Downloads/Shapefiles&lt;span class=&quot;se&quot;&gt;\ &lt;/span&gt;20250623/BLM_lands_available_for_sale_061925.shp blm | psql &lt;span class=&quot;nt&quot;&gt;-d&lt;/span&gt; blmsale
shp2pgsql &lt;span class=&quot;nt&quot;&gt;-s&lt;/span&gt; 102008 &lt;span class=&quot;nt&quot;&gt;-I&lt;/span&gt; ~/Downloads/Shapefiles&lt;span class=&quot;se&quot;&gt;\ &lt;/span&gt;20250623/USFS_lands_available_for_sale_061625.shp usfs | psql &lt;span class=&quot;nt&quot;&gt;-d&lt;/span&gt; blmsale

psql &lt;span class=&quot;nt&quot;&gt;-d&lt;/span&gt; blmsale &lt;span class=&quot;nt&quot;&gt;-c&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;ALTER TABLE blm ALTER COLUMN geom TYPE geometry(MultiPolygon, 102008) USING ST_Force2D(geom);&quot;&lt;/span&gt;
psql &lt;span class=&quot;nt&quot;&gt;-d&lt;/span&gt; blmsale &lt;span class=&quot;nt&quot;&gt;-c&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;ALTER TABLE usfs ALTER COLUMN geom TYPE geometry(MultiPolygon, 102008) USING ST_Force2D(geom);&quot;&lt;/span&gt;

psql &lt;span class=&quot;nt&quot;&gt;-d&lt;/span&gt; blmsale &lt;span class=&quot;nt&quot;&gt;-c&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;CREATE INDEX blm_geom_gix ON blm USING GIST (geom);&quot;&lt;/span&gt;
psql &lt;span class=&quot;nt&quot;&gt;-d&lt;/span&gt; blmsale &lt;span class=&quot;nt&quot;&gt;-c&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;CREATE INDEX usfs_geom_gix ON usfs USING GIST (geom);&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The geojson file of the overlap was created with this sql statement. It takes about 17 minutes to run. If I broke the state level shapes into one polygon per row, then this query would be hell fast.&lt;/p&gt;

&lt;div class=&quot;language-sql highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;WITH&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;az_cities&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;AS&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;SELECT&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;ST_Buffer&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;geom&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;8046&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;72&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;AS&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;geom&lt;/span&gt; &lt;span class=&quot;c1&quot;&gt;-- 5 miles&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;FROM&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;west&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;--   WHERE NAME20 LIKE &apos;%, AZ&apos;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;merged_buffer&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;AS&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;SELECT&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;ST_Union&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;geom&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;AS&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;geom&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;FROM&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;az_cities&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;blm_names&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;AS&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;VALUES&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;Washington&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;New Mexico&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;California&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;Oregon&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;Idaho&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;Nevada&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;Arizona&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;Colorado&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;Utah&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;Wyoming&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;11&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;Alaska&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;foo&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;as&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
	&lt;span class=&quot;k&quot;&gt;select&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;blm&apos;&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;as&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;source&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;gid&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;ST_MakeValid&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;geom&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;as&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;geom&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;blm&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;join&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;blm_names&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;on&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;blm_names&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;id&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;blm&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;gid&lt;/span&gt;
	&lt;span class=&quot;k&quot;&gt;UNION&lt;/span&gt;
	&lt;span class=&quot;k&quot;&gt;select&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;usfs&apos;&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;as&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;source&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;gid&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;ST_MakeValid&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;geom&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;as&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;geom&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;usfs&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;unioned_tables&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;as&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;select&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;ST_Union&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;geom&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;as&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;geom&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;foo&lt;/span&gt; 
&lt;span class=&quot;k&quot;&gt;group&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;by&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;name&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;clipped&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;AS&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;SELECT&lt;/span&gt; 
    &lt;span class=&quot;n&quot;&gt;b&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;n&quot;&gt;ST_Intersection&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;b&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;geom&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;merged_buffer&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;geom&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;AS&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;clipped_geom&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;FROM&lt;/span&gt; 
    &lt;span class=&quot;n&quot;&gt;unioned_tables&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;b&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;merged_buffer&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;WHERE&lt;/span&gt; 
    &lt;span class=&quot;n&quot;&gt;ST_Intersects&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;b&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;geom&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;merged_buffer&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;geom&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;SELECT&lt;/span&gt; 
	&lt;span class=&quot;n&quot;&gt;jsonb_build_object&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
    &lt;span class=&quot;s1&quot;&gt;&apos;type&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;Feature&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;s1&quot;&gt;&apos;geometry&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;ST_AsGeoJSON&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ST_Transform&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;st_union&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;clipped_geom&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;4326&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)::&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;jsonb&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;FROM&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;clipped&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;WHERE&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;ST_IsEmpty&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;clipped_geom&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/selling-public-lands-not-that-big-a-deal/&quot;&gt;Selling off Public Lands; it&apos;s not as bad as you think.&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on June 23, 2025.&lt;/p&gt;
  </content>
</entry>



<entry>
  <title type="html"><![CDATA[Turning static maps/images into stitchable slippy maps]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/georeferencing-app/" />
  <id>https://www.birdnoticing.com/georeferencing-app</id>
  <published>2025-03-01T00:00:00+00:00</published>
  <updated>2025-03-01T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;blockquote&gt;
  &lt;p&gt;&lt;a href=&quot;https://my-georeferencing-app.netlify.app/&quot;&gt;Demo&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href=&quot;https://github.com/Eunoia/my-georeferencing-app&quot;&gt;Github&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I love looking at old aerial scans. There is something about seeing how an area used to look that reveals the reasons for why things are shaped the way they are today.&lt;/p&gt;

&lt;p&gt;Weirdly long buildings occupy an abandoned rail line. Large shopping centers used to be factories. A railyard becomes an office park. Street car tracks ran on a road wider than the traffic that currently runs on it. An old fence was the edge of an orchard, developed much later, which led to sudden change in architecture on a city block.&lt;/p&gt;

&lt;p&gt;All these secrets and more are revealed when you look at old aerial footage. Starting in the 1910s, governments would send planes overhead with automatic film cameras. Locked away in negatives on microfilm, they can be hard to access, but UCSB published &lt;a href=&quot;https://www.library.ucsb.edu/geospatial/aerial-photography&quot;&gt;FrameFinder&lt;/a&gt; an archive of many of them for people to look at. What skill they have for digitization of microfilm is offset by a terrible interface.&lt;/p&gt;

&lt;p&gt;I’m used to a slippy map with tiles, the ability to zoom in, and enjoy flipping between years. To get this sort of interface, I needed to mark points on an old photo that correspond to latitude and longitude. This process is called &lt;strong&gt;georeferencing&lt;/strong&gt;, and the best in class tool for this; QGIS, is a pain to use. Like most open source software, you get incredible tools, with an interface and documentation that guarantees job security for those patient enough to climb the learning curve.&lt;/p&gt;

&lt;p&gt;I wanted something simple, that would let me churn through images, and let me view the results. Something that could be repurposed for old maps (Sanborn, surveys, etc) as well.&lt;/p&gt;

&lt;p&gt;To that end, I made &lt;a href=&quot;https://my-georeferencing-app.netlify.app/&quot;&gt;my-geo-referencing-app&lt;/a&gt;, a simple app that lets people upload images, and get the command to georeference the image.&lt;/p&gt;

&lt;p&gt;Using open drone maps, the images can be stitched together, orthorectified, and turned into a slippy map. It’s incredible how much good software exists.&lt;/p&gt;


    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/georeferencing-app/&quot;&gt;Turning static maps/images into stitchable slippy maps&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on March 01, 2025.&lt;/p&gt;
  </content>
</entry>



<entry>
  <title type="html"><![CDATA[A brief note about how HVAC systems work]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/a-note-about-hvac-systems/" />
  <id>https://www.birdnoticing.com/a-note-about-hvac-systems</id>
  <published>2024-09-06T00:00:00+00:00</published>
  <updated>2024-09-06T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;p&gt;I recently had the opportunity to use a large, towable 3 phase generator to test out the HVAC system, ahead of schedule of getting power turned out at a property. I told the owner of the generator I knew what I was doing, and away I went.&lt;/p&gt;

&lt;p&gt;This is a brief note about what I learned, as a reference for the future.&lt;/p&gt;

&lt;h3 id=&quot;how-does-an-hvac-system-work&quot;&gt;How does an hvac system work?&lt;/h3&gt;

&lt;p&gt;There are two main parts. The condenser box, which sits outside. It compresses the gas into a higher pressure gas, and generates a bunch of heat. There is a large fan at the top, which vents the heat. This is why it needs to be outside.&lt;/p&gt;

&lt;p&gt;On the inside of the house is the evaporator coil, which has the high pressure gas go through a small hole, turn into a low pressure gas, and create coldness. The air handler blows air over the coils and in turn moves it through ducts around the building.&lt;/p&gt;

&lt;p&gt;A condenser has four “feeds”, electricity, which is usually a switchable function box on it’s own circuit. A low voltage “instruction” line, telling it to switch on, or off. A larger suction line, which should be cold, and a smaller liquid line, which should be warm.&lt;/p&gt;

&lt;p&gt;If the condenser is supplied with electricity, and instructed to turn on, it will compress the refrigerant, and start push it into the evaporator coil. This will result in the suction line getting colder and the liquid line getting warmer. If there is a temperate difference across the lines, then the compressor, the most delicate part of the operation, is working and the AC system is salvageable.&lt;/p&gt;

&lt;p&gt;The most common component of a condenser to fail is the capacitor, which serves to even out the spikes of the fan and compressor switching on. I was able to use my multimeter and determine that the capacitor was within bounds.&lt;/p&gt;

&lt;p&gt;The compressor takes power via single phase, two hots and a ground. The neutral is not used.&lt;/p&gt;

&lt;h3 id=&quot;my-specific-process&quot;&gt;My specific process&lt;/h3&gt;

&lt;p&gt;&lt;img src=&quot;/images/hvac/box_side.jpg&quot; alt=&quot;Box Wiring&quot; class=&quot;align-left slide&quot; /&gt;&lt;/p&gt;

&lt;p&gt;In my case, I was able to switch the generator to 240 volt, single phase, and wire it to the junction box.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/hvac/generator_side.jpg&quot; alt=&quot;Generator Wiring&quot; class=&quot;align-left slide&quot; /&gt;&lt;/p&gt;

&lt;p&gt;This allowed me to start the generator, but I was unable to trigger the low voltage lines. Using caveman technology, I poked the contactor with a stick, and was able to trigger the compressor to turn on.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/hvac/stick.jpg&quot; alt=&quot;Poking the Contactor&quot; class=&quot;align-left slide&quot; /&gt;&lt;/p&gt;

&lt;p&gt;After about 5 minutes, I used my hands to feel that I had a temperature gradient across the lines, and determined that the system was in fact working.&lt;/p&gt;

&lt;p&gt;Winners stay winning.&lt;/p&gt;

    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/a-note-about-hvac-systems/&quot;&gt;A brief note about how HVAC systems work&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on September 06, 2024.&lt;/p&gt;
  </content>
</entry>



<entry>
  <title type="html"><![CDATA[2024 Factory Tours]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/factory-tours-2024/" />
  <id>https://www.birdnoticing.com/factory-tours-2024</id>
  <published>2024-01-09T00:00:00+00:00</published>
  <updated>2024-01-09T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;style&gt;
	.area {
		width:60%;
	}
	.area a{
		color: ghostwhite;
		display:block;
	}
	.area a:visted{
		color: ghostwhite;
	}
	.area .btn:hover {
		background-color: #6d9ebc;
	}
	.area a:hover{
		color: ghostwhite;
	}
	#calendar {
		margin-bottom: 1.5em;
	}
	.fc table{
		margin-bottom: 0px !important;
	}
	@media only screen and (min-width: 86.375em) {
		body.layout--post.wide .article-author-side {
			width: 16.6666666667%;
	    margin-left: 4.1666666667%;
	    margin-right: 4.1666666667%;
		}
	}
	body.layout--post.wide #main article.post {
		width: calc(69% - 50px);
		margin-right:2em;
	}
&lt;/style&gt;

&lt;p&gt;Factory tours are great, and you should go on them. I went though and found places offering tours, and make this calendar. This list is solid, and updated regularly.  It includes small regular tours, and the irregular annual tours.  Some places have tours if you get enough people together, and their details are listed further down. So please go on a tour, and learn more about how the world works.&lt;/p&gt;

&lt;center&gt;
	&lt;div class=&quot;area notice&quot;&gt;
		&lt;div class=&quot;btn btn-info btn-x-large&quot;&gt;
			
			&lt;a href=&quot;webcal://www.birdnoticing.com/factory_tours_2024.ics&quot;&gt;Click Here to Subscribe&lt;/a&gt;
		&lt;/div&gt;
		&lt;br /&gt;
		ICS subscription for iPhone, iCal (Mac OS X), Google Calendar, etc.
	&lt;/div&gt;
	&lt;br /&gt;
&lt;/center&gt;

&lt;h1 id=&quot;upcoming-tours&quot;&gt;Upcoming Tours&lt;/h1&gt;

&lt;table&gt;
	&lt;tr&gt;
		&lt;td&gt;&lt;u&gt;Venue&lt;/u&gt;&lt;/td&gt;
		&lt;td&gt;&lt;u&gt;Type&lt;/u&gt;&lt;/td&gt;
		&lt;td&gt;&lt;u&gt;City&lt;/u&gt;&lt;/td&gt;
		&lt;td&gt;&lt;u&gt;Cost&lt;/u&gt;&lt;/td&gt;
		&lt;td&gt;&lt;u&gt;Next Tour&lt;/u&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;script&gt;console.log([{&quot;Venue&quot;:&quot;Sequoia Sake&quot;,&quot;Theme&quot;:&quot;Food&quot;,&quot;City&quot;:&quot;San Francisco&quot;,&quot;Address&quot;:&quot;50 Apparel Way, San Francisco, CA 94124&quot;,&quot;event_at&quot;:&quot;2024-01-11T14:00:00Z-008&quot;,&quot;event_ends&quot;:&quot;2024-01-11 15:00:00 +0000&quot;,&quot;cost&quot;:50,&quot;minimum&quot;:5,&quot;link&quot;:&quot;https://sequoiasake.com/pages/private-events&quot;,&quot;sort_order&quot;:1},{&quot;Venue&quot;:&quot;Oakland Zoo Animal Hospital&quot;,&quot;Theme&quot;:&quot;Animals&quot;,&quot;City&quot;:&quot;Oakland&quot;,&quot;Address&quot;:&quot;9777 Golf Links Rd, Oakland, CA 94605&quot;,&quot;event_at&quot;:&quot;2024-01-08 10:00:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-01-08 11:00:00 +0000&quot;,&quot;cost&quot;:25,&quot;link&quot;:&quot;https://www.oaklandzoo.org/programs-and-events/veterinary-hospital-tours#:~:text=About%20the%20Tour&amp;text=Tours%20are%20available%20select%20Wednesdays,begin%20promptly%20at%2010%3A00am.&amp;text=Parking%20and%20Zoo%20Admission%20must,Book%20your%20tour%20now!&quot;,&quot;sort_order&quot;:2},{&quot;Venue&quot;:&quot;TCHO&quot;,&quot;Theme&quot;:&quot;Food&quot;,&quot;City&quot;:&quot;Berkeley&quot;,&quot;Address&quot;:&quot;3100 San Pablo Ave, Berkeley, CA 94702&quot;,&quot;cost&quot;:15,&quot;link&quot;:&quot;https://www.exploretock.com/tcho-chocolate-berkeley/search?date=2024-01-18&amp;size=2&amp;time=11%3A15&quot;,&quot;event_at&quot;:&quot;2024-01-09 11:00:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-01-09 11:45:00 +0000&quot;,&quot;sort_order&quot;:3},{&quot;Venue&quot;:&quot;TCHO&quot;,&quot;Theme&quot;:&quot;Food&quot;,&quot;City&quot;:&quot;Berkeley&quot;,&quot;Address&quot;:&quot;3100 San Pablo Ave, Berkeley, CA 94702&quot;,&quot;cost&quot;:15,&quot;link&quot;:&quot;https://www.exploretock.com/tcho-chocolate-berkeley/search?date=2024-01-18&amp;size=2&amp;time=11%3A15&quot;,&quot;event_at&quot;:&quot;2024-01-11 11:00:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-01-11 11:45:00 +0000&quot;,&quot;sort_order&quot;:4},{&quot;Venue&quot;:&quot;Admiral Maltings&quot;,&quot;Theme&quot;:&quot;Food&quot;,&quot;City&quot;:&quot;Alameda&quot;,&quot;Address&quot;:&quot;651A W Tower Ave, Alameda, CA 94501&quot;,&quot;event_at&quot;:&quot;2024-01-07 15:00:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-01-07 15:45:00 +0000&quot;,&quot;cost&quot;:0,&quot;link&quot;:&quot;https://www.eventbrite.com/e/free-malthouse-tour-tickets-469648781147&quot;,&quot;sort_order&quot;:5},{&quot;Venue&quot;:&quot;Dandalion Chocolate&quot;,&quot;Theme&quot;:&quot;Food&quot;,&quot;City&quot;:&quot;San Francisco&quot;,&quot;Address&quot;:&quot;2600 16th St, San Francisco, CA 94103&quot;,&quot;event_at&quot;:&quot;2024-01-01 11:00:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-01-01 11:45:00 +0000&quot;,&quot;cost&quot;:20,&quot;link&quot;:&quot;https://www.dandelionchocolate.com/pages/experiences&quot;,&quot;RRULE&quot;:&quot;FREQ=DAILY;COUNT=360&quot;,&quot;sort_order&quot;:6},{&quot;Venue&quot;:&quot;Dandalion Chocolate&quot;,&quot;Theme&quot;:&quot;Food&quot;,&quot;City&quot;:&quot;San Francisco&quot;,&quot;Address&quot;:&quot;2600 16th St, San Francisco, CA 94103&quot;,&quot;event_at&quot;:&quot;2024-01-01 13:00:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-01-01 13:45:00 +0000&quot;,&quot;cost&quot;:20,&quot;link&quot;:&quot;https://www.dandelionchocolate.com/pages/experiences&quot;,&quot;RRULE&quot;:&quot;FREQ=DAILY;COUNT=360&quot;,&quot;sort_order&quot;:7},{&quot;Venue&quot;:&quot;Recology&quot;,&quot;Theme&quot;:&quot;Infrastructure&quot;,&quot;City&quot;:&quot;San Francisco&quot;,&quot;Address&quot;:&quot;401 Tunnel Avenue San Francisco, CA 94134&quot;,&quot;event_at&quot;:&quot;2024-01-03 10:00:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-01-03 12:30:00 +0000&quot;,&quot;cost&quot;:0,&quot;link&quot;:&quot;https://www.recology.com/recology-san-francisco/elc-tours/&quot;,&quot;sort_order&quot;:8},{&quot;Venue&quot;:&quot;SV Water Purification&quot;,&quot;Theme&quot;:&quot;Infrastructure&quot;,&quot;City&quot;:&quot;San Jose&quot;,&quot;Address&quot;:&quot;4190 Zanker Rd., San Jose, CA 95134&quot;,&quot;cost&quot;:0,&quot;link&quot;:&quot;https://valleywater.volunteerhub.com/vv2/lp/watersupplytours&quot;,&quot;event_at&quot;:&quot;2024-01-05 10:00:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-01-05 12:00:00 +0000&quot;,&quot;sort_order&quot;:10},{&quot;Venue&quot;:&quot;SV Water Purification&quot;,&quot;Theme&quot;:&quot;Infrastructure&quot;,&quot;City&quot;:&quot;San Jose&quot;,&quot;Address&quot;:&quot;4190 Zanker Rd., San Jose, CA 95134&quot;,&quot;cost&quot;:0,&quot;link&quot;:&quot;https://valleywater.volunteerhub.com/vv2/lp/watersupplytours&quot;,&quot;event_at&quot;:&quot;2024-01-06 10:00:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-01-06 12:00:00 +0000&quot;,&quot;sort_order&quot;:11},{&quot;Venue&quot;:&quot;Jelly Belly&quot;,&quot;Theme&quot;:&quot;Food&quot;,&quot;City&quot;:&quot;Fairfield&quot;,&quot;Address&quot;:&quot;1 Jelly Belly Ln, Fairfield, CA 94533&quot;,&quot;cost&quot;:7,&quot;link&quot;:&quot;https://www.eventbrite.com/o/jelly-belly-visitor-center-69609770223&quot;,&quot;event_at&quot;:&quot;2024-01-01 09:00:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-01-01 10:30:00 +0000&quot;,&quot;RRULE&quot;:&quot;FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR;COUNT=50&quot;,&quot;sort_order&quot;:12},{&quot;Venue&quot;:&quot;Jelly Belly&quot;,&quot;Theme&quot;:&quot;Food&quot;,&quot;City&quot;:&quot;Fairfield&quot;,&quot;Address&quot;:&quot;1 Jelly Belly Ln, Fairfield, CA 94533&quot;,&quot;cost&quot;:7,&quot;link&quot;:&quot;https://www.eventbrite.com/o/jelly-belly-visitor-center-69609770223&quot;,&quot;event_at&quot;:&quot;2024-01-01 11:00:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-01-01 12:30:00 +0000&quot;,&quot;RRULE&quot;:&quot;FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR;COUNT=50&quot;,&quot;sort_order&quot;:13},{&quot;Venue&quot;:&quot;Jelly Belly&quot;,&quot;Theme&quot;:&quot;Food&quot;,&quot;City&quot;:&quot;Fairfield&quot;,&quot;Address&quot;:&quot;1 Jelly Belly Ln, Fairfield, CA 94533&quot;,&quot;cost&quot;:7,&quot;link&quot;:&quot;https://www.eventbrite.com/o/jelly-belly-visitor-center-69609770223&quot;,&quot;event_at&quot;:&quot;2024-01-01 13:30:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-01-01 15:00:00 +0000&quot;,&quot;RRULE&quot;:&quot;FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR;COUNT=50&quot;,&quot;sort_order&quot;:14},{&quot;Venue&quot;:&quot;Heath Ceramic (SF)&quot;,&quot;Theme&quot;:&quot;Stuff&quot;,&quot;City&quot;:&quot;San Francisco&quot;,&quot;Address&quot;:&quot;2900 18th Street, San Francisco, CA 94110&quot;,&quot;cost&quot;:15,&quot;link&quot;:&quot;https://www.eventbrite.com/e/heath-ceramics-tile-factory-tour-san-francisco-tickets-515240296597&quot;,&quot;event_at&quot;:&quot;2024-01-05 11:00:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-01-01 12:00:00 +0000&quot;,&quot;sort_order&quot;:15},{&quot;Venue&quot;:&quot;Heath Ceramic (SF)&quot;,&quot;Theme&quot;:&quot;Stuff&quot;,&quot;City&quot;:&quot;San Francisco&quot;,&quot;Address&quot;:&quot;2900 18th Street, San Francisco, CA 94110&quot;,&quot;cost&quot;:15,&quot;link&quot;:&quot;https://www.eventbrite.com/e/heath-ceramics-tile-factory-tour-san-francisco-tickets-515240296597&quot;,&quot;event_at&quot;:&quot;2024-01-06 11:00:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-01-06 12:00:00 +0000&quot;,&quot;sort_order&quot;:16},{&quot;Venue&quot;:&quot;Heath Ceramic (Sausalito)&quot;,&quot;Theme&quot;:&quot;Stuff&quot;,&quot;City&quot;:&quot;Sausalito&quot;,&quot;Address&quot;:&quot;401 Gate 5 Rd, Sausalito, CA 94965&quot;,&quot;cost&quot;:15,&quot;link&quot;:&quot;https://www.heathceramics.com/pages/factory-tours&quot;,&quot;event_at&quot;:&quot;2024-01-05 10:30:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-01-05 11:00:00 +0000&quot;,&quot;sort_order&quot;:17},{&quot;Venue&quot;:&quot;Heath Ceramic (Sausalito)&quot;,&quot;Theme&quot;:&quot;Stuff&quot;,&quot;City&quot;:&quot;Sausalito&quot;,&quot;Address&quot;:&quot;401 Gate 5 Rd, Sausalito, CA 94965&quot;,&quot;cost&quot;:15,&quot;link&quot;:&quot;https://www.heathceramics.com/pages/factory-tours&quot;,&quot;event_at&quot;:&quot;2024-01-05 11:00:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-01-01 12:00:00 +0000&quot;,&quot;sort_order&quot;:15},{&quot;Venue&quot;:&quot;Heath Ceramic (Sausalito)&quot;,&quot;Theme&quot;:&quot;Stuff&quot;,&quot;City&quot;:&quot;Sausalito&quot;,&quot;Address&quot;:&quot;401 Gate 5 Rd, Sausalito, CA 94965&quot;,&quot;cost&quot;:15,&quot;link&quot;:&quot;https://www.heathceramics.com/pages/factory-tours&quot;,&quot;event_at&quot;:&quot;2024-01-06 11:00:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-01-06 12:00:00 +0000&quot;,&quot;sort_order&quot;:16},{&quot;Venue&quot;:&quot;Port of Oakland&quot;,&quot;Theme&quot;:&quot;Infrastructure&quot;,&quot;City&quot;:&quot;Alameda&quot;,&quot;Address&quot;:&quot;651A W Tower Ave, Alameda, CA 94501&quot;,&quot;event_at&quot;:&quot;2024-05-05 15:00:00 +0000&quot;,&quot;event_ends&quot;:&quot;2024-05-05 15:45:00 +0000&quot;,&quot;cost&quot;:0,&quot;link&quot;:&quot;https://www.portofoakland.com/harbor-tours/about-our-free-harbor-tours/&quot;,&quot;RRULE&quot;:&quot;FREQ=MONTHLY;INTERVAL=1;BYDAY=1MO;UNTIL=20241031T000000Z&quot;,&quot;sort_order&quot;:300}])&lt;/script&gt;
	
	
		
			&lt;tr&gt;
				&lt;td&gt;&lt;b&gt;Port of Oakland&lt;/b&gt;&lt;/td&gt;
				&lt;td&gt;Infrastructure&lt;/td&gt;
				&lt;td&gt;Alameda&lt;/td&gt;
				&lt;td&gt; Free! &lt;/td&gt;
				&lt;td&gt;
					&lt;span style=&quot;display: none&quot; class=&quot;nextTour&quot;&gt;
						
							DTSTART;TZID=America/Los_Angeles:20240505T150000
							FREQ=MONTHLY;INTERVAL=1;BYDAY=1MO;UNTIL=20241031T000000Z
						
					&lt;/span&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
	
		
			&lt;tr&gt;
				&lt;td&gt;&lt;b&gt;Heath Ceramic (Sausalito)&lt;/b&gt;&lt;/td&gt;
				&lt;td&gt;Stuff&lt;/td&gt;
				&lt;td&gt;Sausalito&lt;/td&gt;
				&lt;td&gt; $15&lt;/td&gt;
				&lt;td&gt;
					&lt;span style=&quot;display: none&quot; class=&quot;nextTour&quot;&gt;
						
							DTSTART;TZID=America/Los_Angeles:20240105T103000
							FREQ=WEEKLY;COUNT=50
						
							DTSTART;TZID=America/Los_Angeles:20240105T110000
							FREQ=WEEKLY;COUNT=50
						
							DTSTART;TZID=America/Los_Angeles:20240106T110000
							FREQ=WEEKLY;COUNT=50
						
					&lt;/span&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
	
		
			&lt;tr&gt;
				&lt;td&gt;&lt;b&gt;Heath Ceramic (SF)&lt;/b&gt;&lt;/td&gt;
				&lt;td&gt;Stuff&lt;/td&gt;
				&lt;td&gt;San Francisco&lt;/td&gt;
				&lt;td&gt; $15&lt;/td&gt;
				&lt;td&gt;
					&lt;span style=&quot;display: none&quot; class=&quot;nextTour&quot;&gt;
						
							DTSTART;TZID=America/Los_Angeles:20240105T110000
							FREQ=WEEKLY;COUNT=50
						
							DTSTART;TZID=America/Los_Angeles:20240106T110000
							FREQ=WEEKLY;COUNT=50
						
					&lt;/span&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
	
		
			&lt;tr&gt;
				&lt;td&gt;&lt;b&gt;Jelly Belly&lt;/b&gt;&lt;/td&gt;
				&lt;td&gt;Food&lt;/td&gt;
				&lt;td&gt;Fairfield&lt;/td&gt;
				&lt;td&gt; $7&lt;/td&gt;
				&lt;td&gt;
					&lt;span style=&quot;display: none&quot; class=&quot;nextTour&quot;&gt;
						
							DTSTART;TZID=America/Los_Angeles:20240101T090000
							FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR;COUNT=50
						
							DTSTART;TZID=America/Los_Angeles:20240101T110000
							FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR;COUNT=50
						
							DTSTART;TZID=America/Los_Angeles:20240101T133000
							FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR;COUNT=50
						
					&lt;/span&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
	
		
			&lt;tr&gt;
				&lt;td&gt;&lt;b&gt;SV Water Purification&lt;/b&gt;&lt;/td&gt;
				&lt;td&gt;Infrastructure&lt;/td&gt;
				&lt;td&gt;San Jose&lt;/td&gt;
				&lt;td&gt; Free! &lt;/td&gt;
				&lt;td&gt;
					&lt;span style=&quot;display: none&quot; class=&quot;nextTour&quot;&gt;
						
							DTSTART;TZID=America/Los_Angeles:20240105T100000
							FREQ=WEEKLY;COUNT=50
						
							DTSTART;TZID=America/Los_Angeles:20240106T100000
							FREQ=WEEKLY;COUNT=50
						
					&lt;/span&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
	
		
			&lt;tr&gt;
				&lt;td&gt;&lt;b&gt;Recology&lt;/b&gt;&lt;/td&gt;
				&lt;td&gt;Infrastructure&lt;/td&gt;
				&lt;td&gt;San Francisco&lt;/td&gt;
				&lt;td&gt; Free! &lt;/td&gt;
				&lt;td&gt;
					&lt;span style=&quot;display: none&quot; class=&quot;nextTour&quot;&gt;
						
							DTSTART;TZID=America/Los_Angeles:20240103T100000
							FREQ=WEEKLY;COUNT=50
						
					&lt;/span&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
	
		
			&lt;tr&gt;
				&lt;td&gt;&lt;b&gt;Dandalion Chocolate&lt;/b&gt;&lt;/td&gt;
				&lt;td&gt;Food&lt;/td&gt;
				&lt;td&gt;San Francisco&lt;/td&gt;
				&lt;td&gt; $20&lt;/td&gt;
				&lt;td&gt;
					&lt;span style=&quot;display: none&quot; class=&quot;nextTour&quot;&gt;
						
							DTSTART;TZID=America/Los_Angeles:20240101T110000
							FREQ=DAILY;COUNT=360
						
							DTSTART;TZID=America/Los_Angeles:20240101T130000
							FREQ=DAILY;COUNT=360
						
					&lt;/span&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
	
		
			&lt;tr&gt;
				&lt;td&gt;&lt;b&gt;Admiral Maltings&lt;/b&gt;&lt;/td&gt;
				&lt;td&gt;Food&lt;/td&gt;
				&lt;td&gt;Alameda&lt;/td&gt;
				&lt;td&gt; Free! &lt;/td&gt;
				&lt;td&gt;
					&lt;span style=&quot;display: none&quot; class=&quot;nextTour&quot;&gt;
						
							DTSTART;TZID=America/Los_Angeles:20240107T150000
							FREQ=WEEKLY;COUNT=50
						
					&lt;/span&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
	
		
			&lt;tr&gt;
				&lt;td&gt;&lt;b&gt;TCHO&lt;/b&gt;&lt;/td&gt;
				&lt;td&gt;Food&lt;/td&gt;
				&lt;td&gt;Berkeley&lt;/td&gt;
				&lt;td&gt; $15&lt;/td&gt;
				&lt;td&gt;
					&lt;span style=&quot;display: none&quot; class=&quot;nextTour&quot;&gt;
						
							DTSTART;TZID=America/Los_Angeles:20240109T110000
							FREQ=WEEKLY;COUNT=50
						
							DTSTART;TZID=America/Los_Angeles:20240111T110000
							FREQ=WEEKLY;COUNT=50
						
					&lt;/span&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
	
		
			&lt;tr&gt;
				&lt;td&gt;&lt;b&gt;Oakland Zoo Animal Hospital&lt;/b&gt;&lt;/td&gt;
				&lt;td&gt;Animals&lt;/td&gt;
				&lt;td&gt;Oakland&lt;/td&gt;
				&lt;td&gt; $25&lt;/td&gt;
				&lt;td&gt;
					&lt;span style=&quot;display: none&quot; class=&quot;nextTour&quot;&gt;
						
							DTSTART;TZID=America/Los_Angeles:20240108T100000
							FREQ=WEEKLY;COUNT=50
						
					&lt;/span&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
	
		
			&lt;tr&gt;
				&lt;td&gt;&lt;b&gt;Sequoia Sake&lt;/b&gt;&lt;/td&gt;
				&lt;td&gt;Food&lt;/td&gt;
				&lt;td&gt;San Francisco&lt;/td&gt;
				&lt;td&gt; $50&lt;/td&gt;
				&lt;td&gt;
					&lt;span style=&quot;display: none&quot; class=&quot;nextTour&quot;&gt;
						
							DTSTART;TZID=America/Los_Angeles:20240111T140000
							FREQ=WEEKLY;COUNT=50
						
					&lt;/span&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
	
&lt;/table&gt;

&lt;div id=&quot;calendar&quot;&gt;&lt;/div&gt;

&lt;h1 id=&quot;tours-you-can-schedule-if-you-have-enough-friends&quot;&gt;Tours you can schedule if you have enough friends&lt;/h1&gt;

&lt;ul&gt;
  &lt;li&gt;Hilmar cheese (Stockton basically) &lt;a href=&quot;https://www.hilmar.com/tours/&quot;&gt;https://www.hilmar.com/tours/&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;EBMUD (intermittent) &lt;a href=&quot;https://www.ebmud.com/wastewater/collection-treatment/wastewater-treatment-plant-tours&quot;&gt;https://www.ebmud.com/wastewater/collection-treatment/wastewater-treatment-plant-tours&lt;/a&gt;
&lt;!-- https://www.ebmud.com/about-us/education-resources/water-walks --&gt;&lt;/li&gt;
  &lt;li&gt;Toxic Tours &lt;a href=&quot;https://www.cbecal.org/get-involved/toxic-tours/&quot;&gt;https://www.cbecal.org/get-involved/toxic-tours/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1 id=&quot;extinct-tours&quot;&gt;Extinct Tours&lt;/h1&gt;

&lt;ul&gt;
  &lt;li&gt;(1990s) Almonds in Sac  &lt;a href=&quot;https://www.sactownmag.com/bring-back-blue-diamond-almond-tour/&quot;&gt;link&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;(2019) Budwiser in Fairfield &lt;a href=&quot;https://www.abc10.com/article/news/fairfield-budweiser-ends-factory-tours-closes-gift-shop/103-5ced2169-5f1e-4355-95f7-079da5e2c0f2&quot;&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;script src=&quot;https://cdn.jsdelivr.net/npm/rrule@2.8.1/dist/es5/rrule.min.js&quot;&gt;&lt;/script&gt;

&lt;script src=&quot;https://cdn.jsdelivr.net/npm/fullcalendar@6.1.10/index.global.min.js&quot;&gt;&lt;/script&gt;

&lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/ical.js/1.5.0/ical.min.js&quot; integrity=&quot;sha512-0izBc1upGYnrS1u1MX7QR+sjFIxZWxLVdNI7cUoHHCutDr5ENjuQRZuS+v+3NFNGfwHSrPoHzBzED0rV651tGw==&quot; crossorigin=&quot;anonymous&quot; referrerpolicy=&quot;no-referrer&quot;&gt;&lt;/script&gt;

&lt;script src=&quot;https://cdn.jsdelivr.net/npm/@fullcalendar/rrule@6.1.10/index.global.min.js&quot;&gt;&lt;/script&gt;

&lt;script src=&quot;https://cdn.jsdelivr.net/npm/@fullcalendar/icalendar@6.1.10/index.global.min.js&quot;&gt;&lt;/script&gt;

&lt;script&gt;
  document.addEventListener(&quot;DOMContentLoaded&quot;, async function () {
	  var calendarEl = document.getElementById(&quot;calendar&quot;);
	  var calendar = new FullCalendar.Calendar(calendarEl, {
	    initialView: &quot;timeGrid&quot;,
	    headerToolbar: { center: &apos;timeGrid,listWeek&apos; },
	    buttonText: {
		    timeGrid: &apos;Calendar&apos;, // Custom text for the &apos;timeGridWeek&apos; view button
		    listWeek: &apos;List&apos; // Custom text for the &apos;listWeek&apos; view button
		  },

	    slotMinTime: &quot;09:00:00&quot;, // Start time at 10 AM
	    slotMaxTime: &quot;16:00:00&quot;, // End time at 4 PM
	    allDaySlot: false,
	    nowIndicator: true,
	    height: &quot;auto&quot;,
	    duration: { days: 7 },
	    events: {
	      url: &quot;/factory_tours_2024.ics&quot;,
	      format: &quot;ics&quot;,
	    },
	  });
	  calendar.render();
	  calendar.refetchEvents();

	  const now = new Date();
	  const toursEl = document.querySelectorAll(&quot;td .nextTour&quot;);
	  
	  for (let i = 0; i &lt; toursEl.length; i++) {
	    let inputText = toursEl[i].innerText.trim();
	    let rawRules = inputText.match(/DTSTART[^]+?(?=(DTSTART|$))/g);
	    let asDates = rawRules.map((str) =&gt;
	      rrule.rrulestr(str).after(now, false)
	    );
	    const firstFutureDate = asDates
	      .sort((a, b) =&gt; a.getTime() - b.getTime())
	      .find((date) =&gt; date &gt; now);

      if (typeof firstFutureDate !== &apos;undefined&apos;) {
	    	toursEl[i].innerText = firstFutureDate.toDateString();
	    	toursEl[i].style.display = &quot;block&quot;;
	    } 
	  }	  
	});
&lt;/script&gt;


    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/factory-tours-2024/&quot;&gt;2024 Factory Tours&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on January 09, 2024.&lt;/p&gt;
  </content>
</entry>



<entry>
  <title type="html"><![CDATA[Techniques to create a good product demo video]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/creating-a-demo-video/" />
  <id>https://www.birdnoticing.com/creating-a-demo-video</id>
  <published>2023-12-09T00:00:00+00:00</published>
  <updated>2023-12-09T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;p&gt;I recently wanted to create a demo video for a product I was pitching. Think “TurboTax of divorce, for poor philadelphians” My intended audience of lawyers are generally indifferent for document automation. I thought a demo showing the generation of the initial filing paperwork might capture their attention. My first demo video was about 5 minutes, and I wanted to target 90 seconds. Preposterously short for generating these documents.&lt;/p&gt;

&lt;p&gt;The demo involved asking many simple questions and having software fill out the obtuse forms. While the legal process for divorce in Philadelphia appears straightforward, the process and paperwork are purposefully obstructive. Mostly to punish poor people.&lt;/p&gt;

&lt;p&gt;Watching my first take of the demo, I saw that a lot of time was me typing without speaking. When I’m typing, I can’t be pitching, which made the video so awkward. I wanted to automate the filling out of forms; the typing, the clicking, the waiting for things to load. This way, I could focus on the voiceover, and not have them watch me fix a spelling mistake. The voiceover was crucial to get right, as I wanted to use the right lawyer words for what the software was doing. PREsehPEE, INformaPAUPERus, etc. I watched some YouTube videos for pronunciation, and some old lawyer blogs to learn proper names for different things. Gotta sound like I am ingroup.&lt;/p&gt;

&lt;p&gt;Searching for ‘sales demo video creation tool’ didn’t turn up anything that looked like what I needed. What I did find were sales enablement solutions, but I couldn’t tell if it would help. I tried to bully an AI into filling out the form, but given that the page was all react components, that wasn’t going to work, oops.&lt;/p&gt;

&lt;h2 id=&quot;setting-up-cypress&quot;&gt;Setting up Cypress&lt;/h2&gt;

&lt;p&gt;What I wound up doing was using cypress for its end-to-end testing framework. It has an “experimental studio” feature which makes form automation super easy. I added cypress to the project, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;npm install cypress --save-dev &amp;amp;&amp;amp; npx cypress install&lt;/code&gt;. Then I enabled the experimental studio, by adding “experimentalStudio: true” to e2e in cypress.config.ts. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sed -i &apos;/e2e: {/a \experimentalStudio: true,&apos; cypress.config.ts&lt;/code&gt;. Then I set up cypress by running ` npx cypress open`. I also ran the tests against the ‘production’ version of the app, to avoid the hassle of configuring Cypress with loopback interfaces.&lt;/p&gt;

&lt;p&gt;Within Cypress Studio, I added a simple spec to load the page, then I enabled experimental features, and this allowed cypress to capture me filling out the form using fun names and addresses, and generate a script with what fields I clicked on, and what I typed. This gave me the initial skeleton of the “scenic roller” that would play while I did the voice-over. Cypress Studio would also run the spec when I modified the file or reloaded the studio. Very handy for redoing takes.&lt;/p&gt;

&lt;h2 id=&quot;modifications-necessary&quot;&gt;Modifications Necessary&lt;/h2&gt;

&lt;p&gt;The generated script was a great starting point, but it needed editing in two ways, around being human and complex UI interactions. The first was adding pauses with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cy.wait(800);&lt;/code&gt;. The pauses were to make it look more like I was filling out the form and allow the viewer to read the form fields. The three autocomplete fields were the hardest part to deal with. They made network requests, they had dynamic fields. I dealt with network requests in two ways. The ideal way is intercepting requests and waiting for them to finish. Then adding a pause to explain the dropdowns.&lt;/p&gt;

&lt;div class=&quot;language-typescript highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;url&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;https://api.mapbox.com/search/searchbox/v1/suggest**&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;cy&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;intercept&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;GET&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;getMapbox&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;cy&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;input[aria-label=&quot;City&quot;]&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;clear&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;m&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;cy&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;input[aria-label=&quot;City&quot;]&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;miam&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;cy&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;wait&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;@getMapbox&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;its&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;response.statusCode&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;should&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;eq&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;cy&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;wait&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;1600&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I could also have mocked the network request and loaded a file locally, but I decided against that because I was lazy.&lt;/p&gt;

&lt;p&gt;The other major change to the script was changing what it clicked on. Some of the selectors around the autocomplete were based on dynamic class names, which changed every time. So they had to be changed to click on an autocomplete result based on text. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cy.contains(&apos;Florida, United States&apos;).click({scrollBehavior:false});&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The default behavior of cypress is to instantly scroll the target element into view. This is great for testing, but not how apps behave when people actually use them. So I needed to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;scrollBehavior: false,&lt;/code&gt; to the cypress config file, and add manual scrolling with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cy.scrollTo(0, 180, {ensureScrollable: false, duration: 700})&lt;/code&gt;. I would just guess and check to get the second parameter right.&lt;/p&gt;

&lt;p&gt;I also had hit-or-miss luck with the generation of PDFs, which could happen instantly, or take up to 30 seconds. My demo opened with “In 40 seconds we’re going to generate the initial complaint”. Most of the time, it took 40±1 second to fill out the form and have the pdfs generated. A couple times, only when recording, the pdfs would generate in 45 seconds. There were software ways to solve the problem; generate the PDFs out of frame, and then made them visible at the end, fake the pdfs. In the end, I would do another take if the PDFs didn’t load in time.&lt;/p&gt;

&lt;h2 id=&quot;making-the-demo-video&quot;&gt;Making the demo video&lt;/h2&gt;

&lt;p&gt;The first couple of takes were me filling out the form and running a timer. This sufficed for my brain to fill out the structure of the demo, but more takes were needed to make the demo good.&lt;/p&gt;

&lt;p&gt;Watching the first couple of videos, I’d notice things in my background, and go tidy the house to ensure it looked plain. I cleaned off the couch and put large things on their side so they wouldn’t be in the background. I moved flowers from the coffee table to the credenza. Between takes I’d get a glass of water from the kitchen, and despair at how chaotic the house became outside the angles of the camera.&lt;/p&gt;

&lt;p&gt;I recorded so many takes that the sun had moved from behind my laptop to behind me. The glare was so bad!  I cleaned my laptop screen, and set up some studio lighting. One 4ft LED was enough to overpower the glare, but two would have been even better.&lt;/p&gt;

&lt;p&gt;The audio was picking up background noice and my mouse clicks. Since I didn’t have a laver mic, I jury-rigged something silly. I binder clipped a microphone to a carpenters pencil. Which I attached to a gooseneck phone mount. Then I could position the microphone close to my face, while keeping it out of the frame.&lt;/p&gt;

&lt;p&gt;Because I wanted the video to be as short as possible, I went with Descript over Loom. Descript generates a transcript of what you say. You cut filler words from the transcript, which cuts the parts of the video where you said it. Beyond eliminating ‘uh’s, I also streamlined phrases like ‘filing for files for divorce filing’ to a concise ‘for divorce filing’. It knows where the boundaries of the words are, and I was able to snip out bits like that to shave off about 30 seconds.&lt;/p&gt;

&lt;p&gt;I couldn’t redo parts of the form being filled out, because it would look jerky. But once there wasn’t the animation, I could do extra takes. Once the app wasn’t moving, I didn’t need to be as precise in my dialog. In Philadelphia, they call downtown “Center City”, and so when I flubbed that line said “ok”,,,,, and redid the line.&lt;/p&gt;

&lt;p&gt;The final take took about ~4 minutes to record, and I was able to get the demo down to 91 seconds. I sent it out along with my pitch to five people in the space, so we’ll see how they think of it.&lt;/p&gt;

    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/creating-a-demo-video/&quot;&gt;Techniques to create a good product demo video&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on December 09, 2023.&lt;/p&gt;
  </content>
</entry>



<entry>
  <title type="html"><![CDATA[One Weird Trick to Uncovering Startup Culture]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/talks/wearing-buttons/" />
  <id>https://www.birdnoticing.com/talks/wearing-buttons</id>
  <published>2023-10-09T00:00:00+00:00</published>
  <updated>2023-10-09T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;style&gt;
	img.half-width.slide {
		width: 50%;
		float:left;
		margin-right: 1em;
    margin-bottom: 2em;
	}
&lt;/style&gt;

&lt;!-- 
Thanks for that introduction. 

Show of hands, who is is wearing buttons on their clothing? 

Not as many tunics and chitons as I expected, this is new york, but so it is. 
 --&gt;
&lt;p&gt;Buttons were discovered in the Indus Valley circa 2800 BC. People have been finding nice shells or rocks putting holes in them, and sewing them to their clothing. It was only 4,000 years later that people in Northern Europe realized that you could put a hole across from that decorative button, and actually use it to fasten a jacket.&lt;/p&gt;

&lt;p&gt;At the small startups I tend to work at, they’re heads down on solving hard problems. I like to join and make some buttonsholes, introducing some convenience.&lt;/p&gt;

&lt;p&gt;The primary tool I have for this is this little snippet: `&lt;/p&gt;

&lt;div class=&quot;language-sql highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;select&lt;/span&gt;
  &lt;span class=&quot;n&quot;&gt;date_trunc&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;day&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;created_at&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;count&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;that_table&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;group&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;by&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Everyone team has a graph they care about. Management is focused on the money graph. Engineering might look at query response time over time. Product might be focused on users.&lt;/p&gt;

&lt;p&gt;Often there is no one looking at the “business table”, which is a table tracking the primary thing the company does. When I worked at an art auction house, this was the “lots” table, at a law firm “documents”, and at an industrial disaster tracking company, “events”.&lt;/p&gt;

&lt;p&gt;It’s very hard for small companies to introspect enough to determine their culture. Most of the time, you get a list of platitudes, but the real culture comes from scar tissue, the initial wound, how bad the wound was, and how it was healed or failed to heal properly.&lt;/p&gt;

&lt;p&gt;Most of the time, the best way to reveal these is with a graph of the business table. Run the above query, make a little graph, and you get something like this.&lt;/p&gt;

&lt;p&gt;If you sit down with the most tenured engineer, you can learn about the history of the company that you’re not going to find in your onboarding slides.&lt;/p&gt;

&lt;p&gt;For each change point, there is a story and a revelation of company history. All you need to do is run two lines of code to find out.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/data_growth.png&quot; alt=&quot;data_growth&quot; class=&quot;align-left half-width slide&quot; /&gt;&lt;/p&gt;

&lt;p&gt;From left to right, you can see the Nobraska Incident, where there were so many events from Nebraska that the company had to stop recording events from there. Lots of subsystems have specific exclusions for Nebraska, and now you know why, well before you run into a ticket about a Nebraska related bug.&lt;/p&gt;

&lt;p&gt;The first outage lasted 9 days because there was no alerting or monitoring, just completely forgotten about. The world can do a couple days without a major event, and the website was still loading (mostly), so no one noticed things were on fire. Culturally, the scar tissue here is immense, but you’d never casually find out.&lt;/p&gt;

&lt;p&gt;When the initial data vendor declared bankruptcy, it was all hands on deck to find a new source. This could have killed the company. Completely green, the new biz dev hire was calling everyone in her Rolodex to figure out a new source of this data, maybe someone from her old job would know. Turns out she was able to get access to a proprietary data stream, saving the company.&lt;/p&gt;

&lt;p&gt;Who knows one little bit of code could reveal so much history.&lt;/p&gt;

    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/talks/wearing-buttons/&quot;&gt;One Weird Trick to Uncovering Startup Culture&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on October 09, 2023.&lt;/p&gt;
  </content>
</entry>



<entry>
  <title type="html"><![CDATA[How long could New York City use Hoover Dam?]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/hoover-dam-nyc/" />
  <id>https://www.birdnoticing.com/hoover-dam-nyc</id>
  <published>2023-10-07T00:00:00+00:00</published>
  <updated>2023-10-07T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;p&gt;NYC consumes 979.0 million gallons per day&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.nyc.gov/site/dep/water/history-of-drought-water-consumption.page&quot;&gt;https://www.nyc.gov/site/dep/water/history-of-drought-water-consumption.page&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Hoover Dam holds 28,945,000 acre-feet&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.usbr.gov/lc/hooverdam/faqs/lakefaqs.html#:~:text=At%20elevation%201%2C221.4%2C%20it%20would,Colorado%20River%20for%20two%20years.&quot;&gt;https://www.usbr.gov/lc/hooverdam/faqs/lakefaqs.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Converting millions of gallons per day into acre-feet per year, NYC consumes 1,097,342 acre feet per year.&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://frinklang.org/fsp/frink.fsp?fromVal=979.0+million+gallons+%2F+day&amp;amp;toVal=acre+feet+%2F+year#calc&quot;&gt;https://frinklang.org/fsp/frink.fsp?fromVal=979.0+million+gallons+%2F+day&amp;amp;toVal=acre+feet+%2F+year#calc&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So that’s about 26 years and about 4 months!&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;26.37735717 years specifically.&lt;/li&gt;
&lt;/ul&gt;

    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/hoover-dam-nyc/&quot;&gt;How long could New York City use Hoover Dam?&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on October 07, 2023.&lt;/p&gt;
  </content>
</entry>



<entry>
  <title type="html"><![CDATA[Recovering Lost Timestamps with Forbidden Knowledge]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/recovering-lost-timestamps-with-forbidden-knowledge/" />
  <id>https://www.birdnoticing.com/recovering-lost-timestamps-with-forbidden-knowledge</id>
  <published>2023-10-01T00:00:00+00:00</published>
  <updated>2023-10-01T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;style&gt;
	.sidesquare {
		float:right; 
		width: 25%;
		border:1px solid #DDD;
		margin:1em;
		padding: .5em;
	}
	@media only screen and (min-width: 86.375em) {
		body.layout--post.wide .article-author-side {
			width: 16.6666666667%;
	    margin-left: 4.1666666667%;
	    margin-right: 4.1666666667%;
		}
	}
	body.layout--post.wide #main article.post {
		width: calc(69% - 50px);
		margin-right:2em;
	}
	h1,h2,h3 {
		clear: both;
	}
	img.half-width.slide {
		width: 50%;
		float:left;
		margin-right: 1em;
    margin-bottom: 2em;
	}
&lt;/style&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.google.com/presentation/d/1LuiduLWau-NA4rxZdeMZ8csNUCzo7B6cwusWWLjr4uM/edit?usp=sharing&quot; class=&quot;btn btn--success&quot;&gt;Slides&lt;/a&gt;      &lt;a href=&quot;https://docs.google.com/forms/d/1hPCIxH8clgxkjGDjDl-y02DhusAvT85MxlXGGdjj0mg/edit&quot; class=&quot;btn btn--success&quot;&gt;Feedback&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So you’ve got no timestamps on a table. Someone forgot to add them, or the column exists, but is mostly null.&lt;/p&gt;

&lt;p&gt;Is it possible to recover the missing data? Yes&lt;/p&gt;

&lt;p&gt;Should you do it? Probably not.&lt;/p&gt;

&lt;p&gt;Each row in Postgres has a hidden metadata column that reveals the ordinality of when it was written. If you learn the secret cord, you too can possibly recover this missing data.&lt;/p&gt;

&lt;h2 id=&quot;tldr&quot;&gt;tl;dr&lt;/h2&gt;

&lt;blockquote&gt;
  &lt;p&gt;tl;dr The xmin column on every row is monotonically increasing (most of the time). Using xmin from rows with known times, you can impute the missing times.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Before we can get into the results, we need to cover a lot of ground on how postgresql works internally. First, some history.&lt;/p&gt;

&lt;h1 id=&quot;pessimistic-locking&quot;&gt;Pessimistic Locking&lt;/h1&gt;

&lt;p&gt;&lt;img src=&quot;/images/forbiddenknowledge/office.jpg&quot; alt=&quot;office&quot; class=&quot;align-left half-width slide&quot; /&gt;&lt;/p&gt;

&lt;!-- &lt;img style=&quot;float:left; width: 50%&quot; src=&quot;/images/forbiddenknowledge/office.jpg&quot; /&gt; --&gt;

&lt;p&gt;Let’s say we’re in the 1920s, and you’re a clerk. You want to check on some accounts of ships that have been at sea longer than expected and update a slate of ships with their status.&lt;/p&gt;

&lt;p&gt;You go to the document shelf and find the book of ships is missing. Your colleague Bobbertson is updating the book, with the latest info from the telegraph, and you won’t be able to read the updates until he’s done.&lt;/p&gt;

&lt;p&gt;This is a form of pessimistic locking, where writes (updates and deletes) are blocking reads. Modern databases allow users to write and read the same rows, but how does that work?&lt;/p&gt;

&lt;h1 id=&quot;optimistic-locking-but-first-what-is-a-tuple&quot;&gt;Optimistic Locking, but First; What is a Tuple?&lt;/h1&gt;

&lt;p&gt;&lt;img src=&quot;/images/forbiddenknowledge/doctor.jpg&quot; alt=&quot;doctor&quot; class=&quot;align-left half-width slide&quot; /&gt;&lt;/p&gt;

&lt;p&gt;When ever you read about databases, authors fluidly switch between the word row and tuple. The postgresql glosery defines the tuple as a synonym for row. History, the row is from the 1960s relational Cod model, but like groovy and far out, people don’t keep using 1960s words for fun.&lt;/p&gt;

&lt;p&gt;For what I can tell, row/tupple is a mater of persepective. When talking about a row, it’s typically from how the application developer would see it. A much more (opisite of abstract) point of view. A tuple is how postgresql views the row internally. When you go to the doctor, you might say “tummy ache”, but the doctor writes in their notes “patient presents with abdominable discomfort”. This point of view opens more lower leval abstrations which a “tummy ache” obsures.&lt;/p&gt;

&lt;p&gt;Talking about tuples allows us to talk more about tuple headers and system columns, and how postgresql impliments MVCC.&lt;/p&gt;

&lt;!-- Think of the blind men and the elephen. They each position themselves around an elephant, and start to feel it.  --&gt;

&lt;h1 id=&quot;so-what-is-mvcc&quot;&gt;So what is MVCC?&lt;/h1&gt;

&lt;p&gt;Postgres uses a form of optimistic locking called Multiversion Concurrency Control. At the core of this technique is the transaction ID. Postgres assigns a transaction ID to each call. When that call writes or updates rows, that transaction id is assigned to a hidden column called xmin.&lt;/p&gt;

&lt;p&gt;When querying, Postgres checks the session’s transaction ID and only returns the tuples with an xmin lower than that session ID. This concept is called visibility.&lt;/p&gt;

&lt;h1 id=&quot;so-how-do-we-find-missing-timestamps&quot;&gt;So how do we find missing timestamps?&lt;/h1&gt;

&lt;p&gt;Let’s say we have the following data:&lt;/p&gt;

&lt;pre&gt;
-------------------------------------
| table_name |  xmin   | created_at |
-------------------------------------
| events     | ...34   | breakfast  |
| users      | ...35   | ?????      |
| events     | ...36   | lunch      |
-------------------------------------
&lt;/pre&gt;

&lt;p&gt;Given that we know the times at transaction IDs 34 and 36, we can reasonably assume that xmin 35 was written at brunch. This is the happy case, and it can work well in many cases.&lt;/p&gt;

&lt;h2 id=&quot;updates-trouble-ahead&quot;&gt;Updates, trouble ahead.&lt;/h2&gt;

&lt;p&gt;When updating a row, Postgres is inserting a new tuple with the updater’s transaction ID, and marking the old tuple as dead, for the vaccum to clean up later. If a read started mid-update, that read won’t see the new tuple until after the update is finished.&lt;/p&gt;

&lt;p&gt;We now know the process that transaction IDs go up with queries, and are associated with when the tuple was inserted, which makes it ambiguous if it’s when a row was updated, or initially created.&lt;/p&gt;

&lt;p&gt;So, on update, you get an insert and a delete. This splits the logical row into two physical tuples. This allows for the reader to finish their query, and the writer to update rows without interrupting readers.&lt;/p&gt;

&lt;p&gt;The big issue for us is that the xmin is not when a row was written, but when the tuple was written, and thus is when the most recent update happened. This means we need to figure out if a given row was updated, or written initially.&lt;/p&gt;

&lt;h2 id=&quot;unhappy-cases&quot;&gt;Unhappy Cases&lt;/h2&gt;

&lt;p&gt;Thus begins our descent into madness explaining the pitfalls of using xmin to backfill dates.&lt;/p&gt;

&lt;p&gt;For this blog post, we’re going to look at a synthetic dataset of three tables. We have events, users, and buildings. You can get the synthetic dataset generating code here: &lt;a href=&quot;#&quot; onclick=&quot;alert(&apos;im sorry but its not ready yet&apos;); return false;&quot;&gt;synthetic_data.rb&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;There are many issues with real-world datasets. The best way to see them is by graphing your data.&lt;/p&gt;

&lt;p&gt;For those of you following along at home, the first step you’re going to want to do is pull out all the timestamp data you do have and make a graph. The export process has two steps. First is a query against the public_schema table to generate the query to export the data we need.&lt;/p&gt;

&lt;div class=&quot;language-sql highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;SELECT&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;SELECT table_name, id, xmin, created_at FROM &apos;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;||&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;table_name&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;||&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos; UNION ALL &apos;&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;AS&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;query&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;FROM&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;information_schema&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;tables&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;WHERE&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;table_schema&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;public&apos;&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;AND&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;table_type&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&apos;BASE TABLE&apos;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;figure style=&quot;float: left; width: 50%;&quot;&gt;
	&lt;img src=&quot;/images/forbiddenknowledge/happycase.png&quot; alt=&quot;Screen shot investor&apos;s report&quot; /&gt;
	&lt;figcaption&gt;
		&lt;!-- &lt;a href=&quot;#&quot;&gt;&lt;/a&gt; --&gt;
		This is the ideal case, you&apos;ve got a solid line showing inserts, and some snow of updates. This is easy to solve. 
	&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;To build a model to backfill dates, we’ll need the table names, their primary keys, the xmin of each row, and the available timestamps. You’ll almost certainly need to modify this query to take into account how your schema uses different ways to store data. Any timestamps stored in an integer column will need to be coerced into a timestamptz column.&lt;/p&gt;

&lt;p&gt;Here, I’m using R, but you can use your graphing program of choice to make these graphs.&lt;/p&gt;

&lt;h2 id=&quot;updates&quot;&gt;Updates&lt;/h2&gt;

&lt;p&gt;Give that an update also updates the xmin column, and that xmin is when the tuple was written and is more akin to an updated at column. We need to separate the rows which have been updated from the rows that have never been updated.&lt;/p&gt;

&lt;p&gt;The simplest technique I’ve found is to perform this divination in each table individually, and this only works on sortable primary keys. Generally, primary keys are monotonically increasing, and are written in order. This is only true when restoring from a dump, and not when backfilling from a .sql file.&lt;/p&gt;

&lt;p&gt;We can step over each row, and compare the xmin of the row to the subsequent xmin. If the row’s xmin is greater, then the row has probably been updated. Here is the R version.&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;language-{r}&quot;&gt;df %&amp;gt;% filter(tbl == &apos;events&apos;)  %&amp;gt;%  mutate(was_updated = xmin &amp;gt;= lead(xmin))
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;There are two issues with this technique. First, an upsert can insert and update rows, and it’s impossible to separate the two. Second, rows updated soon after insertion look like inserts.&lt;/p&gt;

&lt;p&gt;But, we want to recover when a row was written, and inaccuracy is inherent to the process. If you’re reading this post, then something has already gone wrong for you.&lt;/p&gt;

&lt;h2 id=&quot;imports-and-backfills-for-the-cliffs-of-insanity&quot;&gt;Imports and Backfills for the cliffs of Insanity&lt;/h2&gt;

&lt;p&gt;&lt;img src=&quot;/images/forbiddenknowledge/cliff.png&quot; alt=&quot;cliff&quot; class=&quot;align-left half-width slide&quot; /&gt;&lt;/p&gt;

&lt;p&gt;There are two types of updates that can make this task harder, imports and backfills.&lt;/p&gt;

&lt;p&gt;Let’s say you have multiple data stores. Some things are kept in MongoDB, and others are in DynamoDB. You decide you want to do joins, and so you export the data and move it into Postgres. Generally speaking, the rows imported will have the same transaction ID, regardless of the date. This shows up in a graph as a wall or cliff. You can’t trust that cliff, so you’ll need to exclude it from your sample. The big issue with imports is that you often can’t reliably date rows from before the import.&lt;/p&gt;

&lt;p&gt;The other way to make a cliff is mass updates or backfilling data. Say you have a large users table, and you want to rotate all the user’s passwords, or you want to add a login count. This will result in all the rows being updated, which again, creates a cliff. You can either remove the cliffs or work between the cliffs. This isn’t as bad as large imports can be.&lt;/p&gt;

&lt;h2 id=&quot;seaonality&quot;&gt;Seaonality.&lt;/h2&gt;

&lt;p&gt;The synthetic dataset is simple. I created events at random. This is rare in real life, as most processes have seasonality and trend. Transactions at an ice cream parlor have a positive trend, and strong seasonality. People love ice cream on hot days, and tend to enjoy it less in the winter. People are coming around to ice cream being a healthy snack, and the trend for ice cream sales is increasing. You’ll need to figure out if your data has seasonality. More advanced imputation techniques theoretically have more accurate results.&lt;/p&gt;

&lt;h2 id=&quot;norm-violating-assumptions&quot;&gt;Norm Violating Assumptions?&lt;/h2&gt;

&lt;h3 id=&quot;what-is-creation&quot;&gt;What is Creation?&lt;/h3&gt;

&lt;p&gt;Most developers use a created_at column to store when the record was inserted. Other developers past might have a different idea of what creation entails. They might think it’s when another system received the data, or when the event happened. Maybe even when a conversion started. For a chemical spill, it might take weeks before the spill is noticed, days for it to be reported, and hours for it to be ingested. Which date did the developers use? You might have access to the code, or that code might be gone, rewritten into a new language, and not tracked on git. You can see this with Lambda, which is not necessarily tracked by git. For conversions, it could be the initial time of the event, say when a user first came to the site, not when they finally signed up. I suspect this is rare, having only heard about this sort of issue.&lt;/p&gt;

&lt;h3 id=&quot;timezone-offsets&quot;&gt;Timezone Offsets&lt;/h3&gt;

&lt;p&gt;An issue I’ve caused, and uncovered is timezone offsets. A developer might directly connect to production, and start pushing data into production locally. There might be a miss configuration, and so you end up with a constant offset.&lt;/p&gt;

&lt;p&gt;The easiest way to find this sort of issue is knowing the default timezones of past developers. Using git, you can use this command to pull up their emails, sorted by count of commits.&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git log -100 --pretty=format:%ae | sort | uniq -c | sort&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This should give you a hint as to why there might be a discontinuity between IDs and timestamps.&lt;/p&gt;

&lt;h1 id=&quot;actually-backfilling-dates&quot;&gt;Actually backfilling dates.&lt;/h1&gt;

&lt;p&gt;So you’ve isolated your dataset to between the cliffs of insanity, adjusted for timezones, anomalous timestamps, and separated out the updates from plausible inserts. You’ve determined there is no seasonality. How do we actually backfill the data?&lt;/p&gt;

&lt;div class=&quot;sidesquare&quot;&gt;
	&lt;h3&gt;What is interpolation, vs imputation.&lt;/h3&gt;
	Imputation is finding a missing value in a time series, like timestamps and xmin. 
	&lt;br /&gt;
	&lt;br /&gt;
	Interpolation is a technique for doing so.
&lt;/div&gt;

&lt;p&gt;These steps are specific to R, and using the tsimpute library. You could do this in other ways, I’d also recommend a language like python with numpy. I’d recommend against this in postgresql.
You’ll need to convert the timestamps to seconds from epoch, so that math can easier find the times between missing dates.
You’ll sort the dataset you have by xmin, leaving the null timestamps interspersed. tsImpute handles the work of imputing the missing values.
This is for the updates. To do the inserts is the second step. You’ll run this code over just the rows you marked as inserts. If you have a significant number of updates, you’ll have less accuracy on when the rows were initially inserted.
To measure accuracy, you’ll want to split about 20% of the rows with known data off as a validation set. This will allow you to determine how accurate the imputation was. The main metric here is mean absolute error, calculated as such:&lt;/p&gt;

&lt;script type=&quot;text/x-mathjax-config&quot;&gt;
  MathJax.Hub.Config({
  TeX: { equationNumbers: { autoNumber: &quot;AMS&quot; } }
  });
&lt;/script&gt;

&lt;script type=&quot;text/javascript&quot; async=&quot;&quot; src=&quot;//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML&quot;&gt;&lt;/script&gt;

&lt;p&gt;The main metric here is mean absolute error, calculated as such: \(\sum_{i=1}^{D}\|x_i-y_i\|\) It can be helpful to look at distribution of absolute errors, to figure out if there would be any wildly out of range errors, which is possible with estimating the data.&lt;/p&gt;

&lt;p&gt;Once you’ve verified the data is pleasing, you can export the data frame as a csv, and do a bulk update. This will destroy the xmins you used, and you won’t be able to rerun this analysis.&lt;/p&gt;

&lt;h1 id=&quot;explaining-backfilling-dates-for-23000-years&quot;&gt;Explaining backfilling dates for 23,000 years&lt;/h1&gt;

&lt;p&gt;Should you start backfilling these dates, you create problems that you most likely won’t experience, and you won’t be able to advise on. This problem will be experienced by someone with no idea who you are.&lt;/p&gt;

&lt;p&gt;How do you mark that the backfilled dates are not originals? There might come a time when someone notices a date that’s off, maybe a junior analyst who’s trying to figure out why their analysis has some weird artifact, or a user reports a date being way off.&lt;/p&gt;

&lt;p&gt;You could make a new column. But after a while, people will forget what it’s for, and possibly drop it. Or just never use it.&lt;/p&gt;

&lt;p&gt;The oral history of an organization is limited by the person with the longest tenure, which in many organizations is fairly short. This means that after a couple of years, most of the people who remember this project will be gone.&lt;/p&gt;

&lt;p&gt;It’s easy to have an engineering culture with an up-to-date wiki in zirp times, but you might wind up with a “Global Capitol Partners” laying off most of the engineering, and leaving a slowly dwindling cloister of monks to maintain the old abby.&lt;/p&gt;

&lt;p&gt;Documentation lasts longer than memories but suffers from decay. Wiki systems get moved, from GitHub to confluence, to another system. Metadata is lost, the author, the commentary in the margins, dates of creation, and hierarchy in a tree of documents. Documents can become like stone artifacts, out of place and separated from the culture that created them.&lt;/p&gt;

&lt;h2 id=&quot;embedding-dates-into-monumental-architecture&quot;&gt;Embedding Dates into Monumental Architecture.&lt;/h2&gt;

&lt;p&gt;&lt;img src=&quot;/images/forbiddenknowledge/stars.png&quot; alt=&quot;Hoover Dam Star Chart&quot; class=&quot;align-left slide&quot; /&gt;&lt;/p&gt;

&lt;p&gt;At its full capacity, the Hoover Dam, located on the Colorado River, stores a sufficient amount of water to satisfy New York City’s water needs for &lt;a href=&quot;/hoover-dam-nyc&quot;&gt;26 years&lt;/a&gt;. Unless a congressional decision mandates its removal, the dam is expected to endure for the next 60,000 years. To aid future societies, including post-apocalyptic urban explorers, extraterrestrial beings, or mysterious entities like the Nephilim, the architect Oskar J.W. Hansen thoughtfully incorporated a star map when the dam was completed. By examining this diagram, anyone who stumbles upon it in the future would have the means to precisely determine the day the Hoover Dam was constructed.&lt;/p&gt;

&lt;p&gt;I posit that structured data in a relational database has the longest survivability for most companies. The best way to embed explainability into the backfill is to embed explainability is to encode “high salience numbers” into the timestamps.&lt;/p&gt;

&lt;h1 id=&quot;high-salience-numbers&quot;&gt;High Salience Numbers&lt;/h1&gt;

&lt;p&gt;A high salience number depends on the culture of the people maintaining the people maintaining the system. Numbers come and go out of style, and what’s relevant to you, might not be relevant to the next generation. Limiting high salience numbers is the need to fit things into timestamps. A number like 69 for example doesn’t fit into a base sixty-time system.&lt;/p&gt;

&lt;p&gt;The goal here is to break the future person out of their tools, to look at the rows one by one, and examine the data specifically. We can use the  a marker into the factional second portion of the timestamp.&lt;/p&gt;

&lt;p&gt;So the rows should look like this.&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;11:11&lt;/code&gt;&lt;br /&gt;
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;22:22&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Then they fire up psql, and see the same repeating number on all the backfilled dates:&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;11:11:11.111&lt;/code&gt;&lt;br /&gt;
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;22:22:22.222&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This allows almost 12 hours of coverage for timestamps, which should be sufficient for most purposes.&lt;/p&gt;

&lt;p&gt;By seeing the repeating digits, it should prompt them to see it as an artifact of process and to try to google that number, or to look in the remains of the wiki system to see if that number brings up anything.&lt;/p&gt;

&lt;p&gt;A better number for your context should be picked.&lt;/p&gt;

&lt;h1 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h1&gt;

&lt;p&gt;Using xmin to determine dates is possible, but a perilous route to recover missing data. To do so in bulk creates future chaos which can leave people lost and unknowing. Creating timestamps that can be searched for in a wiki system can allow future people to find out what happened.&lt;/p&gt;

&lt;p&gt;When you discover an issue like this, where the application developers cannot be trusted to track row creation, the first step should be modifying the schema to have postgresql track creation for you.&lt;/p&gt;

&lt;div class=&quot;language-sql highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;TABLE&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;events&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;COLUMN&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;created_at&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;SET&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;DEFAULT&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;CLOCK_TIMESTAMP&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This migration is relatively fast, and saves you from needing to track down every process writing to the database updating a long departed developers custom ORM.&lt;/p&gt;

&lt;p&gt;If you have a production database, I’d love a sample, please reach out at eunoia.github@gmail.com&lt;/p&gt;

&lt;!-- 
Cut paraphraphs:

MVCC was first described in David Reed&apos;s 1978 dissertation and then implemented in Postgres v6.50 in 1999 by Vadim B. Mikheev.   https://www.postgresql.org/docs/release/6.5.0/ It&apos;s been part of Postgres for a very long time. 


This causes issues because the event that was inserted between breakfast and lunch now has an xmin that&apos;s closer to the dessert than it was inserted. 

How does MVCC work?

Every query to the database has a transaction ID, even if there is no transaction. 

Postgresql, when running the query checks for rows with a transaction ID below the current transaction ID. 

This allows multi-transaction blocks to see their changes and allows other sessions to not see the changes until the updating session is done. 

Let&apos;s say the second session is updating a row. Updates involve inserting a new tuple and deleting the old tuple. In this case, the tuple to be deleted would be deleted after a fashion. The new tuple would have an xmin higher than the prior session, which would render it invisible. Once the updating session is done, then the tuple can be deleted. 

There are more complexities to this, involving transaction view modes, but this is the model process of MVCC. 
 --&gt;

    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/recovering-lost-timestamps-with-forbidden-knowledge/&quot;&gt;Recovering Lost Timestamps with Forbidden Knowledge&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on October 01, 2023.&lt;/p&gt;
  </content>
</entry>


  


<entry>
  <title type="html"><![CDATA[Buying a tree services company]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/buying-a-tree-service/" />
  <id>https://www.birdnoticing.com/buying-a-tree-service</id>
  <published>2021-10-13T00:00:00+00:00</published>
  <updated>2021-10-13T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;p&gt;My younger brother Elijah is good at trimming trees. He carries his chainsaw up trees, under power lines, pruning trees away from high voltage power lines. While he appreciates the stability of a good union job, he’s struggling to get ahead. His company promotes via nepotism, and since our parents are dead, it’s hard for him to get a raise.&lt;/p&gt;

&lt;p&gt;On nights and weekends, he takes down dead trees for homeowners. When I visit, he’ll often invite me on one of these jobs and pays me as a groundsman.&lt;/p&gt;

&lt;p&gt;On one of our weekly calls, my brother asked me to evaluate buying an established tree trimming business. He was excited about the opportunity, but wanted somebody to do some spreadsheets about it. This is a summary of things I wish I had known.&lt;/p&gt;

&lt;h2 id=&quot;insurance&quot;&gt;Insurance&lt;/h2&gt;

&lt;p&gt;The difference between side jobs and doing tree work professionally is insurance. The three insurances are health, liability, and workers comp. Health has no tree business specifics, so nothing new here. Liability is super cheap, million-dollar policies can be had for about $20. Workers comp is very expensive.&lt;/p&gt;

&lt;p&gt;Workers comp covers on the job injury, and cost is a function of payroll. Office workers, who are at risk of paper cuts and depression, cost about 0.05% of payroll. For every dollar paid to the employee, workers comp wants 5 cents. Higher risk jobs have higher premiums. A tree service that works above 10 feet costs 50%. So every dollar of payroll costs 50c. This means labor costs are much higher. Oftentimes, to avoid adverse selection, the insurance company treats all or none of the employees as going above 10 feet.&lt;/p&gt;

&lt;p&gt;Homeowners often ask, “Are you insured?”. They want to know if the risk of injury or property damage would be covered by the arborist’s workers comp or liability policies, rather than their homeowner’s policy.&lt;/p&gt;

&lt;p&gt;Some owners are less sophisticated and may not understand that tree companies need to carry two types of policies. They’ll accept a liability policy, as proof of insurance, but do not know to ask about workers comp. Savay yet unscrupulous Arborists might hire all their workers as contractors, and have a low cost ‘ghost policy’, which doesn’t cover any of the workers. This way, an Arborist can say, “All employees are on our worker’s comp policy”, not lie, and save money.&lt;/p&gt;

&lt;p&gt;The high cost of the required policies pushes arborist overhead significantly higher. For reference, the smallest law firms have about 20% overhead, larger law firms hit about 40%, while a tree service can hit 60-90% overhead.&lt;/p&gt;

&lt;p&gt;Bringing down a tree for $500 goes almost into the pocket of a guy with tree spikes, rope, and a saw. For a legitimate business, that small job only sees $100 going to the employee. This means there is less room for working extra hours to make up for a budget shortfall.&lt;/p&gt;

&lt;h2 id=&quot;big-trees-little-money&quot;&gt;Big Trees Little Money&lt;/h2&gt;

&lt;p&gt;There is a divide in the tree business. There are the big tree people and aesthetic tree people.&lt;/p&gt;

&lt;p&gt;The big tree people are focused on bringing down big dangerous trees as fast as possible. The bigger the tree, the better the job. They want a big tree for the bravado, not the money. They tend to underbid riskier jobs to get the bragging rights. Homeowners hire these guys based on cost, and job scope. Besides word of mouth, you might find out about them from a small bandit sign made of the just felled tree.&lt;/p&gt;

&lt;p&gt;This is in contrast to the aesthetic pruners. They do smaller trees, removing branches to make the tree more beautiful. They spray a tree with hormones to encourage flowering or discourage fruiting. There are certification programs, karate style belts, and annual awards in this field. These people might run ads in the local fine gardening magazine.&lt;/p&gt;

&lt;h2 id=&quot;capacity-to-scale&quot;&gt;Capacity to Scale&lt;/h2&gt;

&lt;p&gt;Many subject matter expert (SME) businesses are run by a couple. One member provides expertise: lawyering, tree trimming, statistics, etc. The other one runs the business: client engagement, research, billing, taxes, ordering, etc.&lt;/p&gt;

&lt;p&gt;[[Organizations failing to grow past a single person]]&lt;/p&gt;

&lt;p&gt;I had a call with the owner of a San Francisco tree services company. We talked about his business, and how he would love to sell it. He’s hit a wall running more than two crews. Someone good enough to run a crew is good enough to start their own business and often does. One of his concerns in selling would be the buyer ruining his reputation in the local community.&lt;/p&gt;

&lt;p&gt;Growing beyond a couple crews has a steep capital cost. While a chainsaw might not be too expensive, heavy equipment like chippers and trucks and space to store them create a cliff in capacity.&lt;/p&gt;

&lt;h2 id=&quot;literature-and-legitimacy&quot;&gt;Literature and Legitimacy&lt;/h2&gt;

&lt;p&gt;“Tree Climbers’ Guide by Lilly” is the most recommended book to read. The main forum is arboristsite. There are two big trade organizations. ISA (International Society of Arboriculture) is more for science education and smaller &amp;lt;4 people orgs. TCIA (Tree Care Industry Association) is more helpful for larger orgs.  ISA also does the main certifications for arborists. California doesn’t regulate the term “arborist”. I did find that removing a heritage tree in Ojai requires a report prepared by an International Society of Arboriculture certified arborist.&lt;/p&gt;

&lt;h2 id=&quot;financing&quot;&gt;Financing&lt;/h2&gt;

&lt;p&gt;A SME business has two types of assets. The first are hard goods you can touch; a chip truck, a 50-gallon barrel of chain lube, 32 cords of seasoned firewood. All these items could be sold at auction and fetch a market price.&lt;/p&gt;

&lt;p&gt;The other is the book of business. This is why people want to buy a services business rather than starting one from scratch. This is the list of clients, and customers who have recurring deals, annual health checks, wood chip delivery, etc. This is earned, and cannot be readily bought.&lt;/p&gt;

&lt;p&gt;Many people don’t know that the book has enormous value. Many business owners might sell this for a song, thinking the Ford F-550 is where the money is at.&lt;/p&gt;

&lt;p&gt;Pricing a SME business is generally based on a multiple of revenue. Software companies can sell for 10x revenue but in the meatspace, you can best do 2-5x revenue and the market value of the equipment. Calculating the revenue multiple is hard, and often gets pushed down for many factors. Revenue can be seasonal. Some customers might only work with the original founder, and not accept the new owner. Some people might use the change to cancel their orders or try to negotiate lower prices.&lt;/p&gt;

&lt;p&gt;The more successful a business, the smaller the market of people who have cash on hand to buy the business. My brother and I didn’t have six figures on hand to buy a very large business.&lt;/p&gt;

&lt;p&gt;Some business owners want a lump sum. Banks will generally not loan money at a good rate for buying something they can’t easily auction off if you default. Interest rates are often closer to credit card rates than prime. Big equipment might be financeable. Truck yes, chipper, trailer, other things on wheels maybe, saws, barrels of oil, sawmill, nope.&lt;/p&gt;

&lt;h2 id=&quot;comparables&quot;&gt;Comparables&lt;/h2&gt;

&lt;p&gt;I looked at nearby businesses for sale and found a services firm that had a similar energy. The business was night soil hauling. For people who own horses, they would come to your property and haul the shit away. Their motto was amazing. “Road Apples R Us. Hubby won’t haul? Give us a call”. I had a nice call with the couple – that I was helping my brother buy a tree business and wanted their advice. We went over their numbers, and the work involved. Hubby did the equipment and his wife did everything else. They were selling the business for 1x annual revenue and the cost of the equipment. They were willing to carry the note at 5% interest, with no money down. They would also train the new person, and help them come aboard.&lt;/p&gt;

&lt;h2 id=&quot;meeting-the-owner&quot;&gt;Meeting the Owner&lt;/h2&gt;

&lt;p&gt;My brother found the seller via word of mouth. After a job, the homeowner asked him if he needed anything, and my brother, no filter said, a $60k loan for a chip truck. Turns out, the client knew a guy selling a tree business and connected my brother.&lt;/p&gt;

&lt;p&gt;The seller is named RK, and he’s getting older and has a bad knee. He wants to sell and handle a much smaller territory, working only a couple days a week during the busy season, working smaller jobs, and traveling much less.&lt;/p&gt;

&lt;p&gt;Brother had a phone call with RK and saw the truck and equipment. I did some background research, looking at his marketing collateral, positioning, and other intangibles. Brother saw a truck in good working order and a well-run job site. I saw a higher-end business, with an established client base. We both felt like it was a good idea for me to talk with Kelly on the phone, to get a better idea of what he’s trying to do.&lt;/p&gt;

&lt;p&gt;I had a quick call with Kelly, and we agreed to meet in person at his shop in a couple weeks. We met around 5:30 am, and I got to see the shop (tidy, no trip hazards), the equipment, and a Marianne Williamson quote written in Sharpie on the breakroom fridge. From our call, I found out Kelly and Brother had arranged a work date. Brother would join the crew for a day, and see how they interacted. I like what I saw of the shop, well organized, and had no trip hazards. I got to see how RK interacted with the crew. I was offered a spot as a groundsman, dragging brush to the chipper for $25/hr, but I had other commitments that day declined. One of the crew was new, and RK did a great job laying down ground rules and expectations.&lt;/p&gt;

&lt;p&gt;Shop visit on Oct 9&lt;/p&gt;

&lt;p&gt;A week later, RK had a long phone call. We talked about gross revenue in the upper six figures, and revenue per crew, which was around $175k/yr. The equipment would be sold for cash, and the book of business would be sold on a referral basis. People would call Kelly, and he would refer them to Brother and take 15% of the job until they would call Brother directly. This is a pretty good deal. His business is more aesthetic, and he would be teaching brother aesthetic pruning. He did an employee mandate for covid vaccine and went from five crews to one crew with three guys. He still gets jobs, just subs them out. Brother would need to lose weight for aesthetic pruning, but that can happen gradually.&lt;/p&gt;

&lt;p&gt;To me, this seemed like a good deal. Brother and I would put up $50k cash to buy the truck and chipper. Brother would get financing for the truck based on his current job, and then start taking over the book of business. If he failed, he always had the truck.&lt;/p&gt;

&lt;p&gt;The deal would later fall apart because of a lack of risk tolerance, but not before I learned a great deal about trees first.&lt;/p&gt;


    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/buying-a-tree-service/&quot;&gt;Buying a tree services company&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on October 13, 2021.&lt;/p&gt;
  </content>
</entry>



<entry>
  <title type="html"><![CDATA[Is it hard to die from overdosing on Insulin?]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/is-it-hard-to-die-from-overdosing-on-insulin/" />
  <id>https://www.birdnoticing.com/is-it-hard-to-die-from-overdosing-on-insulin</id>
  <published>2020-10-07T00:00:00+00:00</published>
  <updated>2020-10-07T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;p&gt;Yes, and it’s very ill-advised.&lt;/p&gt;

&lt;p&gt;Diabetics try it because of ease of access, but doctors much prefer barbiturates, by a factor of 7.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href=&quot;/z/doctors_who_kill_themselves__a_study_of_the_methods_used_for_suicide_&quot;&gt;Doctors who kill themselves: a study of the methods used for suicide.&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In three cases, absolutely heroic amounts of insulin were injected, and in all three cases, the subjects survived.&lt;/p&gt;

&lt;p&gt;The lethal dose of insulin is very large, requiring a very long time spent injecting.&lt;/p&gt;

&lt;p&gt;In 1934, a T2D woman injects ~390 units of insulin and requires a kilo of dextrose (sugar) to bring back from the brink. For comparison, a small meal might right 5 units of insulin to be used.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href=&quot;/z/a_case_of_attempted_suicide_with_insulin&quot;&gt;A Case Of Attempted Suicide With Insulin (1934)&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;What prevents death is two-fold. Low blood sugar induces panic and a sense of dread. Second, the depot effect slows down the effect of large amounts of insulin.
When insulin is injected, it has a hard time defusing around the collagen matrix right below the skin.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href=&quot;/z/insulin_depot_formation_in_subcutaneous_tissue&quot;&gt;Insulin Depot Formation in Subcutaneous Tissue&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In one case, a young man who had injected 400 units had the slab of skin containing the depot removed from his thigh and made a full recovery.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href=&quot;/z/suicidal_insulin_overdose_managed_by_excision_of_insulin_injection_site_&quot;&gt;Suicidal insulin overdose managed by excision of insulin injection site.&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;


    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/is-it-hard-to-die-from-overdosing-on-insulin/&quot;&gt;Is it hard to die from overdosing on Insulin?&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on October 07, 2020.&lt;/p&gt;
  </content>
</entry>



<entry>
  <title type="html"><![CDATA[Why does constant grazing raise blood sugar?]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/glucose-homeostasis/" />
  <id>https://www.birdnoticing.com/glucose-homeostasis</id>
  <published>2020-09-16T00:00:00+00:00</published>
  <updated>2020-09-16T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;style type=&quot;text/css&quot;&gt;
	#canvas{
	}
	#canvas[cursor=none]{
	}
	#canvas[cursor=pointer]{
		cursor:pointer;
	}
	#canvas[cursor=grab]{
		cursor: -webkit-grab;
		cursor: -moz-grab;
		cursor: -ms-grab; /*what&apos;s edge&apos;s prefix now?*/
		cursor: grab;
	}
	#canvas[cursor=grabbing]{
		cursor: -webkit-grabbing;
		cursor: -moz-grabbing;
		cursor: -ms-grabbing; /*what&apos;s edge&apos;s prefix now?*/
		cursor: grabbing;
	}
&lt;/style&gt;

&lt;p&gt;Your body uses glucose for fuel.&lt;/p&gt;

&lt;p&gt;When you exercise, your body burns up glucose, and when you eat your body gets more glucose.&lt;/p&gt;

&lt;p&gt;When you don’t eat, your body can create new glucose from reserves in the liver.&lt;/p&gt;

&lt;p&gt;Your body has a set point that it returns to when you are not eating or exercising.&lt;/p&gt;

&lt;p&gt;To keep your blood sugar in a tight range, your body uses insulin to lower glucose.&lt;/p&gt;

&lt;p&gt;If your blood sugar is constantly elevated, you become less sensitive to insulin, which leads to a gradual increase in resting glucose.&lt;/p&gt;

&lt;p&gt;Simple steps, like fasting, more intense exercising, or drinking alcohol can increase insulin sensitivity.&lt;/p&gt;

&lt;div id=&quot;canvasContainer&quot;&gt;&lt;/div&gt;

&lt;!-- Placeholder labels... --&gt;
&lt;div style=&quot;display:none&quot;&gt;
	&lt;span id=&quot;label_population&quot;&gt;
		Glucose:
	&lt;/span&gt;
	&lt;span id=&quot;label_catchFish&quot;&gt;
		– Exercise!
	&lt;/span&gt;
	&lt;span id=&quot;label_releaseFish&quot;&gt;
		+ Eat Food!
	&lt;/span&gt;
	&lt;span id=&quot;label_underpopulation&quot;&gt;
		death by&lt;br /&gt;underpopulation
	&lt;/span&gt;
	&lt;span id=&quot;label_overpopulation&quot;&gt;
		death by&lt;br /&gt;overpopulation
	&lt;/span&gt;
	&lt;span id=&quot;label_population_grows&quot;&gt;
		population&lt;br /&gt;grows!
	&lt;/span&gt;
&lt;/div&gt;

&lt;p&gt;Todo:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Move the right slider to show how elevated blood glucose decreases insulin sensitivity.&lt;/li&gt;
&lt;/ul&gt;

&lt;!-- helpers.js --&gt;
&lt;script&gt;
	Math.TAU = Math.PI*2;

	function hitCircle(x,y,mx,my,radius){
		var dx = mx-x;
		var dy = my-y;
		return((dx*dx+dy*dy)&lt;(radius*radius));
	}

	function hitRectangle(mx,my, x,y,w,h){
		if(mx&lt;x) return false;
		if(my&lt;y) return false;
		if(mx&gt;x+w) return false;
		if(my&gt;y+h) return false;
		return true;
	}

	function drawRoundedRectangle(ctx,x,y,w,h,radius){
		
		ctx.beginPath();
		ctx.rect(x,y+radius,w,h-radius*2);
		ctx.fill();
		
		ctx.beginPath();
		ctx.rect(x+radius,y,w-radius*2,h);
		ctx.fill();

		ctx.beginPath();
		ctx.arc(x+radius, y+radius, radius, 0, Math.TAU);
		ctx.fill();

		ctx.beginPath();
		ctx.arc(x+w-radius, y+radius, radius, 0, Math.TAU);
		ctx.fill();
		
		ctx.beginPath();
		ctx.arc(x+radius, y+h-radius, radius, 0, Math.TAU);
		ctx.fill();
		
		ctx.beginPath();
		ctx.arc(x+w-radius, y+h-radius, radius, 0, Math.TAU);
		ctx.fill();

	}

	function getParameterByName(name){
		var url = window.location.href;
		name = name.replace(/[\[\]]/g, &quot;\\$&amp;&quot;);
		var regex = new RegExp(&quot;[?&amp;]&quot; + name + &quot;(=([^&amp;#]*)|&amp;|#|$)&quot;),
		results = regex.exec(url);
		if (!results) return null;
		if (!results[2]) return &apos;&apos;;
		return decodeURIComponent(results[2].replace(/\+/g, &quot; &quot;));
	};

	function drawLabel(ctx, label, x, y, lineHeight){ // WITH NEW LINES
		var lines = label.split(&quot;&lt;br&gt;&quot;);
		for(var i=0; i&lt;lines.length; i++){
			ctx.fillText(lines[i], x, y);
			y += lineHeight;
		}
	}
&lt;/script&gt;

&lt;script src=&quot;/assets/js/Mouse.js&quot;&gt;&lt;/script&gt;

&lt;script src=&quot;/assets/js/Attractors.js&quot;&gt;&lt;/script&gt;


    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/glucose-homeostasis/&quot;&gt;Why does constant grazing raise blood sugar?&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on September 16, 2020.&lt;/p&gt;
  </content>
</entry>



<entry>
  <title type="html"><![CDATA[Orange Juice Pipeline]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/orange-juice-pipeline/" />
  <id>https://www.birdnoticing.com/orange-juice-pipeline</id>
  <published>2020-03-23T00:00:00+00:00</published>
  <updated>2020-03-23T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;!-- Inital Draft: 2019-04-16 --&gt;
&lt;p&gt;Running underneath a sewage treatment plant outside of Orlando, an orange juice pipeline runs from Brazil’s largest orange producer runs to CocaCola’s Simply Orange Bottling plant. How did we get here?&lt;/p&gt;

&lt;p&gt;The juice orange season lasts around three months, and yet orange juice is available year-round. Americans drink about 97.7 pounds per year.&lt;/p&gt;

&lt;p&gt;The orange juice I squeezed as a child was never consistent. Some times with cloying sweetness, other times astringent, or foul-smelling. Nothing like the consistency available from the major conglomerate owned brands.&lt;/p&gt;

&lt;p&gt;Rather than bring fresh-squeezed orange juice to a party, I buy Simply Orange is the brand to bring for mimosas when a friend is hosting brunch because it contains no added sugar, and has a good taste.&lt;/p&gt;

&lt;p&gt;Simply Orange, as well as other pasteurized orange juice producers have scaled a seasonal product by making it available all year, and at high consistency.&lt;/p&gt;

&lt;p&gt;How is that good taste achieved?&lt;/p&gt;

&lt;p&gt;Freshly squeezed juice is not shelf-stable and goes bad fast. Starting in the 1870s, Florida grew oranges for consumers to juice at home. Unlike grain, orange juice doest store well. Each season meant a glut of fruit, and for the rest of the year, there was no orange juice.&lt;/p&gt;

&lt;p&gt;To deal with the cycle, farmers would plant larger groves to try to make enough money to last out nine lean months.&lt;/p&gt;

&lt;p&gt;Toward the end of WW2, the Florida citrus growers cooperative came up with a solution to the glut. A much-despised proto-tang for soldier’s rations. The other: frozen concentrated orange juice. FCOJ allowed people to drink orange juice year-round.&lt;/p&gt;

&lt;p&gt;Boiling orange juice destroys the delicate aromatic compounds that make it so tasty. It leaves you with an acid orange-colored slurry. The innovation with FCOJ was boiling in a low-pressure chamber. Then adding the evaporates back into the juice.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/juice_process.png&quot; alt=&quot;A medicore diagram of orange juice being made&quot; /&gt;&lt;/p&gt;

&lt;p&gt;The post-war era bloomed a proliferation of juice type substances. Each with varying amounts of water, flavors, sugars acids, and actual orange. The FCOJ was the expensive part, and adulterants kept costs down.&lt;/p&gt;

&lt;p&gt;The FDA seeking clarity, heard a series of hearings in 1964 about orange juices. The goal: work out a “standard of identity”. This would formalize what exactly was orange juice, and what was not orange juice.&lt;/p&gt;

&lt;p&gt;A legal definition meant a box labeled orange juice was the ‘same’ as another box labeled orange juice. With fungibility achieved, FCOJ futures started trading. After a hard freeze in the mid-‘60s, brazil started exporting oranges to the US markets.&lt;/p&gt;

&lt;p&gt;By the 1970s, American’s drank 96.7 pounds of juice per person. Anyone who had the desire could drink orange juice.&lt;/p&gt;

&lt;h2 id=&quot;70s---today&quot;&gt;70s -&amp;gt; today.&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;Move from technical innovations in orange juice production to fiscal innovations.&lt;/li&gt;
  &lt;li&gt;Robert Bork changing antitrust’s focus from abuse of market power to consumer benefits. The change in antitrust allowed for concentration in the orange juice sector.&lt;/li&gt;
  &lt;li&gt;oj history to why Cutrale does the work&lt;/li&gt;
  &lt;li&gt;The 2013 lawsuit exposing the details of the Cuteral Code Relationship&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Orange Juice needed technical and fiscal changes before becoming a product for everyone.&lt;/p&gt;

&lt;p&gt;Today, cannabis is a niche product that is starting to go through similar phases to orange juice.&lt;/p&gt;

&lt;p&gt;While smaller indoor grows can produce year-round, large electric inputs increase costs. Mass producing cannabis will be growing outdoors, in soil. Leading to similar seasonal gluts in the market. cannabis also has a long drying and curing time, more like tobacco, but still is best when fresh.&lt;/p&gt;

&lt;p&gt;All growers are small growers. They create a project in small batches, more “artisan handcrafted” that a ‘Simply Orange juice’&lt;/p&gt;

&lt;p&gt;For a product to scale, consistency of the consumer experience is important.&lt;/p&gt;

&lt;p&gt;Simply orange is always the same, everywhere you go. Right now, ‘Blue Berry Crisp’ varies from dispensary to dispensary, and from year to year. This makes it hard to build a brand on a strain when so many variables effect taste.
In cannabis, a consistent product is hard to produce. Cannabis has controlled cannabinoid variables, like THC, or CBD. Before consumption, there are non-psychoactive components that affect flavor and taste. They change structure when handled, exposed to sunlight, and when burned. These chemicals, terpenes, come in several varieties.&lt;/p&gt;

&lt;p&gt;There is already a &lt;a href=&quot;https://hightimes.com/sponsored/hunting-for-terpenes-with-true-terpenes/&quot;&gt;company that measures terpenes&lt;/a&gt; in a batch and can create a custom non-cannabis-derived terpenes blend.&lt;/p&gt;

&lt;p&gt;The cannabis growing season is solar locked. Outdoor grows are harvestable in a narrow window. With a custom terpenes bland, growers can harvest a unique blend of cannabis, abuse the plant to destroy the unique combination of terpenes, and spray the plants to match a signature style.&lt;/p&gt;

&lt;p&gt;Many new brands are popping up in the cannabis space. I’ve noticed two kinds of brands. Those like ‘Willys Reserve’, or ‘Marley Naturals’. They absorb consumer’s trust from Willy Nelson and Bob Marley to their product. There are also brands build around the experience of consuming cannabis. Removing the plant from the experience reduce variables to track, making consistency easier.&lt;/p&gt;

&lt;p&gt;In the 1990s there was a big push for ‘Not from Concentrate’ orange juice, which has less fresh juice than FCOJ.  NFC is more processed than FCOJ.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;“One lady said,‘I don’t care how bad it tastes, I don’t care if it tastes awful, I want, and my customers want, NFC,’&lt;/p&gt;
&lt;/blockquote&gt;

&lt;blockquote&gt;
  &lt;p&gt;if you label one carton NFC and the other FC [frozen concentrate] and make NFC taste worse they still pick the NFC. ”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;People are more attracted to an idea of what quality looks like. Rather than what they perceive to be quality.&lt;/p&gt;

&lt;p&gt;Cannabis is at a stage of the early 1950s of orange juice. There are long term preservation techniques, factories, large scale (indoor) production. After a consistent product, missing is the safe regulatory climate allowing more money to fund growth. Letters to the editor the Anderson Valley Advertiser, a local paper in Mendicino county, are full of tales of woe. Farmers share stories of being subject to more punitive action the more legible to the state you make your farm.&lt;/p&gt;

&lt;p&gt;Should cannabis be a big scale product? For the last half of the 20th century, tobacco growing was a pretty good profession, thanks to government intervention in the form of price supports and limits on how much people could grow. Lots of people grow cannabis, it’s an accessible profession. As cannabis becomes becomes big, the state should fund restorative justice program. Many POC lost years of life to the carceral state because of Nixons programs to punish dissenters. It’s almost inevitable that cannabis becomes large, and the state should eake out this concession.&lt;/p&gt;

    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/orange-juice-pipeline/&quot;&gt;Orange Juice Pipeline&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on March 23, 2020.&lt;/p&gt;
  </content>
</entry>



<entry>
  <title type="html"><![CDATA[Unpassword]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/unpassword/" />
  <id>https://www.birdnoticing.com/unpassword</id>
  <published>2020-01-06T00:00:00+00:00</published>
  <updated>2020-01-06T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;p&gt;Drag this button to your bookmarks bar.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/add_bookmarklet@2x.jpg&quot; /&gt; 
Drag to the bookmarks bar!&lt;/p&gt;

&lt;h3 class=&quot;&quot;&gt;&lt;a class=&quot;bookmarklet&quot; href=&quot;javascript:(function()%7Bvar ip%3Ddocument.querySelectorAll(&amp;quot;input%5Btype%3Dpassword%5D&amp;quot;)%3Bfor(var i%3D0%3Bi&amp;lt;ip.length%3Bi%2B%2B)%7Bip%5Bi%5D.type%3D%27text%27%3B%7D%7D)()%3B&quot;&gt;unpassword&lt;/a&gt;&lt;/h3&gt;

&lt;style&gt;
	.bookmarklet {
		-moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-box-shadow: inset 0 1px 1px hsla(0,0%,100%,.4);
    -webkit-box-shadow: inset 0 1px 1px hsla(0,0%,100%,.4);
    -moz-transition: background-position .1s linear;
    -ms-transition: background-position .1s linear;
    -o-transition: background-position .1s linear;
    -webkit-transition: background-position .1s linear;
    background-repeat: repeat-x;
    background-color: #d3505a;
    background-image: -webkit-gradient(left top,left bottom,color-stop(0,#ee5f64),color-stop(100%,#d3505a));
    background-image: -webkit-gradient(linear,left top,left bottom,from(#ee5f64),to(#d3505a));
    background-image: linear-gradient(180deg,#ee5f64 0,#d3505a);
    border: 1px solid #d13644;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px hsla(0,0%,100%,.4);
    color: #fff;
    display: inline-block;
    font-family: proxima-nova,Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    padding: 11px 45px;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 -1px 0 rgba(142,4,17,.5);
    transition: background-position .1s linear;
    width: auto;
	}
	.btn {
		box-shadow:inset 0px 1px 0px 0px #7a8eb9;
		background:linear-gradient(to bottom, #637aad 5%, #5972a7 100%);
		background-color:#637aad;
		border:1px solid #314179;
		display:inline-block;
		cursor:pointer;
		color:#ffffff;
		font-family:Arial;
		font-size:13px;
		font-weight:bold;
		padding:6px 12px;
		text-decoration:none;
	}
	.btn:hover {
		background:linear-gradient(to bottom, #5972a7 5%, #637aad 100%);
		background-color:#5972a7;
	}
	.btn:active {
		position:relative;
		top:1px;
	}

&lt;/style&gt;


    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/unpassword/&quot;&gt;Unpassword&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on January 06, 2020.&lt;/p&gt;
  </content>
</entry>



<entry>
  <title type="html"><![CDATA[Evan's Brussel Sprouts]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/brussel-sprouts/" />
  <id>https://www.birdnoticing.com/brussel-sprouts</id>
  <published>2019-12-07T00:00:00+00:00</published>
  <updated>2019-12-07T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;p&gt;While preparing Brussel Sprouts for Thanksgiving, I dropped a knife on my foot, severed a tendon, and can no longer walk.&lt;/p&gt;

&lt;p&gt;While most people asked about my well-being, some people only wanted the recipe. One well-wisher who wanted the recipe said it’s his favorite way to eat a vegetable. The header image is of him making the dish.&lt;/p&gt;

&lt;h2 id=&quot;ingredients&quot;&gt;Ingredients&lt;/h2&gt;

&lt;p&gt;Serves 4 as a side, or 8 at a potluck. You need to feel like you’re are over-seasoning and overcooking.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;2 pounds Brussel sprouts&lt;/li&gt;
  &lt;li&gt;1/4th cup olive oil, or butter&lt;/li&gt;
  &lt;li&gt;1/8th cup seasoning&lt;/li&gt;
  &lt;li&gt;2 Tbsp salt&lt;/li&gt;
  &lt;li&gt;1 Tbsp pepper&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;steps&quot;&gt;Steps&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;Preheat oven to 500 deg F.&lt;/li&gt;
  &lt;li&gt;Cut the bottom off sprouts, then quarter. This process will generate free ‘leaves’. Clean leaves should be added to the baking dish.&lt;/li&gt;
  &lt;li&gt;Place quartered sprouts in a baking dish&lt;/li&gt;
  &lt;li&gt;Pour oil, salt, pepper, and seasoning over quartered sprouts.&lt;/li&gt;
  &lt;li&gt;Mix the mixture until sprouts are evenly coated.&lt;/li&gt;
  &lt;li&gt;Place dish in oven uncovered. Cook for at least 90 minutes, but two hours is better. Take out of the oven when the top surface of the sprouts are looking burned, and lower levels are fork-tender.&lt;/li&gt;
&lt;/ol&gt;

    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/brussel-sprouts/&quot;&gt;Evan&apos;s Brussel Sprouts&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on December 07, 2019.&lt;/p&gt;
  </content>
</entry>



<entry>
  <title type="html"><![CDATA[Showing California's Blackouts]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/showing-californias-blackouts/" />
  <id>https://www.birdnoticing.com/showing-californias-blackouts</id>
  <published>2019-10-28T00:00:00+00:00</published>
  <updated>2019-10-28T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;p&gt;As wildfires burn, I was looking at twitter when I saw this tweet from Charlie Loyd talking about a really interesting idea.&lt;/p&gt;

&lt;p&gt;Charlie Loyd - @vruba - &lt;a href=&quot;https://twitter.com/vruba/status/1188683973263687686&quot;&gt;Oct 25&lt;/a&gt;
If I were a data journalist covering California, I might see about pulling tonight’s VIIRS DNB and comparing it to the last clear waning crescent night (or maybe year-ago) to show both fire hotspots and outages.&lt;/p&gt;

&lt;p&gt;One aspect of late 2019’s fireseason has been that late rains caused a build up of dry grass, a hot, dry summer cured that grass, and PG&amp;amp;E is on their final strike before being appropriated by the state for causing wildfires like they caused in 2018.&lt;/p&gt;

&lt;p&gt;In preparation of a large wind event, PG&amp;amp;E shuts down power in the hours/days leading up to the event, leaving municipalities without power.&lt;/p&gt;

&lt;p&gt;@vruba’s tweet is talking about using some of the publicly available data from nasa’s satellite to determine where there have been PG&amp;amp;E shutoffs, and where there is fire.&lt;/p&gt;

&lt;p&gt;I really liked this idea, and spent some time on the 25ths and the 26th looking at this idea.&lt;/p&gt;

&lt;p&gt;This blog post is what I learned in trying to implement this tweet.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;TL;DR Fog makes this hard, play with the data &lt;a href=&quot;https://worldview.earthdata.nasa.gov/?v=-125.4597379687965,36.58251226305093,-120.15037861030908,39.52240546155224&amp;amp;t=2019-10-27-T02%3A33%3A17Z&amp;amp;t1=2019-09-23-T12%3A22%3A39Z&amp;amp;z=1&amp;amp;l=VIIRS_SNPP_CorrectedReflectance_TrueColor(hidden),MODIS_Aqua_CorrectedReflectance_TrueColor(hidden),MODIS_Terra_CorrectedReflectance_TrueColor(hidden),Reference_Labels(hidden),Reference_Features(hidden),Coastlines,VIIRS_SNPP_DayNightBand_ENCC&amp;amp;l1=VIIRS_SNPP_CorrectedReflectance_TrueColor(hidden),MODIS_Aqua_CorrectedReflectance_TrueColor(hidden),MODIS_Terra_CorrectedReflectance_TrueColor(hidden),Reference_Labels(hidden),Reference_Features(hidden),Coastlines,VIIRS_SNPP_DayNightBand_ENCC&amp;amp;ca=true&amp;amp;cv=37&quot;&gt; here &lt;/a&gt;.
Nasa did a nice write up about Kincade here: &lt;a href=&quot;https://earthdata.nasa.gov/worldview/worldview-image-archive/kincade-fire-california&quot;&gt;https://earthdata.nasa.gov/worldview/worldview-image-archive/kincade-fire-california&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2 id=&quot;tonights-viirs-dnb&quot;&gt;tonight’s VIIRS DNB&lt;/h2&gt;
&lt;p&gt;Nasa has several weather satellites that monitor the earth. Most interesting to us is the Suomi National Polar-orbiting Partnership, or Suomi NPP, named for the late Verner E. Suomi, the inventor of the effect of clouds moving on tv weather shows. Polar-orbiting means that the Suomi spins around the poles in 100 minutes. At each pass, capturing the same section of earth at the same time local time each day.&lt;/p&gt;

&lt;p&gt;On the Suomi NPP is an instrument called the &lt;a href=&quot;https://www.jpss.noaa.gov/viirs.html&quot;&gt;Visible Infrared Imaging Radiometer Suite&lt;/a&gt;. It’s a bunch of sensors that measure earth. NOAA uses the data for weather reports, and NASA makes the data available for the general public. The Nasa dataset is known as Earth System Data Records (ESDRs).&lt;/p&gt;

&lt;p&gt;VIIRS is also on other satellites too, so you can get the same data between passes of Suomi.&lt;/p&gt;

&lt;p&gt;One sensor on the VIIRS is the ‘Day/Night Band’ (DNB) which provides nighttime imagery. &lt;a href=&quot;https://earthdata.nasa.gov/learn/articles/viirs-dnb&quot;&gt;https://earthdata.nasa.gov/learn/articles/viirs-dnb&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Most of the censors look at a very narrow portion of the electromagnetic spectrum. The DNB &lt;a href=&quot;http://rammb.cira.colostate.edu/projects/npp/VIIRS_bands_and_bandwidths.pdf&quot;&gt;central wavelength&lt;/a&gt; of 0.7μm, closer to Infrared, and bandwidth 0.4μm, which is 20x wider than the visible light bands, and a range of 0.5 - 0.9µm&lt;/p&gt;

&lt;p&gt;From the DNB sensor, we get a derived product, which is when the data from a satellite is processed and released. &lt;a href=&quot;http://rammb.cira.colostate.edu/training/visit/quick_guides/VIIRS_Near-Constant_Contrast_Quick_Guide_20180709.pdf&quot;&gt;Near-Constant Contrast (NCC)&lt;/a&gt; takes the DNB data and processes it to better handle that the ground reflects way more light in a full moon then an empty moon.&lt;/p&gt;

&lt;p&gt;This is a full list of the products from Suomi NPP:
	* &lt;a href=&quot;https://lpdaac.usgs.gov/product_search/?collections=S-NPP+VIIRS&amp;amp;view=list&quot;&gt;https://lpdaac.usgs.gov/product_search/?collections=S-NPP+VIIRS&amp;amp;view=list&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To download products, you need to create an account here:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://urs.earthdata.nasa.gov/profile&quot;&gt;https://urs.earthdata.nasa.gov/profile&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The data comes back in the form of tiles, and our tile identifier in California is &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;h08v05&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://e4ftl01.cr.usgs.gov/VIIRS/VNP09GA.001/2019.10.23/BROWSE.VNP09GA.A2019296.h08v05.001.2019299113534.1.jpg&quot; alt=&quot;our tile identifier&quot; /&gt;&lt;/p&gt;

&lt;!-- https://e4ftl01.cr.usgs.gov/VIIRS/VNP14.001/2019.10.24/BROWSE.VNP14.A2019297.1042.001.2019299033117.1.jpg --&gt;

&lt;p&gt;This is where you can go to download the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.h5&lt;/code&gt; of data from VIIRS, &lt;a href=&quot;https://e4ftl01.cr.usgs.gov/VIIRS/&quot;&gt;https://e4ftl01.cr.usgs.gov/VIIRS/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A detailing of the file format &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.h5&lt;/code&gt; &lt;a href=&quot;https://earthdata.nasa.gov/esdis/eso/standards-and-references/hdf-eos5&quot;&gt;https://earthdata.nasa.gov/esdis/eso/standards-and-references/hdf-eos5&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is a good tutorial about loading VIIRS data in a jupiter notebook. &lt;a href=&quot;https://lpdaac.usgs.gov/resources/e-learning/working-daily-nasa-viirs-surface-reflectance-data/&quot;&gt;https://lpdaac.usgs.gov/resources/e-learning/working-daily-nasa-viirs-surface-reflectance-data/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Product &lt;a href=&quot;https://lpdaac.usgs.gov/products/vnp14v001/&quot;&gt;VNP14 v001
&lt;/a&gt; has the wildfire/thermal anomaly data.&lt;/p&gt;

&lt;p&gt;My &lt;a href=&quot;https://colab.research.google.com/drive/1BkJEqOVR8SqKajzn8C8o1BSnbhMNXakf&quot;&gt;colab notebook&lt;/a&gt; about the same. I couldn’t find the DNB data.&lt;/p&gt;

    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/showing-californias-blackouts/&quot;&gt;Showing California&apos;s Blackouts&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on October 28, 2019.&lt;/p&gt;
  </content>
</entry>



<entry>
  <title type="html"><![CDATA[Libby Schaaf's true feelings about pothole vigilantes]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/schaaf-pothole-vigilantes/" />
  <id>https://www.birdnoticing.com/schaaf-pothole-vigilantes</id>
  <published>2019-09-03T00:00:00+00:00</published>
  <updated>2019-09-03T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;p&gt;When your favorite artist drops a new single, you cancel your plans and listen. Today’s release? A public records request by someone asking for Schaaf’s emails on Oakland’s pothole vigilantes.&lt;/p&gt;

&lt;p&gt;… on containing emails sent to, from, or copied to Oakland Mayor Libby Schaaf, from January 1, 2019 co Present Day containing any of the following non-case-sensitive key-strings: “pothole” or “vigilantes” …&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://oaklandca.nextrequest.com/requests/19-4347&quot;&gt;https://oaklandca.nextrequest.com/requests/19-4347&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Some poor intern had to print out all the emails containing potholes or vigilantes, and scan the printouts back. For your health, I’ve OCR’d the documents, and pulled out the best parts.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://pdfhost.io/v/lNnEfELxk_Oakland_Public_Records_Request_194347_emails_about_potholes_or_vigilantes_ocr.pdf&quot;&gt;https://pdfhost.io/v/lNnEfELxk_Oakland_Public_Records_Request_194347_emails_about_potholes_or_vigilantes_ocr.pdf&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After a rough start, what do we find?&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Updates from Listservs.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Regular people complaining about potholes&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;311 updates about potholes.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;The Five Year Financial Forecast from 2015 (128 pages)&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;West Oakland business talking about vigilantes fixing potholes (pages 84-95)&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Lime wants a change to an indemnity clause, the city taking more responsibility. They might leave Oakland.(pages 311 - 326)&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Couple important acronyms:&lt;/p&gt;

&lt;p&gt;PCI = Pavement Condition Index, when you drive equipment over a road to “objectively” assess pavement condition.&lt;/p&gt;

&lt;p&gt;MLS = Mayor Libby Schaaf&lt;/p&gt;

&lt;p&gt;SR = Service Request (311)&lt;/p&gt;

&lt;h2 id=&quot;whats-the-wheat-in-this-public-records-request&quot;&gt;What’s the wheat in this public records request?&lt;/h2&gt;

&lt;p&gt;Mayor Schaaf is enthused about the vigilantes. (page 39)&lt;/p&gt;

&lt;p&gt;Probably because the city is kicking ass at filling potholes.&lt;/p&gt;

&lt;p&gt;The mayor has the perfect talking point ready for an interview with KTVU (page 358)&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Our city crews filled 3,311 potholes in one month and I think the Pothole Vigilantes say they’ve completed 50 so far. They’ve got a lot of work to do if they want to keep pace with our crews.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Folks in the hills (38%) don’t like the equity plan. (page 136)&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Does our approach seem fair?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;blockquote&gt;
  &lt;blockquote&gt;
    &lt;p&gt;This is discriminating against the hills, equity should consider amount of property taxes paid, only pavement quality and safety should be metrics used to prioritize streets.&lt;/p&gt;
  &lt;/blockquote&gt;
&lt;/blockquote&gt;

&lt;p&gt;The paving plan sets aside 5% of the budget to district council members. This way, council members can be more responsive to member potholes, offsetting the technocratic vibe of PCI. The email is from April 8th, so the set aside might no longer be the case (pages 111-113)&lt;/p&gt;

&lt;p&gt;The most interesting documents are between the Mayor and Ryan Russo, the director the Department of Transportation, as they hash out a paving plan balancing equity, road need, and squeaky wheels (people wanting a specific pothole filled).&lt;/p&gt;

&lt;h2 id=&quot;what-did-we-learn-in-this-records-request&quot;&gt;What did we learn in this records request?&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Lime is threatening to leave Oakland over indemnity clauses https://thecisforcrank.com/2019/05/13/the-e-scooter-announcement-that-wasnt/&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Increased hiring has lead to more paving.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;From this records request, we can’t tell that the vigilantes had any effect on the paving plan. Given that the paving bond measure passed in 2016, and it’s taken two years to staff up and plan what gets paved, it’s clear the vigilantes have had no effect on the pavement in Oakland.&lt;/p&gt;

    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/schaaf-pothole-vigilantes/&quot;&gt;Libby Schaaf&apos;s true feelings about pothole vigilantes&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on September 03, 2019.&lt;/p&gt;
  </content>
</entry>



<entry>
  <title type="html"><![CDATA[BART looks to subsidize TNC trips around stations]]></title>
  <link rel="alternate" type="text/html" href="https://www.birdnoticing.com/bart-microtransit-pilot/" />
  <id>https://www.birdnoticing.com/bart-microtransit-pilot</id>
  <published>2019-08-26T00:00:00+00:00</published>
  <updated>2019-08-26T00:00:00+00:00</updated>
  <author>
    <name>Evan</name>
    <uri>https://www.birdnoticing.com</uri>
    <email>eunoia.github@gmail.com</email>
  </author>
  <content type="html">
    &lt;!-- https://crosscut.com/2019/08/seattles-microtransit-experiment-drives-people-light-rail-it-working --&gt;
&lt;!-- what if were fucking over poor people in an effort to strike at the gerontocracy that the strikers will eventually inherit? --&gt;

&lt;p&gt;A &lt;a href=&quot;https://web.archive.org/web/20181225182929/http://www.baaqmd.gov/funding-and-incentives/public-agencies/pilot-trip-reduction-program&quot;&gt;recently closed&lt;/a&gt; Bay Area Quality District grant shows Bay Area transit agencies applying for grants to run “microtransit” to and from BART stations.&lt;/p&gt;

&lt;p&gt;The $7MM of grant money targets reducing single-occupancy vehicle travel near mass transit. From most of the grants, that would mean a BART station or regional transit center.&lt;/p&gt;

&lt;p&gt;What is the BAAQD? The Bay Area Air Quality Management District, or “Air District” is tasked with controlling air pollution in the Bay Area. They get &lt;a href=&quot;http://www.baaqmd.gov/~/media/files/finance/fye-2019-proposed-budget-42318-pdf.pdf?la=en&quot;&gt;$154,712,448&lt;/a&gt; the nine bay area counties(from property taxes), auto fees, polluter fees, grants, and give out $43,926,252 in various programs with goals of reducing air pollution from fixed sources (factories, refiners, etc) and mobile sources (cars, trucks, trains, etc.)&lt;/p&gt;

&lt;p&gt;From the &lt;a href=&quot;https://web.archive.org/web/20181224051022/http://www.baaqmd.gov/~/media/files/strategic-incentives/pilot-trip-reduction/fye2019_tfca_pilot_trip_reduction_guidance_final-pdf.pdf?la=en&quot;&gt;application&lt;/a&gt; the requirements for the grant include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Microtransit is pool/line services, but could also be jitneys like busses.
    &lt;blockquote&gt;
      &lt;p&gt;eligible microtransit projects are those that are technology-enabled,
private or public, shared, multi-passenger transportation services that operate on a demand-response
system (e.g., Chariot, TransLoc, DemandTrans, Via, UberPool, Lyft Line) and that are ready to be
deployed.&lt;/p&gt;
    &lt;/blockquote&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Focus on within three miles of stations.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Can’t use long busses (limit of 26,000 lbs)&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;Projects need to be a CARE and priority development area.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A &lt;a href=&quot;https://mtc.ca.gov/our-work/plans-projects/focused-growth-livable-communities/priority-development-areas&quot;&gt;priority development area&lt;/a&gt; is a city/county defined area where they would tolerate new development. The goal is that PDAs will accommodate 2/3rd of new housing and employment through the year 2040. The idea is that cities will designate certain areas for high density, and leave the rest of the space preserved in SHF, retaining their ‘character’.&lt;/p&gt;

&lt;p&gt;CARE stands for &lt;a href=&quot;http://www.baaqmd.gov/community-health/community-health-protection-program/community-air-risk-evaluation-care-program&quot;&gt;Community Air Risk Evaluation&lt;/a&gt; (Program) and covers areas that have really high pollution, according to a 2013 report. The usual suspects, Eastern San Francisco, inner East Bay, San Rafael, poorer parts of Contra Costa County. Also, the tri-valley area.&lt;/p&gt;

&lt;p&gt;Applications were due in March, and in April I filled a PRR for the applications. Finally, in August, 4 months later, I get the applications and supplemental materials.&lt;/p&gt;

&lt;h3 id=&quot;highlights&quot;&gt;Highlights&lt;/h3&gt;

&lt;p&gt;Napa Valley wants an autonomous vehicle(level 5, but human-operated) to rove around downtown as a trolley.&lt;/p&gt;

&lt;p&gt;Bart would like to outsource via an RFP a ‘pool’ services within three miles of Walnut Creek Bart station. It would offer a $6 per trip subsidy, but only for trips that would replace single driver driving alone to Bart.&lt;/p&gt;

&lt;p&gt;Union City wants to run an on-demand service between the industrial area around Atlantic and Doyle to Bart.&lt;/p&gt;

&lt;p&gt;Livermore Transit Authority already has Lyft and Uber onboard to provide pool/line service “GoTriValley” from around the two Bart stations and three ACE stations.&lt;/p&gt;

&lt;h4 id=&quot;what-hath-bart-wrought&quot;&gt;What hath Bart wrought?&lt;/h4&gt;

&lt;p&gt;Bart is anticipating 72k trips per year.&lt;/p&gt;

&lt;p&gt;In a sense, given the estimated $6/trip subsidy, it’s almost like paying $6 * 2 * 20 a $240/m subsidy to drivers. Will it work? Probably not.&lt;/p&gt;

&lt;p&gt;If all Bart hits their target this opens up 277 daily spots in the garage for people further than three miles out to drive to Bart.&lt;/p&gt;

&lt;p&gt;If anything, It might exacerbate traffic around the Bart station, which will make the bus and bike and walk worse.&lt;/p&gt;

&lt;p&gt;Why will it make traffic worse? Because instead of a hard drop off at 7:30am because the garage is full, it will result in more people coming and going. People still take the Bart from Walnut Creek after 7:30am.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/walnut_creek_entries.png&quot; alt=&quot;images/walnut_creek_entries.png&quot; /&gt;&lt;/p&gt;

&lt;p&gt;One focus of BART’s grant application integrating the bike-share, and rideshare partners’ into its ‘Mobility as a Service platform’.&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;The platform offers end-to-end multi-modal regional trip planner that empowers patrons to make an informed decision.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Bart has an app, and they want to add a bike share to it. The current app has recommended some unintuitive routes for me, and it’s not that ideal.&lt;/p&gt;

&lt;!-- It does collect data on trip usage, and it could help cluster people.  --&gt;

&lt;p&gt;For comparison sake, &lt;a href=&quot;https://transitapp.com&quot;&gt;Transit&lt;/a&gt; a Canadian startup found in 2013, has raised &lt;a href=&quot;https://www.crunchbase.com/organization/transit&quot;&gt;$26.6MM&lt;/a&gt; compared to the $578,700 Bart has requested. (Disclosure: I use Transit.app to get around).&lt;/p&gt;

&lt;p&gt;Transit.app already has the integrations that Bart is looking to build.&lt;/p&gt;


    &lt;p&gt;&lt;a href=&quot;https://www.birdnoticing.com/bart-microtransit-pilot/&quot;&gt;BART looks to subsidize TNC trips around stations&lt;/a&gt; was originally published by Evan at &lt;a href=&quot;https://www.birdnoticing.com&quot;&gt;Bird Noticing&lt;/a&gt; on August 26, 2019.&lt;/p&gt;
  </content>
</entry>

</feed>
