Latest articles

411 new today · 7,369 articles · from 241 blogs

Real Python··Real Python

Python Microservices With gRPC

AI summaryThis tutorial teaches readers how to implement Python microservices that communicate with each other using gRPC, explaining why splitting a monolithic application into independently deployed services offers benefits like modularity, flexibility, and robustness. It covers building middleware for monitoring, performing unit and integration tests, and deploying microservices to a production environment with Kubernetes, using a web app and a Recommendations microservice as a running example.

Real Python··Real Python

Plotting Declarative Charts With Altair

AI summaryThe article introduces Altair, a declarative Python visualization library where users describe what their data means—such as which columns map to axes, colors, and interactivity—and the library generates the chart, unlike Matplotlib's approach of scripting every visual detail. Altair produces web-native charts (HTML and JavaScript) that render in notebooks and can be saved as standalone files or embedded in web pages, making it ideal for interactive exploratory analysis. It's not a replacement for Matplotlib, which remains the better choice for pixel-precise publication figures or 3D plots, so the two libraries serve complementary use cases.

Real Python··Real Python

Step 5 Draws a Python Reading a Book

AI summaryReal Python's informal AI benchmark asked the Step 5 model to write a turtle program drawing a python reading a book, but the 253-line script failed with an AttributeError and produced zero drawing commands. Across the five tasks, the model scored at Python 3.10 for modernity, passed 7 of 12 modern idiom checkpoints, correctly caught the nonexistent itertools.flatten() function, and made 1 of 10 possible unrelated edits. The full run cost $0.15, used about 49.4k thinking tokens, and took roughly 6 minutes 44 seconds.

The Atlantic··Jennie Rothenberg Gritz

What ‘Mindfulness’ Misses

AI summaryThe article argues that the modern 'mindfulness' trend—constantly paying attention to the present moment—overlooks the value of a wandering mind, which has historically produced creative breakthroughs for figures like David Lynch, Nikola Tesla, and Archimedes. It traces how Jon Kabat-Zinn's Mindfulness-Based Stress Reduction stripped traditional Buddhist teachings down to simple present-moment awareness, a practice that works well for anxiety but lacks evidence as a lifestyle of constant vigilance. Research, including studies from UC Santa Barbara, supports the idea that 'creative mind-wandering' facilitates incubation and insight, suggesting mindfulness and mind-wandering should be seen as complementary mental states rather than adversaries.

The Verge··Jess Weatherbed

YouTube’s yearly video Recap lets you look all the way back to 2020

AI summaryYouTube has launched its annual Recap feature, which reviews users' video-watching habits and, for the first time, lets them see how their tastes have changed since 2020 via a six-year visual 'scrapbook' timeline. The 2026 Recap features up to 13 cards showing top interests and viewing habits, visualized as items like ticket stubs and water bottles, along with a trivia experience testing users' memory of what they watched. The feature is rolling out globally.

3 Quarks Daily··Azra Raza

‘A Clear Case of Grooming of Young Boys’: Expert Calls Out Washington Post for Story That Celebrates Cross-Dressing Afghan Boys But Doesn’t Mention Pedophilia

AI summaryA Washington Post feature celebrating an 'exuberant fashion subculture' among young boys in Afghan villages actually depicts bacha bazi, an ancient practice in which boys are dressed in women's clothing, purchased from poor families, and sexually abused by powerful men, according to regional expert Dr. Amalendu Misra. The expert told the Washington Free Beacon that the story portrays 'a clear case of grooming of young boys' and questioned the Post's agenda, noting the article makes no mention of the pedophilic custom and appears to confuse it with Western gender fluidity.

Phys.org·

New SEM–EDS mapping approach gives scientists a broader view of fine particles collected from air

AI summaryUniversity of Kentucky researchers have developed a systematic SEM–EDS mapping approach for examining heterogeneous atmospheric PM2.5 deposits collected from air. The method addresses the problem that a seemingly simple decision—where on the filter to look during electron microscopy—can influence what scientists ultimately observe, offering a broader and more consistent view of fine particulate matter.

3 Quarks Daily··Azra Raza

Could a Blow to the Head Appear in the Gut?

AI summaryIn 2019, researchers at Rice University collected stool samples from 33 football players throughout the season and offseason to study their gut microbiomes. Led by Sonia Villapol of the Houston Methodist Research Institute, the study aimed to understand how repeated head impacts during football affect the gut, shedding light on what happens in the brain after blows to the head.

In the Pipeline·

The FDA Cracks Down on Tavneos

We have quite a regulatory situation developing around a drug called avacopan (Tavneos), which is given to patients with a particular type of vaculitis. That’s a complex disease area, and comes in several varieties, but a common theme in ma

In the Pipeline·

An Open Letter to Jay Bhattacharya

Dear Dr. Bhattacharya: I write to inquire about your state of mind. That may seem an unusual request, but these are unusual times, and God knows you have been appointed to serve in an extremely unusual administration. As Director of the NIH

In the Pipeline·

Helium and the Strait of Hormuz

OK, let’s talk helium today. A while back I wrote about the Haber-Bosch process for making ammonia (and thus making nitrogen fertilizer), and how that was already being impacted by the then fresh and new Iran war. Well here we are in the fi

In the Pipeline·

Ubiquitin Rides Again

When appropriate I usually wait until the end of one of these posts to draw attention to the way that its subject dovetails (or not) with the current fashion for AI/ML techniques. For one thing, I find it helpful to remember that really new

In the Pipeline·

The Latest News in Vaccine Obstruction

Well, I know by now what happens when I bring up vaccines, but I’m going to do it anyway because we have a lot of news. As many will have heard, news broke recently of several large-scale studies of safety for the coronavirus and shingles v

In the Pipeline·

Those Pesky Post Translational Modifications

I’ve written here many times about various post-translational protein modifications. That’s a huge field of study, because it has become more and more clear over the years that it’s not so much that living cells have huge numbers of differe

In the Pipeline·

More Vague, But More Useful

I think that many synthetic organic chemists will be able to relate to the approach described in this paper, on software-aided route design. Its authors are trying to make such software take a viewpoint from higher over the synthesis, rathe

In the Pipeline·

What Success Can Look Like, Darn It

I wrote here last year about the clinical trial results for the first “bifunctional degrader” molecule to make it that far, vepdegestrant from Arvinas and Pfizer. That post will send you to some background information about this class of mo

In the Pipeline·

A Futuristic Synthesis Indeed

I definitely need to cover this recent work from Merck, because (1) it’s very interesting scientifically and (2) it has over 130 authors on the paper (!) It details the industrial synthesis of enlicitide, which is a beast of a macrocyclic p

In the Pipeline·

Stemming the AI Preprint Flood

The arXiv preprint server has become essential to several scientific fields, and has inspired similar services like BioRxiv and ChemRxiv. But the generative AI age has been hard on these sites, and you can see it by their steady imposition

In the Pipeline·

CYA

Working in any sort of large organization, you quickly come to recognize the signs of people trying to avoid blame or to just plain old scurry for cover. There’s one I always remember from my early days in the industry when we had a pretty