Data Science Weekly - Issue 678

· Data Science Weekly Newsletter ·

10 min read Original article ↗
Data Science Weekly

Hello!

Every week, we write this email to share links we think are worth sharing in the Data Science, ML, AI, Data Visualization, and ML/Data Engineering worlds.

Now…let’s dive into this week's interesting links.

  • A Perfect SimCity

    After 35 years of playing SimCity, I still could not say what makes a “Perfect” city. An evaluation screen displays a Score of 0 to 1000, and I struggled to reach 900 and never understood its factors…Discovering these factors by play is the fun of a simulation game, and this one has the advantage that the source code is also available…Don Hopkins has been maintaining FOSS ports of SimCity (1989) as Micropolis and MicropolisCore, faithfully reproducing the ruleset of the original. Using the Python shims provided by gym-city I have run many experiments and share these results here, presenting five high-scoring and five high-population cities, designed algorithmically using the strategies shared below…

  • The Interactive App for Richard McElreath’s Globe-Tossing Example
    Richard McElreath illustrates Bayesian updating by means of “globe tossing”. Suppose you wish to know what proportion of the earth’s surface is covered in water, and you only have access to a globe and a blindfold. One way to learn the proportion is to pick random locations on the globe, and every time assess whether or not that location is covered in water. As the samples accumulate, your knowledge about the proportion of interest will be increasingly precise. Of course we need to start with a prior distribution; for a proportion, the most convenient choice is a beta distribution. Each sample results in an update to the distribution, and the posterior distribution after n samples becomes the prior distribution for sample n +1…

  • The dawn of the Data Intelligence Engineer
    I asked Nick Ursa, our lead data engineer (and MotherDuck co-founder), how AI had changed his job. His answer: “This is the first time in my career with no backlog.”…You’d think that would leave him with plenty of time on his hands, but he’s busier than ever. While the backlog is gone, the answers still have to be right, and a human still has to decide how much quality control to do. Whereas once upon a time his job was to make sure the numbers he was computing were right, now his job is to make sure that the numbers that an LLM or agent comes up with are right…That’s a different job from working a ticket queue. At Data Outpost on November 4, I proposed a name for this new role: the Data Intelligence Engineer. I think it’s now the emergent role on an AI-enabled data team, and I’d like to share why…

.

  • When Disaster Doesn’t Strike, What Do We Count?
    After a flood, we count damaged homes, insurance claims, emergency spending and reconstruction costs. These figures move between insurers, public authorities, banks and households. But what do we count when flood protection works? Water never enters the houses. The claims that might have been filed leave no invoices…This puzzle connects two recent papers: Count the climate losses we prevent, published in Nature Communications, and Accounting for Prevention: Underwriting, Annual Contracts, and the Financing of Long-Term Risk Reduction, published in the Journal of Insurance Regulation. They ask different but complementary questions: how can we preserve credible evidence of successful prevention? And why might prevention remain unfunded even when its benefits can be measured?..

  • Try my dang hardest to come up with novel research ideas, but everything feels clunky [Reddit]

    ’ve read 100s of papers over the last 7/8 years from the foundational papers in the field to niche papers that never got adopted (Hinton’s forward forward, capsule networks)…I dont understand how first authors come up with beautiful results like engrams, diffusion models, VAEs, MoEs, token superposition in pretraining, that seems so obvious when you read the paper but clearly are anything but obvious. Are these people just built different or did their research also start off clunky? Is it just luck? Most PIs dont expect to lead the research so it cant be an astute PI?…

  • Light Pollution Map
    LightPollutionMap.app is developed and maintained by the Stargazing Hub Team.…LightPollutionMap.app independently converts the night-light inputs into modeled sky-brightness values using its own calculation method. Map values are not raw satellite pixels or on-site SQM measurements…

  • Interim Analysis: My Messy Notes
    An interim analysis is a planned look at the data half way through a study, before all participants have been enrolled or followed up. They do it for practical and ethical reasons: if a treatment is clearly working, or clearly harmful, it isn’t right to keep randomizing people to the worse option, and if it’s clearly going nowhere, they can save time and resources by stopping early. The catch is that every extra look is another chance to find a “significant” result purely by luck. Peeking twice at the usual 5% threshold pushes the false-positive rate up. Interim analysis methods, such as O’Brien-Fleming boundaries, fix this by setting a stricter bar at the early looks so that the overall error rate stays at 5%…Now you know me, I’m the see-it-to-believe kind of person. Let’s try to simulate this with multiple trials and see if that’s true…

  • Backyard perturbation prediction: An analogy for virtual cell modeling
    Over the last several years, machine learning has matured, and the promise of this technology has grown so large that we cannot help but pursue the possibility that it holds the key to true predictive biology. Perhaps, instead of simulating each molecule within the cell, we instead teach a powerful machine learning algorithm how cells respond to stimuli by simply showing it enough training examples…In this blog post, I will present an analogy of the perturbation modeling task that I feel captures, to some loose degree, the challenge that we face with this task and that I think may even hold some clue on to how to approach it (or at the very least, enable better intuition for what approaches the community is currently pursuing)….

  • Rows vs Columns: How different are they, really?

    When we think about structured data, we generally think in terms of rows. Take this simple CSV file, which records some data about bike rides on a bike-sharing app in New York City…Data in this CSV file is organized into rows, where each row corresponds to a record of data. Each record here is one ride, or one “thing”, with everything we know about it on one line. We tend to organize data like this almost everywhere…Programming in columns, however, begins with how the data is stored, but that’s only the start. Once data is stored by column, the way a database runs a query changes dramatically: how much data it reads, how many values it handles at a time, how many values the CPU can process with one instruction, how well the data compresses, etc. This post will go over these changes, and by the end, you’ll see just how much follows from the “simple” choice to store columns instead of rows…

  • Rediscovering Transaction Processing From History and First Principles
    In July 2020, I stumbled into a fundamental limitation in the general-purpose database design for transaction processing. This insight led to the creation of TigerBeetle, and attracted a special team who would engineer a financial transactions database from first principles and bring it to production…I want to tell you the story of how TigerBeetle came to solve this fundamental limitation, but first I want to take you back to the future of transaction processing…

  • Negative Controls: When a Bias Check Misses the Problem
    Researchers have long used negative controls to spot misleading results. The idea is clever: check for a relationship that should not exist. If it appears, something in the analysis might be wrong. Now, a new study sheds light on how well these checks work—and reveals a surprising weakness. Under some conditions, a larger problem can produce a smaller warning. In When negative control exposures fail to detect bias, Daniel Nevo and Raanan Raz (2026) explore why that happens. Their findings offer practical lessons for choosing negative controls and interpreting their results. First, let’s make the idea concrete. In this post, you’ll learn how negative controls help detect misleading results, why they sometimes miss important problems, and how to use them more thoughtfully…

  • T1DMAI - A model zoo of blood glucose forecasters trained & tested on my own data

    This repo is a zoo. Here I train & test many blood glucose forecasting models (including my own) on both my own data and metabonet (public). My model is a small transformer that forecasts blood glucose 2 hours ahead. I’ve made two variants: D16 DILATE and D16 MSE which use DILATE and MSE loss for training, respectively. D16 refers to the width of the model (16). They are both trained on synthetic traces, and then a LoRA adapter is added for light fine-tuning, but I also test them without the adapter. Feast thine eyes on some of their forecasts (these have been trained on synthetic traces, then fine-tuned with a LoRA adapter on my training split)…

  • Memory Poker [Game]

    • Memorize the cards (30 seconds for 8 cards, 60 for 16). Then they flip face down.

    • 3 open cards appear. Pick 2 face-down cards to join them.

    • Make the best 5-card poker hand you can….

  • Fibonacci Hashing: The Optimization that the World Forgot (or: a Better Alternative to Integer Modulo)

    I recently posted a blog post about a new hash table, and whenever I do something like that, I learn at least one new thing from my comments. In my last comment section Rich Geldreich talks about his hash table which uses “Fibonacci Hashing”, which I hadn’t heard of before. I have worked a lot on hash tables, so I thought I have at least heard of all the big important tricks and techniques, but I also know that there are so many small tweaks and improvements that you can’t possibly know them all. I thought this might be another neat small trick to add to the collection. Turns out I was wrong. This is a big one. And everyone should be using it…

  • A primer on Fourier Series
    This is a textbook on Fourier Series, suitable for both undergraduate and graduate courses. The textbook is endowed with exercises, and full solutions are provided at the end of the book…

  • Raphael Weldon’s 315,672 Dice Throws
    Over 125 years ago, Raphael Weldon reported that out of a total of 315,672 dice throws, 106,602 (i.e., ≈33.77%) gave either a 5 or a 6. The excess chance is small (i.e., ≈0.44% more than 1/3) but the sample size is very large – what can we conclude about the dice? The analysis of the Weldon dice data encourages a reflection on the prior distribution, motivates a sensitivity analysis, and invites an assessment of the evidential flow. A synthetic data set is available here. The material from this blog post is taken in large part from Wagenmakers & Matzke (2026)…

.
* Based on unique clicks.
** You can find last week's issue #677 here.

.

Thank you for joining us this week! :)

Stay Data Science-y!

All our best,
Hannah & Sebastian

Discussion about this post

Ready for more?