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 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 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 moreNamed entity recognition
Named entity recognition (NER) is a task of natural language processing: pull out named things text. It sounds like trivial at first. Just create a giant list of named things and compare against that. But suppose, for example, University of Texas is on your list. If Texas is also on
Read moreAnnouncing OverflowAI
Today marks the beginning of a new and exciting era for Stack Overflow. We are announcing our roadmap for the integration of generative AI into our public platform, Stack Overflow for Teams, and brand new product areas, like an IDE integration that brings the vast knowledge of 58 million questions
Read moreMeet Gitgrab: A Rust-based CLI Tool for Parallel Git Repository Updates
Gitgrab is an Open Source CLI tool that can display all necessary information available on GitHub on the terminal. It started as a copy of Neofetch for Github, but as the project grew bigger and more people used it, it evolved into a helpful tool for users.Gitgrab is written purely in
Read moreHow to make the most of benchmarking data in your tech recruiting
It’s a deceptively simple question: Are our tech recruiting processes working? When you try to answer this question, however, you quickly realize how complex it really is. To start, what do you mean by “working?” What metrics or outcomes indicate success for your team? Then, once you’ve decided which outcomes
Read more