Programming · Latest articles

30 new today · 2,696 articles · from 79 blogs

The Old New Thing··Raymond Chen

Could we use the CoreApplication Properties to manage the lifetime of an object that refuses to be marshaled?

AI summaryThe article examines whether CoreApplication.Properties can manage the lifetime of a non-marshalable object, but since it relies on RoGetAgileReference, storing such an object fails with CO_E_NOT_SUPPORTED. An alternative approach of wrapping the non-marshalable object in a marshalable wrapper and storing it under a generated key would work, but it adds unnecessary complexity. It's simpler to just keep the marshalable wrapper itself, so CoreApplication.Properties provides no added value.

Real Python··Real Python

Google Sets a Deadline for AI Agents Working in Gmail

AI summaryGoogle announced that AI agents working with Gmail, Docs, and other Workspace apps must switch from traditional APIs to Workspace MCP servers or the Workspace CLI, with enforcement starting February 1, 2027, and paid 'Scaled tier' billing beginning April 1, 2027. Meanwhile, Anthropic introduced 'Skills over MCP,' letting apps connected to Claude provide step-by-step instructions for complex tasks like managing a Shopify store, now in public beta. Both companies are betting on MCP (Model Context Protocol) as the shared standard for connecting AI assistants to external applications.

JetBrains Blog··Alina Dolgikh

Introducing the Kotlin Security Newsletter

AI summaryThe Kotlin team has launched the Kotlin Security Newsletter, a roughly monthly digest that collects security fixes across Kotlin and its ecosystem—including Kotlin, the kotlinx libraries, Compose Multiplatform, Ktor, and Exposed—along with broader ecosystem security news and occasional community security events. The newsletter responds to a sharp rise in security updates, with 10 fixes published this year compared to one in each of the previous two years, a trend driven by faster security research and AI-assisted discovery. It also encourages users to report vulnerabilities through the Kotlin issue tracker's Security Problem type or security@jetbrains.com, following the Coordinated Disclosure Policy and manually verifying any AI-assisted findings.

Kotlin Blog··Alina Dolgikh

Introducing the Kotlin Security Newsletter

AI summaryThe Kotlin team at JetBrains is launching the Kotlin Security Newsletter, a monthly digest that consolidates security fixes for Kotlin and its ecosystem (including the kotlinx libraries, Compose Multiplatform, Ktor, and Exposed), along with broader ecosystem security news affecting Android, server-side, and Kotlin Multiplatform development. The newsletter responds to a sharp rise in security updates—the team published 10 fixes this year versus one in each of the previous two years, mirroring an industry-wide trend accelerated by AI-assisted security research. Each digest will also occasionally announce community security events, and readers are asked to report vulnerabilities via the Kotlin issue tracker or security@jetbrains.com, following JetBrains' coordinated disclosure policy.

JetBrains Blog··Oleg Zinovyev

Webinar Recap: Embedded Debugging With CLion and SEGGER

AI summaryThis post recaps a joint JetBrains and SEGGER webinar on CLion's embedded debugging integration with SEGGER J-Link, including new one-click access to Ozone and SystemView and the ability for AI agents to run debug sessions via CLion's built-in MCP server. The integration lets developers build, flash, and debug on real targets from CLion, with RTT output, live variable values, and RTOS state alongside deeper analysis tools from SEGGER. A demo showed an AI agent diagnosing and fixing a stalled signal pipeline on an nRF52840 running FreeRTOS, followed by Q&A on setup, multi-MCU projects, and remote debugging options.

Real Python··Real Python

Quiz: Python Timer Functions: Three Ways to Monitor Your Code

AI summaryThis article introduces a quiz that tests your understanding of Python timer functions and code monitoring techniques. It covers why time.perf_counter() is the preferred clock for timing code, as well as how to implement a timer using a class, a context manager, and a decorator. The quiz also reviews timeit and cProfile for benchmarking and profiling Python programs.

Real Python··Real Python

The Real Python Podcast – Episode #320: Optimizing Python Performance & Building a Django Static Site

AI summaryThis episode of The Real Python Podcast features Christopher Trudeau discussing a batch of articles and projects from PyCoder's Weekly. The main topics include moving from profiling a Python program's performance to optimizing it, along with common techniques for speeding up code and which approaches to avoid. The episode also covers building a Django static site.

Planet PostgreSQL·

Ashutosh Bapat: A morning well spent nurturing the Talk Solicitation Program

AI summaryThe author describes the Talk Solicitation Program (TSP) launched at PGConf.dev, which lets attendees request, upvote, and discuss topics they want to hear, giving speakers and the program committee insight into audience interests. While reviewing the first real topic requests and upvotes, the author discovered that GitHub doesn't show who cast upvotes, found an existing community discussion asking for that feature since 2021, and participated in it themselves. The post encourages readers planning to attend PGConf.dev 2027 to browse, upvote, discuss, and request topics through the TSP to help shape the conference program.

Simon Willison··Simon Willison

datasette-mcp 0.4

Release: datasette-mcp 0.4 Fixed for compatibility with Datasette 1.0a44. Tags: model-context-protocol, datasette

Planet PostgreSQL·

Dan Langille: Galène, part 2: tests passed, old data repaired

AI summaryThe article describes how FreshPorts had been storing UTF-8 port files with double encoding, causing project names like 'Galène' to display incorrectly as 'Galène'. Following a previous post that explained the fix and testing approach, this post reports that the tests passed and that the previously corrupted data has been successfully repaired.

Ruby on Rails Blog··Emmanuel Hayford

credentials:keys, bulk Action Text, and more!

AI summaryThis week's Rails update introduces a new bin/rails credentials:keys command to list credential keys without exposing secrets, bulk loading of Action Text attachables to eliminate per-attachment queries, and the ability for Action Mailer to boot without Active Job. Other notable changes include NOT ENFORCED check constraint support for PostgreSQL 18+, thread-isolation fixes for ActionController::Live streams, and numerous bug fixes across truncation, Accept header parsing, and SQLite's raised minimum version of 3.37.0. The release closed out with contributions from 48 developers to the Rails codebase.

Rust Blog··The Rust Release Team

Announcing Rust 1.100.1

AI summaryThe Rust team has released Rust 1.100.1, a point release that fixes a regression where some types were not inferred as having Iterator impls. The issue was caused by a change to the unstable const version of Iterator in Rust 1.100.0, which has now been reverted. Users can update via rustup, and testers are encouraged to try the beta or nightly channels and report bugs.

JetBrains Blog··Ksenia Shneyveys

Advent of Code 2026: ’Tis the Season to Code in Kotlin

AI summaryThe Kotlin team is inviting developers to join Advent of Code 2026, featuring four days of livestreams (December 1–4) with Sebastian Aigner and special guests, along with community activities in the Kotlinlang Slack. Participants can join Kotlin leaderboards and compete for exclusive prizes by solving at least three puzzles in Kotlin without AI and publishing their solutions on GitHub with the aoc-2026-in-kotlin topic. Prizes will also go to randomly selected participants and outstanding community contributors, and resources like the Advent of Code Kotlin template are available to help people get started.

Kotlin Blog··Ksenia Shneyveys

Advent of Code 2026: ’Tis the Season to Code in Kotlin

AI summaryThe Kotlin team invites developers to join Advent of Code 2026 with four days of livestreams (December 1–4) hosted by Sebastian Aigner and guests, community activities in the Kotlinlang Slack, and leaderboard competitions with exclusive prizes. To be eligible for prizes, participants must solve at least three puzzles in Kotlin without AI, publish their solutions on GitHub with the aoc-2026-in-kotlin topic, and include contact information in their profile. The article also encourages solving puzzles independently and provides resources such as the Advent of Code Kotlin template to help participants get started.

Daniel Lemire··Daniel Lemire

Our textbook on machine learning and artificial intelligence is out

AI summaryRobert Godin and the author have released a new 741-page textbook, 'Introduction to Machine Learning and Artificial Intelligence with Python,' available in paperback and Kindle editions. The book is aimed at college students taking a first course or Python programmers wanting to learn machine learning, covering NumPy, Pandas, linear regression, decision trees, building a neural network from scratch, and then moving to PyTorch, transformers, model libraries, language models, reinforcement learning, and deploying a model in a container. Each chapter includes runnable examples and exercises with solutions.

Planet PostgreSQL·

Radim Marek: ANALYZE on a mostly-NULL column

AI summaryThe article shows that PostgreSQL's ANALYZE produces wildly unstable n_distinct estimates for a column that is 99.8% NULL, because the default sample yields only about 60 non-NULL values and the birthday problem means a repeat-free sample often triggers a rule in analyze.c that declares the column 'unique,' storing a negative n_distinct of -(1 - null_frac). On a lab table, 200 ANALYZE runs produced estimates ranging from negative fractions to 2,696 against a true value of 2,000, and this flip-flopping alone switched a join query between nested loop and merge join plans with different buffer costs, even with no data changes. The author identifies a pg_stats query to find affected mostly-NULL columns and recommends two fixes: raising the column's per-column statistics target to enlarge the sample, or setting a fixed n_distinct value directly.

Daniel Lemire··Daniel Lemire

Don’t be Andy Bernard

AI summaryThe article argues that prestige—reputation by association with elite institutions or signals—is not the same as genuine reputation, which is earned slowly through reliable work and can be lost quickly. Prestige is noisy, gamified, and time-delayed, and relying on it too long becomes a negative signal, as illustrated by Andy Bernard from The Office constantly touting his Cornell degree. The author's advice is to skip the shortcuts and build real reputation by doing good work.

Simon Willison··Simon Willison

Quoting Jack Despain Zhou

AI summaryThe article quotes Jack Despain Zhou arguing that AI, particularly Claude, has caused a widespread 'de-individualization' in modern communication. He observes Claude's distinctive voice everywhere—in YouTube videos, conference presentations, and email pitches from seemingly credible individuals and institutions. This ubiquity of AI-generated text raises concerns about authenticity even among people publishing under their own reputations.