Creating Your Own Websites as a Side Hustle on AWS S3 for Passive Income
How often have you been on social media this week and seen an influencer say, “Check the link in my bio”?Continue reading on Better Programming »
Read moreKraken — Flow-based Service Orchestration Framework
The article is a brief introductory description. Kraken combines the ideas of two other projects — ALF and Octopus, so it might be difficult to understand all the details from the article. I’m focusing here more on the philosophical part of the idea. One can find more details in the corresponding GitHub
Read moreA Deep Dive Into Observation: A New Way to Boost SwiftUI Performance
The Observation framework should reduce unnecessary updates in SwiftUI views, improving the performance of SwiftUI appsPhoto by Jean-Louis Aubert on UnsplashAt WWDC 2023, Apple introduced a new member of the Swift standard library — the Observation framework. Its appearance is expected to alleviate the long-standing issue of unnecessary updates to SwiftUI views for developers.This
Read moreA parabola, a triangle, and a circle
Let P be a parabola. Draw tangents to P at three different points. These three lines intersect to form a triangle. Theorem: The circumcircle of this triangle passes through the focus of P. [1] In the image above, the dashed lines are tangents and the black dot is the focus
Read moreEquation of a circle through three points
A few months ago I wrote about several equations that come up in geometric calculations that all have the form of a determinant equal to 0, where one column of the determinant is all 1s. The equation of a circle through three points (x1, y1), (x2, y2), and (x3, y3)
Read moreHow I Built the CI/CD Build Pipeline for My Smart Home
Photo by R ARCHITECTURE on UnsplashThe Current SetupI’ve been working ad hoc on a Smart Home Integration system for my house for about 7 years. The system consists of a few parts, including a Web UI, Chatbot, and API Server (I’ve documented it in detail previously). As the system has grown, I’ve
Read moreExploring Swift Macros
Generate boilerplate codePhoto by Michael Dziedzic on UnsplashMacros are finally here in 2023 and it's adding a lot more expressiveness, less boilerplate, and fulfilling what property wrappers couldn’t.Just looking at the available macro roles and knowing we can combine them too, there is a lot to talk about here. So in
Read moreSet of orbits with the same average distance to sun
Suppose a planet is in an elliptical orbit around the sun with semimajor axis a and semiminor axis b. Then the average distance of the planet to the sun over time equals a(1 + e²/2) where the eccentricity e satisfies e² = 1 − b²/a². You can find a proof
Read moreMental Models, Programming Fictions, and Wittgenstein
Photo by Arnold Francisca on UnsplashThis is a follow-up essay to my previous one about Empathy and Debuggers, where I confessed to my preference for empathically understanding the code rather than for line-oriented debugging.Here, I would like to expand that slightly mystic notion of empathic understanding with a more exact one
Read more