Urgent.News

What's breaking now, across hundreds of outlets.

Tech

A peso that is worth zero for 55 steps, and the median ceases to be the median

A weight that is worth zero for 55 steps, and the median ceases to be the median The number An estimator of mine published 2.2380708362e+251 as the median of 3894 values. The correct median was 6.8003333871e+250: a factor of 3.291119. The program exited with code 0, without a single warning. There was nothing to fix in the output: there were 60 nan values among the 3894 slots, and the function that calculated…

Headline and teaser translated, account summarised from Spanish Read in Spanish

An analysis of a numerical estimator reveals that a median value for 3,894 values was incorrectly reported as 2.2380708362e+251 instead of the correct 6.8003333871e+250. The error originated when a zero value multiplied an infinite value during a recursion step at a scale of 32,768, resulting in 60 NaN (Not a Number) values. These NaNs caused the Python sorted function to return an incorrectly ordered list without triggering any warnings or errors.

The report suggests technical remedies, including using math.isfinite for checking finitude and implementing post-condition assertions after sorting to detect such issues.

Summarised by urgent.news, not translated. Machine-written; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Multipath TCP vs Single-Path TCP: Why One Connection Refuses to Pick a Lane

For decades, a TCP connection has been defined by four numbers: the two addresses and the two ports at either end. Change one of them and the connection is over.

  • Multipath TCP (MP-TCP) maintains connection identity across network changes.
  • MP-TCP adds connection-level layer for seamless handshakes and subflow management.
  • Benefits include bandwidth aggregation and network continuity, but deployment faces challenges.

Why 1.26 cubic metres of concrete comes out as 70 bags, or 71, depending on where you round

A 4 by 3 metre slab at 100 mm deep is 1.2 cubic metres. Add the usual 5 percent margin and you have 1.26. Divide by the yield on the bag and the order should be 70 bags.

  • Concrete volume, margin, bag yield, and rounding precision determine bag count
  • 4 m by 3 m slab with 0.1 m depth requires 1.26 cubic meters of concrete
  • Rounding 70.00000000000001 up yields 71 bags, but rounding ratio first yields 70 bags

Building ComfyUI custom nodes for a remote generation API: polling, tensors, VIDEO outputs and keeping keys out of workflows

ComfyUI is usually about running models on your own GPU, but a growing number of node packs call remote APIs instead: the graph stays local, the heavy lifting happens on someone else's hardware.

  • ComfyUI discovers custom nodes in customnodes/ directory
  • Node class includes INPUTTYPES, RETURNTYPES, and FUNCTION
  • Vellria API uses POST for image/video generation, returning 202 status

More from Saturday, 28 November 2026 →