๐Ÿ—ป James Van Dyne

โœˆ๏ธTrips ๐Ÿ—บ๏ธMaps โœ๏ธ๏ธBlog ๐Ÿ”—๏ธ๏ธLinks ๐ŸƒRuns ๐Ÿ‘‰Now
  • ๐ŸกHome
  • โœˆ๏ธTrips
  • ๐Ÿ—บ๏ธMaps
  • โœ๏ธBlog
  • ๐Ÿ”—๏ธLinks
  • ๐ŸƒRuns
  • ๐Ÿ‘‰Now
  • โœ๏ธArticles
  • ๐Ÿ“ค๏ธReplies
  • ๐Ÿ’ฌStatus
  • ๐Ÿ”–๏ธ๏ธBookmarks
  • ๐Ÿ—บCheckins
  • ๐Ÿ“…The Week
  • ๐Ÿ–ฅTech
  • ๐ŸŒฒSustainability
  • ๐ŸƒRunning
  • ๐Ÿง Thoughts
  • ๐Ÿ‡ฏ๐Ÿ‡ตJapan
  • ๐Ÿ’กTIL
  • โ›ฐTanzawa
  • ๐ŸกHome
  • โœ๏ธArticles
  • ๐Ÿ“ค๏ธReplies
  • ๐Ÿ’ฌStatus
  • ๐Ÿ”–๏ธ๏ธBookmarks
  • ๐Ÿ—บCheckins
  • ๐Ÿ“…The Week
  • ๐Ÿ–ฅTech
  • ๐ŸŒฒSustainability
  • ๐ŸƒRunning
  • ๐Ÿง Thoughts
  • ๐Ÿ‡ฏ๐Ÿ‡ตJapan
  • ๐Ÿ’กTIL
  • โ›ฐTanzawa
  • Checkin to Tokyo Regional Immigration Bureau Yokohama District Immigration Office (ๆฑไบฌๅ…ฅๅ›ฝ็ฎก็†ๅฑ€ ๆจชๆตœๆ”ฏๅฑ€)

    Tokyo Regional Immigration Bureau Yokohama District Immigration Office (ๆฑไบฌๅ…ฅๅ›ฝ็ฎก็†ๅฑ€ ๆจชๆตœๆ”ฏๅฑ€) 35.38782502245333 139.6477426432584
    Aug 07, 2019
    by James
    in Yokohama, Kanagawa, Japan
    Hopefully the last time at immigration for a while (7 years?). Picking up my permanent residence. Yโ€™allโ€™re are stuck with me. :-)
    ๐Ÿ”—permalink
  • The Art of Warez

    Aug 03, 2019
    by James

    Just saw this pop up on HN. What a nastolgia trip back to my teenage years staying up until 3am every night on irc and chatting with people from around the world and downloading all the software I could get my hands on.

    Without those years I wouldn't be where I am today.


    The Art Of Warez from oliver payne on Vimeo.

    ๐Ÿ”—permalink
  • Aug 03, 2019
    by James

    Checked in at Starbucks Coffee ่—คๆฒข่–่’ฒๆฒขๅบ—. A nice morning trip to Starbucks with the family. Leo has had his first yogurt and banana at Starbucks.

    ๐Ÿ”—permalink
  • Checkin to Starbucks

    Starbucks 35.40105948758166 139.4417372864494
    Aug 03, 2019
    by James
    in Fujisawa, Kanagawa, Japan
    A nice morning trip to Starbucks with the family. Leo has had his first yogurt and banana at Starbucks.
    ๐Ÿ”—permalink
  • Recent End to End Testing Preferences with Django

    Aug 02, 2019
    by James

    When testing in Django there's two basic ways to make an End-to-End test for your view: use the test client to send a request to the server or create a fake request object and manually call your view function.

    One isn't "better" than the other, but I've come to prefer using the mock client over the fake request for the following reasons:


    1. Client tests hit the entire stack of code before executing your view allowing you to catch any conflicts with a middleware or settings and your view.

    2. Url Path tests come for free. When testing with fake request objects you can put any path you'd like in there and it will execute missing that bad merge where your url config change removing an endpoint.

    3. It's (slightly) easier to reason about. If I'm writing a test to confirm X happens when Y is posted I make Y and post it rather than making an object that pretends Y was posted.

    4. It removes the friction to refactor your views. As long as the url stays the same, you can rename and move your view however you'd like without changing any of the tests. This makes it easier to create a more consistent codebase e.g. some views use the verb "save" while others use "register".

    ๐Ÿ”—permalink
  • Jul 31, 2019
    by James

    Another post dinner walk to watch some trains.

    ๐Ÿ”—permalink
  • Jul 26, 2019
    by James

    Checked in at ใƒ‡ใƒ‹ใƒผใ‚บ ๆน˜ๅ—ๅฐๅบ—. Gave in and let Leo have his first fry.

    ๐Ÿ”—permalink
  • Checkin to Denny's (ใƒ‡ใƒ‹ใƒผใ‚บ)

    Denny's (ใƒ‡ใƒ‹ใƒผใ‚บ) 35.39638951434699 139.4668459765965
    Jul 26, 2019
    by James
    in Fujisawa, Kanagawa, Japan
    Gave in and let Leo have his first fry.
    ๐Ÿ”—permalink
  • Jul 24, 2019
    by James

    It was a hot one today ๐ŸฅตLovely after dinner walk to watch the trains come and go.


    ๐Ÿ”—permalink
  • Jul 24, 2019
    by James

    Checked in at Shake Shack. Went for a single this time. But itโ€™s nice and warm outside. Perfect burger weather.

    ๐Ÿ”—permalink
Previous 198 of 360 Next
Reply by email
Powered by
๐Ÿ”Tanzawa

โ† An IndieWeb Webring ๐Ÿ•ธ๐Ÿ’โ†’
Photo of James Van Dyne James Van Dyne Japan

Web developer living in Japan.