lol yeah, I have a lot of games that are the same way. Old voiceover stuff that sound like I was recording in the bathroom. You could always use something like ElevenLabs, but I feel like part of the charm comes from using your own voice.
* I wondered when 24 is decomposed as 2x12 and 12x2 cause a different effect, but I tested and they are equivalent, the games picks the smallest factor and creates 2 asteroids of size 12. Perhaps the game can pick always the first or the second. I'm not sure which is more intuitive, probably the first.
* For an advanced level, you can create a megameteorite like 5292000. It teaches a few divisibility rules.
* I tried for 24 to write 2x2x2x3 and got surprised it didn't work. Perhaps you can forbid to as a second x.
Glad you like it :-) I think there's a real opportunity for the development of educational games that are actually fun. It's amazing to me how few there are online that are genuinely free, no BS and the creators have actually thought about the gameplay mechanics and play tested them with real kids. Basically I'd love to see more mums and dads making stuff like.
My 8yo did 150 questions on a single sitting last night, I don't think you'd ever get him to do that with a maths homework book.
What a classic! I work on a free address matching solution and this article was formative in deciding on the approach.
In particular, it's common for address matching solutions to begin by parsing the address into it's constituent parts (number, street name etc.). But articles like this suggested to me this is misguided: it works fine for easy to match addresses, but the addresses which are hard to match are hard to parse, and hence the parsing problem and matching problem reduce to the same problem.
Instead, many of the features that are useful for matching addresses are more related to looking at the address in the context of the other addresses around it and in the corpus, rather than looking just at the address itself. I've written a bit about this here: https://www.robinlinacre.com/address_matching/
We've found DuckDB 2.0 to be way faster on high core count machines on EC2. Not just reading data from S3, but the actual computations too. Much more likely to see 100% utilisation up to about 128vCPUs or 192vCPUs, and that CPU usage to translate into workloads completing faster.
Still don't usually see a speedup past about 192vCPU, but prior to 2.0, speed would top out at more like 64vCPU, so this is a big win.
That has enabled us to scale Splink (FOSS record linakge software) to process 1bn records with 10bn record comparisons in 10 mins, which as far as I'm aware makes it the fastest linkage engine of this kind. Most of this performance comes from simply delegating the big calculations to the DuckDB engine! https://moj-analytical-services.github.io/splink/topic_guide...
> Not just reading data from S3, but the actual computations too.
Async io generally causes a CPU bump as a side-effect, when the bottleneck moves from the disk to the CPU (more usually memory bandwidth).
My experience is from a different SQL engine, but the improvement in scan rates directly translates all other operators getting more work to do per unit time.
More CPUs pegged at 100% is always a good sign of smooth flows, but optimizing further requires data layout changes from that point. Even if it is a sub-linear speedup out of concurrency scaling - more with more is still a win, assuming you can pay for more (the Dy-skew paper has an example I can quote).
One thing we've seen with DuckDB, which they also mention in their docs, is that it's possible to 'over parallelize'. Beyond some number of cores, the overall workflow measured in wall time actually slows down when you add more CPUs, because of the overhead of parallelizing, despite them running at 100%.
We observe this even if we pull the data from S3 onto the local SSD before processing,
This is also a problem in classical HPC, there aren't very many algorithms that can scale linearly with cores. That's partially why so many HPC algorithms tend to be built on matrix multiplication and Monte Carlo, because those do tend to scale near arbitrarily.
> More CPUs pegged at 100% is always a good sign of smooth flows, but optimizing further requires data layout changes from that point.
True. This is true by experience.
I want to add that, additionally this is not just true based on experience, rather it is fairly a straightforward logic.
If the cpu is already saturated at 100% doing work in the most "efficient" way possible for a given data structure (some sort of a shannon limit for the given data structure), then there is zero further improvement possible.
Any additional improvement must therefore happen either on the thing that the CPUs operate on (data structure improvements) or on the hardware themselves.
I’m a huge fan of splink - and how you’ve been able to adopt duckdb.
Do you find that with the performance of duckdb, you see large deployments of spark based workflows less often? It seems hard to justify the complexity of spark if you can use duckdb , but I’m wondering if you see end users still reach for spark for any reasons?
There are a variety of people still use Spark, but this is usually due to constraints on their platform/infrastructure, not because it performs better. For instance people on Databricks can sometimes find it hard to use DuckDB on large machines, or they're just more familiar with Spark.
For a new user who has flexibility over where to run their workloads, we'd always recommend DuckDB. This is particularly the case now that:
- Splink 5 (released in September) allows you to run your workload in n chunks, meaning you can distribute it across multiple machines even on DuckDB
- DuckDB 2.0 parallelises better on large machines, so throwing a single massive machine at problems is now more viable
In general, after using Spark for a long time, I think for most workloads, it's just not really needed any more. Too complex, too difficult to tune. Perhaps if you have genuinely massive data. I've written a bit more about why I advise against Spark in most instances here: https://www.robinlinacre.com/recommend_duckdb/
There's also two other important limitations to using an LLM and just providing it with pairs of records.
It does not know enough about the records in the context of the overall dataset:
- what is the data quality and to what extent do we expect a errors in some fields
- how unusual are certain values such as names in the context of the dataset as a whole, e.g. some names would be very common in some countries but rare in others.
Another great article, thanks. I thought a lot about that too, and basically realized the same thing (this wasn't the coding agent), that frequency in the dataset mattered a lot for how useful a match is, and made frequency lists from my datasets, both on how common the literal names were and the phoneme-reduced names.
But I'm worried about that "bitter lesson" the TypeSafe CEO refers to, and that we're retreading the steps of natural language processing and a lot of other fields, trying to come up with clever rules, when the rule-based approach simply never gets good enough. I need matching to be good, it's absolutely central to genealogy, and I've seen the damage blindly linking by hand-crafted matching formulas can do.
I agree, and I think LLMs can potentially do a better job than more conventional methods, so long as they're provided with enough content.
Another aspect of context that could be relevant to your work may be how people are nested within households. In some record linkage scenarios you can run a linkage on household membership and use this to make person linkages more precise. I imagine an LLM agent could also use this information effectively if it were explicitly provided, but sometimes they miss logical leaps like this
You're right - the audio in the bee letters game is rubbish, I should spend some time fixing it.
reply