• Still a bit of a work in progress, but I think I've got the Trip list page sorted. Clicking on the title or the map takes you to trip detail page. Also introducing my first top nav link ๐Ÿ˜ฑ
    Trips list page
  • Checkin to DEAN & DELUCA

    in Fujisawa, Kanagawa, Japan
  • Checkin to PRONTO

    in Fujisawa, Kanagawa, Japan
    Ice coffee while Leo gets his haircut.
    Iced coffee
  • Checkin to SOTETSU GOODS STORE ไบŒไฟฃๅท

    in Yokohama, Kanagawa, Japan
    Finally got the yellow train!
  • A bit more progress. Reworked the data model as I've figured out how I want the feature to work. Can also update existing trips, too.

    Almost finished Trip Form
  • Response to Three Years After Greta Thunbergโ€™s Strike, Adults Are Failing Children on a Global Scale

    The fundamental goal of the adults in any society is to protect their young and do everything they can to leave a better world than the one they inherited. The current generation of adults, and those that came before, are failing at a global scale.
    I agree with that and I can't understand why the older generation doesn't seem to care. Is it really just "change is hard" and "not gonna effect me"?

    Using my talents to make a direct impact to allow for systemic change is my major motivator for changing jobs.
  • How to Handle Pluralization and Internationalization in Django Templates

    This is written in the docs, but it was a first time for me to handle. Your templates can start to get very verbose when you really start supporting i18n support.ย 

    For strings directly in your templates you can use the blocktrans plural tag. ( Note this changes a bit with Django 3.2, blocktrans becomes blocktranslate ).

    {% load i18n %}
    {% blocktrans count counter=object_list|length %}
    {{ object_list }}ไปถ
    {% plural %}
    {{ object_list }}ไปถ
    {% endblocktrans %}

    For master data that has a dedicated DB column, you can use the get_language_code from the i18n package.

    {% get_current_language as LANGUAGE_CODE %}
    {% if LANGUAGE_CODE != "en" %}
        {{ my_model.foo }}
    {% else %}
        {{ my_model.foo_en }}
    {% endif %}
  • Making a bit of progress on the create trip form.

    A bit of progress
  • ๐Ÿ”— Treat yourself to the 90s club aesthetics of the Wipeout games

    Virtual clubbing, you say? Itโ€™s tough to top Psygnosisโ€™ Wipeout series and its legacy, starting with composer Tim Wright aka CoLD SToRAGE. So letโ€™s queue up a mix.
    Great mix.
    1. Tagged with
    2. video
    3. nostalgia
    4. music
  • The Week #58

    • Delta continues its rise in Japan. I don't have much to add beyond "wow, politicians are daft". Ignoring citizens when they overwhelmingly didn't support the Olympics continuing, holding the Olympics, then telling citizens to just forget about traveling home for the holidays...I understand the request (and agree with it), but people aren't going to listen. It's like throwing a giant house party, then the next day, hungover, telling the rest of the neighborhood they can't throw parties โ€“ you've lost moral authority to make such requests.
    • It's been raining non-stop for what feels like a week. Areas in Kyushu have gotten a meter of rain in a couple of days. The constant rain has saturated the ground and there's mudslide warnings in much in the mountains. How saturated you ask? Water is coming up from the ground where it shouldn't.ย  While the 19 - 22 degree days have been a break from the usual 33 degree summer days, I think I'm ready for some blue skies.
    • Last week was Leo's "summer vacation" from school. We didn't go much of anywhere, but Leo got to play with his cousins almost everyday as they were at the grandparent's house nearby. I know he's growing up because he declared that he's not going to school and his still on vacation. ๐Ÿคฃ
    • I started working on Tanzawa again for the first time in what feels like ages. Which is funny as just a couple of weeks ago I said I wasn't going to work on it for a month. Tanzawa Trips is one of the "tent pole" features I had in my mind when I first decided to build a blogging system and I'm happy to finally be starting it.
Previous 134 of 360 Next