πŸ—» James Van Dyne

✈️Trips πŸ—ΊοΈMaps ✏️️Blog πŸ”—οΈοΈLinks πŸƒRuns πŸ‘‰Now
  • 🏑Home
  • ✈️Trips
  • πŸ—ΊοΈMaps
  • ✏️Blog
  • πŸ”—οΈLinks
  • πŸƒRuns
  • πŸ‘‰Now
  • ✏️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
  • Apr 19, 2021
    by James
    in Yokohama, Kanagawa Prefecture, Japan
    Just finished migrating my blog to Tanzawa! Got some CSS tweaks to make, but super pumped! πŸŽ‰
    πŸ”—permalink 4 interactions
  • Apr 19, 2021
    by James

    Transferred my past project pages, which are more evergreen non-streamy data to my garden. With that finished I just need to find an hour for the migration from Wordpress to Tanzawa.

    πŸ”—permalink
  • Apr 18, 2021
    by James
    I think I've done it. I got all post content importing how I'd like. I've got view to redirect requests to old Wordpress post urls / categories / categories feeds to their new uuid based permalink. I can customize the site name. And I've added pagination to all of the public views.

    Now all I have to do is actually make the switch!
    πŸ”—permalink
  • Apr 17, 2021
    by James
    Got image rewriting working so all posts will use the Tanzawa standard photo insert...and noticed a bug when I import images.

    Photos taken with an iPhone rely on the exif data to indicate the proper orientation. However, I strip all exif data from photos when I save them for saving size and enhancing privacy....

    No exif data to orient the image and vertical images appear sideways. Β The solution is simple: Β rotate the image before stripping / extracting the exif data. Thankfully the fix is simple.
    πŸ”—permalink
  • Checkin to Starbucks

    Starbucks 35.42861 139.506997
    Apr 16, 2021
    by James
    in Kanagawa, Japan
    チャγƒͺγ§γγŸγ€‚γƒ©γƒ³γƒη΅‚γ‚γ£γŸγ‚‰γ€εŸ·η­†γ γƒΌ
    πŸ”—permalink 6 interactions
  • Apr 15, 2021
    by James
    I've got streams being set properly for each category. The last bit is to clean up the content automatically and rewrite / swap out image tags. Particularly photos posted with Sunlit. Posts made with Sunlit are displayed as an <a> tag (which links to your original image with a "-scaled" suffix) and an <img> tag with a source that proxies through micro.blog.

    It also has an attachment of the second photo, which I am automatically inserting into the post.

    I need to extract all <a> tags, detect if their href attribute has a "-scaled" in it, and strip that. Then I can look in my database for that attachment entry in my db and rewrite the tag as a Tanzawa image insert. Shouldn't take too long. Maybe tomorrow.
    πŸ”—permalink
  • Apr 14, 2021
    by James

    Posting with Wordpress feels so clunky. So many buttons and check boxes when all I want is to just click a button and type. I'm really looking forward to getting my blog over to my own system so I can move from a generic cms/blogging system to something streamlined specifically for blogging, and most importantly, how I want to blog.

    I'm already full of ideas for fun pages I'll able to make once my data is in a proper relational format and in a database that supports geographic queries. But first I need to finish porting my data. So close I can taste it.

    πŸ”—permalink
  • Apr 14, 2021
    by James
    There's light at the end of the tunnel. I can import all of my post content, including check meta-data, bookmark urls – everything. The only remaining tasks is to build a custom 404 handler that will redirect visits to the old Wordpress urls to their new Tanzawa permalinks and to use the configured Category -> Stream mapping record.
    πŸ”—permalink
  • The Week #40

    Apr 13, 2021
    by James


    • For the past month I've been thinking about getting a bike. I wanted something with that wasn't a cruiser like our electric assist mama-chari. Something a bit more sporty but not a road bike...a cross bike. I found a nice blue and white Giant Escape for Β₯35,000 (about $350) at a local used goods shop in Totsuka. It already had fenders on it too, as an added bonus.





    • Since the weather's been so nice (it is spring) we took our bikes for a long ride along Sakaigawa with our goal being Iida-farm. We took the scenic route, which was a bit longer at 12km. Iida-farm is a small dairy farm with an attached gelato shop that's popular with cyclists along Sakaigawa. Me and Leo shared a milk gelato and it was great.

    • My dad got his second shot of Pfizer and Japan has just started vaccinating the elderly. With a 4th wave apparently starting, I really wish they'd pick up the pace.

    • I haven't had as much time (or energy) for working on Tanzawa this past week. Part of it is I'm using/saving my energy for work as we're approaching a deadline. The other part of it is writing the Wordpress import code just isn't fun. I've got the import code written and working, I just need to run it through my posts to discover the edge cases I'm not handling and handle them. I think I'm fine leaving a proper polished UI for another day.

    • Jeff analyzed all the Airbot data for 2020 and submitted a PR to adjust the values so it tweets for the top 0.5% threshold. It already appears to be tweeting more! Certainly more than it has the past month (TCEQ blocked our scraper's ip address again – a simple snapshop and restore of the server on a new droplet and we're back in business).

    πŸ”—permalink 1 interaction
  • Checkin to Iida Farm (飯田牧場)

    Iida Farm (飯田牧場) 35.37684378191364 139.4907011449735
    Apr 11, 2021
    by James
    in Fujisawa, Kanagawa, Japan
    Took the bike to get some fresh gelato πŸ˜‹
    πŸ”—permalink 8 interactions
Previous 152 of 364 Next
Reply by email
Powered by
πŸ”Tanzawa

← An IndieWeb Webring πŸ•ΈπŸ’β†’
Photo of James Van Dyne James Van Dyne Japan

Web developer living in Japan.