Author: David Faden

  • California cities

    Here’s something fun: boundaries for cities in California: https://lab.data.ca.gov/dataset/california-city-boundaries-and-identifiers. Working with this in R: > library(sf)> cities <- read_sf(“~/Downloads/California_Cities_and_Identifiers_Blue_Version_view_-6943741225906831761.gpkg”) There are a few columns with the city names; “CENSUS_PLACE_NAME” and “CDTFA_CITY” (CA Department of Tax and Fee Administration?) agree so let’s just use “CDTFA_CITY” > sum(cities$CENSUS_PLACE_NAME != cities$CDTFA_CITY)[1] 0 It’s nice to see that there…

  • Hack to get DBeaver a JRE

    I was happy to get DBeaver to build, following the directions at https://github.com/dbeaver/dbeaver/wiki/Build-from-sources: git clone https://github.com/dbeaver/dbeavercd dbeaver/tools./build.sh But the new app was failing to run: cd ../product/community/target/products/org.jkiss.dbeaver.core.product/macosx/cocoa/aarch64open DBeaver.app A dialog was popping up: A short term hack I found: just copy “jre” from the installed version of DBeaver: cd DBeaver.app/Contents/Eclipsecp -r /Applications/DBeaver.app/Contents/Eclipse/jre .rm -rf jre/Contents/_CodeSignaturecd…

  • Julia sets in Julia

    I decided to draw some Julia sets for my first little project in Julia: https://github.com/fadend/JuliaSetCycle Example output: I’m pretty happy with that, at least for a start. One thing that has surprised me is the focus on running things via the REPL, which on second thought reminds me of R. See, e.g., How do I…

  • Interview with Ginny Hunt of Seedhunt

    Huge gratitude to Ginny Hunt of the wonderful Seedhunt.com, “Seeds of California Native Plants and More”, for being up for answering a few questions via e-mail. Previous articles about her work include “Unusual Seeds For Curious Gardeners” (2004; Archive), “Sowing Wildflowers” (2009; Archive), “Hunting for seeds: Watsonville woman”s website offers hard-to-find natives, salvias, restios” (2018;…

  • Geophyte filter in Calscape

    I see that it’s been just a little over a year since I heard back about volunteering with Calscape, a little under 11 months since my first commit (“Allow setting calscape server under test via flag”). It’s been a good year working with the Calscape folks and other volunteers, and I hope it’s something I’ll…

  • Willow seeds germinated within 6 days

    The young one and I planted some willow seeds recently. I was impressed to see yesterday that they had germinated in at most 6 days. (I wasn’t checking them everyday so I’m not sure exactly when they germinated.) It’s thrilling to see these little leaves. I want to say “new life”, but I shouldn’t forget…

  • “use of `continue` for control flow is discouraged”

    This comment caught my attention: https://github.com/scikit-agent/scikit-agent/pull/19#discussion_r2112768829 use of continue for control flow is discouraged. Is it? I see Guido cautions against using continue in a finally block in https://peps.python.org/pep-0008/: Use of the flow control statements return/break/continue within the finally suite of a try…finally, where the flow control statement would jump outside the finally suite, is…

  • “Growing Up in Los Altos”

    Recently, I finished a little book that I enjoyed: “Growing Up in Los Altos” by Barbara Collins Callison. One thing that catches my attention is mention of playing in Adobe Creek during the summer. In more recent times, it dries up before making it through what is now Shoup Park (although the section in the…

  • Non-unique species names

    If you’re given a species name of the form genus + specific epithet, does it uniquely identify a particular species level taxon? Nope. In R, playing again with taxa.csv from https://www.inaturalist.org/taxa/inaturalist-taxonomy.dwca.zip, provided by iNaturalist: (This reminded me of an old conversation I had on r-sig-mac: https://stat.ethz.ch/pipermail/r-sig-mac/2008-September/005304.html.) Extracting the non-unique species: Here’s a spreadsheet with the…

  • Percent of Iowans in county with OB Unit

    Following up on my previous post, Obstetrical care in Iowa, I was curious what percentage of Iowans are in a county with an OB Unit. We can get this pretty easily using the handy usdata R package in combination with the data we extracted previously. With this preamble, now we can take a weighted mean…