Yandex Go Develops Custom DSL to Handle Complex Dynamic Ride Pricing Logic
Yandex Go has introduced a custom domain-specific language to manage the intricate logic behind calculating ride costs, replacing what would otherwise become an unmaintainable collection of conditional statements in the core service code.
Trip pricing at Yandex Go is far more complex than simple multiplication of distance and time. It incorporates geozones, real-time demand, discounts, toll roads, additional stops, and special requirements such as transporting a cat, bicycle, or skis. The same pricing engine is invoked not only when a ride is ordered but also when the route or payment method changes, when a trip ends, when support staff intervene, and when analysts verify data.
Pricing can be fixed, interval-based, or calculated by taximeter. To support this flexibility without constant redeployments, developers first gather parameters from multiple sources in parallel: tariff category, geozones, discounts, surge multipliers, and additional services. These dependencies form a graph executed asynchronously on userver, ensuring that failure of a non-critical source does not halt the entire calculation.
Previously the algorithm resided in C++, but because pricing rules change on average twice a week, frequent service updates became impractical. Redeploying the service across 50 pods takes approximately 40 minutes, and the growing set of dynamic configuration files would have turned the codebase into a museum of conditional statements.
Instead, Yandex created its own DSL featuring conditions, functions, immutable values, and fold operations in place of traditional loops. Rules are organized into sequential chains where each transformation receives the current price and parameters and returns a new result together with metadata. The language grammar is defined with ANTLR 4, and the Z3 theorem prover verifies that no program can generate an incorrect price.
As a result, changes to pricing logic no longer require service recompilation, erroneous versions can be rolled back instantly, and every calculation can be reproduced from input data and intermediate results. The pricing platform is already shared with Yandex Taxi, Delivery, and the electric-vehicle charging service.
Related articles
RBC Restores News Portal After DDoS Attack as Russian Organizations Face Rising Cyber Threats
RBC's news website was hit by a DDoS attack on December 4, disrupting normal operations and forcing the outlet to publish updates via Telegram. Technical teams worked to restore full functionality after users saw only a simplified technical page instead of regular sections and articles. No evidence of infrastructure compromise or data leaks has been reported. The incident follows similar attacks in November 2026, including a 2.1 Tbit/s DDoS on hosting provider Beget that interrupted client FTP and SSH connections, and earlier strikes on Rosstat's resources. Roskomnadzor recorded 3,478 DDoS incidents in November, up from 2,500 in October, with the longest attack lasting over 20 days and targeting telecom companies mainly in the Central Federal District.
Russia's NTI Fund Exits Natalia Kasperskaya's SOVA Open AI Platform Project
The National Technology Initiative fund has fully exited the capital of Virtual Assistants, the company behind the open conversational AI platform SOVA. Structures linked to founders Natalia Kasperskaya and Stanislav Ashmanov repurchased the stake, with changes registered in the Unified State Register of Legal Entities on December 1, 2026. The fund had entered the project in 2022 and later increased its share to 49.4 percent, following earlier state plans to allocate 300 million rubles toward a 400 million ruble project. Laboratory Nanosemantics now holds 59.65 percent while Ashmanov directly controls the remaining 40.35 percent. Although SOVA was positioned as an open-source ecosystem for building voice assistants and chatbots, its GitHub repositories have seen no updates since April 2023. The company continues to collect user feedback for future modernization while experts note growing competition from technologies such as Whisper, GigaAM, and Yandex SpeechKit.
Incident at Sarov Nuclear Center Triggers Wave of Disinformation on Social Media
An industrial accident at the Russian Federal Nuclear Center in Sarov on December 3, 2026, led to the rapid spread of false claims about nuclear material fires and potential Chernobyl-scale consequences across social networks and messengers. Official statements from RFNC-VNIIEF confirmed the event occurred during scheduled non-nuclear production work, resulting in five fatalities with additional injuries under investigation, while emphasizing that the site was localized and no threat existed to facilities holding fissile materials. Radiation levels remain within normal limits according to both the institute and the Main Directorate of EMERCOM for Nizhny Novgorod Region, with no danger to the public or environment. The limited official information released so far has fueled further misinformation, prompting Lapsha Media to warn of additional fakes and advise verification against authoritative sources. Specialists continue damage assessment and repairs at the affected industrial site, with the exact cause of the incident still undisclosed.
SpaceVM Border Firewall Configuration Guide Restricts SSH and Web Access to Specific Subnets
SpaceVM has published a detailed tutorial on configuring its border firewall using a three-node cluster example. The guide demonstrates how to allow SSH and HTTP/HTTPS access exclusively from the 172.22.21.0/24 subnet while disabling default system rules that permit broader access. It explains rule processing order, where lower index values take precedence, and shows how to apply traffic shaping limits. Administrators must activate rules after creation and verify connectivity from allowed and disallowed hosts. The instructions cover both incoming filter rules and shaping policies for management networks without affecting virtual machine traffic.