• I've started working articles with Tanzawa. Fundamentally they're the same as notes, except they have a name. Authoring an article looks much the same as a status.

    Authoring an article in Tanzawa


    Viewing an article on Tanzawa adds a title to the top. I also revisited the "byline" and made it italic. I've added light gray border to the footer of the post so you can visually tell when a post ends. The main post list view also has been updated to use this same color.

    An article in Tanzawa


    Once I add some tests to confirm that micropub is assigning post kinds properly I think I can ship article support. Once shipped, I may modify my publishing schedule from "at least one post a day everyday" to a weekly round upย  plus a status note or two as I have work to share.
  • Checkin to ไปŠ็”ฐ้Šๆฐดๅœฐ

    in Fujisawa, Kanagawa, Japan

    Bicycle and dog walking



  • The first step to being able to add new articles or bookmarks is to provide a way to navigate to the "new article" page.ย  Here's what it's looking like so far.

    Clicking New Status text will take you directly to new status page, while clicking on the green / disclosure triangle will expand the menu. All of this is done with the great <details> tag and a bit of css. Zero Javascript โค๏ธ.

    New Post Button
  • Response to Facebook Blocks News in Australia, Diverging With Google on Proposed Law

    With Australia moving to make the tech companies pay for news, Facebook took a hard line, while Google has struck deals to pay publishers.

    Government services and NGOs and more getting blocked on Facebook so they don't need to pay journalists for the work. Another example of why shouldn't rely on free platforms. You need a site that you own and to encourage people to use it else your work just becomes "collateral damage".

    The sooner the world stops using Mark's site as an internet portal the better.

  • Another week another feature coded and launched. This week I managed to get streams built and launched. You can see them on the right. Clicking each stream will filter the posts by the streams you selected when writing your post.

    Steams can also be set via micropub if the client just sends a matching slug in the "category" property. Streams have feeds accessible at /<slug>/feed. You can subscribe to just Tanzawa status updates with status feed. As I can only author statuses on the backend right now this feed will match the main feed.

    The other visual change you'll notice on the site is more navigation items on the left. Clicking on them allows you to navigateย  between streams.

    Tanzawa Streams Navigation


    With Streams finished, the next step for Tanzawa is going to be to allow me to author the various kinds of posts that would appear in these streams.

    For articles I need to add posts with titles (technically supported via micropub, but titles aren't visible anywhere). Replies are more complex as I need to capture the url we're replying to, grab / parse the page for author / summary data and let the user customize it. It's a big task, but it will also finally let me start integrating Turbo in the admin.
  • Feeling a bit tired today but not wanting to break the chain of progress, I managed to get just a little bit done today.

    I implemented Stream RSS feeds. This allows readers to subscribe to just a specific stream, rather than the entire river. You could also use the stream feeds to selectively syndicate content elsewhere e.g. I want all my status and article posts to syndicate to micro.blog, but not my checkins.
  • When authoring a post you can now select which streams you'd like for them to appear in.ย  As each stream can have different visibility settings we show them along with the stream in understandable terms.

    Selecting streams with Tanzawa


    Next up is adding feeds for each stream type and setting the stream on micropub requests.
  • I started work on implementing streams this morning. This is what it's looking like on the public side with the default streams. Feels nice to be working on user-facing features again.

    Tanzawa with streams


  • The Week #32


    • Last week I had forgotten an interesting tidbit about my self-introduction presentation at work. During my presentation I introduced some of the apps I'd built for the Mac โ€“ ImageXY and Jisho. ImageXY was popular in Japan for its first couple of years and one of my co-workers actually used to use it all the time! First time Iโ€™ve met a random user of ImageXY!

    • The covid vaccine was finally approved in Japan and they're starting to vaccinate doctors and nurses this week. Still no idea when I'll be able to get my prick, but I imagine it will be sometime this summer. Speaking of getting the shot, I found out my grandma got her second covid vaccine shot last Wednesday. Woohoo!

    • I had my annual health check this week. As nobody is going in to the office, we are free to do our health check anywhere. I went to a a clinic In Minatomirai, as it was the closest to my house. The clinic itself was the top two floors of a high rise. We carried a little rfid card at each station and see a nurse/tech for the test, and finally a doctor briefly at the end to cover the results. Hope I can use this place next year too.

    • There was a large earthquake off the cost of Fukushima. It was about a 4 where I live in Yokohama, certainly the strongest and longest quake I've felt in a while. It reminded me of 3/11 in someways as just when you think it was going to stop it just kept getting stronger. I was fast asleep when it started, but you can see my heart rate from my Apple Watch about when it hit.

    • This week Leo turned 3. He has his official "chocolate debut" as he picked out a chocolate cake decorated like a panda. He must not have been impressed with the hype around chocolate as he only ate 2 bites.

    • I watched this good documentary called Winter in Stockholm. I hadn't realized how much I miss watching documentaries like these randomly on TV.

  • No coding today. Planning and thinking about how to implement Streams, one of my core ideas behind Tanzawa.

    Streams will help you categorize and posts and blogs. You have a running stream, a status stream, a checkins steam. Each stream is independent of each other and each stream flows into the main Tanzawa stream.

    Posts of any kind can appear in any stream. Streams will be listed on the left and have their own feed.ย  In micropub parlance these would be tags or categories.ย 

    Some streams may be unlisted streams, entirely off the map, hiding all contents from anyone that isnโ€™t logged in.ย 

    Once streams are working, I can start modeling checkin and address data requirements and add support to micropub.

    โ€”โ€”โ€”

    The other thing Iโ€™m starting to think about is how other people could start using Tanzawa. Initial setup a little involvedย  as SQLite needs Geo extensions installed to work. A Docker container would be easiest to make it all work, but even thatโ€™s a hurdle to getting started.ย 

    I could provide hosting, but Iโ€™m not sure I want that kind of responsibility yet.ย  One step at a time.
Previous 156 of 359 Next