• TIL: English and GEOS Reference Points Opposite of Each Other

    This post is less a TIL and more of a I knew that and I don't want to forget it again and stems from a bugfix in Tanzawa.

    In English when we refer to a geo-coordinate we usually say it in latitude, longitude order. The reason why we say coordinates in this order is we could measure latitude accurately (via astronomical measurements) before longitude. Frontend mapping libraries like leaflet.js keep this familiar ordering. i.e. plotting points on a map takes a latitude/longitude array and events have a latlng property for referencing points.

    GEOS, the open source geometry library used in most GIS (include GeoDjango) applications doesn't think of points in those terms, but as a graph of x,y coordinates.  As such if you when you're working with data across these boundaries it's important to not mix up your ordering.

    When instantiating a Point it's tempting to just pass in floats directly. But if you do that it's easy to mix up the ordering , so I've started make sure I always use the keyword argument name to reduce mistakes.

    from django.contrib.gis.geos import Point
    
    # Keep our familiar lat/lon ordering without messing up the data point.
    point = Point(y=35.31593281000502, x=139.4700015160363)
  • The Week #51

    • A Roller coaster? The Great Crash in 1929? I keep trying to find the right way to describe this week, but I can't. Most everything that was under my control went well. Those that weren't, less so.
    • Japan is handling vaccine distribution in a very measured way. There's basically 3 groups of people getting vaccines right now: the elderly, those with pre-existing conditions, and those that work for large companies. If you are none of those, tough luck. To get a vaccine outside of working for a major company, you need a voucher. My voucher is supposed to come sometime next month, but I won't be able to get an appointment until mid-August at the earliest. Which will have me fully vaccinated my October-ish? Maybe?

      When I posted  that I found a clinic that would give a vaccine to anyone, even without a vaccine I couldn't believe it. I could get fully vaccinated before the Olympics and take back 3 months of 2021. I had an appointment for 30th.

      But then I saw reports that the health authorities found out and told them to start canceling reservations for people outside from outside of the ward. Existing reservations seemed to be fine for a couple of days. Then the health authorities dropped the hammer on them and they've been forced to turn away everything without a voucher and everyone from outside the ward.

      And just like that. Poof. My hope for getting vaccinated this summer vanished. Gutted. Who knows, maybe once I get my golden ticket in a couple of weeks  I'll find a clinic that'll let me get vaccinated earlier. 

      Silver lining is that I found out I'll get turned away at the door before taking the day off work and making an hour-ish trip train ride into Ikebukuro. I also won't ended up being unable to get a second shot or have to make a trip to Ikebukuro to get a stamp on my voucher so I can get a second shot.
    • I joined Leo for his first field trip to Kodomo no kuni ( Kid country?) Check the link, they got all sorts of slides, trains, and so forth. We watched the cows, ran up and down a big hill, and Leo bounced on a white bouncing dome. I definitely want to go back when it's cooler and when we're not with a huge group. I expanded my checkin to a proper blog post, which is something I want to do more often.
    • The issue of Web+DB Press that I wrote an article for is finally release for sale. I haven't gained any new followers or gotten mentions, so I assume people aren't running into any issues following along.
    • Another work update – I was the guest this week on BPZM, an internal company podcast(?) / show. It was fun to shoot the breeze in Japanese. One thing I'd like to get better at is off-the-cuff explanations of things in Japanese without having to stop and think. The largest issue ( I think) is I think of how to explain in, then have to reverse the order of some of the explanation for it work in Japanese and I derail my train of thought.
    • I'm trying to focus less on each day and more on the week. I'm not sure if it's helping, but I did manage to run twice this week. Compared to the previous weeks (months) of 0 runs, it's a vast improvement. Yay me.
  • Checkin to Kodomo no Kuni (こどもの国)

    in Yokohama, Kanagawa, Japan
    We went on Leo's first "ensoku" (field trip) with his pre-school. Originally we were supposed to go to the beach, but with covid-19 they don't want people going to the beaches, so we had it at Kodomo no Kuni instead.

    Kodomo no Kuni is this huge park in Yokohama close to Tokyo. Inside they've got some huge jungle gyms, different pedal-powered rides, a full-on dairy farm and heaps of open space to run and explore in. You can buy the milk (to drink on the spot) and soft-serve, which I believe comes from the cows (they have a dairy farm, so it would make sense).

    Since we were with a big group, we just played in this huge field / hill and went and saw the cows. The cows are a major attraction, so much so that the train that comes to Kodomo no Kuni is cow themed.

    Next time I want to go by the cow-themed train!

    The field and huge ground that we played


    The view from the top of the hill. The white domes are bouncy.


    The cows taking a rest
  • Enoden Monaka. Love the packaging of these. The classic style tickets are great.

    Enoden Monaka
  • 🔗 Newsstand

    Google News RSS reader for Mac OS 9 More than 200 curated topics Top news available for 24 countries Designed with an Apple Platinum interface Natively written in Mac OS 9
    The world needs more software like this. So clean and with minimal system requirements. Lovely.
    1. Tagged with
    2. macos
    3. computing
Previous 277 of 719 Next