<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dmitry Zinoviev on Medium]]></title>
        <description><![CDATA[Stories by Dmitry Zinoviev on Medium]]></description>
        <link>https://medium.com/@dmitryzinoviev?source=rss-ef125f6d8050------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*_oFOZA4cxwrNuiz1.</url>
            <title>Stories by Dmitry Zinoviev on Medium</title>
            <link>https://medium.com/@dmitryzinoviev?source=rss-ef125f6d8050------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 23:54:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dmitryzinoviev/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A thousand words are worth a picture?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://dmitryzinoviev.medium.com/a-thousand-words-are-worth-a-picture-ca84d0e1fddf?source=rss-ef125f6d8050------2"><img src="https://cdn-images-1.medium.com/max/2600/0*Ljbdq4rXewjL1-Nx" width="6016"></a></p><p class="medium-feed-snippet">A disturbing note on the demise of diagramming</p><p class="medium-feed-link"><a href="https://dmitryzinoviev.medium.com/a-thousand-words-are-worth-a-picture-ca84d0e1fddf?source=rss-ef125f6d8050------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://dmitryzinoviev.medium.com/a-thousand-words-are-worth-a-picture-ca84d0e1fddf?source=rss-ef125f6d8050------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca84d0e1fddf</guid>
            <category><![CDATA[data-literacy]]></category>
            <category><![CDATA[skills]]></category>
            <category><![CDATA[diagrams]]></category>
            <category><![CDATA[uml]]></category>
            <category><![CDATA[geometry]]></category>
            <dc:creator><![CDATA[Dmitry Zinoviev]]></dc:creator>
            <pubDate>Thu, 07 May 2026 01:06:01 GMT</pubDate>
            <atom:updated>2026-05-07T06:40:36.517Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Brief History of Boston Streetcars]]></title>
            <link>https://dmitryzinoviev.medium.com/brief-history-of-boston-streetcars-606725f6fc8e?source=rss-ef125f6d8050------2</link>
            <guid isPermaLink="false">https://medium.com/p/606725f6fc8e</guid>
            <category><![CDATA[new-england]]></category>
            <category><![CDATA[urban-transportation]]></category>
            <category><![CDATA[boston-history]]></category>
            <category><![CDATA[streetcar]]></category>
            <category><![CDATA[boston]]></category>
            <dc:creator><![CDATA[Dmitry Zinoviev]]></dc:creator>
            <pubDate>Wed, 04 Feb 2026 23:35:17 GMT</pubDate>
            <atom:updated>2026-02-04T23:37:52.445Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yy6QovaiNN6oYWeM" /><figcaption>Photo by <a href="https://unsplash.com/@kyleptran?utm_source=medium&amp;utm_medium=referral">Kyle Tran</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><em>Take me to the land’s end, my rickety seventh tram!</em></p><p>If Russian poet Mikhail Shcherbakov had written that line in Boston (and in English), old-timers would have shaken their heads. Yes, Boston once had a “seventh tram,” and it really did run to the land’s end: from South Station to City Point, famous for its ocean beaches at Castle Island. But the 7th line closed in 1953, ten years before the poet was born, during the long decline of the city’s streetcar system. Of the 63 routes that once existed, only five survived until 2020. The rest either turned into bus and trolleybus lines or vanished altogether.</p><p>Boston’s first electric streetcar began rattling along city streets from Union Square in Allston to Park Square in downtown, on January 1, 1889. Later, the A line — now the 57 bus — would follow much of that same alignment</p><p>Beginning in 1894, the Boston Elevated Railway (BERy) oversaw the construction and operation of the electric streetcars. Until Christmas Eve of 1900, electric cars shared tracks with horse-drawn trams. But horse traction was doomed: city services couldn’t keep up with the manure. Nearly eight thousand horses on BERy’s books produced more than a hundred tons of “potential fertilizer” every day. No wonder the “iron horse” replaced the farmer’s horse.</p><p>Most streetcar routes converged on Tremont Street, one of the busiest arteries of the fast-growing metropolis. Boston met its first traffic jams at the turn of the twentieth century, and city officials made a radical — at the time, almost unprecedented — decision: put the streetcars underground. From 1895 to 1897, a tunnel under Tremont Street was built by the open-cut method, without halting traffic. On September 3, 1897, Boston opened not only its first underground railway, but also the first one in the Western Hemisphere. In the Eastern Hemisphere, only London and Budapest had preceded it. And although the tunnel carried streetcars rather than full-fledged trains, Boston’s “subway” is rightly considered America’s first subway system.</p><p>The Tremont Street tunnel is still very much alive and in active use. Next time you go down to the platforms at Park Street on the Green Line, the oldest underground station in the Western Hemisphere, look for the commemorative plaque!</p><p>In addition to the already-mentioned Park Street, there were originally four more stations in the tunnel: Boylston, Scollay Square (today’s Government Center), Adams Square (closed in 1963), and Haymarket. South of Boylston and north of Haymarket, streetcars emerged through portals to the surface and continued to the suburbs.</p><p>Bostonians quickly took to the tunnel’s convenience. Over time, it was extended to Kenmore Square (where a partially filled-in portal can still be seen), and then to the Brookline line. At Copley Square and at Kenmore, the underground route split; today’s Green Line branches: B, C, D, and E — are its direct descendants.</p><p>From Boylston, another tunnel branch once headed toward South Boston. Its surface exit was sealed in 1962, though the underground section still exists and is used for storing historic cars and maintenance equipment. Local lore has it that residents near the southern portal grew tired of living next to the opening. After it was closed, Eliot Norton Park was laid out on the site, and the All Nations United Methodist Church was built above it to “seal” the tunnel for good. The park remains; the church, amusingly, does not.</p><p>In the West End, streetcars were not tucked into a tunnel at all, but lifted onto a purely utilitarian — some would say downright ungainly — elevated structure. They clattered along it from 1912 until 2004, when, as part of the Central Artery improvement project (better known as the Big Dig), they were finally sent underground into yet another tunnel.</p><p>By 1912, BERy had essentially settled the shape of Boston’s streetcar network, and it changed little until the late 1940s. It weathered the Great Depression and World War II — never effortlessly, but it endured. The gravest threat was competition from buses, and behind the buses stood General Motors (GM), a villain in streetcar lore. GM and its partners, most notably oil companies, needed new markets. Between 1938 and 1950, the GM-led alliance bought up electric transit systems in 25 American cities and promptly converted many streetcar routes to buses. The pitch was simple: streetcars were unreliable and inflexible; buses were modern, nimble, and cheaper.</p><p>To improve reliability and cut costs, BERy replaced its distinctly Bostonian “zoo” of prewar streetcars with 344 standardized PCC cars. PCCs were cheap to run, seldom broke down, and, when needed, could even be substituted with similar cars from other U.S. and Canadian cities. Their durability speaks for itself: in Boston, they lasted into the mid-1990s, and on the isolated Mattapan line (as well as in Toronto, Philadelphia, and San Francisco), PCCs have remained in service to the present, though typically after major rebuilds.</p><p>Yet for all its virtues, the PCC was still a full-sized, track-bound streetcar, hardly nimble in a city increasingly dominated by automobiles. As a stopgap, BERy and its successor, the Metropolitan Transit Authority (MTA), converted many streetcar routes to trolleybus routes, keeping electric traction while gaining the maneuverability of rubber tires. For a time, Boston became one of the most trolleybus-heavy cities in the United States.</p><p>The trolleybuses, however, were unlucky too. They existed in large numbers only until 1963. Of 37 routes, only a handful survived into the 2020s — and even those were eventually shut down. The Boston trolleybus helped kill the Boston streetcar, and then the Boston bus killed the Boston trolleybus. If you like grand words for simple outcomes, call that <em>dialectics</em>.</p><p>After 1953, the year the “rickety seventh tram” was retired, the dismantling of Boston’s streetcar network continued. By 1967, so few lines remained in the capital of New England that the survivors were given letters instead of numbers: A, B, C, D, and E. Two years later, the A line was “temporarily” replaced by a bus (”bustituted”). The last A car ran through Boston and Watertown in 1969. Tracks along the route lingered until 1994, and the rails in the yard at Watertown’s terminal still appear to be there even now.</p><p>Even as the streetcar network was being dismantled, its infrastructure was decaying. The cars grew old and temperamental. The tracks loosened. Rats took over the tunnels. By the 1970s, crime in the underground stations was so bad that, during off-peak hours, riders often preferred to wait upstairs on the street rather than on the platform. Symphony Station even got a special green light at the entrance: it would turn on when a streetcar was approaching, giving passengers just enough time to hurry down into the station’s “underbelly.”</p><p>Things began to improve — in the tunnels, on the cars, and in Boston generally — in the late 1990s. The previous generation of rail vehicles was built by Boeing’s helicopter division, Boeing Vertol. I can’t say how good their helicopters were, but their streetcars were not great. The “helicopter” cars were replaced by Dutch-made Breda vehicles. Around the same time, track infrastructure was rebuilt, platforms were reconstructed, and a new fare system was introduced: first, reusable cardboard tickets replaced the old metal tokens, and later, the plastic “CharlieCard” arrived. After those reforms and rebuilds, Boston’s streetcar, once nearly a ghost, reclaimed its place as a city symbol.</p><p>Talking about Charlie, his persona comes from the song “M.T.A.” (Metropolitan Transportation Authority), written in 1948 about a five-cent fare hike. The legend goes like this: Charlie entered the subway one morning before the increase, but couldn’t get out afterward because he now had to pay the extra five cents and didn’t have it. So he’s been riding the tunnels ever since, the poor guy. To me, the Massachusetts Bay Transportation Authority (MBTA), successor to the MTA, chose a slightly unfortunate name for its transit pass. Most passengers are not exactly thrilled by the idea of spending the rest of their lives underground, circling the few surviving routes.</p><p>The official number of routes is four, but wait! One of the loveliest secrets of Boston transit is the “Mattapan High-Speed Line” (also known as the M line). On maps, it’s colored red and appears to be part of the Red Line subway. In reality, it’s the last refuge of the PCC streetcars — survivors, carefully restored — running at an enviable frequency and very much not as a tourist attraction, between the Ashmont terminal and Mattapan. If you want to experience Boston streetcar history as something alive rather than in a museum, this is the place. Just don’t put it off: for several years now, there has been talk of replacing the “high-speed line” with buses.</p><p>My story of Boston’s streetcars would be incomplete without at least a nod to Massachusetts’ once-vast network of intercity and suburban lines — the interurbans. Construction of the system began in 1856, first with horse-drawn cars and later with electric traction. Before long, streetcar service radiated outward from Boston toward surrounding towns and regional centers. In its heyday, it was possible, at least in principle, to make remarkably long journeys by trolley: from Boston toward Springfield, and (with transfers) even farther west into the Berkshires.</p><p>Streetcars did more than move people; they reshaped where people lived. They made it practical for well-to-do Bostonians to settle “in the country” while still keeping their city jobs, helping to create the familiar American pattern of suburbia and daily commuting. Where earlier generations often lived close to where they worked, the streetcar era normalized a new rhythm: the daytime influx of commuters and the evening reversal. The word <em>&quot;commute&quot;</em> comes from the idea of exchanging or substituting, and it still survives in <em>&quot;commutation&quot;</em> (as in &quot;commuting a sentence&quot;).</p><p>Then the bottom fell out. Rising operating costs, falling density, fierce competition from automobiles, and, above all, the Great Depression delivered a knockout punch. By mid-century, the interurban world in Massachusetts was largely gone; what remains today is mostly memory, photographs, and a small living fragment: Lowell’s museum line.</p><p>Boston’s own streetcar system, though battered, has kept one eye on the future. In 2012, for the first time in decades, construction began on a major expansion—the Green Line Extension, which goes beyond Lechmere toward Somerville (Union Square) and Medford (to Tufts University). The project opened in phases in 2022, restoring rapid transit to dense inner suburbs that had long been promised rail service. The MBTA projected that the full extension would build toward roughly 45,000 daily trips by 2030 — because what would Boston be without its “rickety” streetcars?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=606725f6fc8e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Practical Programming, 4th ed.]]></title>
            <link>https://dmitryzinoviev.medium.com/practical-programming-4th-ed-8d83f3ee99ef?source=rss-ef125f6d8050------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d83f3ee99ef</guid>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[new-book-release]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[higher-education]]></category>
            <dc:creator><![CDATA[Dmitry Zinoviev]]></dc:creator>
            <pubDate>Thu, 08 Jan 2026 19:08:17 GMT</pubDate>
            <atom:updated>2026-01-08T19:08:17.587Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/271/1*wMBKwf4iFhn_b4jRXOSjXg.png" /></figure><p>As if to celebrate my double anniversary: 25 years at <a href="https://www.linkedin.com/company/suffolk-university/">Suffolk University</a> and 10 years with <a href="https://www.linkedin.com/company/the-pragmatic-programmers/">The Pragmatic Programmers</a> — the PragProgs team has just released the beta e-book of the 4th edition of Practical Programming.</p><p>The 3rd edition was released in 2017, a long time ago by any software metric. It was written by Paul Gries, Jennifer Campbell, and Jason Montojo. I was invited to prepare the 4th edition and gladly accepted the invitation.</p><p>What’s new in this edition:</p><p>✅ Retired two chapters (Creating Graphical User Interfaces and Databases).<br>✅ Added two new chapters (Mastering Iteration Tools and Handling Exceptions).<br>✅ Updated the text and examples to Python 3.14 (from Python 3.6).<br>✅ Added numerous sidebars for topics that are important and fun, but don’t belong in the main flow.</p><p>The beta e-book is available on the <a href="https://pragprog.com/titles/gwpy4/practical-programming-fourth-edition-4th-edition/">publisher’s site</a>, and a paper edition will follow in July 2026.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d83f3ee99ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Thou Shalt Not Overoptimize]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">Someone pretending to be a &#x201C;senior programmer&#x201D; just shared another piece of &#x201C;wisdom&#x201D; here on Medium. This time, he brags about his secret&#x2026;</p><p class="medium-feed-link"><a href="https://dmitryzinoviev.medium.com/thou-shalt-not-overoptimize-b4948fad59af?source=rss-ef125f6d8050------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://dmitryzinoviev.medium.com/thou-shalt-not-overoptimize-b4948fad59af?source=rss-ef125f6d8050------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4948fad59af</guid>
            <category><![CDATA[c-programming]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[compilers]]></category>
            <category><![CDATA[c-language]]></category>
            <dc:creator><![CDATA[Dmitry Zinoviev]]></dc:creator>
            <pubDate>Tue, 23 Dec 2025 02:29:42 GMT</pubDate>
            <atom:updated>2025-12-23T02:31:22.803Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[A Word on C³ (Correlation, Causation, and Cats)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://dmitryzinoviev.medium.com/a-word-on-c%C2%B3-correlation-causation-and-cats-68e3bfe51a0e?source=rss-ef125f6d8050------2"><img src="https://cdn-images-1.medium.com/max/1125/1*1Bq3KGA-rNPvJgoTdaFzjg.jpeg" width="1125"></a></p><p class="medium-feed-snippet">I see this &#x2193; picture and this &#x2193; quote on social media so often that I feel somewhat uneasy when I don&#x2019;t see them for a while.</p><p class="medium-feed-link"><a href="https://dmitryzinoviev.medium.com/a-word-on-c%C2%B3-correlation-causation-and-cats-68e3bfe51a0e?source=rss-ef125f6d8050------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://dmitryzinoviev.medium.com/a-word-on-c%C2%B3-correlation-causation-and-cats-68e3bfe51a0e?source=rss-ef125f6d8050------2</link>
            <guid isPermaLink="false">https://medium.com/p/68e3bfe51a0e</guid>
            <category><![CDATA[causation]]></category>
            <category><![CDATA[fallacy]]></category>
            <category><![CDATA[logic]]></category>
            <category><![CDATA[correlation]]></category>
            <category><![CDATA[spurious-correlation]]></category>
            <dc:creator><![CDATA[Dmitry Zinoviev]]></dc:creator>
            <pubDate>Sun, 14 Sep 2025 19:54:28 GMT</pubDate>
            <atom:updated>2025-09-14T19:54:28.074Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Seven Obscure Languages]]></title>
            <link>https://dmitryzinoviev.medium.com/seven-obscure-languages-7fa458df5b09?source=rss-ef125f6d8050------2</link>
            <guid isPermaLink="false">https://medium.com/p/7fa458df5b09</guid>
            <category><![CDATA[new-book-release]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[history-of-computing]]></category>
            <dc:creator><![CDATA[Dmitry Zinoviev]]></dc:creator>
            <pubDate>Fri, 18 Oct 2024 05:45:47 GMT</pubDate>
            <atom:updated>2024-10-18T05:45:47.334Z</atom:updated>
            <content:encoded><![CDATA[<h4>(In Seven Weeks!)</h4><p>My new book about Seven Obscure Languages, an opus in software archeology, just hit the shelves of <a href="https://www.amazon.com/Seven-Obscure-Languages-Weeks-Rediscovering/dp/B0DFNXG376">Amazon.com</a> and, hopefully, brick-and-mortar book outlets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4zVmMJF7kAwugGOvGVN0vg.png" /></figure><p>As the title suggests, the book unearths seven great, semi-forgotten, semi-abandoned programming languages: <strong>Forth</strong>, <strong>APL</strong>, <strong>Occam</strong>, <strong>Simula</strong>, <strong>SNOBOL</strong>, <strong>Starset</strong>, and <strong>m4</strong>, each having its own personality. (To be honest, m4 is neither forgotten nor abandoned, but it works its way so humbly and stealthily that hardly anyone knows about it.)</p><p><strong>FORTH</strong> 1 1 + . 2 ok</p><p>Forth<strong> </strong>is a stack-based language with a limited vocabulary. Remember Reverse Polish Notation, RPN? It’s Forth in disguise! Forth is close to the hardware; it is almost an assembler. It is fast; it is efficient; it is simple; it is small. If you have never written a Forth interpreter, don’t expect your dog to respect you. Forth was beloved by NASA, at least in 2003. I almost applied for a Forth programming position with the Hubble telescope project, but I quickly realized it was a <a href="https://medium.com/pragmatic-programmers/in-memoriam-xlispstat-f9506f315b23">Lisp</a> programming position.</p><p><strong>APL `</strong>1++/1÷(!⍳170)` <em>Yuck, Medium does not let me properly display the APL code!</em></p><p>APL is A Programming Language, but not just Another Programming Language. It was designed by Kenneth Iverson, a Canadian computer scientist and mathematician, for mathematicians as a form of algebraic and algorithmic notation. APL is notorious for its notation, but the whole field of Mathematics is. By the way, the expression at the beginning of the section calculates π by expanding it into the Taylor series, and you would never guess if I didn’t tell you. Compact, precise, decadent, APL cannot care less whether you understand its expressions. It is a <em>write-only language</em>. Look at the list of APL commands (in addition to 52 Latin letters, 10 digits, and “normal” punctuation).</p><p>_¨¯×÷←↑→↓∆∇∊∘∣∧∨∩∪∵≠≡≢≤≥⊂⊃⊕⊖⊗⊢⊣⊤⊥⋄⋆⌈⌊⌶⌷⌹⌻⌽⌿⍀⍂⍉⍋⍎⍒⍕⍙⍞⍟⍫⍱⍲ι⍴⍵⍷⍸⍺⎕○⍝</p><p>Do you see a middle finger at the end of the list? Don’t worry; the ⍝ thing is simply a comment. /* Just like this. */</p><p>The power of APL is in its array processing capabilities. It works with scalars, vectors, matrices, 256-dimensional arrays, you name it, with the elegance and precision of an HP calculator. APL may have died, but it surely got reincarnated. Today, we call it NumPy.</p><p><strong>OCCAM </strong>CHAN BYTE in, out: BYTE item: SEQ in ? item out ! item</p><p><em>Entia non sunt multiplicanda praeter necessitatem</em>, said William of Ockham, fourteenth-century English philosopher and theologian. <em>Yes, sir</em>, said the Inmos Corporation and created a Transputer: a minimalistic RISC four-core microprocessor with interconnecting channels. (I am sure there was a <em>necessity</em> for that <em>multiplication</em> of <em>entities</em>.) Occam was the language of the Transputer, for the Transputer, and only for the Transputer. Occam supports parallel and concurrent execution, message passing, and message protocols. Think of it as an implementation of Hoare’s <a href="https://en.wikipedia.org/wiki/Communicating_sequential_processes">communicating sequential processes (CSP)</a> running on CSP-aware hardware. (CSPware?If that ever catches on, you heard it here firs.t) Inmos is gone, Transputers are gone, and Occam was almost gone, too.</p><p><strong>SIMULA</strong> TEXT t1,t2; t1:-Blanks(10); t:=&quot;Hello,&quot;; t2:-Copy(&quot;World!&quot;);</p><p>Simula is a gift to humanity — and in more than one way. First, it is a superset of the venerable ALGOL60, one of the first programming languages. Learn Simula — get ALGOL60 for free. Second, it is the first object-oriented language. (No, C++ was not even the second, and JavaScript is not even a language.) Simula brought us classes, objects, references, instantiation, inheritance, method overloading, and numerous other concepts we thought were either invented by <a href="https://www.stroustrup.com/">Bjarne Stroustrup</a> or given to Moses on the seventh day of Creation, depending on who you worship. Finally, as the name suggests, Simula is a language for computer modeling simulation. It provides a <a href="https://arxiv.org/abs/2405.01562">discrete event simulator</a> and event-handling classes and methods. By the way, do we all live in a simulated Universe?</p><p><strong>SNOBOL</strong> NEXT line (&quot;Alice&quot; | &quot;Bob&quot;) . match = :F(LOOP)</p><p>When a wise man asks you what was first: a chicken or an egg?, answer: it was Digital Humanities. And digital humanities were nameless and hard to do until the advent of SNOBOL, the <em>StriNg-Oriented and symBOlic Language </em>(<em>sic!</em>). Like Simula brought all things OOP, SNOBOL contributed patterns, pattern matching, and pattern-based replacement, the heart and soul of text processing. On the bitter side, SNOBOL treats numbers as strings and converts them to the arithmetic representation for arithmetic operations, which bigly affects its performance. It also does not have loops, but who needs loops when there are explicit GOTO statements? (It was before Edgar Dijkstra’s seminal <em>Go To Statement Considered Harmful</em>.)</p><p><strong>STARSET</strong> WRITE (EXISTS w IN $SET)(LEN(w) &gt;= 10);</p><p>Mathematical set theory would be just a mathematical theory if not for Starset (and its cousin SETL). Sadly, born in a quiet and ancient Russian rural town at the dusk of the Soviet Union, the language fell victim to the break-up of the USSR. When the language was designed, the Russians had more important things to worry about, such as food, jobs, and personal safety. When they got all of the above, there was no need for specialized programming languages anymore: Java and Python had taken over.</p><p>Sets and set classes are the native and primary data types in Starset. You can index, search, merge, split, save, and restore them. The more time you spend starsetting, the more everything looks like the proverbial nail. I have an intimate and personal connection to Starset, but it is another story (you can <a href="https://pragprog.com/titles/dzseven/seven-obscure-languages-in-seven-weeks/">find it in the book</a>).</p><p><strong>M4</strong> define(`foo&#39;, `bar&#39;)dnl</p><p>Some say m4 is <em>not even a language</em>. Indeed, m4 was originally released as a preprocessor: in other words, as a tool for textual substitution. However, a preprocessor can be a programming language, especially if, like m4, it is Turing complete. A clever programmer like you can use it to write loops, conditional statements, and stacks, access files, and do everything else other good obscure languages do. You can even write a simulator of a traffic light-controlled intersection as if Simula was not enough. m4 is the brain behind GNU Autoconf (a tool for producing shell scripts that automatically configure software source code packages), GNU Automake (a tool for automatically generating Makefiles), and Sendmail (a popular mail transfer agent), and yet few programmers know about its existence. I am happy to make this <a href="https://www.youtube.com/watch?v=dVmLTApnwag&amp;ab_channel=Thomas%26Friends">really useful engine</a> a little bit more popular.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/167/1*y4f1YeMiEUUmRoOd1o8IOw.jpeg" /></figure><p>Interested? Intrigued? Want to know more about the obscure programming languages? Buy a copy of my recent book<em> Seven Obscure Languages in Seven Weeks. Rediscovering the Tools That Built the Future</em> as an e-book at the <a href="https://pragprog.com/titles/dzseven/seven-obscure-languages-in-seven-weeks/">Pragmatic website</a> or in softcover on <a href="https://www.amazon.com/Seven-Obscure-Languages-Weeks-Rediscovering/dp/B0DFNXG376">Amazon.com</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7fa458df5b09" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Word About Math]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://dmitryzinoviev.medium.com/a-word-about-math-5cb59a00a15f?source=rss-ef125f6d8050------2"><img src="https://cdn-images-1.medium.com/max/1024/1*WAvlfN2HV-Q_jTte8hQcSg.png" width="1024"></a></p><p class="medium-feed-snippet">We are used to mathematics being what it is and nothing more. Mathematical analysis, abstract algebra, linear algebra, differential&#x2026;</p><p class="medium-feed-link"><a href="https://dmitryzinoviev.medium.com/a-word-about-math-5cb59a00a15f?source=rss-ef125f6d8050------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://dmitryzinoviev.medium.com/a-word-about-math-5cb59a00a15f?source=rss-ef125f6d8050------2</link>
            <guid isPermaLink="false">https://medium.com/p/5cb59a00a15f</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[physics]]></category>
            <category><![CDATA[civilization]]></category>
            <category><![CDATA[culture]]></category>
            <dc:creator><![CDATA[Dmitry Zinoviev]]></dc:creator>
            <pubDate>Tue, 20 Jun 2023 22:00:08 GMT</pubDate>
            <atom:updated>2023-06-20T22:00:08.393Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[When Life Gives You No Global Variables, Use Message Passing]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://dmitryzinoviev.medium.com/when-life-gives-you-no-global-variables-use-message-passing-fa3fda357da?source=rss-ef125f6d8050------2"><img src="https://cdn-images-1.medium.com/max/2600/0*CP6Q02nsHV9rG9mM" width="5890"></a></p><p class="medium-feed-snippet">A note on distributed programming</p><p class="medium-feed-link"><a href="https://dmitryzinoviev.medium.com/when-life-gives-you-no-global-variables-use-message-passing-fa3fda357da?source=rss-ef125f6d8050------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://dmitryzinoviev.medium.com/when-life-gives-you-no-global-variables-use-message-passing-fa3fda357da?source=rss-ef125f6d8050------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa3fda357da</guid>
            <category><![CDATA[deadlock]]></category>
            <category><![CDATA[shared-data]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[concurrency]]></category>
            <category><![CDATA[distributed-systems]]></category>
            <dc:creator><![CDATA[Dmitry Zinoviev]]></dc:creator>
            <pubDate>Thu, 15 Jun 2023 20:16:41 GMT</pubDate>
            <atom:updated>2023-06-15T20:24:01.106Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Of the Curved Universe and Pi]]></title>
            <link>https://dmitryzinoviev.medium.com/of-the-curved-universe-and-pi-7b9155a478b5?source=rss-ef125f6d8050------2</link>
            <guid isPermaLink="false">https://medium.com/p/7b9155a478b5</guid>
            <category><![CDATA[pi]]></category>
            <category><![CDATA[cockroach]]></category>
            <category><![CDATA[curvature]]></category>
            <category><![CDATA[space]]></category>
            <category><![CDATA[universe]]></category>
            <dc:creator><![CDATA[Dmitry Zinoviev]]></dc:creator>
            <pubDate>Tue, 22 Nov 2022 06:20:11 GMT</pubDate>
            <atom:updated>2022-11-22T06:25:33.484Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NKP5kLdIBPE0zAIn" /><figcaption>Photo by <a href="https://unsplash.com/@bryangoffphoto?utm_source=medium&amp;utm_medium=referral">Bryan Goff</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>A Cockroach’s Approach</h4><p>Is our Universe curved? Who knows. I’ll tell you who: someone who knows how to measure the value of π.</p><p>Let me start by reminding the reader that, by definition, π is the ratio of a circle’s circumference C and its diameter D: π = C/D = C/2R. Also, a circle is a set of points located at the same distance from another point, Z. Point Z is called the circle’s center. The said distance is the circle’s radius, half of the circle’s diameter. I hope we are on the same page.</p><p>To measure the π, one needs to draw a perfect circle, perfectly measure its circumference and diameter or radius, and divide one by the other. Problem solved. (Except that drawing and measuring the circle are outside this article’s scope.)</p><p><em>&lt;Enters a Sceptisict.&gt;</em> But why would we want to measure the value of π if it is a constant and can be calculated to 62,831,853,071,796 <a href="https://www.guinnessworldrecords.com/world-records/66179-most-accurate-value-of-pi#:~:text=The%20most%20accurate%20value%20of,Switzerland%2C%20on%2019%20August%202021.">decimal digits</a>?</p><p>&lt;<em>Enters the Author.</em>&gt; Because it is a constant only if the Universe is flat. If the Universe is curved, not only is π not a constant anymore, but we can use its variation to estimate the curvature.</p><p>For presentability, let us assume that our Universe is two-dimensional, like a piece of paper. We move on it, not unlike cockroaches, and do not know or do not care that the piece of paper is embedded into a higher-dimensional space. If we draw a circle on a piece of paper, its circumference would be π0 times its diameter. (Here, π₀ is the value of π as we know it, 3.14159 and 62,831,853,071,791 more digits.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UoJKuyVrD3k5Iz47ubs7Sw.jpeg" /><figcaption>A cockroach in a Flat Universe</figcaption></figure><p>Now, let us pretend that the Universe is curved (say, uniformly in two directions) and looks like a ball of radius 1/k. The Universe still looks flat for cockroaches because they “bend” together with it. But not so for the π.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eFROQ-P58zuy80C4sxfRXQ.jpeg" /><figcaption>A cockroach in a Curved Universe</figcaption></figure><p>Imagine an inquisitive cockroach that was charged with measuring the value of π. The cockroach selects a random point, Z, and carefully marks all the points that are precisely R units away from Z. The cockroach then follows the circle, carefully measures its circumference C, and divides C by 2R to obtain π. To the cockroach’s shock, the value of π depends on R.</p><p>How is that possible? When the Universe is curved (not a piece of paper but a ball), the radius of a circle is not R (the surface distance from Z) but R0, as shown in the picture: C = 2π₀R₀.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-YjLx0IuQzJMGzHdCkgpLg.jpeg" /></figure><p>However, from the cockroach’s point of view, it is still C=2πR, by the definition of π. Since we are talking about the same circle, naturally, 2πR = 2π₀R₀ and, hence, π = π₀R₀/R.</p><p>R₀ can be calculated using high-school trigonometry: R₀ = 1/k sin(a) = 1/k sin(R / (1/k)) = sin(Rk)/k. Combining this with the previous equation, we get π = π₀sin(Rk)/(Rk). By the way, k is the curvature of the Universe, and it is the reciprocal of the curvature radius Rc: k = 1/Rc.</p><p>As one can see, the measured value of π depends on the radius of the circle used for the measurement. The cockroach has no reason to be surprised.</p><p>For the flat Universe, k=0, and the equation becomes π = π₀sin(R×0)/(R×0) = π₀sin(0)/0 = π₀×0/0, a nightmare in algebra but merely a minor annoyance in calculus. Taking the limit as k tends to 0, we get that π = π₀sin(x)/x = π₀∎</p><p>As the Universe curves, k increases, and π and π₀ become different from each other (though probably not significantly different). Knowing the “true” value of π₀ and measuring R and π, the inquisitive cockroach can calculate the curvature as the solution to the non-linear equation π/π₀ = sin(Rk)/(Rk). Solving this equation is outside this article’s scope, too, and trust me, it is the least of the cockroach’s problems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b9155a478b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Жданая Гора, Геройская Гора]]></title>
            <link>https://dmitryzinoviev.medium.com/%D0%B6%D0%B4%D0%B0%D0%BD%D0%B0%D1%8F-%D0%B3%D0%BE%D1%80%D0%B0-4d71c75f565f?source=rss-ef125f6d8050------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d71c75f565f</guid>
            <category><![CDATA[история]]></category>
            <category><![CDATA[ростов]]></category>
            <category><![CDATA[суздаль]]></category>
            <category><![CDATA[битва]]></category>
            <category><![CDATA[новгород]]></category>
            <dc:creator><![CDATA[Dmitry Zinoviev]]></dc:creator>
            <pubDate>Sat, 27 Aug 2022 00:13:20 GMT</pubDate>
            <atom:updated>2022-08-27T00:19:50.853Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DYqlc1bRlNlCAUNSArP_5Q.jpeg" /><figcaption>Three of the most famous bogatyrs, <a href="https://en.wikipedia.org/wiki/Dobrynya_Nikitich">Dobrynya Nikitich</a>, <a href="https://en.wikipedia.org/wiki/Ilya_Muromets">Ilya Muromets</a> and <a href="https://en.wikipedia.org/wiki/Alyosha_Popovich">Alyosha Popovich</a>, appear together in <a href="https://en.wikipedia.org/wiki/Victor_Vasnetsov">Victor Vasnetsov</a>’s 1898 painting <em>Bogatyrs</em>.</figcaption></figure><h4>Опыт исторического исследования</h4><p>«<em>В лето 6643 Георгий Владимерович испроси у брата своего у Ярополка Переславль, а Ярополку дасть Суздаль и Ростов и прочюю власт свою, но не всю. Toe же зимы бишася ноугородцы с ростовцы на Ждане горе. И победиша ростовцы новго[ро]дцев, Всеволод же бежа к Новугороду. И поимаша его наугородцы и посадиша его во епископли дворе за сторожи, и державше его два месеца, отпустиша. А сына его Владимера прияша.</em>»</p><p>В юго-западной части Переславского района, возле исчезнувшей деревни Кузьминка на берегу реки Кубрь, на древнем речном пути из Новгорода во Владимир расположена высокая, заросшая сплошным лесом Жданая гора. Склоны поднимаются под углом 15–20 градусов, у вершины под углом 45 градусов. Гору хорошо видно с высоты по дороге от села Голопёрова к урочищу Кузьминка, а также от деревень Кошелево и Романка.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xMxTG5qYtXek_eIyAcsUVA.png" /><figcaption>Примерное местонахождение Жданой горы.</figcaption></figure><p>На Жданой горе 26 января 1135 года, в день памяти Иосифа епископа Солунского, ростово-суздальская дружина Юрия Долгорукого разбила новгородское войско, которое возглавлял князь Всеволод Мстиславич.</p><p>Поводом для сражения послужил хлеб, который суздальцы стали отпускать из Ополья в Новгород по завышенным ценам и облагать провоз товаров новгородских купцов большими пошлинами. Кроме того, проникновение ростовцев в район Белого озера, Сухоны, Кокшеньги и чудского Гледена вызвало тревогу и недовольство новгородцев.</p><p>Что побудило новгородцев забираться в эту лесную глушь, вместо того, чтобы идти походом на Клещин, будущий Переславль, у которого сходились водные торговые пути с Востока и с Запада?</p><p>В окрестностях Ждань-горы жили здесь славяне-кривичи, язычники, не до конца еще принявшие христианство. Население этой местности не было богатым, но в одном из курганов археологи нашли стеклянные бусы с золотой и серебряной прокладками, традиционно ввозимые из стран Ближнего Востока. Дело в том, что через Ждань-гору шел торговый путь из Суздальской земли в Новгородскую: сначала по Клязьменской Нерли, потом к югу по ее притоками, волоками на реку Кубрь и далее — Волжской Нерлью на Волгу. Этот путь был короче пути через Клещин. Именно по нему «<em>иде Всеволод Мсьтиславичь на Суздаль и на Ростов с Новогородцы, и Пьсковичи, и Ладожаны, и всею областию Новогородцкую и сретоша их Суждальцы и Ростовци а Ждане горе</em>». Этим путем, но в обратном направлении, и привели новгородцы большую рать по замерзшим реке Дубне, Заболотскому озеру, Сулоти и, наконец, по Кубрю.</p><p>Скорее всего в районе Жданой горы был суздальский укрепленный пункт — Жданогорский стан — который новгородцы пытались захватить, чтобы контролировать торговую дорогу и не зависеть от Ростово-Суздальского князя, в руках которого был путь через Клещин. Сама Жданая гора имеет все признаки того, что она была искусственно обработана в оборонных целях. Согласно народным легендам, Ждан-городок сгорел с Космодемьянским монастырем, его фортом на берегу реки Куровки; в окрестностях стана находилось несколько меньших городков.</p><p>А ведь новгородцы шли не захватывать Ждань-гору, а освобождать. Когда-то именно новгородские первопроходцы впервые отвоевывали эти земли для славян. Они поднялись от Волги по Волжской Нерли и Кубрю, в верху которого, вероятно, срубили на крутой горе Ждан-городок, а оттуда, лесными волоками и малыми реками, через истокаи Сулоти и Дубны, дошли до Вори, где поставили крепость Радонеж. Но северяне недолго продержались в этих местах и были вытеснены киевскими князьями Борисом Владимировичем и Юрием Долгоруким.</p><p>Итак, морозным январским днем новгородцы заняли Ждань-гору, откуда их пришлось выбивать суздальцам. Суздальцы отрядили воеводу Короба Якуна с полутысячей человек в тыл неприятелю, а сами стали строиться в боевой порядок. Новгородцы, разделившись на три полка, устремились с высот и начали теснить суздальцев, был сбит княжеский стяг. В это время Короб напал на новгородцев с тыла и смял их. Суздальцы ободрились и разбили врага наголову; были убиты главные вожди: посадник Иванко «муж храбрый», тысяцкий Петрило Микулич и множество воинов. Богатый обоз стал добычей суздальцев. «<em>И одолеша Ростовци и избиша множество много Ноугородець, и убиша же ту посадника Иванка мужа храбра зело, и Петра Микулича, и иных мужей добрых много погибе, а Суждальци и Ростовци воэаратишася с победою великою.</em>»</p><p>О битве в день памяти Иосифа епископа Солунского напоминает давно разрушенный Осипов монастырь на реке Кубре, теперь село Осипова Пустынь. Ни о времени основания этого монастыря, ни о времени его упразднения сведений не сохранилось. А в далеком Новгороде в память о погибших в сражении с суздальцами у Жданой горы была заложена князем Всеволодом в 1135 году Церковь Успения на Торгу.</p><p>По предполагаемым условиям мирного договора права «низовцев» на южную часть Заволочья стали весомее. Чтобы окончательно закрепить за собой победу, Юрий Долгорукий примерно в одно время, в середине XII века, укрепляет старый торгово-ремесленный поселок на реке Москве (возводит первый московский деревянный кремль), строит крепость Дмитров для контроля над реками Дубной и Яхромой, запирает устье Волжской Нерли городом Константином (потом Кснятин, теперь село Скнятино Калязинского района Калининской области). На узле водных дорог — озере Клещине (Плещееве) — воздвигается новый город Переяславль, куда из города Клещина было перенесено административное управление краем и переведен гарнизон, возросший в соответствии с новыми задачами.</p><p>«<em>В лѣто ҂s҃ х҃ м҃е [6645 (1137)] поставленъ бъı скопечь Маноуило епс̑помъ Смоленескоу пѣвечь гораздъıи иже бѣ пришелъ изъ Грекъ самъ третии къ бл҃голюбивому кн҃зю Мьстиславоу предъ симъ бо бѣ не бъıлъ епс̑пъ Смоленьскѣ. В се же лѣто бъıша знамениӕ въ слн̑ци мс̑ца июнѧ въ ѳ҃ дн҃ь в се же лѣт̑ бишасѧ Новъгородъчи съ Соуждальчи на Жданѣ горѣ . и ѡдолѣша Соуждалци Новгородцем̑. В то же времѧ иде Юрьи Ростовоу и Всеволодъ Мьстислаличь ѿда дчѣрь свою в Лѧхъı Верхоуславоу.</em>»</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d71c75f565f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>