Daily edition

Oct 11, 2026

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

Oct 12, 20265 reads · 67 merged PRs screened

framework internals

holoviz/panel · #8837

Files changed →View PR ↗

perf: Render Tabulator without the bokeh-tables bundleTypeScript · 388 + / 62 −

Introduces 25 new declarations in panel/models/cell_formatters.ts.

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

panel/models/cell_formatters.ts ↗ · 17 files

@@ -0,0 +1,179 @@+// Port of the Bokeh CellFormatter models (bokehjs/src/lib/models/widgets/tables/cell_formatters.ts)+// operating on plain specs, so that Tabulator does not depend on the bokeh-tables bundle.+import {div, i} from "@bokehjs/core/dom"+import {color2css, rgba2css} from "@bokehjs/core/util/color"+import {to_fixed} from "@bokehjs/core/util/string"+import {datetime} from "@bokehjs/core/util/templating"+import {isNumber, isString} from "@bokehjs/core/util/types"+import {NumeralTickFormatter} from "@bokehjs/models/formatters/numeral_tick_formatter"+import {ColorMapper} from "@bokehjs/models/mappers/color_mapper"+import {_} from "underscore.template"++export type CellFormatterSpec = {type: string, [key: string]: any}++export type CellFormatterFn = (value: any, data: {[key: string]: any}) => string | HTMLElement++type Formatted = {value: any, data: {[key: string]: any}}++function resolve(spec: any, data: {[key: string]: any}): any {+  if (spec == null) {+    return null+  } else if ("value" in spec) {+    return spec.value+  } else if ("field" in spec) {+    return data[spec.field]+  }+  return null+}++function resolve_color(spec: any, data: {[key: string]: any}): string | null {+  if (spec == null) {+    return null+  } else if ("value" in spec) {+    return spec.value == null ? null : color2css(spec.value)

language design

rust-lang/rust · #163918

Files changed →View PR ↗

remove redundant unsafeRust · 32 + / 14 −

Introduces 6 new declarations in library/stdarch/crates/core_arch/src/arm_shared/hints.rs.

Adds new language design rather than adjusting what was there. Read the linked PR for the surrounding test context.

library/stdarch/crates/core_arch/src/arm_shared/hints.rs ↗ · 2 files

@@ -17,8 +17,11 @@ ))] #[inline(always)] #[unstable(feature = "stdarch_arm_hints", issue = "117218")]-pub unsafe fn __wfi() {-    hint(HINT_WFI);+pub fn __wfi() {+    // SAFETY: The right HINT_WFI constant is passed to the llvm intrinsic。+    unsafe {+        hint(HINT_WFI);+    } }  /// Generates a WFE (wait for event) hint instruction, or nothing.

language design

pandas-dev/pandas · #69495

Files changed →View PR ↗

BUG: loc with bool label in object-dtype index or MultiIndex level (GH#50165)Python · 27 + / 8 −

Introduces 1 new declaration in pandas/core/indexing.py.

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

pandas/core/indexing.py ↗ · 3 files

@@ -3688,6 +3683,30 @@ def check_bool_indexer(index: Index, key) -> np.ndarray:     return check_array_indexer(index, result)  +def _holds_bool_label(index: Index, key: bool) -> bool:+    """+    Check whether a bool ``key`` can be looked up as a label in ``index``.++    For a MultiIndex, the key is matched against the first level.+    """+    if isinstance(index, MultiIndex):+        index = index.levels[0]+    if is_bool_dtype(index.dtype):+        return True+    if index.dtype != object:+        return False+    # object-dtype lookups match False to 0 and True to 1, so require that the+    # matched labels are actually bools, see GH#20432, GH#50165+    try:+        loc = index.get_loc(key)+    except KeyError:+        return False+    values = index._values[loc]+    if isinstance(values, np.ndarray):+        return is_bool_array(values)+    return is_bool(values)++ def convert_missing_indexer(indexer):     """     Reverse convert a missing indexer, which is a dict

runtime

ggml-org/llama.cpp · #29600

Files changed →View PR ↗

Runtime support for Prism Bonsai 2 27BC++ · 585 + / 0 −

Introduces 4 new declarations in src/llama-model.cpp.

Adds new runtime rather than adjusting what was there. Read the linked PR for the surrounding test context.

src/llama-model.cpp ↗ · 14 files

@@ -1985,9 +1987,342 @@ bool llama_model_base::load_tensors(llama_model_loader & ml) {         }     } +    load_tensors_hadamard();+     return true; } +// read and check the prism.hadamard metadata, and record the folded weights (load_tensors_hadamard makes the tensors)+void llama_model_base::load_hparams_hadamard(llama_model_loader & ml) {+    uint32_t hadamard_version = 0;+    ml.get_key(LLM_KV_PRISM_HADAMARD_TIED_OUTPUT, hdmd.tied_output, false);+    if (ml.get_key(LLM_KV_PRISM_HADAMARD_VERSION, hadamard_version, false)) {+        if (hadamard_version != 1 && hadamard_version != 2) {+            throw std::runtime_error(format("unsupported prism.hadamard.version: %u", hadamard_version));+        }++        if ((hadamard_version == 2) != hdmd.tied_output) {+            throw std::runtime_error("prism.hadamard version 2 requires tied_output=true; version 1 forbids it");+        }+        if (hdmd.tied_output && ml.get_weight("output.weight")) {+            throw std::runtime_error("prism.hadamard.tied_output requires output.weight to be absent");+        }++        uint32_t block_size = 0;+        std::string transform;+        std::string axis;+        std::string sign_mode;+        std::vector<std::string> weight_names;++        ml.get_key(LLM_KV_PRISM_HADAMARD_BLOCK_SIZE, block_size);+        ml.get_key(LLM_KV_PRISM_HADAMARD_TRANSFORM, transform);+        ml.get_key(LLM_KV_PRISM_HADAMARD_AXIS, axis);

core implementation

numpy/numpy · #32965

Files changed →View PR ↗

ENH: Replace `PyObject_Print` in the debug print functionsC · 33 + / 3 −

Reworks 23 lines of existing logic in numpy/_core/src/multiarray/descriptor.c.

Changes how existing core implementation behaves. Tests changed with it, with code of their own.

numpy/_core/src/multiarray/descriptor.c ↗ · 5 files

@@ -3658,6 +3658,32 @@ arraydescr_str(PyArray_Descr *dtype)     return res; } +/*+ * Print the repr of a dtype to stdout, for the debug print functions.+ */+NPY_NO_EXPORT void+arraydescr_debug_print(PyArray_Descr *descr)+{+    if (descr == NULL) {+        printf("<nil>");+        return;+    }+    Py_ssize_t size = 0;+    const char *str = NULL;+    PyObject *repr = PyObject_Repr((PyObject *)descr);+    if (repr != NULL) {+        str = PyUnicode_AsUTF8AndSize(repr, &size);+    }+    if (str == NULL) {+        PyErr_Clear();+        printf("<error during print>");+    }+    else {+        fwrite(str, 1, (size_t)size, stdout);+    }+    Py_XDECREF(repr);+}+ static PyObject * arraydescr_richcompare(PyArray_Descr *self, PyObject *other, int cmp_op) {

Read today’s edition →