Daily edition

Nov 29, 2026

The edition exactly as it was published. Nothing here is re-selected on a later reading.

Nov 30, 20265 reads · 58 merged PRs screened

runtime

ggml-org/llama.cpp · #32644

Files changed →View PR ↗

models: add MiniCPM5 MoE supportC++ · 238 + / 0 −

Introduces 3 new declarations in src/models/minicpm5-moe.cpp.

Adds new runtime rather than adjusting what was there. Tests changed with it, with code of their own.

src/models/minicpm5-moe.cpp ↗ · 10 files

@@ -0,0 +1,221 @@+#include "models.h"++void llama_model_minicpm5_moe::load_arch_hparams(llama_model_loader & ml) {+    if (hparams.n_embd_head_k_full != hparams.n_embd_head_v_full) {+        throw std::runtime_error("MiniCPM5 MoE requires equal key and value head sizes");+    }++    ml.get_key(LLM_KV_ATTENTION_LAYERNORM_RMS_EPS, hparams.f_norm_rms_eps);+    ml.get_key(LLM_KV_LEADING_DENSE_BLOCK_COUNT,   hparams.n_layer_dense_lead);+    ml.get_key_or_arr(LLM_KV_EXPERT_FEED_FORWARD_LENGTH, hparams.n_ff_exp_arr, hparams.n_layer_all);+    ml.get_key(LLM_KV_EXPERT_SHARED_COUNT,         hparams.n_expert_shared);+    ml.get_key(LLM_KV_EXPERT_WEIGHTS_SCALE,        hparams.expert_weights_scale);+    ml.get_key(LLM_KV_EXPERT_WEIGHTS_NORM,         hparams.expert_weights_norm);+    ml.get_key(LLM_KV_EXPERT_GATING_FUNC,         hparams.expert_gating_func, false);++    if (hparams.expert_gating_func == LLAMA_EXPERT_GATING_FUNC_TYPE_NONE) {+        hparams.expert_gating_func = LLAMA_EXPERT_GATING_FUNC_TYPE_SIGMOID;+    }+    type = LLM_TYPE_UNKNOWN;+}++void llama_model_minicpm5_moe::load_arch_tensors(llama_model_loader &) {+    LLAMA_LOAD_LOCALS;+    const int64_t n_expert_shared = hparams.n_expert_shared;++    tok_embd = create_tensor(tn(LLM_TENSOR_TOKEN_EMBD, "weight"), {n_embd, n_vocab}, 0);++    // output+    output_norm = create_tensor(tn(LLM_TENSOR_OUTPUT_NORM, "weight"), {n_embd}, 0);+    output      = create_tensor(tn(LLM_TENSOR_OUTPUT,      "weight"), {n_embd, n_vocab}, TENSOR_NOT_REQUIRED);++    // if output is NULL, init from the input tok embed+    if (output == NULL) {

core implementation

pandas-dev/pandas · #70622

Files changed →View PR ↗

ENH: add sum/prod/mean/median/std/var/sem/skew/kurt to Index (GH#50021)Python · 578 + / 5 −

Introduces 12 new declarations in pandas/core/indexes/base.py.

Adds new core implementation rather than adjusting what was there. Tests changed with it, with code of their own.

pandas/core/indexes/base.py ↗ · 5 files

@@ -8323,6 +8331,554 @@ def max(             nanops.nanmax(self._values, skipna=skipna), object_with_dtype=self         ) +    @final+    def _validate_numpy_reduction(+        self,+        name: str_t,+        validate: Callable[..., None],+        axis: AxisInt | None,+        numpy_kwargs: dict[str_t, Any],+        **op_kwargs: Any,+    ) -> Any:+        """+        Validate numpy-compat arguments, or return the deprecated numpy result.++        Returns ``lib.no_default`` when the caller should compute its own result.+        """+        if numpy_kwargs["out"] is lib.no_default:+            # numpy always passes ``out``, so this is a direct call+            numpy_kwargs["out"] = None+        else:+            result = self._deprecated_numpy_reduction(+                name, axis, numpy_kwargs, **op_kwargs+            )+            if result is not lib.no_default:+                return result+        validate((), numpy_kwargs, fname=name)+        nv.validate_minmax_axis(axis)+        return lib.no_default++    @final+    def _deprecated_numpy_reduction(+        self,

framework internals

holoviz/panel · #9187

Files changed →View PR ↗

perf: Mount ReactComponent roots in batchesTypeScript · 74 + / 9 −

Introduces 3 new declarations in panel/models/react_component.ts.

Adds new framework internals rather than adjusting what was there. Tests changed with it, with code of their own.

panel/models/react_component.ts ↗ · 3 files

@@ -899,6 +903,71 @@ function uses_emotion(libs: ReactLibs): boolean {   return libs.createCache != null && libs.CacheProvider != null } +// React renders each root in a scheduler task of its own and yields to the+// browser every 5ms, so when many roots mount at once, e.g. one per widget in+// a large layout, only a few mount per frame and the browser restyles and+// repaints the whole page for every one of those frames. Mounts are instead+// queued and flushed synchronously in batches, yielding once a batch has run+// for MOUNT_BUDGET ms.+const MOUNT_BUDGET = 50+let pending_mounts: (() => void)[] = []+let mount_channel: MessageChannel | null = null++function flush_mounts(): void {+  const start = performance.now()+  let i = 0+  while (i < pending_mounts.length && performance.now() - start < MOUNT_BUDGET) {+    try {+      pending_mounts[i++]()+    } catch (e) {+      // Errors raised while rendering used to surface from React's own task,+      // so they are re-raised without holding up the remaining mounts.+      queueMicrotask(() => { throw e })+    }+  }+  pending_mounts = pending_mounts.slice(i)+  if (pending_mounts.length > 0) {+    mount_channel!.port2.postMessage(null)+  }+}++function queue_mount(mount: () => void): void {+  if (mount_channel == null) {

runtime

nodejs/node · #67807

Files changed →View PR ↗

url: add experimental URLPatternListC++ · 537 + / 25 −

Introduces 3 new declarations in src/node_url_pattern.cc.

Adds new runtime rather than adjusting what was there. Tests changed with it, with code of their own.

src/node_url_pattern.cc ↗ · 14 files

@@ -662,6 +701,363 @@ void URLPattern::HasRegexpGroups(const FunctionCallbackInfo<Value>& info) {   info.GetReturnValue().Set(url_pattern->HasRegExpGroups()); } +namespace {+// Processes `input` and `base_url` as the URLPattern "match" algorithm does+// before it runs the component regular expressions, mirroring+// ada::url_pattern::match(). Returns errors::type_error where "match" throws,+// and std::nullopt where it returns null.+// https://urlpattern.spec.whatwg.org/#url-pattern-match+ada::result<std::optional<URLPatternList::Components>> ProcessMatchInput(+    const ada::url_pattern_input& input, const std::string_view* base_url) {+  URLPatternList::Components components;++  if (const auto* init = std::get_if<ada::url_pattern_init>(&input)) {+    if (base_url != nullptr) {+      return tl::unexpected(ada::errors::type_error);+    }+    auto processed =+        ada::url_pattern_init::process(*init,+                                       ada::url_pattern_init::process_type::url,+                                       "",+                                       "",+                                       "",+                                       "",+                                       "",+                                       "",+                                       "",+                                       "");+    if (!processed) {+      return std::nullopt;+    }+    components.protocol = std::move(processed->protocol).value_or("");+    components.username = std::move(processed->username).value_or("");

language design

rust-lang/rust · #166754

Files changed →View PR ↗

Rollup of 4 pull requestsRust · 337 + / 131 −

Introduces 11 new declarations in library/std/src/sys/fs/windows.rs.

Adds new language design rather than adjusting what was there. Tests changed with it, with code of their own.

library/std/src/sys/fs/windows.rs ↗ · 31 files

@@ -355,40 +362,49 @@ impl File {             )         };         let handle = unsafe { HandleOrInvalid::from_raw_handle(handle) };-        if let Ok(handle) = OwnedHandle::try_from(handle) {-            if opts.freeze_last_access_time || opts.freeze_last_write_time {-                let file_time =-                    c::FILETIME { dwLowDateTime: 0xFFFFFFFF, dwHighDateTime: 0xFFFFFFFF };-                cvt(unsafe {-                    c::SetFileTime(-                        handle.as_raw_handle(),-                        core::ptr::null(),-                        if opts.freeze_last_access_time { &file_time } else { core::ptr::null() },-                        if opts.freeze_last_write_time { &file_time } else { core::ptr::null() },-                    )-                })?;-            }-            // Manual truncation. See #115745.-            if opts.truncate-                && creation == c::OPEN_ALWAYS-                && api::get_last_error() == WinError::ALREADY_EXISTS-            {-                // This first tries `FileAllocationInfo` but falls back to-                // `FileEndOfFileInfo` in order to support WINE.-                // If WINE gains support for FileAllocationInfo, we should-                // remove the fallback.-                let alloc = c::FILE_ALLOCATION_INFO { AllocationSize: 0 };-                set_file_information_by_handle(handle.as_raw_handle(), &alloc)-                    .or_else(|_| {-                        let eof = c::FILE_END_OF_FILE_INFO { EndOfFile: 0 };-                        set_file_information_by_handle(handle.as_raw_handle(), &eof)-                    })-                    .io_result()?;+        let Ok(handle) = OwnedHandle::try_from(handle) else {

Read today’s edition →