I had to drop out for a month to deal with taxes and keep porting this site. I’m catching up, and this article is a meandering mess that goes nowhere, so, if you value your time, don’t even read it.
I was porting the Hamurabi code to run with React, built the UI, and got a little confused about where to keep game state. Many coders seem to have this problem, according to the tutorials.
Continue reading Application State Study (Hamurabi Port)
If you get this error message during a test, it’s because jest isn’t making the network call. You need to make a mock for fetch(), replacing the network call with a fake.
Continue reading React Test TypeError: Network request failed
Over here in Los Angeles, and the Southwest in general, there are a lot of people from who have Mexican or Latin American heritage, and have Spanish surnames.
The challenge with these names is twofold.
Continue reading Heuristic Hispanic Surname Extraction with Regular Expressions
I was working on a small “speech bubble” library, and needed to delay hiding of the bubble. It’s not that it was required, but it was a pain in the butt figuring out how to arrange the event handlers on the different elements so that you don’t end up with a situation where you get a flickering bubble because you hide the bubble, and that fires a mouseover event that, in turn, displays the bubble again. That fires a mouseout event that causes the bubble to be hidden.
It’s been a few weeks since the last post in this series. I’ve spent some time making an interface in React. It’s simple, but also a decent demo. Here’s the demo.