• The Week #127

    • I migrated my blog from a digital ocean droplet to fly.io. No longer having a background thread running about remembering to do server maintenance and so forth is great. My site is also loading a lot quicker than it was before – how much of that is fly.io vs the server is now in Narita, Japan instead of Germany...I'm not sure. Either way, happy days.
    • And for some more inspiration from Simon Willison I started experimenting with using Github Issues as lab notebook. The base idea is to collect all ideas / findings as I work on a particular issue on the issue as comments and so forth.

      My tweak is, I want to use Brid.gy to post the issue and backfeed my own (or others) comments on them to my own website. Other people's comments should work already, but not your own comments (yet). So I'll either need to write the integration or create an alter ego for posting my comments. Dr. Jekyll / Mr. Hyde could be fun.

      All of these posts will be in the new Tanzawa stream.
    • Leo rode his bike to a friend's house, but the friend wasn't outside, so we continued on to the park for a bit. On the ride back we heard the infamous calling of the yakimo truck. I think of it like hearing the sound of the ice cream man driving around the neighborhood when you're a kid, but for fresh roasted sweet potatoes. He's literally roasting them while he drives around in his truck. A bit of autumn / winter goodness.

      Leo's recently taken to eating sweet potatoes. As we passed him he said they smelled good, so we turned around and bought a couple from him. And they were really good. The insides were starting to caramelize... I'm looking forward to hearing that siren song again.
  • Response to Allow editing of bookmark/reply titles

    Tanzawa is a blogging system designed for the IndieWeb that focuses on sustainability. - Issues Β· jamesvandyne/tanzawa
    It's currently not possible to edit the title of bookmarks / replies without using the Django admin. This is an issue because sometimes the title contains meta information that you wouldn't want to appear in a comment / blog post.

    An example title when posting a new issue from Tanzawa

    This is especially true as I try to experiment with creating Tanzawa issues on my blog and backfeeding all comments, with the goal of effectively keeping the "lab notebook" of the GitHub issues to also be on my website.

    There is an edit button that, when clicked, allows you to edit the the title.

    Implementation Details
    This should be implemented using htmx and act as the first page to allow us to remove turbo from Tanzawa.
  • Checkin to Single O Hamacho

    in Chuo, Tokyo, Japan
    Woke up late, but still getting my coffee. First cup of the day is always the best.
  • Running Tanzawa with Fly.io

    Taking a page out of Simon Willison's Coping strategies for the serial project hoarder presentation, I'm going to write a blog post about what I've done on my projects as part of the "unit of work".

    One of the largest hurdles to running Tanzawa is one that plagues any Django app: getting it setup properly on a server. This usually involves connecting to a server, setting up a gunicorn or uWSGI server to run the app, editing nginx configurations, and fiddling with systemd, at a minimum.

    Each of these are a large barrier to entry. All of them combined means only the most dedicated users would attempt to use it. And the reality is nobody will use it.

    Making Tanzawa easier to install and run has long been a goal of mine. For a while my approach was to basically automate my own setup on Digital Ocean. I attempted this with two puppet scripts: one, created an Ubuntu server that automatically applied security patches and installed Docker, and the second would build a Tanzawa image to run on the server. Using puppet would also allow flexibility for people to host wherever they wanted.

    Ultimately this approach was flawed because you'd still end up needing to maintain a server, even if it updates itself.

    Getting Tanzawa to run on a fully managed platform like Fly.io would lower the barrier to entry quite a bit as it would remove the need to maintain a server and fiddle with configuration files. After migrating my blog from a Digital Ocean to Fly.io, I documented how others can do the same.

    Hosting with Fly.io is now the recommended way to use Tanzawa.
  • I’ve migrated my site to fly.io. Let me know if anything is amiss.
  • The Week #126

    • A week off of Twitter and I find I don't really miss it. There's also been a number of really good blog posts and videos about this current moment in social media / internet space and time. The one that I'm finding that resonates the most with me is PSA: Do Not Use Services That Hate The Internet.
    • I got Tanzawa running, or at least 500ing on on fly.io. This time next week, I should hopefully have my blog off of my own server and on to fly.io, hopefully with some instructions for how you can do the same as well.Β 

      This is one task that's been eating at me for a while. There's been some features that I've wanted that would require background tasks and or cron jobs. Processing tasks/cronjobs in my current setup would require me to add more processes to the server and is a non-starter, so I've been at an impasse. I'm using uWSGI to run Tanzawa on Fly, like I do with Sunbottle, which solves the background task issue as well. I'm excited about working on Tanzawa again.Β 
    • We've been going to the park near our house more on the weekends. Leo has gotten good enough at riding his bike that he can go down the hills using his brakes. For the uphill portion of the journey, I usually push him on the back to give him a boost. This weekend we practiced going up the hill while standing and pedaling, which got him further than he usually does. I really enjoy watching him just cruse around the park on his bike from area to area – it's almost like an extension of his being.
    • While at the park, the firemen from the fire station across the street invited us over and let the kids sit inside the fire engine (both the full size and the small kei-version). The fire station also got delivery of a new ambulance (set to replace the current one), but we couldn't see inside that one, not even they've been in it yet.
    • Last night around story time, rather than laying down in his spot to listen to stories, Leo was trying to avoid going to sleep so he laid on me and told me to read to him there. Of course that's not going to happen because we both can't see the book at the same time. I told him lights out (no story) unless he lays in his spot. He didn't move, so I turned off the lights and he did something he hasn't done since he was a newborn: he fell asleep laying on my chest πŸ₯°. Back in those days he was much smaller and couldn't even cover my torso. Now, he's well past my knees. I let him lay there for a while before moving him over so I could relive the "old" days and think happy thoughts.
  • Bookmark of How to Weave the Artisan Web

    Everyone should start blogging again. Own your own site. Visit all your friends' sites. Bring back the artisan, hand-crafted Web. Sure, it's a little more work, but it's worth it. You don't even need to stop using social media! It's a "yes, and" situation, not a "no, but" one.
    Agree with this 100%. Having β€œThe Week” is what has kept me blogging and building my own site.
  • Checkin to Starbucks

    in Yokohama, Kanagawa, Japan
    Cinnamon roll and letter practice with Leo.
  • Seeing the future

    When I was considering joining Kraken my major motivation was wanting to actively work in an organization that's combating climate change. Especially with a young son, it felt irresponsible to be so worried about something and yet not actively doing anything about it.

    One of the unique things about Kraken, besides the people, is that it's not just a software company. It's part of a larger group of companies that are all addressing different aspects of the energy transition.

    Parts of the group are working on grid flexibility. Others are working on electrifying households with solar panels, heatpumps (installation and manufacturing), and EVs. And others are building and managing wind farms and solar farms.

    And on the inside you can see the work of the entire group, the work of the energy transition, all happeningΒ  at pace. All deploying their part of the solution. It's so very clear that all of this is the future.

    When you can see the future like this, a future with clean air generated with an abundance of clean electricity used intelligently, you can't help but be motivated to show up and do your part to make it a reality everywhere.

    It's like being part of a solarpunk story, but it's not fiction. If this sounds interesting to you, we're hiring worldwide. I'm happy to answer questions as well, so email or @ me on Mastodon.
  • Checkin to Single O Hamacho

    in Chuo, Tokyo, Japan
    Coffee and a jaffle. Muffins weren’t baked yet ☹️
1 of 273 Next