securitylab_nJuly 13, 2026🇷🇺Translated from Russian

Virtual Herd of Cows Solves Century-Old Mystery of Terracettes on Slopes That Puzzled Darwin

Stepped stripes on steep grassy slopes can be found in the Alps, on pastures in the United Kingdom, and in many other regions worldwide. These rows of narrow horizontal ledges stretch one above another and resemble miniature terraces. Scientists have debated their origin for more than a century. A new computer model has now shown that a regular pattern can be created by grazing animals, even though no one lays out routes or directs the herd’s movement.

Such landforms are called terracettes. They typically appear on steep slopes as repeating steps that run almost parallel to the horizontal. Researchers have proposed two main explanations. The first suggests that the surface changes due to slow downhill creep of soil and rock fragments. The second links the ledges to sheep, cows, goats, and other ungulates that repeatedly walk along the same areas during grazing over many years.

Neither hypothesis had long provided a complete answer. Soil movement can indeed alter slope shape but does not always explain the regularity of the stripes. Animals, by contrast, constantly leave trails, yet their movements appear too random to produce dozens of nearly parallel lines.

A computer model that simulates the behavior of individual animals on a changing slope helped clarify the mechanism. The authors did not attempt to pre-define a ready-made network of paths. Virtual cows or sheep were given only two simple tasks: find food and expend as little energy as possible on movement.

On a steep slope, climbing requires more effort than moving across the slope. Descending can also be unstable, especially on loose soil. Therefore, the virtual animals gradually selected routes along the slope rather than straight up or down. This direction reduced energy costs and allowed them to stay longer near available grass.

Every step simultaneously modified the surface. Hooves compacted the soil, and animals consumed part of the vegetation. After one animal passed, the next was more likely to choose the already trampled section because movement there required less effort. Repeated passages further reinforced the path and increased the probability that others would use it.

After several thousand steps, the initially random movements began to form stable horizontal routes. First, isolated trampled patches appeared; then the lines lengthened and leveled out. The surface gradually acquired a stepped shape resembling real terracettes.

The animals did not coordinate their actions or follow any common plan. Order emerged through continuous feedback between the herd and the surface. Each individual altered the environment, and the changed environment influenced the route choices of the next animal.

This mechanism is known as stigmergy. The term describes indirect interaction through traces left in the environment. An ant, for example, lays a route using chemical markers, and subsequent individuals reinforce the most convenient path. On a pasture, the role of markers is played by trampled soil, grazed grass, and small relief irregularities.

The authors developed a separate metric to measure the orderliness of the resulting lines. They then compared the virtual slopes with photographs of cow and goat trails from various countries. The model produced the most regular steps on the steepest sections, where moving vertically was especially costly for the animals.

The connection between grazing and horizontal ledges was already discussed by Charles Darwin. In his 1881 book on the role of earthworms in soil formation, the naturalist described small horizontal platforms arranged one above another on steep grassy slopes. Darwin was convinced that animals walked along these ledges while feeding, but he allowed that trampling alone might not fully explain their formation.

To verify his observations, Darwin enlisted his son Francis. Francis studied a chalk slope near the English town of Lewes and counted approximately 30 parallel ledges. The stripes extended more than 91 meters along a slope with an incline of about 40 degrees.

Nearly 150 years later, computer calculations have shown that precisely on such steep sections, simple behavioral rules produce the most regular pattern. The more energy required for climbing, the more frequently animals move across the slope. Repeated passages gradually turn a convenient route into a stable ledge.

The study does not claim that all terracettes result exclusively from grazing. Slow soil creep, moisture, soil composition, vegetation, and slope angle can also influence surface shape. The model addresses a different question: it demonstrates that the chaotic movement of ungulates by itself can generate a large-scale, ordered pattern without pre-existing trails.

The results answer the main objection to the animal-origin hypothesis of terracettes. Random movements do not prevent the formation of even stripes. On the contrary, repeated decisions by individual animals gradually strengthen some routes and weaken others until only a few stable lines remain on the slope.

The authors link the same principle to other landscape changes. Ants create paths through forest litter, humans trample shortcuts across lawns, and herds compact soil on pastures. In all cases, a single step is almost imperceptible, yet thousands of repetitions alter the surface over a large area.

Related articles

HabrOther

OAuth Authorization Server Built Without Storing User Profiles

The article details the evolution of an OAuth Authorization Server that deliberately avoids storing user profiles, relying instead on external identity providers for authentication. It addresses three core constraints: hundreds of dynamically created isolated APIs, a public SPA client without a BFF, and the inability of resources to query the AS on every request. The design separates concerns so the AS handles only clients, tenants, grants, audiences, scopes, keys, sessions, and token issuance while the Main API owns profiles and roles. Tokens are managed securely inside a Service Worker using a custom FedCM grant, eliminating races across tabs and reducing XSS exposure. The approach minimizes blast radius, simplifies compliance, and keeps the AS replaceable without affecting product domain logic.

HabrOther

Why a 202-Character License Key Uses ECDSA P-256 Instead of Ed25519 or RSA

A developer building offline license verification for a .NET desktop application evaluated Ed25519, RSA, and ECDSA P-256 before selecting the last option. The decision was driven by the requirement for zero external dependencies, keys short enough for manual entry from email, and support for key rotation without breaking existing licenses. Although Ed25519 offers faster verification and a smaller public key, it is absent from System.Security.Cryptography in both .NET 8 and .NET 10, with API approval only targeted for version 11. RSA-2048 produces signatures too long for practical use, resulting in a 571-character Base32 string that users would find cumbersome. ECDSA P-256 with SHA-256 delivers a fixed 64-byte signature that becomes a manageable 202-character key when encoded in Base32, while remaining fully available in the runtime. The article also covers performance measurements, the risks of ECDSA nonce generation, and the deliberate choice of the IEEE P1363 signature format to guarantee fixed-length output.

HabrOther

Pilcrow Publishes Free Comprehensive Guide on Web Authentication

Author Pilcrow has released a detailed, ad-free handbook covering authentication and authorization practices for web applications. The resource draws on personal experience and includes practical examples in JavaScript and Go. It examines password-based methods, email verification, multi-factor authentication, passwordless flows, and passkeys while highlighting associated risks and usability trade-offs. The book also provides in-depth guidance on session management, token security, expiration policies, and email address handling as account identifiers. Recommendations emphasize choosing methods that match application security requirements and user expectations. Additional context is given on OWASP resources and community support channels.

HabrOther

redb 3.4.0 Adds Replay Checkpoints, Shared Runtime Layer and Declarative Secrets Handling for .NET Ecosystem

redb 3.4.0 delivers operational improvements for the .NET integration platform that includes typed storage over Postgres, MSSQL and SQLite, the redb.Route engine modeled after Apache Camel, the Tsak runtime with dashboard and clustering, and redb.Identity for OIDC and OAuth 2.1. The release focuses on post-deployment resilience with replay checkpoints that capture message state at named points inside routes, allowing safe re-execution of downstream steps without duplicating side effects. A shared runtime layer moves framework assemblies into a separate Libs/shared directory so that individual DLLs can be replaced without rebuilding or redeploying the entire Tsak or Identity packages. Secrets are now declared with a [Sensitive] attribute on endpoint options, ensuring URIs containing passwords or keys are sanitized before they reach logs, metrics or health checks. Additional controls include role-based access to management APIs, persistent audit trails and cryptographic signing of dynamically loaded modules. All Pro features remain free on the entire 3.x line with no licensing server required.