-
The Week #53
by- This week Iโm mostly writing in a retrospective, rather than bit-by-bit throughout the week. Itโs proving harder than I had anticipated.
- Blake shared a link to fireworks adverts from a Japanese company in the 1880โs in the US.ย I love the colors so much. Ads of this period are always interesting. Humans havenโt changed as much as weโd like to think.
- Leo got sick for the first time in as long as I can remember. It just a cough, but we decided to pull him from pre-school for a day so he could visit the doctor and not spread it to other kids. His cough woke up him a couple of times at night, which in turn woke me up, so I'll need a bit more coffee to power through the day.
- We went to Afternoon Tea in Fujisawa for the first time in ages with Leo for tea (well, I always get coffee/iced coffee). I was totally surprised how well Leo did. He managed to wait patiently for 20 minutes (!) while we waited for a table. He also waited patiently for our scones to come. Achievement unlocked?!
- I built a little robot out of paper-straws with Leo (well, really he just watched). It was from a little kit made for elementary school students. His name is aru-kun after the Japanese for walk "aruku".
Arukun
-
byI've started working on post visibility support in Tanzawa. It's the first big feature I've worked on in a while. Also a great opportunity for me to up test coverage to make sure visibility is consistent between RSS/Feeds/Streams/Micropub.
Adding post visibility support -
The Week #52
by- One year of The Week without missing a single post ๐. Creating this weekly post got me back into blogging regularly again and gave me an opportunity each week to reflect on life. Initially I thought I'd reference previous posts more, but in practice I don't. One year ago I had just gotten my Apple Watching, helping me start my 4:30-ish wake ups,ย just grokking micropub, and running into issues with Wordpress. Now I still wake up at 4:30 (mostly naturally), wrote a micropub server, and ditched Wordpress for a custom blogging engine. What a year.
If you're trying to start a blog or you have a blog and want to blog regularly, I can't recommend a weekly roundup enough. Keeping the format a simple bullet list makes it easier to write as you don't need a fancy narrative or worry about how to connect the points. You can just write. - We booked a weekend trip to Atami for before the Olympics later this month. But with the huge landslide that happened, I don't think we can feel good relaxing when there's search and rescue happening a kilometer away. Hopefully we can reschedule it for a later date.
- In Covid-19 news this week, Kanagawa prefecture has finally rolled out it's "cancel-waiting" notification system via LINE this week. The idea is when there's a cancellation for a vaccine appointment, they'll contact people who've registered with the system and you can take the appointment with your phone. It helps reduce vaccine wastage.
- Meanwhile in Edokawa-ku in Tokyo, they delayed sending out the vaccine voucher to foreign residents by an entire week because "we needed to prepare translations". It boggles my mind. Foreigner residents can read Japanese, too? Even if we can't we can figure it out for a week while you prepare documents?ย
Note this also was true for older residents who should already have their vouchers,ย but don't because they're not Japanese. If this wasn't for a life saving shot weeks before a massive international sporting event, I'd be a bit more understanding. - I fixed a few bugs with Tanzawa and have been getting some good issues opened in the repository that's helping me find issues in my (lack) of documentation. I'm starting to think I need to make a more "formal" documentation, but not quite sure what to use / where to host it yet. The "default" for the Python community is readthedocs (and thereby Sphinx?), but I have yet to look into how to set that all up.
- I got completely caught up on Trying, a good sitcom about a couple in the UK trying to adopt a child. It's a really good show. And I enjoy the main character's accent. AppleTV+ may not have the quantity of shows that Netflix does, but you can count on quality.
- One year of The Week without missing a single post ๐. Creating this weekly post got me back into blogging regularly again and gave me an opportunity each week to reflect on life. Initially I thought I'd reference previous posts more, but in practice I don't. One year ago I had just gotten my Apple Watching, helping me start my 4:30-ish wake ups,ย just grokking micropub, and running into issues with Wordpress. Now I still wake up at 4:30 (mostly naturally), wrote a micropub server, and ditched Wordpress for a custom blogging engine. What a year.
-
๐ Django & Celery in production
byDjangoCon JP 2021 ็บ่กจ่ณๆ
Djangoใง้ๅๆๅฆ็ใๅฎ็พใใใใใซใใใไฝฟใใใฆใใCeleryใใใ Djangoใปใฉ็ฅ่ฆใๅ ฑๆใใใฆใใชใใใใใชใใจใชใไฝฟใฃใฆใใใจใใๆนใๅคใใฎใงใฏใชใใใจๆใใพใใใใฎใใใชๅ ดๅCeleryใไฝฟใใใใใซใใใพใงใฏ้ ่ชฟใงใใๅฎ้ใซ้็จใใฏใใพใฃใใใจใซๅฐใใใจใๅบใฆใใพใใไพใใฐใใญใฐใฎไฟๅญใใชใใฉใคใฎ่จญ่จใใใใญใคๆฆ็ฅใชใฉใ
ใใฎใใผใฏใงใฏใCeleryใDjangoใใญใธใงใฏใใงๅฎ้ใซ้็จใใใใใงใฎๅฝน็ซใคTipsใใไผใใใพใใSome good tips about Celery Production tips from Django Congress 2021 in Nagano this year (I couldn't attend). Most of the information is in the docs in English, but it's handy to see it condensed, even if it's in Japanese. A couple key points:- Use **kwargs for your tasks input. This makes it easier to make updates to your tasks once they're already running in production if your input needs to change.ย
- Reminders about all of the handy kwargs you can pass to tasks in regards to retry. Especially handy autoretry_for where you can pass a tuple of exceptions that will cause the task to automatically retry
-
byPerfect timing from aaronpk with this Swarm Checkin Import tool. I had been recently thinking about how to import my historical Swarm checkins to my blog so I could build a fun map. Will have to fiddle with this in the next week. Thank you .