Every Japanese prefecture shrinking
It’s well known that the population of Japan has been decreasing for years, and so I was a little puzzled by a recent headline saying that Japan’s population has dropped in every one of its 47 prefectures. Although the national population is in decline, until now not all of the
Read moreHow To Eliminate Boilerplate Code With PHP 8.1
Using the later versions of PHP can massively reduce the amount of boilerplate code in your applicationPhoto by Ben Griffiths on UnsplashIf you have an application of any appreciable size, you will have used DTO (Data Transfer Object) classes to shuttle data around your application.One of the main properties of a
Read moreExtract iMessage Data For Analytics and Conversational AI projects
Tens of thousands of real-world messages: cleaned and prepared using Python for all your creative ideasAI-generated art from MidjourneyIntroductionI like to experiment with APIs and build neat stuff. I have a lot of ideas for projects relating to iMessage data. Unfortunately, accessing this data is not well documented, the database schema
Read moreAndroid will now warn about unknown Bluetooth trackers, like AirTag, traveling with you
Google today will begin to roll out a new safety feature, unknown tracker alerts, first announced at its developer event Google I/O this spring. The feature will allow Android users to be alerted automatically if an unknown Bluetooth device is traveling with them — a sign that could point to
Read morePet telehealth company Airvet closes on $18.2M to embark on enterprise focus
Pet ownership exploded during the global pandemic, and veterinarians are still struggling to keep up with demand. In fact, a Mars Veterinary Health report from 2022 highlighted a need for more than 41,000 vets to enter the industry over the next decade in order to meet demand. Not enough people
Read moreGame Development in Rust: Making a Strategy Game (Part 3 — Adding Different Unit Types)
Game Development in Rust: Making a Strategy Game (Part 3 — Adding Different Unit Types)In Part 2, we added our first unit and repurposed our codebase enough to keep adding more featuresPhoto by orva studio on UnsplashThis article is a direct continuation of the previous one. We will add a couple of different units for
Read moreWormhole digs out of its hole with new security measures to move on from $320M hack
Many projects and companies would simply give up if they’d been hacked and had hundreds of millions stolen from their ecosystem partners, but it appears Wormhole isn’t one of them. Last year, an attacker exploited a vulnerability in the Wormhole liquidity bridge between the Ethereum and Solana blockchains and stole
Read moreBluesky sends some users personalized apologies after racism controversy
Bluesky, which has been embattled with moderation issues since its launch earlier this year, appeared to apologize for failing to protect Black users and other marginalized groups on the platform. In emails responding to users who sent feedback regarding the platform’s failure to moderate racist content, Bluesky’s customer support outlined
Read moreReturn JSON from GPT
Return JSON From GPTGet properly formatted JSON in your responsePhoto by Pawel Czerwinski on UnsplashOpenAI recently announced updates to their API that now make it possible to get properly formatted JSON in your response.You can do a little “prompt engineering” and get stringified JSON by simply appending “provide your response in JSON format”
Read moreCreating a Zero-Allocation Environment in Go
Photo by Adi Goldstein on UnsplashAllocating dynamic memory is the thing everyone tries to avoid because it leads to performance degradation. Sometimes you can reorganize your logic to remove all the heap escapes from your code, but there are cases when it’s impossible to achieve such optimization. If that happens, you
Read more