I’ve read this summary of iterators in Go repeatedly over the years. This morning I read Generators in Go and realized I’d failed to internalize what might be the most natural-feeling option:
break remains a garbage collection issue, though.
As someone who is easily distracted by naming rather than, uh, building, I’m a little terrified to have discovered Onelook.
I spent most of last week trying to deal with state in a React app; I wound up using my “secret weapon”: Contexts. Recoil looks like an interesting alternative.
I’ve always thought of Go as a “Pythonic” language; that is, embodying much of the Zen of Python. So it’s interesting to see a Zen of Go that crystallizes some of the same principals through a Gopher’s lens.
An interesting write-up of the Haiku Vector Image Format; what particularly stood out to me, though, was this description of vector formats:
One of the big advantages of vector formats is that they’re easy to resize; because you know what the shape is supposed to be (i.e. a circle), you can render it very small or very large without distorting it.
I’ve always thought of them in terms of math vectors, and while accurate, that doesn’t really capture why we might prefer vectors to bitmaps.
Perhaps unsurprisingly, the “why” is more interesting.
Last year I attended Bond, where one of the speakers pointed out how capitalism has invaded our language: “it’s not a hobby, it’s a ‘side hustle'”. It’s true for me, which I think is one of the reasons I love sewing: it’s so clearly not a side hustle.
I Can’t Do Anything for Fun Anymore; Every Hobby Is an Attempt to Make Money
Also, apparently I’m not the first.
Tonight I installed and successfully ran Stitch Composer — a Windows application — on MacOS using Wine.
This is truly the future.
It is possible that a user might not want to go without a service used by 2.3bn others, but also that the world would be better off if the service did not exist at all.
— What would happen if Facebook were turned off?
Long day at work today, felt pretty depleted when I got home. And yet when I sat down at the sewing machine, three hours just vanished. I’m continually surprised how rejuvenating creation is.