🗻 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
  • Jan 25, 2021
    by James
    I've got webmentions working with the great django-webmention library. I'm parsing mention's microformats using mf2py and mf2util. It's not too difficult.  You can send a webmention and I'll receive it. They just won't show on the page. And that's because I'm not sure how I want them to display.

    For example a "like" doesn't necessarily have an author name, just a url. Or even no author at all. How do I display these? Do I just not display them?  What's the appropriate microformat html for this type?  Rich content or plain content? What if the plain content is in markdown? And repeat for each different kind.

    I wanted to add support for receiving webmentions, as that way I can see if someone's linking to the tanzawa development blog, but I'll I think I'll hold off on display until I've had a chance to think through the implementations more.
    🔗permalink
  • Jan 24, 2021
    by James

    I got my Mac back from repair and have promptly resumed working on Tanzawa. Today I shipped RSS feeds. Subscribe to the Tanzawa feed to follow development.

    🔗permalink
  • Jan 24, 2021
    by James
    Today I  merged RSS support (feed), properly microformatted statuses, and automatic plain text conversion of statuses. Next up is some basic site settings, so you can set things like site title / feed title and so forth.
    🔗permalink
  • Jan 23, 2021
    by James
    Computer is repaired and I'm making progress on Tanzawa again. Today I've got the statuses rendering as microformats and made an author page. Next up will adding RSS support for statuses.
    🔗permalink
  • Checkin to カメラのキタムラ 藤沢・湘南T-SITE店

    カメラのキタムラ 藤沢・湘南T-SITE店 35.334232 139.46425
    Jan 23, 2021
    by James
    in Fujisawa, Kanagawa, Japan

    Picking up my fixed computer. What a sight for sore eyes.

    🔗permalink
  • 🔗 Robin Rendle › Newsletters

    Jan 22, 2021
    by James
    Yet websites are treated as these embarrassing, ugly, ad-riddled things, whilst newsletters have established some kind of prestige for themselves somehow.
    I saw this article about newsletters and how people like them more than websites despite the web having all these pretty fonts and layout capabilities.
    That misses the point. Good writing is good writing irrespective of fonts and typography.
    Newsletters are usually read via a mail client. This means those articles already use beautiful (licensed) system fonts. They’re already downloaded onto your system so they load instantly. They’re hand curated by yourself. They’re in your inbox. No infinite scrolling or comments or faff.
    People like newsletters more than the web because they don’t use RSS and mail clients stopped including RSS readers.
    1. Tagged with
    2. blogging
    🔗permalink
  • 🔗 Oliver Smith for Dreamstate Artist Series (January 10, 2021)

    Jan 19, 2021
    by James
    Oliver Smith on #InsomniacTV for a special, 2-hour edition of the #Dreamstate Artist Series livestream! 💙 Stay Home and dance with #OliverSmith

    Follow Insomniac founder, @Pasquale Rotella: https://instagram.com/pasqualerotella

    https://InsomniacShop.com - Use code INSOMNIACTV for 10% off!

    Follow #InsomniacTV:
    Facebook: https://facebook.com/InsomniacTV93
    Twitter: https://twitter.com/InsomniacTV93
    Instagram: https://instagram.com/tv.insomniac

    Follow #InsomniacEvents:
    Facebook: https://facebook.com/insomniacevents
    Twitter: https://twitter.com/insomniacevents
    Instagram: https://instagram.com/insomniacevents
    Tik Tok: https://www.tiktok.com/@insomniacevents

    Listen-In:
    Spotify Playlist: https://open.spotify.com/playlist/4WVOpoFeIDUri7FiF1gRid
    Soundcloud: https://soundcloud.com/insomniacevents
    Mixcloud: https://www.mixcloud.com/insomniacevents/

    Shop: https://insomniacshop.com

    Watch on Twitch: https://www.twitch.tv/insomniac
    This set by Oliver Smith is absolutely banging. Especially at the 18 minute mark. I know what's going to be on loop this week.
    1. Tagged with
    2. video
    3. music
    🔗permalink
  • The Week #28

    Jan 19, 2021
    by James


    • I made good progress on Tanzawa this week. Last week I got image uploads working. This week I got the base of what is required for image uploads to preserve privacy and reduce energy consumption.

    To preserve privacy, Tanzawa is automatically stripping all exif data. But rather than just throwing it away, I’m archiving it in json in database. Why?

    Two reasons: 1) I can’t quite articulate the sales pitch well yet, but I want Tanzawa to become your home on the internet, exif data is your data, and Tanzawa should facilitate you accessing / using your data as much as possible. 2) You could totally build a photoblog or Flickr-like gallery very easily with Tanzawa if only you could access exif data...and you can.

    The other goal is to be as “low-energy” as possible. Do as little computation as possible and send as little data across the wire as possible. To that end images are now automatically converted to webp the first time a user visits the page with a browser that supports it. Subsequent visits will get the pre-converted image. No need to introduce background tasks (two extra processes, redis and celery) to reformat pictures that may never be used. 🙌🏻

    Once Pillow supports avif (seems soon), it will offer that as well, for even more savings.

  • With all that focus on Tanzawa, I didn’t run once in the mornings. Running in winter is hard.

  • My mid-2014 MacBook Pro’s battery finally bit the dust becoming quite unreliable. I took it in to the local authorized repair shop to get it replaced and since it’s “vintage” they have to order parts from Apple, and thankfully they still have some in their warehouse.

    Upon the initial inspection the battery had started to bulge as well, but I hadn’t noticed. They’re replacing the battery and the top case for about ¥30,000 (300 usd). Much cheaper than a new machine, especially as it meets my needs perfectly.

    No computer for a week means no code progress on Tanzawa, but it does give me time to plan and run again.


  • One of my goals as if late is to reduce meat consumption and increase veggie intake. We’ve been doing well, in most dishes using half the meat we’d normally use and adding veg in its place. As we can’t really go out and eat, ^1 I bought a book that had vegan recipes from around the world. A lot of the recipes are curries and sorts from India, Vietnam, Thailand or already vegetarian dishes from the Middle East and such — foods with flavors we would normally only get by eating out. I’m excited to try it out.

  • I found and binge watched Pretend it’s a City, a documentary about Fran Lebowitz. She’s hilarious and there’s a lot of lovely shots of New York.


  • ^1 despite a state of emergency, nothing technically stopping us from eating out, except for a fear of getting a virus and death.

    🔗permalink
  • Jan 16, 2021
    by James

    Bought a new book to read with Leo before bed.



    🔗permalink
  • Jan 16, 2021
    by James
    Today's feature is a non-user facing feature: allowing tanzawa to be configured using a .env file via django-environ. Beyond letting me keep production settings / paths / secret keys out of git or keeping a separate settings.py for production, it also let me enable secure session cookies. Secure cookies with some apache/nginx configuration allows the url generated when you upload an image use https instead of http, which keeps the padlock in your browser locked.
    🔗permalink
Previous 162 of 360 Next
Reply by email
Powered by
🏔Tanzawa

← An IndieWeb Webring 🕸💍→
Photo of James Van Dyne James Van Dyne Japan

Web developer living in Japan.