Exploring the infrastructure and code behind modern edge functions
At this point, the internet has a fully global reach. If you create a successful web or mobile app, you could have users on every continent (maybe not Antarctica). When they load up your app, they want it to be fast and relevant to them. That’s where edge computing comes
Read moreWrite Clean, Concise, and Debuggable Code in Express.js
Requests and response—Chain of Responsibility — global error handling and logging — you don’t know what you don’t knowExpress is a popular backend framework for Node applications. It’s often one of the earliest frameworks new JavaScript developers will learn to create RESTful APIs. And why not? It’s a powerful tool that seriously cuts down on
Read moreHow Lewis Carroll computed determinants
Charles Dodgson, better known by his pen name Lewis Carroll, discovered a method of calculating determinants now known variously as the method of contractants, Dodgson condensation, or simply condensation. The method was devised for ease of computation by hand, but it has features that make it a practical method for
Read moreTechnical Encounter: Low Code With Dash, Streamlit and Panel — Part 1
Developing data applications with easeContinue reading on Better Programming »
Read moreChris’ Corner: Complexity
Have you seen The Grug Brained Developer? It’s an essay with a URL. It’s written like a caveman became a developer and put together a philosophy that is largely a rally against complexity. Cavemen have dumb simple brains, get it? It has good points, and I largely agree with it.
Read moreGPT-4; Human-Cyborg Relations
Photo by Lyman Hansel Gerona on UnsplashImagine thisyou’re hurtling through space. The ship’s alarm wakes you up from deep freeze. Now you’re being told that unless you resolve the trajectory calculation error, your death — and the death of those asleep onboard — is imminent. All you need to do is reset the nav computer
Read moreGram matrix
An elegant algebraic identity says If x is the vector [a b] and y is the vector [c d] then this identity can be written where the dot indicates the usual dot product. I posted this on Twitter the other day. Gram matrix Now suppose that x and y are
Read moreThe Ultimate Guide to Building SwiftData Applications
SwiftData made its debut at WWDC 2023 as a replacement for the Core Data framework. Serving as a wrapper on top of Core Data, SwiftData…Continue reading on Better Programming »
Read moreDemystifying Kotlin’s Channel Flows
Why does Kotlin have two almost identical flow builders, and which one should you be using?Continue reading on Better Programming »
Read more(Yet) Another Way to Harm Performance With Moment.js
Image generated with canva.comMoment.js, a widely recognized date manipulation library, has been in legacy mode for almost three years now, starting from September 2020. However, it’s still slightly more used than its popular competitors such as dayjs and date-fns, at least according to npm stats (~17M weekly downloads vs ~14M
Read more