-
byMerry Christmas, everyone! π π Β War is over.Β
-
Response to
byAfter some thought, I decided to build indieweb-utils, a Python library with building blocks that will assist developers in building IndieWeb applications.
indieweb-utils looks like a lovely library to help with some of the faff of html parsing for the IndieWeb.
I originally planned to do something similar using Tanzawa Indieweb module for Django-Indieweb stuff, but now I'm less convinced that'd be useful outside of the Tanzawa context.Β
I'd love to see the Python/Indieweb "consolidate" a bit on a single library so we aren't duplicating effort. I'll have to open some PRs. Great work, James! -
The Week #77
by- We took a day off of work to attend a Christmas play that Leo's school was performing. It was held at the local civic center, so it was on a stage and everything. The play itself was about Jesus and Mary and all the traditional Western Christmas "reason for the season". The older kids had speaking roles and Leo's class played the sheep. He did good and didn't appear to get nervous or anything. I think he was mostly distracted by the choir club mom's singing behind them.
After the play, the kids sang a Christmas medley and Santa came to visit. Each kid in Leo's grade got a book, and Santa brought some new mats for when they play inside for everyone. When Leo's name was called he ran/walked as fast as he could to meet him and get his book. - When it was over we went out to Johnathan, an American style family restaurant as a treat. While driving there I thought how odd life is. It used to be me in the backseat, parents dressed up in the front, going to get lunch/dinner somewhere nice. But now it's my turn to be in the front. Getting old is weird like that, I suppose. Sidebar: their fried chicken sandwich and 'slaw was spot on. I could've been at a fried chicken joint in the US.
- I switched my electricity to Octopus Energy and am finally On Supply. Excited to dog food what we're building at work. Also there's 1δΈ ( $100) of credit if you sign up while we're in beta...so if you're in the Kanto area, you totally should.
- Leo wanted to ride the monorail with all 3 of us, so we went to Enoshima. We actually went to the island this time, instead of just the beach. I was impressed as Leo walked most of the way from the monorail station to the island itself.Β It's about a kilometer and a half apart and Leo walked about a kilo. Most impressive was him asking to be held, not because of the people, but because he grew tired.
- Naturally we can't visit that area and not visit the Aquarium and see a dolphin show. Usually we're early and see the first show or so of the day. But this time we went in the afternoon. I wasn't expecting to see people dressed up in Dolphin suits out front protesting the show. I always felt bad watching the show, because I know their super intelligent and it doesn't seem like a fulfilling life experience. But at the same time, I wish my kid could be a kid and not have to hear about people killing dolphins as we go in and exit the place. Their go-pros recording their protest so you have look at them or look into their cameras to pass through was equally frustrating.
- Leo and I went out to do a little bit of Christmas shopping for Mom. I told him the idea was we were going to buy a present, but we have to keep it a secret from mom. It'll be like "Leo Santa". He seemed on board and understood the concept. He picked out a PuiPui book he wanted, because "Mom likes PuiPui", which is true, you can't not like Puipui.Β All seemed well and then as soon as we saw mom he told her what we bought. Maybe next year π.
- We took a day off of work to attend a Christmas play that Leo's school was performing. It was held at the local civic center, so it was on a stage and everything. The play itself was about Jesus and Mary and all the traditional Western Christmas "reason for the season". The older kids had speaking roles and Leo's class played the sheep. He did good and didn't appear to get nervous or anything. I think he was mostly distracted by the choir club mom's singing behind them.
-
π Old Mac Software Archive - Macintosh Repository
byA platinum sanctuary for old software of the classic Mac OS era. Rediscover Mac treasures of the past!
The first time I used a Mac was in the OS 8/9 days in a web design class in high school (we built our high school's homepage). Once I got used to the Mac, I loved it.Β
While I didn't get to join the ranks of Mac users until 10.1 / 10.2 with my 300MHz iBook G3, the look of Classic macOS never went out of style, at least in my eyes. Love this whole repository and that it's styled with Classic Mac icons is even better. -
Checkin to γ΄γ£γ»γγ»γγ©γ³γΉ γγγΏιεΊ
Sharing some bread with Leo. -
How to Split Commits
bySometimes in a rush developing, I'll commit two distinct changes in a single commit. From a code perspective, this isn't an issue because the code works. But from a systems perspective you can no longer split changes from A and B. They're forever married.Β
Splitting those changes into two commits will allow us to keep a better history of the system and allow our pull request to "tell a better story".
We can fix combined commits with an interactive rebase. I use PyCharm for part of this in my regular workflow at work, so rather than providing a concrete example, I'll instead summarize the procedure.- git rebase -i origin/mainΒ (or whatever branch you rebase on to) to start an interactive rebase.
- Find the commit you want to split and mark it as "edit"
- git reset HEAD~1
- Add the files / changes for change A, commit
- Add the files / changes for change B, commit
- git rebase --continue
The "secret" is that when you edit stops the rebase after the combined commit. By resetting HEAD~1, we effectively undo that commit. But since it's a soft reset, the changes are not rolled back, just the commit. This allows us to tweak and commit individual parts separately as desired before continuing to the next commit in our branch. -
Checkin to Enoshima Aquarium (ζ°ζ±γε³Άζ°΄ζ逨)
Wouldβve been nice to not have to protestors out front. I get it though. Nice view π -
Response to
byI went to the dentist and when I returned to the bicycle rack I discovered my broken lock laying on the pavement. No bike. I looked at the security guard standing by the door, pointed, and gave him a look. He said, βOh. That was your bike?β
...
But San Francisco has lots of hills and the difference between a fast easy bike ride vs. an arduous uphill journey is rendered moot with just a teeny tiny bit of extra oomph.There's heaps of hills in Yokohama, too, and the extra oomph makes all the difference. It's so much easier to navigate and park our bikes than a car. And with the assist even with 15kg of kid on the back,Β the steepest hills remain surmountable without breaking a sweat. This machine fights climate change π².
Also so nice to see the photos, of just how common e-bikes are becoming in US. And those bike lanes and some proper infrastructure. π -
Checkin to ζ¨ͺζ΅εΈζ³ε ¬δΌε
Waiting for a Christmas performance by Leoβs pre-school to start. Heβs playing a sheep π. -
The Week #76
by- For a while it's felt like we don't have enough hands at the house to both do the daily routine and do cleaning beyond the basics. There's always something that needs to be done (dishes, laundry, dog walking, teeth brushing...) and we're basically just treading water, or so it feels like.
We've made an effort to automate where we can already. We installed a (tiny) dishwasher when we bought our house a few years back. We use the dryer built into our washing machine for ~half of the loads of laundry (the rest hang outside, as you do). They help a lot. But the one thing we haven't done is automate our vacuuming. I've probably ranted on this blog about our vacuum before, it sucks (π₯)1.
We bought a Roomba i3+, named Wall-E, to see he can help us remove one task most of the time.Β I'll still need to move him about sometimes (stairs), but we should be ok without vacuuming nearly as often. At least in theory. - Last week I said I'd try to get Leo to double or triple his time pedaling while riding his bike from 0.5 seconds. I vastly underestimated him as he can ride his bike! I'm amazed. He was so proud of himself he had to tell all the parents in his vicinity. Now the big kids rode bikes like him.
Splitting learning a bike into two stages: learning balance, then learning pedaling is a much quicker way to learn to ride a bike. - We had a Christmas social at work. It was the first time to us (or at least me) to go out as an entire group and it was great fun. It was good to get to know my co-workers better and share some laughs.
- I'm not usually a huge fan of listicles, but Jacob shared this 52 things I learned in 2021 list and there's a couple of gems. The most mind-blowing for me was:
"Until 1873, Japanese hours varied by season. There were six hours between sunrise and sunset, so a daylight hour in summer was 1/3rd longer than an hour in winter. [Sara J. Schechner]"
Completely π€―.
- For a while it's felt like we don't have enough hands at the house to both do the daily routine and do cleaning beyond the basics. There's always something that needs to be done (dishes, laundry, dog walking, teeth brushing...) and we're basically just treading water, or so it feels like.