๐Ÿ—ป James Van Dyne

โœˆ๏ธTrips ๐Ÿ—บ๏ธMaps โœ๏ธ๏ธBlog ๐Ÿ”—๏ธ๏ธLinks ๐Ÿ‘‰Now ๐ŸƒRuns
  • ๐ŸกHome
  • โœˆ๏ธTrips
  • ๐Ÿ—บ๏ธMaps
  • โœ๏ธBlog
  • ๐Ÿ”—๏ธLinks
  • ๐Ÿ‘‰Now
  • ๐ŸƒRuns
  • โœ๏ธArticles
  • ๐Ÿ“ค๏ธReplies
  • ๐Ÿ’ฌStatus
  • ๐Ÿ”–๏ธ๏ธBookmarks
  • ๐Ÿ—บCheckins
  • ๐Ÿ“…The Week
  • ๐Ÿ–ฅTech
  • ๐ŸŒฒSustainability
  • ๐ŸƒRunning
  • ๐Ÿง Thoughts
  • ๐Ÿ‡ฏ๐Ÿ‡ตJapan
  • ๐Ÿ’กTIL
  • โ›ฐTanzawa
  • ๐ŸกHome
  • โœ๏ธArticles
  • ๐Ÿ“ค๏ธReplies
  • ๐Ÿ’ฌStatus
  • ๐Ÿ”–๏ธ๏ธBookmarks
  • ๐Ÿ—บCheckins
  • ๐Ÿ“…The Week
  • ๐Ÿ–ฅTech
  • ๐ŸŒฒSustainability
  • ๐ŸƒRunning
  • ๐Ÿง Thoughts
  • ๐Ÿ‡ฏ๐Ÿ‡ตJapan
  • ๐Ÿ’กTIL
  • โ›ฐTanzawa
  • Response to Weโ€™ve all been there: on boolean environment variables.

    May 19, 2021
    by James
    Environment values are strings. True becomes "True" and False becomes "False".

    And, well, what does "False" evaluate to? True. True.
    I think the best way to handle settings with Django is to use django-environ.ย  Not only does it handle .env files. It also has a lot of utility methods for converting values to native python types ( bool, list etc..) and using database urls. It's great.

    My airbot settings.py uses it. My airbot settings also lets you specify the path for your .env with the ENV_FILE environment variable, so you can create different files for different environments.
    ๐Ÿ”—permalink 1 interaction
  • May 18, 2021
    by James
    Managed to spend an hour on the bike today. Feel much better. Kinda want to add a small cargo e-bike to the fleet but itโ€™s too soon.
    ๐Ÿ”—permalink 2 interactions
  • The Week #45

    May 18, 2021
    by James
    • I checked my DMs on twitter for the first time in a couple of months and I found a request to send me a DM from early March. I don't recall ever getting a notification. It was from a TV producer in Houston wanting to to a segment about my Airbot and @kuukihouston. C'est la Vie.
    • The tomato seeds have come out of the ground and the bell peppers have just started peaking out. I may yet eat some "free" veggies yet.
    • We got visited by a Japanese white gecko (yamori). They're known as protectors of the house and an omen of good luck. Good luck as he may be, he's not allowed in the in the house. Kicking him out of the entrance was a fun 3 minutes with a broom while Leo and Yumi watched.
    • Ever wondered how to trim trees next to high voltage power lines in the middle of the forest? If you answered "with 8 huge circular saws spinning from a helicopter", you'd be correct. How do I know? I watched Summer in the Finnish Lake District on Arte.tv. It (like most of the documentaries I watched on Arte.tv) was in German, but had English subs.ย 

      It makes senses sense that a machine as hardcore as this would come from Finland, after they, they do have the highest number of metal bands per capita. Recommended, if only to watch a helicopter with saws dangling from it trim trees next to high voltage power lines.
    ๐Ÿ”—permalink 2 interactions
  • Checkin to ใŠใ‚ใง้ฏ›็„ผใๆœฌ่ˆ—

    ใŠใ‚ใง้ฏ›็„ผใๆœฌ่ˆ— 35.39657314447918 139.4657255065886
    May 16, 2021
    by James
    in Fujisawa, Kanagawa, Japan
    Taiyaki!
    Taiyaki
    ๐Ÿ”—permalink 10 interactions
  • ๐Ÿ”— ใƒฏใ‚ฏใƒใƒณๆŽฅ็จฎใƒ—ใƒญใ‚ฐใƒฌใ‚นใƒใƒผ

    May 16, 2021
    by James
    Vaccine Progress Bar

    Vaccinating Japan... 1.238% Complete
    A nice page that helps visualize the (glacial) rollout of the covid-19 vaccine in Japan. Worth checking every so often to see progress bar move. Averaging 200k shots / day. 1240 days until completion, 732 days until 60% herd immunity. ๐Ÿ˜ฑ

    1.238% Complete
    1. Tagged with
    2. japan
    3. pandemic
    ๐Ÿ”—permalink
  • May 15, 2021
    by James
    Accidentally deleted my local develop database. Good excuse to start building out the first run screens in Tanzawa.

    First run form
    ๐Ÿ”—permalink 1 interaction
  • Checkin to ๅพก้œŠ็ฅž็คพ

    ๅพก้œŠ็ฅž็คพ 35.419478 139.510347
    May 14, 2021
    by James
    in Yokohama, Kanagawa, Japan
    Morning shrine vibes.
    Shrine Vibes
    ๐Ÿ”—permalink 9 interactions
  • May 12, 2021
    by James
    Launched a fun feature in Tanzawa today: Search. There isn't a direct link to a search page, but clicking the place name in a post will search for all posts within 2km of that post.

    Search results
    ๐Ÿ”—permalink 5 interactions
  • The Week #44

    May 11, 2021
    by James
    • This past Sunday was Mother's Day. A few weeks ago ( Week #38 ) when Leo and I went to Kamakura we dropped by the Ghibli shop. They have these great My Neighbor Totoro pots and for Mother's Day, you could order them with flowers. I couldn't order it in the shop with Leo (toddlers aren't the most patient people) and luckily I could order it online. It came early and is a great addition to the front of the house.
      Totoro welcoming visitors
    • Last week we planted some seeds in some containers and they've started sprouting! So far just the corn and the green beans have started popped out. I'm still skeptical that it'll all live long enough for me to actually eat, but for now I'm remaining positive.
      Green beans sprouting
    • I cycled to two new parks with Leo. I really love the range that a bike, especially an electric assist bike with all of the hills, gives you. The more I ride my bike, the less I'm convinced EVs are "the" solution for personal transport with regards to climate change. This isn't surprising for me, as I've never been a fan of cars in general.

      It's not the energy or space required to made and keep cars, it's that they encourage sprawl, dominate our neighborhoods and hog our resources. Self-driving EVs doesn't change that equation. Cities should be designed for people and cars tend to get first consideration when designing the streets. More people on bikes for more trips would make the streets safer and connect people with their neighbors.
    • The new Anthony Bourdain, World Travel, an Irreverent Guide, book arrived and I've started reading it. The parts that Tony wrote are in blue. Even though he died a couple years ago, I can hear in it in his voice when I read it. One day I hope that I can write half as good as he did.
    ๐Ÿ”—permalink
  • May 09, 2021
    by James
    in Fujisawa, Kanagawa Prefecture, Japan
    Summer feels like itโ€™s arrived early this year. Great time to watch some trains.

    Watching the train
    ๐Ÿ”—permalink 1 interaction
Previous 141 of 357 Next
Reply by email
Powered by
๐Ÿ”Tanzawa

โ† An IndieWeb Webring ๐Ÿ•ธ๐Ÿ’โ†’
Photo of James Van Dyne James Van Dyne Japan

Web developer living in Japan.