πŸ—» 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 21, 2021
    by James
    Took my bike to the cafe to work a bit this afternoon. It’s so much fun. I can’t but feel like my parents and peers were sold a lie that driving brings freedom.Β 
    πŸ”—permalink 8 interactions
  • Apr 21, 2021
    by James
    Migrated my graden (MediaWiki) from MySQL to SQLite like Tanzawa so I could shutdown and disable it on my server.Β  I'm also able to start importing checkins from swarm again – love how they look.
    πŸ”—permalink 2 interactions
  • Response to https://twitter.com/simonw/status/1384383772255084546?s=20

    Apr 20, 2021
    by James
    I still think it's rude to return MBs of data if your client device might be an inexpensive mobile phone, but for things like server-to-server API responses I May have been being way too early 2000s in my thinking Turns out returning 10+ MB of JSON works fine these days!
    I used to think similarly until I started thinking about compute in terms of carbon emissions (all data transfer/parsing/sending/storage requires electricity and thus likely carbon emissions for now). Since then I try to minimize all compute wherever possible.
    πŸ”—permalink
  • The Week #41

    Apr 20, 2021
    by James
    • I've migrated my blog from Wordpress to Tanzawa! I made the first commit to Tanzawa back during winter break with this idea of wanting a blog that was comprised of different micro-blogs, dead easy to use, and IndieWeb friendly. I finally finished all of the Wordpress importing code so I could move entire blog over. The import went smooth – the only issue I had was needing to increase my request Timeout settings while Tanzawa rewrote all of the content.

      It's still nowhere near finished and ready for the non-enthusiast, but it's getting closer and I cannot express how excited I am to finally be using it on my main site.
    • I am no longer head of the block. I had two last tasks: deliver the "power of attorney/proxy" sheets that give me (head of the block) authority to approve the next year's directors o the neighborhood association and then attend the meeting to exercise that right, ending my duties.Β 

      My neighbor across the street didn't include all of the signatures required on his proxy-approval form so I had to go collect them. After I collected it, we were going to take a family walk to the neighborhood association building to drop them off.

      I rang their door bell told them the wife came down and I told her what I needed and she invited me inside while she gets their seals. When I looked up her husband (late 60's) was standing there with a huge grin on his face. He motioned for me to come inside and sit on the sofa.

      He offered me a drink. Thinking I'd only be there a second and knowing that my wife would be outside momentarily I refuted. He asked again. I refuted. Finally he looks like a light bulb went off and just gets a wine glass and hands it to me. Can't refuse now.

      I hear my son yelling for me outside.Β  The wife invites them inside and much to my wife's surprise see's me drinking wine and enjoying cheese πŸ·πŸ˜πŸ§€. Β 

      We all had a good chat (mostly masked) before continuing on our walk. The opportunities for these meetings between neighbors are rare these days, especially with covid, but they are the foundation of building a community. I've said it before and I'll say it again, I'm really happy we found such a good neighborhood to call home here in Yokohama.
    • I've been thinking about audio quality as I'm on so many Zoom calls lately and saw this page comparing a bunch of microphones with audio-clips. Usually this type of content would be in a YouTube video or something. Being able to click different players to hear sample recordings is neat. I'm nowhere near deciding or actually purchasing a microphone, but it's still neat.
    πŸ”—permalink 1 interaction
  • 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
Previous 157 of 369 Next
Reply by email
Powered by
πŸ”Tanzawa

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

Web developer living in Japan.