<?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 David Mudrauskas on Medium]]></title>
        <description><![CDATA[Stories by David Mudrauskas on Medium]]></description>
        <link>https://medium.com/@david.mudrauskas?source=rss-50f802fd96cc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*f-_s_onfNPfHtjdR.</url>
            <title>Stories by David Mudrauskas on Medium</title>
            <link>https://medium.com/@david.mudrauskas?source=rss-50f802fd96cc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 21:58:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@david.mudrauskas/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[Software development as a humanity]]></title>
            <link>https://medium.com/@david.mudrauskas/software-development-as-a-humanity-b4f3134abe1?source=rss-50f802fd96cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4f3134abe1</guid>
            <category><![CDATA[digital-humanities]]></category>
            <category><![CDATA[futurism]]></category>
            <category><![CDATA[humanism]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[David Mudrauskas]]></dc:creator>
            <pubDate>Mon, 24 Jun 2019 03:20:58 GMT</pubDate>
            <atom:updated>2019-06-24T03:20:58.510Z</atom:updated>
            <content:encoded><![CDATA[<p>One of the principles I find most important in developing software is the idea of reducing cognitive drag. Cognitive drag is the mental work that obstructs you from getting what you’re looking for. Say you’re interested in having dinner at a restaurant tonight. A source of cognitive drag might be finding out which restaurants are even open, then selecting one based on its merits, before being able to enjoy the experience of the restaurant itself. In software development, cognitive drag often comes up in fixing bugs. Let’s say my email app crashes each time I click the button for drafting a new email. My main task is to fix the cause of the crash, which necessitates pinpointing that cause. Identifying the cause in turn requires examining the series of events leading up to the crash. If it’s difficult to find the code dictating those events in the source files across the code base — if for instance, the files are poorly named or hard to search across — that’s a good example of cognitive drag.</p><p>I first encountered the concept of cognitive drag in a book on designing user interfaces: Steve Krug’s <em>Don’t Make Me Think</em>. That book focused more on designing web and app interfaces and the associated workflows for end users (“user experience”), rather than on coding techniques or code organization. The main idea is that as a user I want as little as possible to get in the way of me and my end goal. Interfaces and behavior should be intuitive, self-explanatory, convenient, etc. The concept extends to the actual code though, where text, files, and editors constitute their own interfaces and workflows with their own end users: software developers. The idea that fellow developers should be able to easily understand and navigate a collection of code is not new. Any primer on software construction will recommend being thoughtful about how you name functions, that their constituent code is not too long to wrap one’s head around, etc. In my case though, I became acquainted with that idea from the perspective of user experience design.</p><p>For me the code base is an artifact that gets consumed and interpreted in the same way as a novel or a historical document. A work of science fiction establishes the mechanics of its own universe, defining behaviors for androids, faster-than-light travel, biotech or something else. Fictitious as this world might be, if it’s constructed well it will be clear to readers what constitutes a violation of those mechanics: how that universe <em>should</em> work and how someone can interact with it to achieve some end. This idea extends even more strongly to game play like that in Dungeons &amp; Dragons. Taking it to the digital realm of online games brings us back to software and user experience. The code base is a microcosm, with constraints on possible scenarios and chains of cause-and-effect leading to them. If these rules are inconsistent or unclear to users, that creates not just cognitive drag but also a sort of existential chaos rendering goal-seeking behavior untenable. If the physics are arbitrary, if the game doesn’t make sense, if the code is convoluted and nondeterministic, people won’t be able to realize anything with it.</p><p>Similarly, people have relied on the historical record to inform our understanding of how the world works and how to effect certain results within it. Why did the Maya or the Soviet Union collapse? How can we prevent the worst effects of societal destabilization? That’s just one of the bigger questions history can address, but smaller ones abound. History encompasses relatively recent phenomena such that technical documentation and case studies fall under its purview. Think of the records of Three Mile Island and Chernobyl and how they factor into current approaches to preventing catastrophic failure at nuclear facilities. Like the anarchic universes mentioned above, when the record is unclear there’s a breakdown in our grasp of cause and effect. If we didn’t have exact details on the actions leading up to nuclear meltdown, we wouldn’t be as equipped to prevent similar situations in the future. If two writers conflict over basic historical facts, we’re left to guesswork which stymies our ability to reproduce or avoid certain situations. Like cognitive drag in a constructed world, cognitive drag stemming from poor documentation of our own hinders our ability to get us where we want to go.</p><p>There’s this preconception that if you’re a programmer — especially a backend programmer removed from working directly with end users— there’s little human-oriented element in your work. But that isn’t true. Optimizing an algorithm for performance and meeting the immediate requirements of an assignment are just as important as composing your code in way that will be workable in future cases, so the next person who comes along can potentially build upon it or fix a bug in it. For that, people need narrative in the form of clarity of cause and effect. The formal logic might technically be there, but how much can I expect from someone else’s background in comprehending it? How much time will they have to answer, “How does this work? How can I interact with it?” We should make it easy to answer those questions.</p><p>This gets into the emotional experience of working with code. For all the culture of intellect in the field of software development, there’s a big emotional component. We pursue the application of intellect because we derive satisfaction from it, getting that dopamine hit once we see our mental efforts come to fruition. If it’s particularly frustrating to understand or work with a collection of code, people get discouraged and the project suffers. What developer hasn’t been deflated by the prospect of working with a piece of legacy code again, a piece that’s poorly organized and hard to work? Because people want agency and to feel good about accomplishing something, if the game is too challenging they won’t advance in it. The emotional experience of working with code determines whether people enjoy their jobs and whether they’ll stick around or pursue something more emotionally and intellectually satisfying.</p><p>So as I write code and organize it into higher-level entities, I think of it as fashioning a literary world, a historical record, a clear story of its mechanics. I think about whether my professional descendants — or even my future self — will appreciate my artifact or be frustrated by it. Software developers are creating systems that are lasting decades and may even last centuries, in the same way Roman aqueducts have. But those foundations needed extension and reworking at times to fill the role they play today. How do we construct software so that people will be able to understand and repurpose it as circumstances evolve? Treating software development more like a humanity will help us achieve that.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4f3134abe1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Looping over Spark: an antipattern]]></title>
            <link>https://medium.com/@david.mudrauskas/looping-over-spark-an-antipattern-e10ac54824a0?source=rss-50f802fd96cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/e10ac54824a0</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[data-scienc]]></category>
            <category><![CDATA[spark]]></category>
            <category><![CDATA[hadoop]]></category>
            <dc:creator><![CDATA[David Mudrauskas]]></dc:creator>
            <pubDate>Sat, 12 Jan 2019 22:02:26 GMT</pubDate>
            <atom:updated>2019-01-12T22:02:26.480Z</atom:updated>
            <content:encoded><![CDATA[<p>Looping over Spark: an antipattern</p><p>I had a recent experience with Spark (specifically PySpark) that showed me what not to do in certain situations, although it may be tempting or seem like the natural approach. This antipattern arose in a scenario where</p><ol><li>I had easily accessible non-Spark data structures,</li><li>I had corresponding Spark structures, and</li><li>I intended to combine the two.</li></ol><p>The bottom line: <em>when working with Spark, represent any collection of data you’ll act on as a Spark structure</em>.</p><p><strong>The scenario</strong></p><p>Imagine you’re working with various periods of time, where each period is a continuous range of years. Your ranges are already (or can easily be) represented as simple structures:</p><pre>current_year =     {&#39;name&#39;: &#39;current_year&#39;,<br>                    &#39;start&#39;: 2019,<br>                    &#39;end&#39;:   2019}</pre><pre>previous_year =    {&#39;name&#39;: &#39;previous_year&#39;,<br>                    &#39;start&#39;: 2018,<br>                    &#39;end&#39;:   2018}</pre><pre>last_three_years = {&#39;name&#39;: &#39;last_three_years&#39;, <br>                    &#39;start&#39;: 2017, <br>                    &#39;end&#39;:   2019}</pre><p>You also have larger, granular data easily represented in Spark:</p><pre>&gt;&gt;&gt; purchases<br>DataFrame[year: int, item: string, price: decimal(10,10)]</pre><p>How will you get the particular customer purchases corresponding to each period?</p><p><strong>A simple way to do it</strong></p><p>If you need to get the data corresponding to a single period — a single period <em>for a given execution</em> — you can simply call this function once:</p><pre>from pyspark.sql import functions</pre><pre>def get_purchases_for_year_range(purchases, year_range):<br>  range_name = year_range[‘name’]<br>  start_year = year_range[‘start’]<br>  end_year = year_range[‘end’]</pre><pre>  return purchases \<br>    .where((purchases.year &gt;= start_year) &amp;<br>           (purchases.year &lt;= end_year)) \<br>    .select(functions.lit(range_name).alias(&#39;range_name&#39;),<br>            purchases.item,<br>            purchases.price)</pre><p><strong>What not to do</strong></p><p>The simple approach becomes the antipattern when you have to go beyond a one-off use case and you start nesting it in a structure like a for loop. This is tempting even if you know that RDDs underlie your Spark entities and that you’ll be switching between them and non-RDD entities, because ostensibly all the pieces you need are already there. To get records for multiple periods of interest with this approach, you end up with the following. Here we end up creating an aggregator variable to facilitate the antipattern.</p><pre>from pyspark.sql.types import *</pre><pre>schema = StructType((<br>  StructField(‘period_name’, IntegerType()),<br>  StructField(‘item’, StringType()),<br>  StructField(‘price’, DecimalType(10,10))))</pre><pre>periods_and_purchases = spark.createDataFrame([], schema)</pre><pre>for year_range in year_ranges:<br>  next_set = get_purchases_for_year_range(purchases, year_range)<br>  periods_and_purchases = periods_and_purchases.union(next_set)</pre><pre>return periods_and_purchases</pre><p>For all but pretty trivial amounts of data, your application will end up throwing this error:</p><pre>org.apache.spark.SparkException: Job aborted due to stage failure: Total size of serialized results of 5136 tasks (1024.0 MB) is bigger than spark.driver.maxResultSize (1024.0 MB)</pre><p><strong>What went wrong</strong></p><p>Spark is lazily evaluated so in the for loop above each call to get_purchases_for_year_range does not sequentially return the data but instead sequentially returns Spark calls to be executed later. All these calls get aggregated and then executed simultaneously when you do something later with periods_and_purchases that tells it to finally evaluate. In particular, results remain unevaluated and merely represented until a Spark <a href="https://spark.apache.org/docs/latest/rdd-programming-guide.html#actions">Action</a> gets called. Past a certain point the application can’t handle that many parallel tasks.</p><p>In a way we’re running into a conflict between two different representations: conventional structured coding with its implicit (or at least implied) execution patterns and independent, distributed, lazily-evaluated Spark representations.</p><p><strong>The right way to do it</strong></p><p>You’ll want to represent any collection of data you’ll rely on for Spark processing as a Spark structure. The fundamental unit of Spark is tabular data, instantiated as an object within the Spark framework. You want to coerce your input data into that, even if it ends up being as simple as a single column. We can actually define a schema like we did above, just at a different point in the overall flow, to achieve a workable solution:</p><pre>schema = StructType((<br>  StructField(&#39;name&#39;, StringType()),<br>  StructField(&#39;start_year&#39;, IntegerType()),<br>  StructField(&#39;end_year&#39;, IntegerType())))</pre><pre># Notice these are structured differently than above to make them compatible with the Spark DataFrame constructor<br>current_year = [&#39;current_year&#39;, 2019, 2019]<br>previous_year = [&#39;previous_year&#39;, 2018, 2018]<br>last_three_years = [&#39;last_three_years&#39;, 2017, 2019]</pre><pre>periods = spark.createDataFrame([current_year, previous_year, last_three_years], schema)</pre><pre>periods.show()</pre><pre># +----------------+----------+--------+<br># |            name|start_year|end_year|<br># +----------------+----------+--------+<br># |    current_year|      2019|    2019|<br># |   previous_year|      2018|    2018|<br># |last_three_years|      2017|    2019|<br># +----------------+----------+--------+</pre><pre>return purchases \<br>  .join(periods,<br>        (purchases.year &gt;= periods.start_year) &amp;<br>        (purchases.year &lt;= periods.end_year)) \<br>  .select(periods.name.alias(&#39;period_name&#39;),<br>          purchases.item,<br>          purchases.price)</pre><p>We end up with what we originally intended, a list of purchases for each period of interest. We also eliminated a separate nested function and enclosing for loop, in exchange for whatever transformations we needed to perform to structure our periods of interest as a DataFrame.</p><p>You might find this unpalatable, especially from an object-oriented perspective, since it can feel redundant or in violation of consistent, self-contained abstractions, because you end up breaking down some delineation between your structures. The benefit though is everything lives in Spark, you can think of it in one way, and it’s compatible with the resource management and other behaviors of the Spark framework. We also introduce a join where we didn’t have one before, which seems unsavory since join is a quick path to a combinatorial explosion of data. It’s the right move here though because, again, getting everything into Spark takes priority. Addressing any explosion should come after that, within the language and concepts of Spark, such as by avoiding multiple instances of join or by partitioning and reading only subsets of the data.</p><p>Conceivably, we could have gotten around our issue by forcing sequential evaluation with an Action or perhaps with cache, but that seems unnecessary and more complicated than translating everything to the conceptual language of Spark. Being able to think about everything in this one way, with one consistent set of possible operations strikes me as the correct approach. It reduces cognitive drag, helps avoid errors, and facilitates development.</p><p><strong>General thoughts on Spark</strong></p><p>I’ve had a good experience with Spark so far in processing considerable amounts of data in the cloud. Its advantage over conventional processing within relational databases is its scaling and parallel processing capacity. I’ve also had a better experience with its ecosystem compared to other big data processing frameworks (e.g., out-of-the-box Hive). For instance, it’s been far easier to construct fixtures, isolate transformations, and take care of other components of automated testing. It’s also worth noting conventional SQL enterprise solutions like SQL Server are now incorporating Spark as a parallel processing engine, but I don’t know what the exact environment for that looks like and whether it would have similar advantages in automating tests, etc.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e10ac54824a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Friendship among nations]]></title>
            <link>https://medium.com/@david.mudrauskas/friendship-among-nations-ebdf42798866?source=rss-50f802fd96cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/ebdf42798866</guid>
            <category><![CDATA[history]]></category>
            <category><![CDATA[tajikistan]]></category>
            <category><![CDATA[wealth]]></category>
            <category><![CDATA[uzbekistan]]></category>
            <category><![CDATA[travel]]></category>
            <dc:creator><![CDATA[David Mudrauskas]]></dc:creator>
            <pubDate>Sat, 09 Jun 2018 18:51:33 GMT</pubDate>
            <atom:updated>2018-06-09T18:51:33.032Z</atom:updated>
            <content:encoded><![CDATA[<p>My taxi driver doesn’t know my hostel. This has become apparent only partway through the ride. “Greenhouse, greenhouse,” he’s repeating, the name of a different hostel. “No, Yeti. Йе-ти,” I clarify. He puts me on the phone with an operator to get directions, but I’ve printed out a high-level map for this sort of situation. With that we’re back on track. We’ve gone out of our way but he’s kind, reassuring, “We’ll get there. As for me, I would have been idling at the airport anyway.” I’d heard about this, drivers offering to take you somewhere they don’t know how to get to, trying to get a fare. Tajikistan is among the poorest countries in the world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QdfE4usNUZMlhAwlBNn1LA.png" /><figcaption><a href="https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(PPP)_per_capita">https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(PPP)_per_capita</a></figcaption></figure><p>We had planned to stop by a bank so I could get local currency but we simplify things. I pay him in USD and he gives me change in local currency — Tajik somoni. I’d double-checked the exchange rate before my arrival but I didn’t get the slightest sense that this driver, Maksud, was entertaining cheating me. I guess it shows how much — by way of direct and vicarious experience, perhaps paranoia — I’m prepared to be taken advantage of.</p><p>He asks me how life is in America. I offer, “Well it seems we’re becoming an oligarchy, like they have in Russia.”</p><p>“Really? You have a lot of poor people?”</p><p>“Not poor exactly,” I say, thinking of local conditions. “It’s America, after all. But a small percentage of people have more and more money. Among my friends many struggle to pay for housing. And I don’t think that should be happening in a place like America.”</p><p>He’s interested in how I plan to spend my travels and suggests a trip to Iskanderkul, a beautiful lake in the northwest apparently. That’s Iskander for Alexander, as in Alexander the Great, who made it this far in his campaigns. Maksud would be the driver for this trip of course. He opens the glove compartment to reveal a stack of strips of notebook paper, each with his number written on it. I tell him my friend and I are planning to go to Samarkand, in Uzbekistan, but we’ll discuss it. “Samarkand is a Tajik city. It used to be part of Tajikistan,” he tells me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lE5O3_RrXwjw7ThhtaWU-A.jpeg" /><figcaption>“taxi”</figcaption></figure><p>Uzbekistan and Tajikistan only recently restored direct flights between the two countries. It’s part of a normalization of relations that’s been taking place since Uzbekistan’s longtime ruler, Islam Karimov, died a couple years ago. I’ve also heard rumors of a major border crossing opening back up after being more or less closed for years. Expecting tension over territorial disputes, I ask, “And Uzbeks and Tajiks there — do they get along?”</p><p>“Of course. Everyone gets along.” And Maksud and I have gotten along. I was prepared for a sort of worst-case scenario but he’s turned out to be benevolent and helpful.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ebdf42798866" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Preconceptions of Tajikistan: A safe, russified Afghanistan]]></title>
            <link>https://medium.com/@david.mudrauskas/preconceptions-of-tajikistan-a-safe-russified-afghanistan-c0a077754dd9?source=rss-50f802fd96cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0a077754dd9</guid>
            <category><![CDATA[central-asia]]></category>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[persian]]></category>
            <category><![CDATA[tajikistan]]></category>
            <category><![CDATA[soviet-union]]></category>
            <dc:creator><![CDATA[David Mudrauskas]]></dc:creator>
            <pubDate>Sun, 03 Jun 2018 23:48:20 GMT</pubDate>
            <atom:updated>2018-06-03T23:48:20.408Z</atom:updated>
            <content:encoded><![CDATA[<p>Ahead of an upcoming two-week trip to Central Asia, I’m interested in positing a few ideas about what I can expect and seeing whether they hold true. This is almost a scientific effort, where I posit my hypotheses and gather evidence either supporting or refuting them. Of course, in the real world I can’t actually be scientific. I can’t control for circumstances that would reinforce false impressions. I’m thinking a lot about confirmation bias, where someone goes into a situation with their preconceptions and takes note of the phenomena that tell them they’re right, unthinkingly missing or ignoring evidence that their ideas are in fact inaccurate. People do it all the time, in politics, relationships, medicine, etc. Bearing that in mind, I’ll try to stay on top of my biases as I conduct my travels, interactions, and memory-making. It would be good to come back with something I can say I was wrong about.</p><p>I’m inevitably going to assess Tajikistan through the lens of what I’m already familiar with, namely Russia and other formerly Soviet countries. There’s definite and necessary merit in tempering that tendency, but for the moment I’ll try to anticipate what Tajikistan does and does not have in common with other parts of the former Soviet Union. The chief way we define Russians in relation to Americans and, more generally, Western personalities is by their frigid exteriors. I’ve seen that disposition poetically connected to Russia’s frigid climate. There’s also a strong case for attributing it to their political history: the trauma of wars and upheaval, the threat of secret police, the competition for limited resources. That notion manifested for me in comments from Russian instructors and from classmates as we grew more acquainted with Russian society: “It can be hard to get close to a Russian, but once you do you’re friends for life.” That statement hits on the other half of the Russian character: hospitality and loyalty. It’s a binary state, where one quickly and lastingly transitions from foe to ally. In other parts of the world that switch happens more gradually and with a greater chance of reversal as evolving circumstances lead people to pull closer or further away. Perhaps because they have the luxury to.</p><p>We expend little effort extending this characterization to Russia’s closest siblings through heritage and influence: Belorussians and Ukrainians. The latter are arguably breaking away from that image, driven at times by a self-conscious effort to define themselves in contrast to Russians. What about people in Tajikistan? My current conviction is that for all of its internal variation, the Soviet experience was a strong one. I’ve seen the hallmarks of Soviet past in norms of behavior across Eastern Europe, the Caucasus, and other parts of Central Asia. It’s a flavor of the frigid or prickly exterior ascribed to Russians, but more truthfully that’s a likely characteristic of all people who’ve lived through major incidents of being denied one’s agency — a tradition in the Soviet Union — and its downstream effects, such that we have a new generation that grew up after the fall of the Soviet Union but which exhibits behaviors associated with an earlier time. There’s also a type of nonchalance that comes with limited rule of law, something that came about when Soviet institutions were uprooted, if not earlier. That manifests as arbitrary results following a course of action that should on paper have a consistent result, and it helps render one’s fate arbitrary. Material resources and security are also a factor, leading people to a wide range of public behaviors if only through desperation. The net effect has people doing things like practicing parkour on construction sites or bringing goats onto a bus. I expect Tajiks, relative to American or EU counterparts and similar to East Slavs, will be externally standoffish and dismissive. As for hospitality, the most pronounced forms I’ve experienced have come from people from Muslim Eurasia: Arabs, Turks, Kyrgyzstanis. Extrapolating from that I think I’ll find stronger veins of hospitality in Tajikistan than I have in even, say, Ukraine or Russia.</p><p>The area that is today Tajikistan was one of the last regions, if not the last region, of the Soviet Union to become part of the Russian Empire. And during the Soviet period it was consistently the least integrated. Unlike multiple other post-Soviet states, it’s not ethnically Slavic. It’s not Turkic. It was unique in its Persianate identity as a Soviet republic (there are ethnic Tajik cities in Uzbekistan — we’ll come back to that), and was an outlier in economic and human development indicators. I should expect this to make a difference in the character of its society and people. What would the Persianate component look like? I can try to extrapolate from my impressions of Iran and the many Iranians I’ve come across in my life. The things that strikes me most are their directed ambition and decorum. There is no doubt large sampling bias at play here. The Iranians I’ve gotten to know left their country to get educations abroad, often pursuing advanced degrees. Even correcting for this skewed sample, I suspect Iranian society is particularly focused on education and on proper behavior. I think at a deeper level it’s an emphasis on relationships of cause and effect, resulting from a long national history and certain forms of conservatism, by which I mean more than just religion.</p><p>The other big Persianate or semi-Persianate entity is Afghanistan, which actually separates Iran and Tajikistan while historically constituting a cultural corridor between the two. The country’s best known for being unconquerable, for holding out against consolidation, during the land grab of the Great Game, the Soviet war in Afghanistan, the U.S. invasion. Tajikistan is different in that regard. Although it experienced a civil war in the 90s, it has otherwise for the past century exhibited much more stability than its southern neighbor. It hasn’t struggled with radicalism or insurgency in any way like Afghanistan or other parts of Western Asia and the Middle East. The activity in Tajikistan and volume of that activity speak to that. American universities send students there on study abroad, and not to Afghanistan. Tourists come for the mountains. I expect to see some scrapes from the economic collapse of the Soviet Union and Tajikistan’s subsequent civil war. I also expect to see bastions of stability, in the form of tradition and the roles afforded to typical individuals. My friend Anjali, who studied abroad in the Tajik capital, Dushanbe, pithily described it as looking like “a futuristic caliphate that got struck by a nuclear bomb 20 years ago.”</p><p>There’s a third category of aspects: those it doesn’t make sense to define in relation to other societies but that should stand on their own. They should be understood on their own terms, instead of processed in problematically russocentric or Iran-centric ways. I work in data science for my day job and one takeaway from that context is that enabling multiple models — in this case models of geography and history — positions us to better approximate truth. That leaves me to consider what I can offer to that end. There are other, more qualified commentaries on this part of the world. I listened to one example — the Radio War Nerd podcast on the Tajik civil war — in preparation for my trip. One thing I think I do well is thinking in terms of individual and social psychology and in terms of historical geopolitics. I’ve studied this part of the world and others for years, even formally researching it for a time. I think I can explore some interesting layers. At the very least I’m generating more attention to a part of the world that’s often been underappreciated. I’m looking forward to what I can find out and what else I can share.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0a077754dd9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>