A bit-twiddling marvel
Pop quiz: what does the following code do? bool is_leap_year_fast(uint32_t y) { return ((y * 1073750999) & 3221352463) <= 126976; } It determines whether the year y is a leap year in the Gregorian calendar, of course. :) It’s very efficient, though I don’t image that would ever matter. But
Read moreCEO Update: Exploration and experimentation for bold evolution
As we envision what the ideal future version of Stack Overflow looks like, we’re committed to engaging with our community.
Read moreMatrices of Matrices
It’s often useful to partition a matrix, thinking of it as a matrix whose entries are matrices. For example, you could look at the matrix 6 × 6 as a 2 × 2 matrix whose entries are 3 × 3 matrices. M is not a diagonal matrix of real numbers,
Read moreDurable execution: autosave for your microservices
Ryan is joined by Jeremy Edberg, CEO of DBOS, and Qian Li, co-founder of DBOS, to discuss durable execution and its use cases, its implementation using technologies like PostgreSQL, and its applications in machine learning pipelines and AI systems for reliability, debugging, and observability.
Read moreThese are the top 10 schools in CodeSignal’s 2025 University Ranking Report
Now in its 5th year, CodeSignal’s 2025 University Ranking Report continues to make news headlines by tackling a simple, but bold, question: what are the top schools for software engineering if you look at students’ actual coding skills? That’s a question news outlets like Dice, Government Technology, and NBC Bay
Read moreProbability of rolling a Yahtzee
IJK (iconjack) has calculated the probability of rolling a Yahtzee in no more than n rolls. The first few numerical values are p(1) = 0.0007716 p(2) = 0.0126316 p(3) = 0.0460286 The probability is 0.95 after 23 rolls, and 0.99 after 32 rolls. Here’s a plot. The post Probability of
Read moreChris’ Corner: Design Do’s and Don’ts
I admit I’m a sucker for “do this; don’t do that” (can’t you read the sign) blog posts when it comes to design. Screw nuance, gimme answers. Anthony Hobday has a pretty good one in Visual design rules you can safely follow every time. Makes sense to me; ship it.
Read moreResearch roadmap update, May 2025
An update to the research that the User Experience team is running over the next quarter.
Read moreTrinomial Coefficients and Kings
The term trinomial coefficient is used a couple different ways. The most natural use of the term is a generalization of bionomial coefficients to three variables, i.e. numbers of the form where i + j + k = n. These numbers are the coefficients of yj zk in the expansion of (x + y
Read moreSalesforce wants to do for agentic AI what they did for SaaS
Christophe Coenraets, SVP of Developer Relations at Salesforce, tells Eira and Ben about building the new Salesforce Developer Edition, which includes access to the company’s agentic AI platform, Agentforce. Christophe explains how they solicited and incorporated feedback from the developer community in building the developer edition, what types of AI
Read more