Resources for San Francisco Bay Area parents

Events and Activities

Crime

  • Citizen app has real-time alerts of police and fire department activity: http://www.citizen.com
  • Megan's Law map: https://www.meganslaw.ca.gov

Mailing lists

Living in San Francisco without a car

Example round trip of 10.7 miles (total time: 5.5 hours), assuming 24 miles per gallon and $3.60/gallon gas price

Running awscli inside of Docker

If you have docker, you can run Amazon's awscli inside a docker container using wtanaka/alpine-37-uid-awscli (source). To use it:

  1. Download it, e.g. with:

    curl https://raw.githubusercontent.com/wtanaka/docker-alpine-37-uid-awscli/master/aws > aws

    or alternatively:

Using docker to replace all command line programs

Sometimes you want to run the same version of a command line program across many operating systems. Maybe your development environment is in Mac OSX and your CI system or production environment is Ubuntu. In these cases you can use Docker to package the command line program into a container which will then be consistent everywhere.

Wesley's Software Philosophy v1

  • Immutability and referential transparency enable simplicity.  Achieve them when possible.
  • Shared state increases complexity and reduces parallelism.  Avoid it.
  • Fail as fast as possible.  The earlier you detect buggy code or invalid data, the less complicated the fix.
    • Use as much static analysis as you can, including linting and static type checking.
    • Prevent bad data from propagating forward through your software, instead of writing unboundedly complex software to handle it. 

Airtable vs Google Spreadsheets

For the past few years, I've used Google Spreadsheets when I wanted to create a small database quickly. Database concepts can be implemented using spreadsheet formulas. Each spreadsheet tab represents a database table; Joins and queries use VLOOKUP (or MATCH/INDEX to optimize); GROUP BY queries are either pivot tables or other formulas. As VLOOKUP count increases, performance goes down, but it's worked reasonably well and Google Spreadsheets is free!

However, there are a few issues:

bootCI

Hosted CI services are becoming more popular. Each service runs your build and tests inside a different operating system with different software pre-installed. If the environment doesn't have the right dependencies installed, you are often encouraged to install them using that CI service's configuration system.

Comparison of Free hosted CI services for open source or public repositories

Many free hosted contiuous integration (CI) services exist. These services will automatically compile code, run tests, against commits or pull requests against your source code repositories, and are even able to deploy the new code to your production servers if all of the tests pass. Some offer free builds for open source or public repositories, giving free compute resources to these projects.

App launch checklist

Stock photos

Unsplash is a repository of free photographs that can be used for stock photography or any other purpose including commercial purposes.

Pages

Subscribe to Wesley Tanaka RSS