• I shipped some nice quality of life improvements around webmentions with Tanzawa. There were a few issues with the design that didn't become apparent until I'd used it for a while, especially with older posts.

    Pending webmentions was toggled closed if you had 4 or more webmentions pending moderation. My theory was that drafts and recent posts take priority over moderating, and a long list of webmentions would get in your way.

    As each webmention was triggering a full-page reload, any time you a large queue of webmentions (in my case, anytime I check in somewhere), approving them all was slow and required too many clicks (click to open the webmention list, move the mouse, click to approve, wait for a full reload, move the mouse to open the list, repeat). Moreover a N+1 query snuck into the dashboard, so as webmentions increased the page load got slower, making the entire dance more frustrating.

    Next I noticed that it was difficult to know which page the webmention was referencing. This usually isn't an issue as they are usually referencing the latest post. But sometimes I'd get one referencing older posts and it was a struggle to find it. Initial designs of webmentions had a permalink link but I removed it to keep things cleaner.

    How'd I fix things?

    First, I've added a link to the post back to the moderation view, but without an emoji and in my "help-text" font to reduce visual noise.

    Updated Webmention Design


    Second, I fixed the N+1 query on the dashboard (and post detail). The dashboard is now 7 queries regardless (including session checking etc.). I might be able to make it 6, but it's good enough for now.

    Third, the webmention moderation queue is opened by default, regardless of the number of webmentions pending moderation.

    Lastly, webmentions moderation no longer triggers a full page-reload. Rather it just reloads the list of pending webmentions. And since it's always open, you don't even need to move your mouse to approve the next item in the queue, just click click click. I posted a video on twitter so you can see it in action.
  • Response to Guide on UI customisation ยท Issue #83 ยท jamesvandyne/tanzawa

    I'd donate to you for a theme decoupling. This is high on my list! :)
    I appreciate the sentiment ๐Ÿ˜ƒ. It's not money that's preventing me, it's time.

    I've been thinking about how to handle theming for Tanzawa properly. It's a big task, but not impossible. There's 2 different ways to think of theming: 1) css only changes theme support, 2) complete theme support (i.e. colors and layout). The move from css only changes wouldn't be much less work than allowing full customization.

    Roughly here's what I think would be required:

    • Extract all mentions of tailwind colors from templates/public (e.g. bg-negroni-700 ) and replace them with a common name โ€“ perhaps role based?
    • Create a record / setting somewhere ( django-admin?) to track the active theme.
    • Create a custom template loader (or other shim) that will prioritize rendering with the selected theme's public themes.
    • Set Tanzawa to only include the css of the selected theme.
    • Document how to make a custom theme.

    Theming isn't my top priority, but it's not low either. If anyone is interested helping before I have a chance to get to it, I'm happy to answer questions / provide direction and so forth. ย 
  • Checkin to ๅผฅ็”Ÿๅฐ้ง…ๅ‰ๅ…ฌๅœ’

    in Yokohama, Kanagawa, Japan
    Early morning Sonyan spotting
  • The Week #62

    • This week was my last week at BP. I spent it heads down trying to get one last (part) of a project completed and while I didn't get it polished, I was able to get the basics completed. Literally merged about an hour before I finished. It's nice to have a few weeks free and clear without between gigs.
    • 15 minutes after I finished, I had an on-boarding call with my employer of record (basically my actual legal employer until Octopus gets an entity in Japan), going over paperwork requirements to get fully signed up. It was nice to chat with them. The call itself was mostly in Japanese, but everyone on the call speaks English, so it was interesting to hear word replacement here and there.
    • Covid cases continue their decline and Leo's school was canceled until the end of the month. His school seems to be on the more cautious side of this, as not all schools are canceling in our area. The teachers have a 40-minute zoom activity each day, but Leo has zero interest. It's too much stress (for both of us) just to try and get him to watch or dance with it all, so I think we'll be skipping them.

      Assuming the state of emergency isn't extended beyond Sept. 30th and he goes back to school as per usual starting in October, I'm a bit concerned it's going to be a big struggle each morning again.
    • There's a local farmer's market(?) nearby where local producers can bring their veg for sale. The back wall has the names of photos of the farmers who sell their produce there. I took Leo there with the bike and bought veg that isn't usually in the local co-ops like red bell peppers (not sweet ones, same flavor as the green ones, just red) and butternut squash, as well as some super fresh leaks (negi) that still have moist looking dirt on them. Cutting the negi and it was so fresh it kinda oozed like when you cut some aloe vera to treat a sunburn.ย 

      Best of all, it's helping me live up to my values better by consuming more food that's made locally in my city, rather than some nameless farm in hokkaido or tochigi or even abroad.
  • Technology I Use

    Inspired by James, I'll chime in with the technology I use. Most of it is a few years old at best.

    Computer Setup

    My main computer is a mid-2014 15" Macbook Pro with a 2.8Ghz Intel i7 CPU, 16GB ram, and 512GB SSD hard drive. It got a fresh battery back in January so it should be good for another few more years.

    I do feel the limits of it occasionally, but not often. As it's been a while since I've gotten a new computer, I am getting the urge to replace or augment it. If I replace it outright, it would probably be with another Mac, Thinkpad, or a Frame.work.

    If I were to replace it with a desktop, it would probably be a used Mini PC coming off lease from some business. But since I mostly use my personal laptop from the kitchen table (not my home office), I'd need to remote into the desktop most of the time. But I'm not sure I'd do that.

    Home Server

    I have a 2012 MacMini with 16GB of ram acting as a home media server. I got it from my brother and the clips that hold the ram in are broken / missing (I have no idea how). So it's using a broken cd-r (as is how I received it) to create pressure to keep them in place.

    This server also runs mac OS and is hooked up to my ScanSnap and a Drobo withย  14TB of storage. Since it redundant, only half is actually usable. As is, it'ss fairly under-utilized with just Plex and iTunes. Maybe spending time on r/SelfHosting could improve that. If I were to get a new Mini computer, it would likely be replacing both my laptop and my home server.


    Work Setup

    I've been working remotely / working from home for all but 2 years of the past decade. I've always kept my work setup separate from my home setup in that period. Currently my work computers are provided by my employer and they're generally the latest MacBookPro that's refreshed every 3 years.
    • Keyboard: Happy Hacking Lite2 USB with a US layout
    • Headphones: Airpods on mobile.ย  Sony MDR7506 Professional Large Diaphragm at my desk.
    • Mouse: Magic Trackpad and a random Microsoft Optical mouse
    • Webcam/Microphone: Built in. (I really should upgrade this)
    • Monitor: Dell U2720QM 27 inch 4K


    Software

    • Operating System: macOS Catalina at home, BigSur at work. Ubuntu on my servers.
    • Browsers: Firefox
    • Terminal: Terminal.app / iTerm2
    • Code Editor: PyCharm / emacs
    • Music: Plex / YouTube

    Phone

    iPhone XR (Yellow, 64GB)

    Watch

    Apple Watch (Series 5)

    Site Technology

    This site is powered by Tanzawa, an open source blogging engine I started building about a year ago. Tanzawa is built with Python/Django with a splashes of Javascript (Stimulus) for the maps. Mapping is powered by Leaflet.js.
  • Response to Colin Walker - Sep 7, 2021

    Curating a set of RSS feeds is like stepping away from the agoras and finding a little cafรฉ, somewhere to sit and watch from a distance, to gather the words of the other patrons. Somewhere familiar where we recognise the regulars. We might never interact beyond a nod of appreciation but, in our own way, we come to know these people or, at least, what they allow us to know.
    This is such a good way to think of RSS. Your RSS reader is your neighborhood coffee shop.

    There really is something magical about being able to connect with people over time on the web that's separate from the noise machines.
  • Response to On the indie web... again โ€“ Manu

    The more I think and write about tech, the more I'm convinced that the tech doesn't really matter all that much without the correct mindset. If people are not having more interesting and profound interactions online, it is not for lack of tools. It's for lack of good intentions.
    For as long as there's been the internet there's been "poor" interactions online. Humans, at least part of the time, find a way to argue some of the time.ย 

    The correct mindset can help you have better interactions online. But keeping the correct mindset is quite difficult when you're up against an algorithm that optimizes to keep you enraged and anxious.

    The tech absolutely matters, but only in so much as it allows unadulterated communications and community. You can't find that on the big social networks without really trying hard, but you can find that on the IndieWeb.
  • ไปŠๆ—ฅใฏ@beproud_jpใงใฎๆœ€็ต‚ๆ—ฅใงใ—ใŸใ€‚ๆœฌๅฝ“ใซ่‰ฏใ„ไผš็คพใ€‚ๅŒๅƒšใ‚‚ๅ„ชใ—ใใฆ่‰ฏใ„๏ผ”ๅนดๅŠใงใ—ใŸใ€‚่‰ฒใ€…ใ‚ใ‚ŠใŒใจใ†ใ”ใ–ใ„ใพใ™๐Ÿ™๐Ÿป๐Ÿปใ€‚ ๆฐ—ๅ€™ๅค‰ๅ‹•ใฎๅ•้กŒใ‚’ๅ–ใ‚Š่พผใ‚€ใŸใ‚ใ€ๆฅๆœˆใ‹ใ‚‰
    @OctopusEnergyใซๅ…ฅ็คพใ—ใพใ™ใ€‚๐Ÿ™

    Today was my last day at BeProud. It is a really great company. My co-workers were really nice, it was a good 4.5 years. Thank you for everything๐Ÿ™๐Ÿป๐Ÿป. I'm joining Octopus Energy next month to help combat climate change. ๐Ÿ™
  • So many posts I want to reply to on my blog, not enough time to sit and write a reply.ย  Will have to setup some drafts so I don't forget.
  • ๐Ÿ”— Climate action cannot wait for pandemic to end, medical journals warn

    Global warming is already affecting people's health so much that emergency action on climate change cannot be put on hold while the world deals with the COVID-19 pandemic, medical journals across the globe warned on Monday. โ€œHealth is already being harmed by global temperature increases and the destruction of theโ€ฆ
    Should be common sense that we canโ€™t wait any longer. Hard to believe that heat related among those over 65 is up over 50% in the last 20 years.
    1. Tagged with
    2. climate change
Previous 131 of 360 Next