Daily edition

Oct 17, 2026

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

Oct 18, 20265 reads · 67 merged PRs screened

systems design

kubernetes/kubernetes · #142742

Files changed →View PR ↗

kubeadm: remove usage of client-go/kubernetes/fakeGo · 203 + / 51 −

Introduces 8 new declarations in cmd/kubeadm/app/util/apiclient/dryrun.go.

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

cmd/kubeadm/app/util/apiclient/dryrun.go ↗ · 4 files

@@ -806,3 +888,100 @@ func getDeploymentList() *appsv1.DeploymentList { 		}, 	} }++// actionFor maps a request to the testing Action the typed fake clients would have produced.+func actionFor(req *http.Request, infoFactory *request.RequestInfoFactory, listKinds map[schema.GroupVersionResource]schema.GroupVersionKind) (testing.Action, error) {+	info, err := infoFactory.NewRequestInfo(req)+	if err != nil {+		return nil, apierrors.NewBadRequest(err.Error())+	}+	if !info.IsResourceRequest {+		return nil, apierrors.NewNotFound(schema.GroupResource{}, req.URL.Path)+	}+	gvr := schema.GroupVersionResource{Group: info.APIGroup, Version: info.APIVersion, Resource: info.Resource}++	switch info.Verb {+	case "get":+		return testing.NewGetSubresourceAction(gvr, info.Namespace, info.Subresource, info.Name), nil+	case "list":+		// NewListActionWithOptions panics on malformed selectors; parse them first.+		query := req.URL.Query()+		opts := metav1.ListOptions{+			LabelSelector: query.Get("labelSelector"),+			FieldSelector: query.Get("fieldSelector"),+		}+		if _, err := labels.Parse(opts.LabelSelector); err != nil {+			return nil, apierrors.NewBadRequest(err.Error())+		}+		if _, err := fields.ParseSelector(opts.FieldSelector); err != nil {+			return nil, apierrors.NewBadRequest(err.Error())+		}+		return testing.NewListActionWithOptions(gvr, listKinds[gvr], info.Namespace, opts), nil+	case "create", "update", "patch":

runtime

ggml-org/llama.cpp · #30673

Files changed →View PR ↗

model : add Kolibri-1 (Aleph-Alpha) supportC++ · 207 + / 0 −

Introduces 2 new declarations in src/models/kolibri1.cpp.

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

src/models/kolibri1.cpp ↗ · 14 files

@@ -0,0 +1,187 @@+#include "models.h"++void llama_model_kolibri1::load_arch_hparams(llama_model_loader & ml) {+    ml.get_key(LLM_KV_ATTENTION_LAYERNORM_RMS_EPS,       hparams.f_norm_rms_eps);+    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_SHARED_FEED_FORWARD_LENGTH, hparams.n_ff_shexp);+    ml.get_key(LLM_KV_EXPERT_WEIGHTS_NORM,               hparams.expert_weights_norm);+    ml.get_key(LLM_KV_EXPERT_GATING_FUNC,                hparams.expert_gating_func);+    ml.get_key(LLM_KV_ATTENTION_SLIDING_WINDOW,          hparams.n_swa);++    if (hparams.n_swa == 0 || hparams.n_expert_shared != 1 || hparams.n_ff_shexp == 0) {+        throw std::runtime_error("Kolibri-1: invalid sliding window or shared expert configuration");+    }++    hparams.swa_type = LLAMA_SWA_TYPE_STANDARD;+    ml.get_arr(LLM_KV_ATTENTION_SLIDING_WINDOW_PATTERN, hparams.is_swa_impl);++    hparams.rope_freq_base_train_swa  = hparams.rope_freq_base_train;+    hparams.rope_freq_scale_train_swa = hparams.rope_freq_scale_train;++    switch (hparams.n_layer()) {+        case 50: type = LLM_TYPE_78B_A3_5B; break;+        default: type = LLM_TYPE_UNKNOWN;+    }+}++void llama_model_kolibri1::load_arch_tensors(llama_model_loader &) {+    LLAMA_LOAD_LOCALS;++    const int64_t n_ff_exp   = hparams.n_ff_exp();+    const int64_t n_ff_shexp = hparams.n_ff_shexp;+

language design

pandas-dev/pandas · #70769

Files changed →View PR ↗

REF: build the DataFrame in ParserBase.read for the C and Python engines (GH#43135)Python · 101 + / 113 −

Introduces 6 new declarations in pandas/io/parsers/readers.py.

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

pandas/io/parsers/readers.py ↗ · 8 files

@@ -3205,76 +3192,15 @@ def read(self, nrows: int | None = None) -> DataFrame:         >>> with pd.read_csv("data.csv", iterator=True) as reader:  # doctest: +SKIP         ...     df = reader.read()         """-        if self.engine == "pyarrow":-            try:-                # error: "ParserBase" has no attribute "read"-                df = self._engine.read()  # type: ignore[attr-defined]-            except Exception:-                self.close()-                raise-        else:+        if self.engine != "pyarrow":+            # the pyarrow engine ignores nrows             nrows = validate_integer("nrows", nrows)-            try:-                # error: "ParserBase" has no attribute "read"-                (-                    index,-                    columns,-                    col_dict,-                ) = self._engine.read(  # type: ignore[attr-defined]-                    nrows-                )-            except Exception:-                self.close()-                raise--            if index is None:-                if col_dict:-                    # Any column is actually fine:-                    new_rows = len(next(iter(col_dict.values())))-                    index = RangeIndex(self._currow, self._currow + new_rows)-                else:

language design

rust-lang/rust · #162809

Files changed →View PR ↗

Remap local def ids for deterministic metadata encodingRust · 249 + / 61 −

Introduces 21 new declarations in compiler/rustc_metadata/src/rmeta/mod.rs.

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

compiler/rustc_metadata/src/rmeta/mod.rs ↗ · 11 files

@@ -340,27 +343,179 @@ pub(crate) struct CrateRootUnhashed {     dep_extra_filenames: IndexVec<CrateNum, String>, } -/// On-disk representation of `DefId`.-/// This creates a type-safe way to enforce that we remap the CrateNum between the on-disk-/// representation and the compilation session.-#[derive(Copy, Clone, Hash, PartialEq, Eq, Encodable, BlobDecodable)]-pub(crate) struct RawDefId {-    krate: u32,-    index: u32,+#[derive(Default)]+pub(crate) struct LocalDefsRemapping {+    /// See `Definitions::first_non_det_index`, it is just cached version of it.+    pub first_non_det_index: u32,++    /// The map where for each non-det local def id the remapped def index+    /// is stored. It can be accessed by+    /// `remapping[id.local_def_index - first_non_det_index]`, the caller should+    /// ensure that `id.local_def_index >= first_non_det_index`.+    pub remapping: Vec<DefIndex>,++    /// The ordered list of NON-remapped non-det local def ids. This+    /// list is used when we need to iterate over all local defs in a+    /// stable order.+    pub sorted_non_det_ids: Rc<[LocalDefId]>, } -impl From<DefId> for RawDefId {-    fn from(val: DefId) -> Self {-        RawDefId { krate: val.krate.as_u32(), index: val.index.as_u32() }+#[derive(Debug, PartialEq, Eq, Clone, Copy, Hash)]+pub(crate) struct RemappedLocalDefId {+    pub index: DefIndex,

framework internals

nodejs/node · #66650

Files changed →View PR ↗

quic: validate stream error codesJavaScript · 31 + / 44 −

Introduces 1 new declaration in lib/internal/quic/quic.js.

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

lib/internal/quic/quic.js ↗ · 4 files

@@ -1033,6 +1033,23 @@ function assertPrivateSymbol(privateSymbol) { // maximum representable code is 2**62 - 1. const kMaxQuicErrorCode = (1n << 62n) - 1n; +function validateQuicErrorCode(code, name) {+  if (typeof code !== 'bigint' && typeof code !== 'number') {+    throw new ERR_INVALID_ARG_TYPE(name, ['bigint', 'number'], code);+  }+  if (typeof code === 'number' && !NumberIsInteger(code)) {+    throw new ERR_OUT_OF_RANGE(name, 'an integer', code);+  }+  const numericCode = BigInt(code);+  if (numericCode < 0n || numericCode > kMaxQuicErrorCode) {+    throw new ERR_OUT_OF_RANGE(+      name,+      `>= 0 and <= ${kMaxQuicErrorCode}`,+      code);+  }+  return numericCode;+}+ /**  * An Error subclass that carries an explicit numeric QUIC error code.  * Use this when destroying a stream or aborting an outbound writer to

Read today’s edition →