Urgent.News

What's breaking now, across thousands of outlets.

Tech

Hyperbolic tiling in Python: draw Escher's Poincare disc and 3D print it

Escher's Circle Limit prints show a hyperbolic tiling squeezed into a disc, with tiles shrinking toward the rim. The maths is short: a tile edge is a circle that meets the unit circle at right angles, and the next tile is the mirror image of the current one across that circle. Mirroring across a circle is an inversion. That is all you need to draw the {7,3} tiling (heptagons, three at every…

Escher's Circle Limit prints depict hyperbolic tiling confined within a disc, with tiles diminishing towards the edge. The underlying mathematics is straightforward: a tile edge is a circle intersecting the unit circle at 90-degree angles, and each subsequent tile is the mirror image of the preceding one across that circle. Inversion, achieved through reflection, is the key operation. To create the {7,3} tiling (heptagons with three at each corner) and print it as a flat ornament using manifold3d, follow these steps:

1. Determine the vertices of the central polygon for a {p,q} tiling using the provided closed formula. In this case, p = 7 and q = 3.

2. Calculate the edge circle and inversion by solving two linear equations for the center 'c' and radius 'R' of the circle. The function circ(u, v) finds these values.

3. Reflect each polygon across its edges to expand the tiling. Skip polygons already created, identified by the sum of their vertices rounded to three decimal places. Maintain two lists, one for polygons and another for newly discovered polygons.

4. Construct the edges as circular arcs, segmenting them into 12 short straight pieces. Thicken each piece into a thin rectangle and combine them with an outer rim, extruding the entire structure to a thickness of 2.4 mm. Remember to stop the tiling at radius 0.93, where tiles become smaller than the nozzle.

Certain considerations: limit the tiling radius to 0.93 to prevent tiles smaller than the nozzle, place the rim at the same radius, and adjust line width based on distance from the center, ensuring a minimum half-width of 0.65 mm. The same code can generate {5,4}, {4,5}, and {3,7} tilings as well. Finished ornaments and a 3-pack of different tilings can be found on Cults3D for $1.27. For more experiments, check out the author's Patreon.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Your Next Coding Interview Might Start With Code You Didn’t Write

A practical debugging rehearsal: trace one request, isolate the mistake, and prove the repair without rewriting everything. You prepare to build a solution from an empty editor.

  • Debugging involves analyzing existing non-functional code.
  • Identify where code deviates from expected behavior by tracing execution.
  • Implement targeted fix by adding explicit update operation in repository.

Hybrid Cloud Security: The Gaps Nobody Talks About Until It's Too Late

Most organisations don’t move to the cloud in one clean jump. They end up with a foot in both worlds: some systems on-premises, some in Azure or AWS, and a lot of plumbing connecting the two.

  • Hybrid cloud environments hide most security risks due to oversight.
  • Identity seam connects on-premises AD with cloud identity provider, risking breach propagation.
  • Regular reviews, automation, and clear responsibilities are key to mitigating hybrid security gaps.

SSRF on a media server: the cloud instance case

SSRF on a media server: the cloud instance case A media server in a living room and the same software in a cloud virtual machine are not the same risk.

  • SSRF vulnerability in Plex Media Server affects cloud instances.
  • Attackers target instance metadata service for credentials and config data.
  • Cloud providers' defenses do not render the endpoint irrelevant.

anti-slop-vision: Vision quality gates: prompt hygiene plus a VLM judge…

Most anti-slop-vision write-ups stop at the README: here is what the tool does, here is how you run it. This one covers what it refuses to do, and where it breaks.

  • Vision quality gates use prompt hygiene and VLM judge rubric
  • Tool eliminates visual slop and hallucinations before delivery
  • Install with Python 3 using command python3 scripts/eval.py

Node.js patched a code-execution Brotli bug October 21

Imperva's researchers ran attacker-supplied code on an official Node.js 24.22.0 image for Linux arm64, with no debugger and no custom build, by feeding crafted data to the Brotli decoder that Node…

  • Node.js patched code-execution Brotli bug on October 21
  • CVE-2026-111497 allows attacker-controlled data to execute arbitrary code
  • Fixed build 24.22.1 rejects same input and prevents code execution

More from Friday 23 October →