# ordering

Ordering is an abstract relation used in algorithms to compare and arrange data objects, including sorting and priority queues.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Causal Overtaking in Fair Transaction Ordering

DevFeed: [Causal Overtaking in Fair Transaction Ordering](<https://devfeed.tech/articles/causal-overtaking-in-fair-transaction-ordering-146054.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.26100>)

Author: Haozhe Feng, Di Wu, Jian Liu

Published: 2026-11-20T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [ordering](<https://devfeed.tech/topics/ordering.md>), [Simulation](<https://devfeed.tech/topics/simulation.md>), [causality](<https://devfeed.tech/topics/causality.md>), [Latency](<https://devfeed.tech/topics/latency.md>)

Tags: [attack](<https://devfeed.tech/tags/attack.md>), [aws](<https://devfeed.tech/tags/aws.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [latency](<https://devfeed.tech/tags/latency.md>), [measurements](<https://devfeed.tech/tags/measurements.md>), [mitigation](<https://devfeed.tech/tags/mitigation.md>), [model](<https://devfeed.tech/tags/model.md>), [network](<https://devfeed.tech/tags/network.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [protocols](<https://devfeed.tech/tags/protocols.md>), [simulations](<https://devfeed.tech/tags/simulations.md>), [transaction](<https://devfeed.tech/tags/transaction.md>)

### AI overview

The paper identifies causal overtaking in fair transaction ordering: corrupted replicas can submit identical signed copies of a responsive transaction through multiple client entries, letting their first arrivals collectively provide ordering support that no single path achieves. The authors formalize receipt-order protocols including Themis, characterize when the attack is feasible, and report that delayed gossip does not prevent it. Under their network model, opposite required transaction orders can yield identical receipt evidence, so receipt-only mechanisms cannot always preserve earlier-submission priority while preventing responsive overtaking. They propose a mitigation and evaluate the attack and mitigation on Themis using simulations driven by AWS and WonderProxy latency measurements; the abstract does not describe the mitigation's design.

### Source excerpt

arXiv:2611.26100v1 Announce Type: new Abstract: Fair transaction ordering protocols aim to mitigate front-running using replica-local arrival orders, but prior work often assumes a single submission origin for each responsive transaction. We identify causal overtaking, in which corrupted replicas observe a target and submit identical signed copies of a responsive transaction through multiple client entries. The copies' first arrivals at different replicas can collectively provide ordering support that no individual path achieves, allowing the response to execute before its target. We formalize a class of receipt-order protocols, including Themis, characterize the timing and network conditions under which the attack is feasible, and show that delayed gossip does not rule it out. We further prove that, under our network model, histories requiring opposite transaction orders can produce identical receipt evidence. Thus, receipt-only mechanisms cannot always preserve earlier-submission priority while preventing responsive overtaking. We propose a mitigation and analyze its assumptions and limitations. Finally, we evaluate the attack and mitigation on Themis through simulations driven by AWS and WonderProxy latency measurements.

## VOS: Variate Ordering Strategies for Skyline Query Optimization

DevFeed: [VOS: Variate Ordering Strategies for Skyline Query Optimization](<https://devfeed.tech/articles/vos-variate-ordering-strategies-for-skyline-query-optimization-142284.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2608.26464>)

Author: Abhinav Gorantla, Pratanu Mandal, K. Sel\\c{c}uk Candan, Maria Luisa Sapino

Published: 2026-11-19T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>)

Topics: [database-optimization](<https://devfeed.tech/topics/database-optimization.md>), [ordering](<https://devfeed.tech/topics/ordering.md>), [Query (disambiguation)](<https://devfeed.tech/topics/query.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [overhead](<https://devfeed.tech/tags/overhead.md>), [query](<https://devfeed.tech/tags/query.md>), [query-optimization](<https://devfeed.tech/tags/query-optimization.md>), [scalar](<https://devfeed.tech/tags/scalar.md>), [simd](<https://devfeed.tech/tags/simd.md>)

### AI overview

VOS targets a gap in skyline query optimization: reducing tuple-pair dominance checks may not reduce execution work when each check evaluates only some preference attributes. The paper argues that both tuple-level checks and total per-attribute comparisons matter, and proposes strategies for ordering attributes (variates) to reduce redundant comparisons. Experiments on synthetic and real-world datasets, using scalar and SIMD architectures, reportedly reduce computational overhead and improve skyline query performance.

### Source excerpt

arXiv:2608.26464v2 Announce Type: replace Abstract: Efficiency of skyline algorithms is highly influenced by the underlying data characteristics. Traditionally, optimization efforts have focused on minimizing the total number of tuple-pair dominance checks to improve query performance. However, in practice, a dominance check between two tuples does not necessarily require evaluating dominance relationships for each and every preference attribute of the data and this creates a disconnect between dominance checks optimization and query execution performance. In this paper, we argue that skyline algorithms need to optimize total per-attribute dominance checks, along with per-tuple dominance checks and that, for both of these goals, the ordering of the attributes (or variates) can have a substantial impact on the efficiency of skyline computation. Based on this premise, we present several strategies for identifying an effective variate order to minimize redundant attribute comparisons. Extensive experiments on both synthetic and real-world datasets, and on both scalar and SIMD architectures, confirm the effectiveness of the proposed approach in reducing computational overhead and improving skyline query performance.

## Learn Data Structures and Algorithms in Python with Visualizations

DevFeed: [Learn Data Structures and Algorithms in Python with Visualizations](<https://devfeed.tech/articles/learn-data-structures-and-algorithms-in-python-with-visualizations-142083.md>)

Original publisher: [Read original article](<https://www.freecodecamp.org/news/learn-data-structures-and-algorithms-in-python-with-visualizations/>)

Author: Beau Carnes

Published: 2026-11-18T15:48:16Z

Content type: release

Language: en

Sources: [Free Code Camp](<https://devfeed.tech/sources/freecodecamp-programming-tutorials-python-javascript-git-more.md>)

Topics: [Data structures](<https://devfeed.tech/topics/data-structures.md>), [ordering](<https://devfeed.tech/topics/ordering.md>), [coding patterns](<https://devfeed.tech/topics/coding-patterns.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [animations](<https://devfeed.tech/tags/animations.md>), [arrays](<https://devfeed.tech/tags/arrays.md>), [beginners](<https://devfeed.tech/tags/beginners.md>), [big-o-notation](<https://devfeed.tech/tags/big-o-notation.md>), [binary-search](<https://devfeed.tech/tags/binary-search.md>), [breadth-first-search](<https://devfeed.tech/tags/breadth-first-search.md>), [bubble](<https://devfeed.tech/tags/bubble.md>), [coding-interview](<https://devfeed.tech/tags/coding-interview.md>), [course](<https://devfeed.tech/tags/course.md>), [data-structures](<https://devfeed.tech/tags/data-structures.md>), [data-structures-and-algorithms](<https://devfeed.tech/tags/data-structures-and-algorithms.md>), [depth-first-search](<https://devfeed.tech/tags/depth-first-search.md>), [dict](<https://devfeed.tech/tags/dict.md>), [dijkstra](<https://devfeed.tech/tags/dijkstra.md>), [graphs](<https://devfeed.tech/tags/graphs.md>), [heaps](<https://devfeed.tech/tags/heaps.md>), [python](<https://devfeed.tech/tags/python.md>), [search](<https://devfeed.tech/tags/search.md>), [trees](<https://devfeed.tech/tags/trees.md>), [youtube](<https://devfeed.tech/tags/youtube.md>)

### AI overview

Javid Bodurov's 2.5-hour freeCodeCamp course teaches data structures and algorithms in Python through animations, visualizations, and code examples. It assumes basic Python knowledge (variables, loops, functions, and lists); learners build structures themselves and compare them with Python tools such as dict, set, deque, and heapq. Topics include Big O, arrays and linked lists, stacks, queues, hash tables, trees, heaps, graphs, recursion, searching, sorting, and problem-solving patterns. Examples include balanced brackets, graph traversals and Dijkstra's algorithm, memoized Fibonacci, and coding interview problems.

### Source excerpt

Data structures such as arrays, linked lists, stacks, queues, hash tables, trees, heaps, and graphs determine how a program stores data and how fast it can search, insert, and remove items. Big O nota

## Ordering without clocks: Lamport timestamps and vector clocks in practice

DevFeed: [Ordering without clocks: Lamport timestamps and vector clocks in practice](<https://devfeed.tech/articles/ordering-without-clocks-lamport-timestamps-and-vector-clocks-in-practice-136262.md>)

Original publisher: [Read original article](<https://ankit-rana.com/logs/75-ordering-without-clocks-logical-time/>)

Author: hello@ankit-rana.com

Published: 2026-11-16T00:00:00Z

Content type: article

Language: en

Sources: [Ankit Rana | Mechanical Sympathy](<https://devfeed.tech/sources/ankit-rana-mechanical-sympathy.md>)

Topics: [synchronization](<https://devfeed.tech/topics/synchronization.md>), [consistency](<https://devfeed.tech/topics/consistency.md>), [ordering](<https://devfeed.tech/topics/ordering.md>)

Tags: [causality](<https://devfeed.tech/tags/causality.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [conflict-resolution](<https://devfeed.tech/tags/conflict-resolution.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [lamport-timestamps](<https://devfeed.tech/tags/lamport-timestamps.md>), [logical-clocks](<https://devfeed.tech/tags/logical-clocks.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [timestamps](<https://devfeed.tech/tags/timestamps.md>), [vector-clocks](<https://devfeed.tech/tags/vector-clocks.md>)

### AI overview

Lamport timestamps provide causal ordering without relying on drifting clocks: increment a counter for local events, attach it to messages, and on receipt advance past the larger counter. A smaller timestamp does not prove that one event caused another, so using Lamport values alone to resolve conflicts still selects an arbitrary winner. Vector clocks track a counter per node and identify concurrent updates, allowing systems such as Riak to return both values for application merging; their size can grow with the number of writers. The excerpt describes dotted version vectors as limiting history to per-key concurrency, and hybrid logical clocks as combining physical time with a logical counter. It also notes that Kafka offsets order records only within a partition and database version columns support per-row optimistic locking.

### Source excerpt

A wall clock cannot order events across machines because clocks drift and NTP corrections can move time backwards. A Lamport timestamp is a counter incremented on every event and carried on every message, which guarantees that if one event caused another the causal one has a smaller number, giving a consistent total order without any clock. It cannot tell you whether two events were concurrent, which is exactly the question you need answered during a conflict, and that is what vector clocks provide at the cost of storing one counter per node.

## VIGOR: Visual Gain Ordering for Hallucination Mitigation in Multimodal Discrete Diffusion Language Models

DevFeed: [VIGOR: Visual Gain Ordering for Hallucination Mitigation in Multimodal Discrete Diffusion Language Models](<https://devfeed.tech/articles/vigor-visual-gain-ordering-for-hallucination-mitigation-in-multimodal-discrete-diffusion-language-models-117558.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.05066>)

Author: Junzhe Chen, Tian Qin, Eugenie Shi, Tianshu Zhang, Qiang Ju, Lijie Wen

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [vlm](<https://devfeed.tech/topics/vlm.md>), [ordering](<https://devfeed.tech/topics/ordering.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>)

Tags: [ablation](<https://devfeed.tech/tags/ablation.md>), [confidence](<https://devfeed.tech/tags/confidence.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cv](<https://devfeed.tech/tags/cs-cv.md>), [denoising](<https://devfeed.tech/tags/denoising.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [inference](<https://devfeed.tech/tags/inference.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [mitigation](<https://devfeed.tech/tags/mitigation.md>), [multimodal](<https://devfeed.tech/tags/multimodal.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [vision-language-models](<https://devfeed.tech/tags/vision-language-models.md>)

### AI overview

VIGOR addresses hallucinations in multimodal discrete diffusion language models as a premature commitment problem: masked tokens can be unmasked based on language-prior confidence before visual evidence adequately supports them, biasing later generation. This training-free, plug-and-play inference strategy compares candidate-token confidence in the image-conditioned pass with confidence in an additional visual-ablation pass at each denoising step, prioritizing positions whose predictions are more supported by the image. Experiments on LLaDA-V and Lumina-DiMOO reportedly show reduced hallucination and improved multimodal reasoning across benchmarks. The supplied abstract gives no benchmark details or effect sizes.

### Source excerpt

arXiv:2611.05066v1 Announce Type: cross Abstract: Multimodal discrete diffusion language models (dLLMs) generate responses through iterative mask prediction and offer a promising alternative to autoregressive large vision-language models. However, they still suffer from hallucination, producing outputs that are plausible under language priors but insufficiently grounded in the image. We argue that hallucination in multimodal dLLMs is not only a token prediction problem, but also a premature commitment problem: during iterative denoising, some masked positions are unmasked too early because their confidence is driven more by language priors than by visual evidence, and these early commitments can bias later generation. To address this issue, we propose Visual Gain Ordering (VIGOR), a training-free and plug-and-play inference strategy that reorders masked positions according to counterfactual visual evidence. At each denoising step, VIGOR compares the confidence of each candidate token under the original image-conditioned pass and an additional visual-ablation pass, and prioritizes positions whose predictions are more strongly supported by the image. Experiments on LLaDA-V and Lumina-DiMOO show that VIGOR consistently reduces hallucination and improves multimodal reasoning performance across benchmarks. Code is available at https://github.com/THU-BPM/Vigor.

## Sorting a Python Dictionary: Values, Keys, and More

DevFeed: [Sorting a Python Dictionary: Values, Keys, and More](<https://devfeed.tech/articles/sorting-a-python-dictionary-values-keys-and-more-100403.md>)

Original publisher: [Read original article](<https://realpython.com/sort-python-dictionary/>)

Author: Ian Currie

Published: 2026-10-25T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Sorting](<https://devfeed.tech/topics/sorting.md>), [ordering](<https://devfeed.tech/topics/ordering.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [22](<https://devfeed.tech/tags/22.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [absolute](<https://devfeed.tech/tags/absolute.md>), [code](<https://devfeed.tech/tags/code.md>), [compare](<https://devfeed.tech/tags/compare.md>), [fast](<https://devfeed.tech/tags/fast.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [keep](<https://devfeed.tech/tags/keep.md>), [key](<https://devfeed.tech/tags/key.md>), [keys](<https://devfeed.tech/tags/keys.md>), [learn](<https://devfeed.tech/tags/learn.md>), [nested](<https://devfeed.tech/tags/nested.md>), [python](<https://devfeed.tech/tags/python.md>), [sort](<https://devfeed.tech/tags/sort.md>), [sorting](<https://devfeed.tech/tags/sorting.md>), [techniques](<https://devfeed.tech/tags/techniques.md>), [value](<https://devfeed.tech/tags/value.md>), [values](<https://devfeed.tech/tags/values.md>)

### AI overview

Python's `sorted()` returns a new list, so sorting dictionary entries typically means sorting `dict.items()` and optionally rebuilding a dictionary with `dict()`. Default tuple ordering sorts by key; pass a `key` callback such as `lambda item: item[1]` or `operator.itemgetter(1)` to sort by value, and use `reverse=True` for descending order. For nested fields, a named function can apply defaults with `.get()` when values may be missing. Dictionaries cannot be sorted in place. The text reports `itemgetter()` outperforming a lambda in one benchmark, and a list sorting faster than sorting and rebuilding a dictionary in another; dictionary lookups were much faster than linear list searches in its sample. It cautions that timings vary by data and system. For repeated sorting, a list may fit better; for frequent lookups, a dictionary is faster. Ordered dictionary iteration also does not ensure custom key order will survive JSON or cross-language use.

### Source excerpt

Learn how to sort a Python dictionary by value or key, handle nested attributes, and compare techniques to keep your code fast and readable.

## Goal Retrieval versus Action-Value Ordering: Contrastive Critics under Best-of-$K$ Selection

DevFeed: [Goal Retrieval versus Action-Value Ordering: Contrastive Critics under Best-of-$K$ Selection](<https://devfeed.tech/articles/goal-retrieval-versus-action-value-ordering-contrastive-critics-under-best-of-k-selection-94742.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2607.27422>)

Author: Ayushman Singh, Siddharth Aphale

Published: 2026-10-22T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [ordering](<https://devfeed.tech/topics/ordering.md>), [information retrieval](<https://devfeed.tech/topics/information-retrieval.md>), [Robot Navigation](<https://devfeed.tech/topics/robot-navigation.md>)

Tags: [actions](<https://devfeed.tech/tags/actions.md>), [audit](<https://devfeed.tech/tags/audit.md>), [best-of](<https://devfeed.tech/tags/best-of.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [fail](<https://devfeed.tech/tags/fail.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [gap](<https://devfeed.tech/tags/gap.md>), [generators](<https://devfeed.tech/tags/generators.md>), [gives](<https://devfeed.tech/tags/gives.md>), [goals](<https://devfeed.tech/tags/goals.md>), [improvement](<https://devfeed.tech/tags/improvement.md>), [model](<https://devfeed.tech/tags/model.md>), [navigation](<https://devfeed.tech/tags/navigation.md>), [oracle](<https://devfeed.tech/tags/oracle.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [performance](<https://devfeed.tech/tags/performance.md>), [policy](<https://devfeed.tech/tags/policy.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [selection](<https://devfeed.tech/tags/selection.md>), [value](<https://devfeed.tech/tags/value.md>)

### AI overview

High goal-retrieval AUC does not guarantee that a critic will rank candidate actions well for best-of-K selection. Across eight OGBench tasks, raw and cosine contrastive critics achieved retrieval AUCs of 0.96-1.00, yet their progress ordering on navigation tasks was weaker and sometimes inverted. In an exact-value controlled problem, all three contrastive selectors had greater mean regret than random selection, with regret sometimes rising as K increased; TD-Q stayed close to the candidate-pool oracle. On PointMaze, the only task with a reliable learned value reference, TD-Q ordered actions substantially better on fixed queries, although executed-return differences were smaller and task-dependent. Matched controls suggest graded value supervision explained most of the improvement, while score bounds and model capacity had less effect. The authors recommend separately evaluating action ordering before deployment.

### Source excerpt

arXiv:2607.27422v2 Announce Type: replace Abstract: Goal-conditioned action generators can produce many plausible actions. Best-of-\(K\) selection then uses a critic to rank those actions for the current state and goal. Standard contrastive critics are trained and evaluated on a different ranking: distinguishing future goals from unrelated negatives for a fixed state--action pair. The unnormalized contrastive score is monotone in behavior-policy value at the population optimum. Cosine-normalized scores lack this guarantee, and finite trained networks may fail to recover the correct ordering. We audit the resulting gap using shared state--goal queries and frozen candidate pools, so critics differ only in their action ordering. Raw and cosine critics reach retrieval AUCs of \(0.96\)--\(1.00\) across eight OGBench tasks. Their progress ordering on navigation tasks is much weaker and sometimes inverted. In the exact-value controlled problem, all three contrastive selectors have higher mean regret than random selection. Their regret can increase with \(K\). TD-Q stays close to the pool oracle. PointMaze is the only task with a reliable learned value reference. TD-Q gives substantially better fixed-query ordering there, though the differences in executed return are smaller and vary by task. Matched controls suggest that graded value supervision accounts for most of the improvement. Changing score bounds or model capacity alone has much less effect. High retrieval performance does not establish whether a critic ranks actions correctly for best-of-\(K\) selection. That requires a separate action-ordering evaluation before deployment.

## MHeatmap: Two-Walk Laplacian Reordering and Mosaic Layout for Rectangular Matrix Visualization

DevFeed: [MHeatmap: Two-Walk Laplacian Reordering and Mosaic Layout for Rectangular Matrix Visualization](<https://devfeed.tech/articles/mheatmap-two-walk-laplacian-reordering-and-mosaic-layout-for-rectangular-matrix-visualization-94877.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.29114>)

Author: Juntang Wang, Sheng'en Li, Liming Zhu, Yihan Wang, Siyuan Cao, Hao Wu, Man Zhang, Shixin Xu, Dongmian Zou

Published: 2026-10-22T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [ordering](<https://devfeed.tech/topics/ordering.md>), [layout](<https://devfeed.tech/topics/layout.md>)

Tags: [cells](<https://devfeed.tech/tags/cells.md>), [color](<https://devfeed.tech/tags/color.md>), [column](<https://devfeed.tech/tags/column.md>), [cs-hc](<https://devfeed.tech/tags/cs-hc.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [graph](<https://devfeed.tech/tags/graph.md>), [heatmap](<https://devfeed.tech/tags/heatmap.md>), [layout](<https://devfeed.tech/tags/layout.md>), [matrix](<https://devfeed.tech/tags/matrix.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [orders](<https://devfeed.tech/tags/orders.md>), [partitions](<https://devfeed.tech/tags/partitions.md>), [vector](<https://devfeed.tech/tags/vector.md>), [visualization](<https://devfeed.tech/tags/visualization.md>)

### AI overview

MHeatmap combines coordinated row and column ordering with a size-aware layout for weighted rectangular matrices. Two-Walk spectral seriation treats the matrix as a weighted bipartite graph and adds length-two shared-neighbor links; sorting a Fiedler vector produces the orders. Mosaic then makes row height proportional to row totals and column width proportional to column totals, with color showing each entry. The authors report the lowest normalized 2-SUM in all 15 synthetic regimes and the highest Band@10% in 14; gains are largest when shared neighborhoods reflect latent structure. The abstract also describes an exact matrix-vector product for sparse computation.

### Source excerpt

arXiv:2610.29114v1 Announce Type: new Abstract: Weighted rectangular matrices record relations between two types of objects, such as occupations and industries, documents and terms, origins and destinations, or annotated classes and computed clusters. Their heatmaps become difficult to read when arbitrary row and column orders scatter related objects, while equal size cells hide large differences in row and column totals. We present MHeatmap (Mosaic Heatmap), which addresses these problems in two stages. Two-Walk spectral seriation first represents the matrix as a weighted bipartite graph. Ordinary bipartite ordering uses only observed row to column links. Two-Walk also uses length-two walks, so rows that share columns and columns that share rows receive explicit similarity links. Sorting a Fiedler vector of the resulting graph Laplacian gives coordinated row and column orders. The Mosaic layout then partitions a unit square so that row height is proportional to the row total and column width is proportional to the column total, while color represents the observed entry. We prove how the Two-Walk energy combines direct alignment with shared-neighbor smoothness, derive an exact matrix vector product that permits sparse computation, and formalize the tiling and area semantics of Mosaic. Across 300 synthetic matrices and seven real data sets, Two-Walk obtains the lowest normalized 2-SUM in all 15 synthetic regimes and the highest Band@10% in 14. The largest gains occur when shared neighborhoods express the latent relational structure.

## Cascading Bandits with Noisy Observations: Algorithms and Regret Bounds

DevFeed: [Cascading Bandits with Noisy Observations: Algorithms and Regret Bounds](<https://devfeed.tech/articles/cascading-bandits-with-noisy-observations-algorithms-and-regret-bounds-94918.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.29381>)

Author: Yashaswini Kaluguri, Nikhil Karamchandani

Published: 2026-10-22T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [Combinatorial optimization](<https://devfeed.tech/topics/combinatorial-optimization.md>), [ordering](<https://devfeed.tech/topics/ordering.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [bandits](<https://devfeed.tech/tags/bandits.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [learning](<https://devfeed.tech/tags/learning.md>), [lower-bound](<https://devfeed.tech/tags/lower-bound.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [noise](<https://devfeed.tech/tags/noise.md>), [simulations](<https://devfeed.tech/tags/simulations.md>), [stat-ml](<https://devfeed.tech/tags/stat-ml.md>), [theoretical](<https://devfeed.tech/tags/theoretical.md>)

### AI overview

The paper studies stochastic cascading bandits where selecting an ordered shortlist of K arms from L incurs position-dependent costs and feedback about each arm is noisy. Per-arm scores enable both selection and ordering when the noise channel has no false positives; with costless measurements they enable ordering only. With both noise and costs, selection and ordering generally cannot be separated. When both scores exist, a UCB algorithm achieves O((L−K) log T) instance-dependent regret, matching an algorithm-agnostic lower bound up to constants. When scores do not exist, DP-UCB embeds optimism in an exact dynamic program and achieves O(LK log T) regret. The abstract reports evaluations on synthetic and real-world datasets.

### Source excerpt

arXiv:2610.29381v1 Announce Type: new Abstract: We propose a novel stochastic cascading bandit setup where probing an ordered shortlist of $K$ out of $L$ arms incurs position-dependent costs, and the learner observes only noisy feedback regarding each arm's true output. We identify a sub-class of noise models for which the optimal shortlist can be found by sorting arms according to a per-arm score: such a score exists for both selection and ordering when the channel has no false positives, and for ordering alone (but not selection) when measurements are costless; however in general neither selection nor ordering is separable once noise and cost are both present. For the case where both selection and ordering scores exist, we provide a UCB-based algorithm with $O((L-K)\log T)$ instance-dependent regret over a time horizon $T$, which matches an algorithm-agnostic lower bound (up to constant factors). For the more challenging scenario where scores don't exist, we develop a new algorithmic template, DP-UCB, that embeds optimism directly inside an exact dynamic program, yielding $O\big(LK\log T\big)$ regret. Finally, we validate our theoretical results through extensive numerical evaluations and simulations over both synthetic and real-world datasets.

## Transformers Learn Two Competing Sorting Algorithms, and Only One Length-Generalizes

DevFeed: [Transformers Learn Two Competing Sorting Algorithms, and Only One Length-Generalizes](<https://devfeed.tech/articles/transformers-learn-two-competing-sorting-algorithms-and-only-one-length-generalizes-94219.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.26974>)

Author: Khashayar Gatmiry, Nathan W. Henry, Chloe H. Su, Emmanuel Abbe, Samy Bengio, Melanie Weber, Jonathan A. Kelner, Peter L. Bartlett

Published: 2026-10-21T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Sorting](<https://devfeed.tech/topics/sorting.md>), [ordering](<https://devfeed.tech/topics/ordering.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [attention](<https://devfeed.tech/tags/attention.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [learning](<https://devfeed.tech/tags/learning.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [sorting](<https://devfeed.tech/tags/sorting.md>), [sorting-algorithms](<https://devfeed.tech/tags/sorting-algorithms.md>), [specialization](<https://devfeed.tech/tags/specialization.md>), [training](<https://devfeed.tech/tags/training.md>), [transformers](<https://devfeed.tech/tags/transformers.md>), [two-layer](<https://devfeed.tech/tags/two-layer.md>), [weight](<https://devfeed.tech/tags/weight.md>)

### AI overview

Two-layer transformers trained to sort fixed-length sequences can learn either of two solution types depending on initialization. One does not use the second attention layer to sort and fails to generalize to longer sequences; the other uses both layers and generalizes perfectly. The authors report that initialization can steer which solution emerges. In the generalizing solution, layer-wise specialization helps handle inputs that are rare at training length but more common at longer lengths, while the second layer uses context from the first to narrow its search. On the related minimum-finding task, the two solution types show the opposite generalization pattern: the two-layer solution generalizes worse than the single-attention solution.

### Source excerpt

arXiv:2610.26974v1 Announce Type: new Abstract: We show that two-layer transformers trained to near-zero loss on a sorting task converge to one of two mechanistically distinct solution classes depending on their initialization. One solution class consists of solutions that do not use the second attention layer to sort, but also fail to length-generalize. The other, which uses both attention layers, length-generalizes perfectly, despite only being trained to sort sequences of a fixed length. By carefully choosing the weight initialization, we demonstrate that we can steer the model toward learning one solution or the other. We identify input types that are rare at the training length but increasingly common at longer sequence lengths as a source of this disparity in length-generalization, and find that layer-wise specialization of the second class of solutions allows them to handle these rare sequences more accurately. In the second class, we discover a mechanism by which the second layer attention can use the contextual information gathered by the first layer attention to reduce its search space. On the related task of finding the minimum of a sequence, we find a similar two solution-type phenomenon, but with the opposite generalization pattern, where a different form of layer-wise specialization causes the two-layer solution to length-generalize worse than the single-attention solution.

## Shared GPUs without shared latency: Priority-aware serving in Red Hat AI

DevFeed: [Shared GPUs without shared latency: Priority-aware serving in Red Hat AI](<https://devfeed.tech/articles/shared-gpus-without-shared-latency-priority-aware-serving-in-red-hat-ai-90799.md>)

Original publisher: [Read original article](<https://www.redhat.com/en/blog/shared-gpus-without-shared-latency-priority-aware-serving-in-red-hat-ai>)

Author: Naina Singh

Published: 2026-10-20T00:00:00Z

Content type: article

Language: en

Sources: [Red Hat Blog](<https://devfeed.tech/sources/red-hat-blog.md>)

Topics: [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [scheduling](<https://devfeed.tech/topics/scheduling.md>), [ordering](<https://devfeed.tech/topics/ordering.md>), [redhat](<https://devfeed.tech/topics/redhat.md>), [vllm](<https://devfeed.tech/topics/vllm.md>), [async](<https://devfeed.tech/topics/async.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [ai](<https://devfeed.tech/tags/ai.md>), [batch](<https://devfeed.tech/tags/batch.md>), [chat](<https://devfeed.tech/tags/chat.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [flow-control](<https://devfeed.tech/tags/flow-control.md>), [gpus](<https://devfeed.tech/tags/gpus.md>), [inference](<https://devfeed.tech/tags/inference.md>), [latency](<https://devfeed.tech/tags/latency.md>), [llm-d](<https://devfeed.tech/tags/llm-d.md>), [nvidia](<https://devfeed.tech/tags/nvidia.md>), [priority](<https://devfeed.tech/tags/priority.md>), [red-hat](<https://devfeed.tech/tags/red-hat.md>)

### AI overview

Red Hat AI 3.5's priority-aware serving uses llm-d flow control to share GPUs across interactive, batch, and agentic workloads while prioritizing requests when the pool saturates. Applications keep their existing endpoint; operators assign priorities through an InferenceObjective, set a saturation threshold, and choose a fairness policy. At capacity, higher-priority requests go first, dispatch rotates among tenants in a tier, and each tenant's queue is first-come, first-served. In tests on a NVIDIA H100, the new concurrency detector kept premium time to first token at 364 ms and gold at 430 ms; batch rejections fell from 48,224 to zero because requests queued. The older utilization detector produced 1.3 s and 1.5 s for those tiers. Sharing can reduce separately reserved GPU headroom when workload peaks differ, but savings depend on actual utilization. Priority is strict, so sustained premium demand can hold back batch work; long generations already underway can dominate latency, limiting premium protection. The approach may not help uniform traffic or pools that rarely fill.

### Source excerpt

Chat, batch, and agentic traffic can run on the same graphics processing unit (GPU) without the chatbot waiting for the batch job to complete. Built on llm-d flow control and generally available in Red Hat AI 3.5, priority-aware serving decides which request goes first when the pool is full, and applications change nothing. On a NVIDIA H100, 95% of premium requests got their first token in under half a second, and batch rejections fell from 48,224 to 0.Every separate pool pays for its own peakSooner or later, every shared inference platform gets the same question from 2 teams at once: Whose re

## Introducing enhanced custom event buses in Amazon EventBridge for enterprise-scale event-driven applications

DevFeed: [Introducing enhanced custom event buses in Amazon EventBridge for enterprise-scale event-driven applications](<https://devfeed.tech/articles/introducing-enhanced-custom-event-buses-in-amazon-eventbridge-for-enterprise-scale-event-driven-applications-59547.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/aws/introducing-enhanced-custom-event-buses-in-amazon-eventbridge-for-enterprise-scale-event-driven-applications/>)

Author: Micah Walter

Published: 2026-09-24T20:58:46Z

Content type: release

Language: en

Sources: [AWS News Blog](<https://devfeed.tech/sources/aws-news-blog.md>)

Topics: [Amazon EventBridge](<https://devfeed.tech/topics/amazon-eventbridge.md>), [event driven](<https://devfeed.tech/topics/event-driven.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [ordering](<https://devfeed.tech/topics/ordering.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>)

Tags: [amazon-eventbridge](<https://devfeed.tech/tags/amazon-eventbridge.md>), [application-integration](<https://devfeed.tech/tags/application-integration.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-management-console](<https://devfeed.tech/tags/aws-management-console.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [event-driven](<https://devfeed.tech/tags/event-driven.md>), [launch](<https://devfeed.tech/tags/launch.md>), [multi-account](<https://devfeed.tech/tags/multi-account.md>), [news](<https://devfeed.tech/tags/news.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [pricing](<https://devfeed.tech/tags/pricing.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [serverless](<https://devfeed.tech/tags/serverless.md>)

### AI overview

Amazon EventBridge introduces an enhanced custom event bus for organizations running event-driven applications across multiple AWS accounts. The shared bus provides ordering guarantees, subscriber management, routing, retention, event replay, organizational sharing, and a new pricing model.

### Source excerpt

Amazon EventBridge announces an enhanced custom event bus for organizations scaling event-driven applications across teams and accounts. Deploy a single event bus shared across all AWS accounts in your organization, with ordering guarantees, a simplified Subscriber resource, and improved economics at scale.

## Deadlocks are a lock ordering bug, and lock ordering is a design decision

DevFeed: [Deadlocks are a lock ordering bug, and lock ordering is a design decision](<https://devfeed.tech/articles/deadlocks-are-a-lock-ordering-bug-and-lock-ordering-is-a-design-decision-55691.md>)

Original publisher: [Read original article](<https://ankit-rana.com/logs/56-deadlocks-are-a-lock-ordering-bug/>)

Author: hello@ankit-rana.com

Published: 2026-09-21T00:00:00Z

Content type: article

Language: en

Sources: [Ankit Rana | Mechanical Sympathy](<https://devfeed.tech/sources/ankit-rana-mechanical-sympathy.md>)

Topics: [Deadlock](<https://devfeed.tech/topics/deadlock.md>), [ordering](<https://devfeed.tech/topics/ordering.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [Database](<https://devfeed.tech/topics/database.md>), [locking](<https://devfeed.tech/topics/locking.md>), [Sorting](<https://devfeed.tech/topics/sorting.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>)

Tags: [concurrency](<https://devfeed.tech/tags/concurrency.md>), [database](<https://devfeed.tech/tags/database.md>), [deadlock](<https://devfeed.tech/tags/deadlock.md>), [deadlocks](<https://devfeed.tech/tags/deadlocks.md>), [java](<https://devfeed.tech/tags/java.md>), [locking](<https://devfeed.tech/tags/locking.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [sorting](<https://devfeed.tech/tags/sorting.md>), [transactions](<https://devfeed.tech/tags/transactions.md>)

### AI overview

The article explains how database deadlocks arise when concurrent transactions acquire the same locks in opposite orders. It recommends imposing a consistent global lock order, typically by sorting identifiers, to prevent circular wait in transfers and batch operations.

### Source excerpt

A deadlock needs four conditions and the only one you control is circular wait, which is why every deadlock reduces to two transactions acquiring the same locks in opposite orders. Imposing a global order on lock acquisition, usually by sorting the identifiers before touching any row, makes the cycle impossible to form. A database deadlock is the survivable version because the engine detects it and kills a victim, and an application level deadlock across two mutexes has no detector and simply hangs.

## \[$\] Adding BPF to blk-iocost

DevFeed: [\[$\] Adding BPF to blk-iocost](<https://devfeed.tech/articles/adding-bpf-to-blk-iocost-26937.md>)

Original publisher: [Read original article](<https://lwn.net/Articles/1093661/>)

Author: corbet

Published: 2026-09-15T14:37:30Z

Content type: article

Language: en

Sources: [LWN.net](<https://devfeed.tech/sources/lwn-net.md>)

Topics: [Kernel](<https://devfeed.tech/topics/kernel.md>), [IO](<https://devfeed.tech/topics/io.md>), [ordering](<https://devfeed.tech/topics/ordering.md>), [Operating system](<https://devfeed.tech/topics/operating-system.md>)

Tags: [kernels](<https://devfeed.tech/tags/kernels.md>), [loading](<https://devfeed.tech/tags/loading.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [performance](<https://devfeed.tech/tags/performance.md>)

### AI overview

This article discusses a patch series that would make the Linux blk-iocost I/O controller more flexible by allowing a BPF program to make cost decisions. It places the change in the context of block I/O scheduling for modern solid-state drives, where fairness and high throughput are important.

### Source excerpt

The scheduling of block I/O requests has long been a challenge for operating-system kernels. For many years, the performance characteristics of rotating drives meant that putting considerable resources into request ordering was worthwhile. In a world with fast, solid-state drives, scheduling is more concerned with enforcing fairness between competing users while being fast enough to keep up with drives that can perform millions of I/O operations per second. The blk-iocost I/O controller was designed for the solid-state world and generally performs well, but there is always a desire to do better. This patch series from Tao Cui aims to make blk-iocost more flexible by enabling the loading of a BPF program to make cost decisions.

## Jetpack: Consensus Made Generally Fast (OSDI '26)

DevFeed: [Jetpack: Consensus Made Generally Fast (OSDI '26)](<https://devfeed.tech/articles/jetpack-consensus-made-generally-fast-osdi-26-41858.md>)

Original publisher: [Read original article](<https://muratbuffalo.blogspot.com/2026/09/jetpack-consensus-made-generally-fast.html>)

Author: Murat (noreply@blogger.com)

Published: 2026-09-12T05:36:27Z

Content type: article

Language: en

Sources: [Metadata](<https://devfeed.tech/sources/metadata.md>)

Topics: [Latency](<https://devfeed.tech/topics/latency.md>), [systems](<https://devfeed.tech/topics/systems.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [protocols](<https://devfeed.tech/topics/protocols.md>), [Parallelism](<https://devfeed.tech/topics/parallelism.md>), [ordering](<https://devfeed.tech/topics/ordering.md>), [execution](<https://devfeed.tech/topics/execution.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [distributed-consensus](<https://devfeed.tech/tags/distributed-consensus.md>), [execution](<https://devfeed.tech/tags/execution.md>), [latency](<https://devfeed.tech/tags/latency.md>), [livediscussion](<https://devfeed.tech/tags/livediscussion.md>), [network](<https://devfeed.tech/tags/network.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [paxos](<https://devfeed.tech/tags/paxos.md>), [raft](<https://devfeed.tech/tags/raft.md>), [replication](<https://devfeed.tech/tags/replication.md>)

### AI overview

This paper review examines Jetpack, an add-on framework for existing leader-based consensus protocols. Jetpack runs a 1-RTT fast path alongside the original 2-RTT path, potentially reducing WAN commit latency, but its dual-log design duplicates network and replica processing and separates fast commitment from state-machine execution ordering.

### Source excerpt

Aleksey and I are back to reading papers live. This paper, Jetpack(OSDI '26), attempts building a universal 1-RTT fast-path framework that bolts onto existing leader-based consensus protocols with minimal modification. Why would we want this? Classic consensus protocols like Raft, Paxos, or Zab require two round-trip times (2 RTT) to commit a command: one RTT from client to leader, and another to replicate across followers. The extra RTT matters a lot for WAN deployments, so fast-path protocols (such as Fast Paxos, EPaxos, or SwiftPaxos) reduce this to 1 RTT by bypassing leader serialization, but unfortunately they tightly couple the fast path to the core protocol design. Production systems cannot easily swap out their battle-tested bespoke consensus engines, but if there was an add on that helped with latency especially in WAN deployments, that would be useful. The good news is that Jetpack is truly an add-on portable deal. It provides a shim layer that runs two execution paths in parallel: a 1-RTT fast path and the original 2-RTT consensus path. When a client issues a command, it broadcasts the request concurrently to both paths. The fast path checks for key conflicts, and if none exist and a supermajority quorum ($\sim 3/4$ of nodes) issues a promise, this enables the command to fast-commit in 1 RTT. To guarantee agreement, original path proposers promise not to propose conflicting commands ahead of fast-committed ones. The bad news is that this design gets wasteful due to keeping two distinct logs (the fast-path log and the original-path log). The original consensus engine runs its full replication cycle in the background, ignoring the fast path replication of commands (because it is completely oblivious to the fast path replication in the name of bolt-on portability). So these commands travel in the network twice, and replicas process commands twice, introducing redundant work and extra CPU/network overhead. This dual-log architecture also creates a bigger gap

## A humorous roundup of software and website errors involving Google, Microsoft, and the New Mexico DOT

DevFeed: [A humorous roundup of software and website errors involving Google, Microsoft, and the New Mexico DOT](<https://devfeed.tech/articles/error-d-hello-new-mexico-28509.md>)

Original publisher: [Read original article](<https://thedailywtf.com/articles/hello-new-mexico>)

Author: Lyle Seaman

Published: 2026-08-28T06:30:00Z

Content type: opinion

Language: en

Sources: [The Daily WTF](<https://devfeed.tech/sources/the-daily-wtf.md>)

Topics: [ordering](<https://devfeed.tech/topics/ordering.md>), [Google](<https://devfeed.tech/topics/google.md>), [Microsoft](<https://devfeed.tech/topics/microsoft.md>), [Website](<https://devfeed.tech/topics/website.md>)

Tags: [error-d](<https://devfeed.tech/tags/error-d.md>), [google](<https://devfeed.tech/tags/google.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [web](<https://devfeed.tech/tags/web.md>), [website](<https://devfeed.tech/tags/website.md>)

### AI overview

This opinion piece presents a humorous roundup of software and website mistakes. It discusses an ordering error, Google's apparent counting mistake, Microsoft Outlook account and contact-form problems, a pricing-unit misunderstanding, and a New Mexico DOT website.

### Source excerpt

Peter G. shared with us yet another ordering bungled example of. "Should really say "please engage in an Easter egg hunt to find your language"." "Google can't count" claimed Peter S.. It adds up. "Yet another proof that 0=1, this time from Google." "Thanks, Microsoft" groused Ivan "Ever since Microsoft ate university e-mail services worldwide and became responsible for major free software mailing lists, quality of service has been steadily dropping. In order to report delivery problems to Outlook, you need a Microsoft account. You're prevented from creating it at first because of "suspicious activity". Once you're in, the contact address is pre-filled for you with an invalid email. Once you fix that in the web developer toolbar, fuck you anyway! I think the form isn't actually expected to work; the fact that the request was submitted is an error. The only thing missing from the experience is the "beware of the leopard" sign." "Mango Math" needs a bit of money math for the rest of the world to understand. Michael R. muttered "I will buy it by the slice then." The joke here is on the tip of my tongue. Explainer: the new pence is one hundredth of the decimal pound. No shillings no more, decreps! At that ratio, 3p per slice of cheesecake would indeed be far less dear than four pounds for the whole thing, barring translucent slices. Alas, the reality is simply the boring fact that the price is 3p per gram. Not as funny but I'm chuckling imagining Michael's transparent serving of diet cheesecake. I'll leave it up to you to decide if a gram really counts as an "item". Clint clucked "Got this email from Bigbadtoystore. Lots of links available for preorder!" I think the talented website builders behind the New Mexico DOT have been busy. [Advertisement] Picking up NuGet is easy. Getting good at it takes time. Download our guide to learn the best practice of NuGet for the Enterprise.

## WebSockets vs. SSE should be about ordering and correctness

DevFeed: [WebSockets vs. SSE should be about ordering and correctness](<https://devfeed.tech/articles/websockets-vs-sse-should-be-about-ordering-and-correctness-44033.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/websockets-vs-sse>)

Author: José Valim

Published: 2026-08-25T00:00:00Z

Content type: opinion

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [ordering](<https://devfeed.tech/topics/ordering.md>), [WebSocket](<https://devfeed.tech/topics/websocket.md>), [Server-sent events (SSE)](<https://devfeed.tech/topics/server-sent-events-sse.md>), [fetch](<https://devfeed.tech/topics/fetch.md>), [real-time](<https://devfeed.tech/topics/real-time.md>), [HTTP](<https://devfeed.tech/topics/http.md>)

Tags: [fetch](<https://devfeed.tech/tags/fetch.md>), [liveview](<https://devfeed.tech/tags/liveview.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [sse](<https://devfeed.tech/tags/sse.md>), [websockets](<https://devfeed.tech/tags/websockets.md>)

### AI overview

The article argues that the comparison between WebSockets and Server-Sent Events with Fetch should focus primarily on event ordering and correctness. It explains how different event streams can arrive out of order, creating inconsistent interfaces and misleading user experiences, while noting secondary performance and connection-authentication benefits of WebSockets.

### Source excerpt

The discussion around delivering HTML over WebSockets vs. Server-Sent Events (SSE) with Fetch should really be about event ordering and correctness. Let's understand why.

## Why Code Removal May Be Preferable to Scheduling for Performance Remediation

DevFeed: [Why Code Removal May Be Preferable to Scheduling for Performance Remediation](<https://devfeed.tech/articles/the-wicked-reason-removing-code-beats-better-scheduling-26567.md>)

Original publisher: [Read original article](<https://infrequently.org/2026/08/notes-on-performance-remediation-strategies/>)

Author: Alex Russell

Published: 2026-08-19T00:00:00Z

Content type: opinion

Language: en

Sources: [Alex Russell](<https://devfeed.tech/sources/alex-russell.md>)

Topics: [Code](<https://devfeed.tech/topics/code.md>), [ordering](<https://devfeed.tech/topics/ordering.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [performance](<https://devfeed.tech/tags/performance.md>), [webdev](<https://devfeed.tech/tags/webdev.md>)

### AI overview

An opinion article arguing that removing code can be a more reliable performance-remediation strategy than reordering or deferring work. It says both approaches require understanding page behavior, while scheduling changes can increase validation, coordination, bandwidth, and main-thread performance risks.

### Source excerpt

My colleague Marko Ilić has published an insightful piece on how to schedule work on the critical path, and I recommend reading it before proceeding here. Contents Elimination vs. Scheduling: An Organisational Perspective What's Good for the Goose... "Preloading" as Scheduling Scheduling Is For Closers General-Purpose Advice ...and welcome back. As you likely anticipated, Marko's beautifully presented post kicked off healthy discussions around the office. Since we almost always see eye-to-eye, it seemed interesting to surface some of that discussion here. With his permission, what follows are expanded versions of some points I posed in reply. Elimination vs. Scheduling: An Organisational Perspective There's no daylight between our positions on code reduction: sending and running less is always ideal. Where we differ, perhaps, is the priority teams should assign to scheduling vs. code removal in their performance remediation efforts. Contra Marko, I posit that reordering can almost never be assumed to be cheaper or easier. While it may be hard to remove code, my view is that it is generally not harder than re-ordering in most codebases. Why? The primary cost of both code removal and scheduling interventions is the investment to deeply understand page behaviour. This presents a narrative challenge to the proposition that scheduling is an easier fix, as both approaches share the largest cost. At the team level, the consequences of restructuring are harder to reason about than direct removal, reducing potential upside and increasing validation costs. Bytes that are only deferred still contend for bandwidth, potentially delaying above-the-fold resources in ways that only become visible in the tail of the connection quality curve. Worse, late-fetched JS resources generate heavy "thuds" when residual allocations from background compilation arrive on the main thread. These stalls show up in INP data, but can be maddening to track down due to their stochastic relationship wi

## Too big to draw, but yet drawable

DevFeed: [Too big to draw, but yet drawable](<https://devfeed.tech/articles/too-big-to-draw-but-yet-drawable-37564.md>)

Original publisher: [Read original article](<https://blog.klipse.tech/aboulafia/2026/07/06/too-big-to-draw-but-yet-drawable.html>)

Author: Yehonathan Sharvit

Published: 2026-07-06T09:00:00Z

Content type: article

Language: en

Sources: [Klipse](<https://devfeed.tech/sources/klipse.md>)

Topics: [ordering](<https://devfeed.tech/topics/ordering.md>), [structure](<https://devfeed.tech/topics/structure.md>)

Tags: [aboulafia](<https://devfeed.tech/tags/aboulafia.md>), [caustics](<https://devfeed.tech/tags/caustics.md>), [generative](<https://devfeed.tech/tags/generative.md>), [math](<https://devfeed.tech/tags/math.md>), [permutation](<https://devfeed.tech/tags/permutation.md>), [permutations](<https://devfeed.tech/tags/permutations.md>), [random](<https://devfeed.tech/tags/random.md>), [ranking](<https://devfeed.tech/tags/ranking.md>), [recursion](<https://devfeed.tech/tags/recursion.md>), [visualization](<https://devfeed.tech/tags/visualization.md>)

### AI overview

The third article in a series explains how Aboulafia's tserouf orders all permutations of a word and visualizes them by placing the permutations around a circle and connecting each word to its reversal. Because the full permutation space becomes too large to draw, the article samples chords and shows that they form recurring caustic curves visible at multiple scales.

### Source excerpt

Aboulafia's Tserouf - Part 3 of 4 <- Previous: An elegant formulation, inspired by Bill Gates - Next: A wheel, the same forwards and backwards ->

## Zaks's suffix-reversal algorithm for generating permutations

DevFeed: [Zaks's suffix-reversal algorithm for generating permutations](<https://devfeed.tech/articles/an-elegant-formulation-inspired-by-the-one-and-only-paper-bill-gates-ever-wrote-37563.md>)

Original publisher: [Read original article](<https://blog.klipse.tech/aboulafia/2026/07/06/an-elegant-formulation-inspired-by-bill-gates.html>)

Author: Yehonathan Sharvit

Published: 2026-07-06T08:00:00Z

Content type: article

Language: en

Sources: [Klipse](<https://devfeed.tech/sources/klipse.md>)

Topics: [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [Sorting](<https://devfeed.tech/topics/sorting.md>), [ordering](<https://devfeed.tech/topics/ordering.md>)

Tags: [aboulafia](<https://devfeed.tech/tags/aboulafia.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [math](<https://devfeed.tech/tags/math.md>), [permutations](<https://devfeed.tech/tags/permutations.md>), [reversing](<https://devfeed.tech/tags/reversing.md>), [sequence](<https://devfeed.tech/tags/sequence.md>), [sorting](<https://devfeed.tech/tags/sorting.md>)

### AI overview

This second article in a series connects Aboulafia's recursive Tserouf permutation algorithm with Shimon Zaks's 1984 algorithm. It explains how Zaks generates permutations by repeatedly reversing suffixes and describes the recursive sequence of suffix lengths behind the ordering.

### Source excerpt

Aboulafia's Tserouf - Part 2 of 4 <- Previous: An algorithm ignored for 700 years - Next: Too big to draw, but yet drawable ->

## A 13th-Century Enumeration Algorithm, Ignored for 700 Years

DevFeed: [A 13th-Century Enumeration Algorithm, Ignored for 700 Years](<https://devfeed.tech/articles/a-13th-century-enumeration-algorithm-ignored-for-700-years-37561.md>)

Original publisher: [Read original article](<https://blog.klipse.tech/aboulafia/2026/07/06/a-13th-century-enumeration-algorithm-ignored-for-700-years.html>)

Author: Yehonathan Sharvit

Published: 2026-07-06T07:00:00Z

Content type: article

Language: en

Sources: [Klipse](<https://devfeed.tech/sources/klipse.md>)

Topics: [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [ordering](<https://devfeed.tech/topics/ordering.md>), [structure](<https://devfeed.tech/topics/structure.md>)

Tags: [aboulafia](<https://devfeed.tech/tags/aboulafia.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [kabbalah](<https://devfeed.tech/tags/kabbalah.md>), [math](<https://devfeed.tech/tags/math.md>), [order](<https://devfeed.tech/tags/order.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [permutations](<https://devfeed.tech/tags/permutations.md>)

### AI overview

The article examines a systematic method for enumerating permutations described by the 13th-century Kabbalist Abraham Aboulafia in his account of Tserouf. It explains rules for ordering three-letter permutations and a rotation-based method for extending the ordering to longer words.

### Source excerpt

Aboulafia's Tserouf - Part 1 of 4 Next: An elegant formulation, inspired by Bill Gates ->

## Sorting Algorithms Series

DevFeed: [Sorting Algorithms Series](<https://devfeed.tech/articles/sorting-algorithms-series-4512.md>)

Original publisher: [Read original article](<https://feeds.feedblitz.com/~/952881908/0/baeldung/cs>)

Author: baeldung

Published: 2026-04-01T15:54:31Z

Content type: article

Language: en

Sources: [Baeldung - CS](<https://devfeed.tech/sources/baeldung-cs.md>)

Topics: [Sorting](<https://devfeed.tech/topics/sorting.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [computational complexity](<https://devfeed.tech/topics/computational-complexity.md>), [ordering](<https://devfeed.tech/topics/ordering.md>), [Computer science](<https://devfeed.tech/topics/computer-science.md>)

Tags: [adaptive](<https://devfeed.tech/tags/adaptive.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [arrays](<https://devfeed.tech/tags/arrays.md>), [comparison](<https://devfeed.tech/tags/comparison.md>), [comparisons](<https://devfeed.tech/tags/comparisons.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [computer-science](<https://devfeed.tech/tags/computer-science.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [family](<https://devfeed.tech/tags/family.md>), [guide](<https://devfeed.tech/tags/guide.md>), [heapsort](<https://devfeed.tech/tags/heapsort.md>), [merge](<https://devfeed.tech/tags/merge.md>), [merge-sort](<https://devfeed.tech/tags/merge-sort.md>), [quicksort](<https://devfeed.tech/tags/quicksort.md>), [series](<https://devfeed.tech/tags/series.md>), [series-sorting](<https://devfeed.tech/tags/series-sorting.md>), [sort](<https://devfeed.tech/tags/sort.md>), [sorting](<https://devfeed.tech/tags/sorting.md>), [sorting-algorithms](<https://devfeed.tech/tags/sorting-algorithms.md>), [sorts](<https://devfeed.tech/tags/sorts.md>)

### AI overview

The guide surveys sorting algorithm families, from comparison-based methods such as merge sort, quicksort, and heapsort to adaptive and specialized non-comparison sorts. It frames algorithm choice around time complexity, stability, memory needs, and practical applicability, with examples of sorting large integer sets and merging already ordered arrays.

### Source excerpt

This guide covers the full spectrum of sorting: from foundational comparisons and merge sort to quicksort, heapsort, adaptive algorithms, and specialized non-comparison sorts. The post Sorting Algorithms Series first appeared on Baeldung on Computer Science. Related Stories Natural Language Processing (NLP) Series Cycle Sort Algorithm LaTeX Series

## How UUIDv4 Primary Keys Affect Database Insert Performance

DevFeed: [How UUIDv4 Primary Keys Affect Database Insert Performance](<https://devfeed.tech/articles/why-uuid-primary-keys-quietly-destroy-database-performance-39564.md>)

Original publisher: [Read original article](<https://ankit-rana.com/logs/12-uuids-primary-keys-performance/>)

Author: hello@ankit-rana.com

Published: 2026-03-16T00:00:00Z

Content type: article

Language: en

Sources: [Ankit Rana | Mechanical Sympathy](<https://devfeed.tech/sources/ankit-rana-mechanical-sympathy.md>)

Topics: [Database](<https://devfeed.tech/topics/database.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>), [ordering](<https://devfeed.tech/topics/ordering.md>)

Tags: [b-tree](<https://devfeed.tech/tags/b-tree.md>), [database](<https://devfeed.tech/tags/database.md>), [database-performance](<https://devfeed.tech/tags/database-performance.md>), [fragmentation](<https://devfeed.tech/tags/fragmentation.md>), [innodb](<https://devfeed.tech/tags/innodb.md>), [latency](<https://devfeed.tech/tags/latency.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [performance](<https://devfeed.tech/tags/performance.md>), [system-design](<https://devfeed.tech/tags/system-design.md>), [uuid](<https://devfeed.tech/tags/uuid.md>)

### AI overview

This article explains how random UUIDv4 primary keys can reduce insert performance in clustered indexes. Random inserts land in the middle of B+ tree pages, causing page splits, fragmentation, additional writes, and buffer-pool churn. It recommends UUIDv7 or ULID, or an auto-increment clustered key with UUIDs in a unique secondary index.

### Source excerpt

The problem with UUIDv4 primary keys is not uniqueness, it is that random keys fight the storage engine's physical layout. In a clustered index the primary key is the table, so random inserts land mid-page, trigger page splits, leave pages half-full, and can inflate a 50 GB dataset to roughly 100 GB while wasting buffer pool on empty space. Use UUIDv7 or ULID, or keep an auto-increment clustered key with the UUID in a unique secondary index.

## Butler Flow: Examples of Virtual Branching, Conflict Resolution, and Workstream Organization

DevFeed: [Butler Flow: Examples of Virtual Branching, Conflict Resolution, and Workstream Organization](<https://devfeed.tech/articles/butler-flow-shipping-code-faster-but-less-like-alfred-more-like-ci-on-steroids-part-3-51351.md>)

Original publisher: [Read original article](<https://blog.gitbutler.com/ship-faster-butler-flow-part-3>)

Author: noreply@gitbutler.com (PJ Hagerty)

Published: 2025-11-04T16:00:00Z

Content type: article

Language: en

Sources: [Butler's Log](<https://devfeed.tech/sources/butler-s-log.md>)

Topics: [Code](<https://devfeed.tech/topics/code.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>), [ordering](<https://devfeed.tech/topics/ordering.md>), [patches](<https://devfeed.tech/topics/patches.md>), [test](<https://devfeed.tech/topics/test.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [branch](<https://devfeed.tech/tags/branch.md>), [bug](<https://devfeed.tech/tags/bug.md>), [butler-flow](<https://devfeed.tech/tags/butler-flow.md>), [code](<https://devfeed.tech/tags/code.md>), [conflict-resolution](<https://devfeed.tech/tags/conflict-resolution.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [developers](<https://devfeed.tech/tags/developers.md>), [git](<https://devfeed.tech/tags/git.md>), [git-butler-flow-workflows](<https://devfeed.tech/tags/git-butler-flow-workflows.md>), [gitbutler](<https://devfeed.tech/tags/gitbutler.md>), [merge](<https://devfeed.tech/tags/merge.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [patches](<https://devfeed.tech/tags/patches.md>), [programming](<https://devfeed.tech/tags/programming.md>), [refactor](<https://devfeed.tech/tags/refactor.md>), [review](<https://devfeed.tech/tags/review.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [technology](<https://devfeed.tech/tags/technology.md>), [version-control](<https://devfeed.tech/tags/version-control.md>), [workflows](<https://devfeed.tech/tags/workflows.md>)

### AI overview

Part 3 of the Butler Flow series explains how virtual branches can organize feature and fix workstreams, support experimental changes, and enable earlier conflict resolution. It also discusses dependency ordering and composition, with a fictional example involving a team working on backend and frontend product code.

### Source excerpt

In Part 3, we take a look at some deep examples of where Butler Flow comes in handy.

[Next page](<https://devfeed.tech/topics/ordering.md?cursor=WyIyMDI1LTExLTA0VDE2OjAwOjAwKzAwOjAwIiwgImQ2OTQ1MjExLTI0NGQtNDZlYi05ZTUzLTNmMWIzOTJlNDJiYiJd>)