AI 摘要The 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.
AI 摘要Google 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.
AI 摘要The 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.
AI 摘要The 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.
AI 摘要This 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.
AI 摘要This 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.
AI 摘要This 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.
AI 摘要The 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.
PostgreSQL divides large tables into 1GB segment files, but the server has no authoritative record of how many segments exist. (I consult on PostgreSQL through PGX Inc..)
AI 摘要The 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.
AI 摘要This 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.
How pg_orca added PostgreSQL 19.0 support in 13 #if guards across 6 files — without forking a branch — plus native SQL:2003 IGNORE NULLS support and the real optimizer bugs uncovered by PG 19's regression suite.
AI 摘要The 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.
AI 摘要The 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.
AI 摘要The 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.
AI 摘要Robert 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.
AI 摘要The 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.
AI 摘要The 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.
AI 摘要The 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.