Adopting Efficient Networking Practices in iOS Apps
Methodologies to improve network efficiencyPhoto by Andrew Neel on UnsplashMost apps rely on networking to communicate with a server to send and receive chunks of data.While it’s easy to spin up a URLSession to retrieve data from a server and display it on the screen, it’s essential to consider how efficiently your
Read moreHow Do You Interview a VP of Engineering?
25 questions I’ve been asked in previous interviewsContinue reading on Better Programming »
Read moreHow much technical expertise is enough?
One senior engineer weighs her options about what’s nextContinue reading on Better Programming »
Read moreSymmetric functions and U-statistics
A symmetric function is a function whose value is unchanged under every permutation of its arguments. The previous post showed how three symmetric functions of the sides of a triangle a + b + c ab + bc + ac abc are related to the perimeter, inner radius, and outer
Read moreHarnessing Foundry Cheatcodes: JSON Report Generation with Solidity
While navigating the complexities of smart contract development and testing, we developers are always on the lookout for innovative tools that can streamline our work. One such utility that has caught my attention is Foundry’s fuzz testing, or “fuzzing”. Although fuzzing is an excellent approach to catching unforeseen edge cases,
Read moreHow to Use Swift Package Manager to Save Gigabytes of Network Traffic and Disk Space
Use SPM to store dependency checkouts in a repository and do it better than CocoaPodsSource: AppleMany of you have experienced the annoying situation — you open a project or switch a branch, and see the sad picture of how SPM resolves packages.One of the advantages of CocoaPods, compared to SPM, is that
Read moreFarewell, Ramda
Ever struggled with old code, feeling like decrypting an ancient script? Often, Ramda was involved, prompting me to seek simpler alternativePhoto by Ryunosuke Kikuno on UnsplashIntroHave you ever come across a piece of code that’s two years old and struggled to make changes to it? You spend a lot of time
Read moreRelating perimeter, inner radius, outer radius, and sides of a triangle
Suppose a triangle T has sides a, b, and c. Let s be the semi-perimeter, i.e. half the perimeter. Let r be the inner radius, the radius of the largest circle that can fit inside T. Let R be the outer radius, the radius of the smallest circle that can
Read morePolishing Diamonds in Java
Managing interface change in diamond hierarchies.Photo by Edgar Soto on UnsplashInheriting Diamonds in JavaJava is an object-oriented language that supports single inheritance for classes. A class can inherit from at most one single parent class. Java also supports classes implementing multiple interfaces. Interfaces may extend multiple interfaces as well.The following class diagram illustrates
Read moreExperiments with Bing chat
My two previous posts looked at experiments with ChatGPT and Google Bard. This post will look at redoing the same experiments with Microsoft’s Bing Chat: looking for mnemonic encodings and simplifying Boolean expressions. When you open up Bing chat you can select a conversational style: More creative More balanced More
Read more