Pushing numerical integration routines to their limits
The previous post discussed the functions as test cases for plotting. This post will look at using the same functions as test cases for integration. As you can see from the plot of f30(x) below, the function is continuous, but the derivative of the function has a lot of discontinuities.
Read moreTeam GPT: Simulating Multi-agent Collaboration With Role-playing Prompts
Continue reading on Better Programming »
Read morePlotting a function with a lot of local minima
Stefan Steinerberger defines “an amusing sequence of functions” in [1] by Here’s a plot of f30(x): As you can see, fn(x) has a lot of local minima, and the number of local minima increases rapidly with n. Here’s a naive attempt to produce the plot above using Python. from numpy
Read moreIntentful Computation
It’s time to revisit Web Intents.“The ability to imagine is the largest part of what you call intelligence. You think the ability to imagine is merely a useful step on the way to solving a problem or making something happen. But imagining it is what makes it happen.”— Sphere, by Michael Crichton.Last
Read moreWhat’s New in Xcode 15
Xcode 15 is now 50% smaller on the Mac App Store, with downloadable simulator runtimes for all platforms.WWDC23 Demo AppWWDC23 brought an exhilarating week for Apple platform developers, as Apple unveiled a plethora of exciting features for Xcode in the new Xcode 15. Let’s explore these features through their titles:Code Completion Prioritization:
Read moreUsing Computer Vision for Poker
Image generated by MidjourneyNot so long ago, I got into poker, and since I enjoyed working with computer vision, I decided to combine business with pleasure.General functioning of the programI should point out right away that I chose PokerStars as a game room and the most popular variety of poker — Texas Hold’em.
Read moreCollecting a large number of coupons
This post is an addendum to the recent post Reviewing a thousand things. We’re going to look again at the coupon collector problem, randomly sampling a set of N things with replacement until we’ve collected one of everything. As noted before, for large N the expected number of draws before you’ve seen
Read moreBuilding Standardized API Error Responses in Spring Boot 3 With The Problem Details Specification
How to write RFC7807-compliant error responses in a Spring Boot applicationContinue reading on Better Programming »
Read moreBuilding a Real-Time Multiplayer Game With Unity3D and Amazon GameLift
Don’t struggle with the backend anymore!Illustration by Gianca ChavestYou are talented with Unity and game creation in general, and it’s time for you to move up a gear by creating a real-time multiplayer game, but you have no idea how to do it, and you know very little about cloud computing. Don’t
Read moreLerna Monorepo with Vite and Storybook
How to organize frontend packages in monorepo, track changes across all projects, reuse shared libraries, and build packages with a modern build systemLerna + Vite + Storybook logos | created by authorBuilding components and reusing them across different packages led me to conclude that it is necessary to organize the correct approach
Read more